:root {
  --deep: #060e1c;
  --navy: #0a1930;
  --navy-2: #0d1f3d;
  --navy-3: #122a52;
  --card: #0e1c36;
  --gold: #d6b25e;
  --gold-light: #f0d58a;
  --ink: #f4f0e6;
  --muted: #9aa8bf;
  --line: rgba(214, 178, 94, 0.18);
  --line-strong: rgba(214, 178, 94, 0.36);
  --success: #69d6a8;
  --danger: #ff9f9f;
  --shell: 1240px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    0 10px 30px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(214, 178, 94, 0.08),
      transparent 30%
    ),
    var(--deep);
  color: var(--ink);
  font-family:
    Inter,
    Manrope,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.guide-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--gold);
  color: var(--deep);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  width: min(100%, 930px);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(214, 178, 94, 0.12);
  background: rgba(6, 14, 28, 0.9);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 14, 28, 0.97);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo,
.footer-logo {
  width: auto;
  object-fit: contain;
}

.brand-logo {
  height: 46px;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
}

.site-navigation a {
  position: relative;
  color: #c8d1df;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
  transition: right 180ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  color: var(--ink);
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
  right: 0;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-large {
  min-height: 54px;
  padding: 15px 23px;
}

.button-gold {
  background: var(--gold);
  color: #07101f;
  box-shadow: 0 16px 35px rgba(214, 178, 94, 0.14);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-light);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d5deeb;
}

.button-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

.button-dark {
  background: var(--deep);
  color: var(--ink);
}

.button-light {
  border-color: rgba(6, 14, 28, 0.35);
  background: transparent;
  color: var(--deep);
}

.flash-stack {
  position: relative;
  z-index: 900;
  padding-top: 18px;
}

.flash-message {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 178, 94, 0.1);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  border: 1px solid rgba(214, 178, 94, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-home {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 86px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-home h1 {
  font-size: clamp(3rem, 5.1vw, 5.35rem);
}

.hero-lead,
.page-hero p {
  max-width: 780px;
  margin: 30px 0 0;
  color: #b7c3d6;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.trust-strip span {
  position: relative;
  padding-left: 20px;
  color: #c0cbdb;
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(214, 178, 94, 0.6);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.capability-orbit::before,
.capability-orbit::after {
  content: "";
  position: absolute;
  inset: -55px;
  border: 1px solid rgba(214, 178, 94, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.capability-orbit::after {
  inset: -100px;
  border-color: rgba(214, 178, 94, 0.07);
}

.requirement-guide-card {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 45px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      155deg,
      rgba(18, 42, 82, 0.72),
      rgba(8, 19, 37, 0.96)
    );
  box-shadow: var(--shadow);
}

.guide-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guide-card-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.guide-card-icon,
.verify-mark {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(214, 178, 94, 0.1);
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 2.2rem;
}

.guide-card-lead {
  margin: 28px 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.guide-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.guide-steps li > span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.guide-steps strong {
  display: block;
  margin-bottom: 3px;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 13px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.guide-card-footer strong {
  color: var(--ink);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(105, 214, 168, 0.65);
}

.page-hero {
  padding: 112px 0 98px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(214, 178, 94, 0.09),
      transparent 30%
    ),
    rgba(10, 25, 48, 0.25);
}

.page-hero-compact {
  padding-block: 90px 78px;
}

.page-hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

.page-hero .button {
  margin-top: 34px;
}

.section {
  padding: clamp(80px, 9vw, 125px) 0;
}

.section-contrast {
  border-block: 1px solid rgba(214, 178, 94, 0.1);
  background: rgba(10, 25, 48, 0.34);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.split-layout h2,
.trust-section h2,
.cta-band h2,
.form-intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child,
.section-intro {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-left > p:last-child {
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.journey-card,
.value-grid article,
.feature-list-grid article,
.inquiry-grid article {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(214, 178, 94, 0.14);
  border-radius: var(--radius-md);
  background: rgba(14, 28, 54, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover,
.journey-card:hover,
.value-grid article:hover,
.feature-list-grid article:hover,
.inquiry-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: rgba(18, 42, 82, 0.62);
}

.card-number,
.service-detail > span,
.value-grid article > span,
.feature-list-grid article > span,
.inquiry-grid article > span {
  display: block;
  margin-bottom: 35px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3,
.journey-card h3,
.value-grid h3,
.feature-list-grid h3,
.feature-list-grid h2,
.inquiry-grid h2 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.24;
}

.service-card p,
.journey-card p,
.value-grid p,
.feature-list-grid p,
.inquiry-grid p {
  color: var(--muted);
}

.service-card ul,
.service-detail ul,
.info-list {
  margin: 22px 0 25px;
  padding: 0;
  list-style: none;
}

.service-card li,
.service-detail li,
.info-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 20px;
  color: #c4cede;
  font-size: 0.91rem;
}

.service-card li::before,
.service-detail li::before,
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.service-card a,
.journey-card a,
.text-link {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 900;
}

.service-card a::after,
.journey-card a::after,
.text-link::after {
  content: " →";
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(55px, 9vw, 125px);
  align-items: start;
}

.rich-copy {
  color: #c4cede;
  font-size: 1.08rem;
}

.rich-copy p {
  margin-top: 0;
  margin-bottom: 25px;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  list-style: none;
  background: var(--line);
}

.process-timeline li {
  min-height: 270px;
  padding: 28px;
  background: var(--deep);
}

.process-timeline li > span {
  display: block;
  margin-bottom: 60px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-timeline h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.process-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.journey-grid,
.value-grid,
.feature-list-grid,
.inquiry-grid {
  display: grid;
  gap: 18px;
}

.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.journey-label {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-card h3 {
  font-size: 1.65rem;
}

.journey-card a {
  margin-top: auto;
  padding-top: 24px;
}

.trust-section {
  border-block: 1px solid rgba(214, 178, 94, 0.12);
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(214, 178, 94, 0.1),
      transparent 30%
    ),
    var(--navy);
}

.trust-grid,
.verify-layout,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(45px, 7vw, 90px);
  align-items: start;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.check-grid span {
  position: relative;
  padding: 14px 15px 14px 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #d4dce9;
  font-size: 0.9rem;
}

.check-grid span::before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: var(--gold);
  font-weight: 900;
}

.status-panel {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(6, 14, 28, 0.68);
  box-shadow: var(--shadow);
}

.status-panel h2 {
  margin-top: 0;
}

.status-panel > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-panel strong {
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.status-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-panel .button {
  width: 100%;
  margin-top: 24px;
}

.status-panel-large {
  align-self: stretch;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inquiry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inquiry-grid article {
  padding: 24px;
}

.inquiry-grid h2 {
  font-size: 1.08rem;
}

.inquiry-grid p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cta-band {
  padding: 75px 0;
  background: var(--gold);
  color: var(--deep);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.cta-band .section-kicker {
  color: rgba(6, 14, 28, 0.64);
}

.cta-band h2 {
  max-width: 800px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.service-detail-list {
  display: grid;
  gap: 20px;
}

.service-detail {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(214, 178, 94, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(14, 28, 54, 0.58);
  scroll-margin-top: 120px;
}

.service-detail > span {
  margin: 7px 0 0;
}

.service-detail h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.service-detail p {
  max-width: 850px;
  color: #b9c4d5;
}

.safe-note,
.privacy-card,
.verification-response {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(214, 178, 94, 0.06);
  color: #cbd4e2;
  font-size: 0.9rem;
}

.premium-form,
.verify-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(14, 28, 54, 0.78);
  box-shadow: var(--shadow);
}

.form-intro {
  position: sticky;
  top: 120px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label,
.verify-card label {
  display: block;
  margin-bottom: 8px;
  color: #e9e3d6;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea,
.verify-card input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(154, 168, 191, 0.28);
  border-radius: 11px;
  outline: none;
  background: rgba(6, 14, 28, 0.76);
  color: var(--ink);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed rgba(214, 178, 94, 0.34);
  border-radius: 11px;
  background: rgba(6, 14, 28, 0.56);
}

.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--gold);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.verify-card input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.09);
}

.form-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.79rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger);
}

.field-error,
.form-error-summary p,
.form-inline-errors p {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 700;
}

.form-error-summary,
.form-inline-errors {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 159, 159, 0.34);
  border-radius: 11px;
  background: rgba(255, 159, 159, 0.07);
}

.privacy-card {
  margin-top: 28px;
}

.privacy-card strong {
  color: var(--gold-light);
}

.premium-form > .button {
  width: 100%;
  margin-top: 8px;
}

.compact-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 28, 54, 0.55);
}

.compact-steps span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.compact-steps p {
  margin-bottom: 0;
}

.verify-card {
  text-align: left;
}

.verify-card .verify-mark {
  margin-bottom: 22px;
}

.verify-card h2 {
  margin-top: 0;
}

.verify-card input {
  margin-top: 7px;
}

.verify-card > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 0.88rem;
}

.verify-card .button {
  width: 100%;
  margin-top: 18px;
}

.verification-response {
  margin-top: 18px;
}

.legal-content {
  max-width: 900px;
}

.legal-content article {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content article:first-child {
  padding-top: 0;
}

.legal-content h2 {
  margin: 0 0 13px;
  font-size: 1.65rem;
}

.legal-content p {
  color: #bec9d8;
}

.site-footer {
  padding: 75px 0 25px;
  border-top: 1px solid var(--line);
  background: #040a14;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(4, minmax(130px, 1fr));
  gap: 50px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 25px;
}

.footer-brand p {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-brand .footer-legal-name {
  color: var(--ink);
  font-weight: 800;
}

.footer-brand .footer-full-form {
  color: #b6c0d0;
  font-size: 0.78rem;
}

.footer-grid section:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #78869d;
  font-size: 0.78rem;
}

.guide-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 195px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(10, 25, 48, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.guide-launcher-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--gold);
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.guide-launcher strong,
.guide-launcher small {
  display: block;
  text-align: left;
}

.guide-launcher small {
  color: var(--muted);
  font-size: 0.7rem;
}

.guide-launcher[hidden] {
  display: none;
}

.guide-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  width: min(calc(100vw - 32px), 410px);
  max-height: min(700px, calc(100vh - 48px));
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(7, 17, 33, 0.985);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  overflow-y: auto;
}

.guide-panel[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.guide-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.guide-header h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.guide-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--navy);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.guide-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.guide-options a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.guide-options a:hover {
  border-color: var(--line-strong);
  background: rgba(214, 178, 94, 0.06);
}

.guide-options span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.guide-options strong {
  font-size: 0.9rem;
}

.guide-note {
  margin-bottom: 0;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 210px auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-navigation,
  .header-actions {
    display: none;
  }

  .site-navigation.is-open {
    position: absolute;
    top: 88px;
    left: 24px;
    right: 24px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 14, 28, 0.985);
    box-shadow: var(--shadow);
  }

  .site-navigation.is-open a {
    padding: 14px;
    border-radius: 9px;
  }

  .site-navigation.is-open a:hover {
    background: rgba(214, 178, 94, 0.07);
  }

  .site-navigation a::after {
    display: none;
  }

  .hero-grid,
  .trust-grid,
  .verify-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 650px);
  }

  .form-intro {
    position: static;
  }

  .service-grid,
  .feature-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 2fr repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 190px auto;
  }

  .brand-logo {
    height: 38px;
  }

  .site-navigation.is-open {
    top: 76px;
    left: 15px;
    right: 15px;
  }

  .hero-home {
    min-height: auto;
    padding: 65px 0;
  }

  .hero h1,
  .hero-home h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .page-hero {
    padding: 75px 0 65px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .capability-orbit::before,
  .capability-orbit::after {
    display: none;
  }

  .requirement-guide-card {
    padding: 23px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 35px;
    text-align: left;
  }

  .section-heading > p:last-child {
    margin-left: 0;
  }

  .service-grid,
  .journey-grid,
  .value-grid,
  .feature-list-grid,
  .inquiry-grid,
  .compact-steps,
  .check-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 25px;
  }

  .service-detail > span {
    margin-bottom: 20px;
  }

  .journey-card {
    min-height: 290px;
  }

  .cta-band {
    padding: 60px 0;
  }

  .cta-band-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .status-panel > div {
    grid-template-columns: 115px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .guide-launcher {
    right: 14px;
    bottom: 14px;
    min-width: auto;
  }

  .guide-launcher > span:last-child {
    display: none;
  }

  .guide-panel {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* QERIONN_PROMPT3R1_TYPE_SCALE_START */

/*
 * Balanced corporate typography:
 * - Home remains prominent without excessive wrapping.
 * - Inner-page headings remain strong but no longer resemble posters.
 */

.hero-home h1 {
  max-width: 760px;
  font-size: clamp(3rem, 4.35vw, 4.75rem);
  line-height: 1.01;
  letter-spacing: -0.047em;
}

.page-hero {
  padding-block: 82px 72px;
}

.page-hero .narrow-shell {
  width: min(calc(100% - 48px), 1040px);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.55rem, 3.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.page-hero p {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.65;
}

.page-hero-compact {
  padding-block: 72px 64px;
}

@media (max-width: 1120px) {
  .hero-home h1 {
    max-width: 700px;
    font-size: clamp(2.8rem, 6.2vw, 4.4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.65rem);
  }
}

@media (max-width: 760px) {
  .hero-home h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
    line-height: 1.03;
  }

  .page-hero {
    padding-block: 62px 56px;
  }

  .page-hero-compact {
    padding-block: 56px 50px;
  }

  .page-hero .narrow-shell {
    width: min(calc(100% - 30px), 100%);
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.032em;
  }

  .page-hero p {
    margin-top: 19px;
    font-size: 1rem;
  }
}

/* QERIONN_PROMPT3R1_TYPE_SCALE_END */

/* QERIONN_INTERACTIVE_SMART_GUIDE_V1_START */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.guide-chat-panel {
  width: min(calc(100vw - 32px), 455px);
  height: min(720px, calc(100vh - 48px));
  max-height: none;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  overflow: hidden;
}

.guide-chat-panel .guide-header {
  align-items: center;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      135deg,
      rgba(214, 178, 94, 0.09),
      rgba(18, 42, 82, 0.18)
    );
}

.guide-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-avatar {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold);
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(214, 178, 94, 0.18);
}

.guide-identity .section-kicker {
  margin-bottom: 3px;
  font-size: 0.61rem;
}

.guide-identity h2 {
  margin: 0;
  font-size: 1.12rem;
}

.guide-online {
  margin: 3px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.67rem;
}

.guide-online > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(105, 214, 168, 0.55);
}

.guide-header-actions {
  display: flex;
  gap: 7px;
}

.guide-icon-button,
.guide-chat-panel .guide-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 14, 28, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.guide-icon-button:hover,
.guide-chat-panel .guide-close:hover {
  border-color: var(--line-strong);
  background: var(--navy-2);
}

.guide-messages {
  min-height: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 178, 94, 0.35) transparent;
}

.guide-message-row {
  display: flex;
}

.guide-message-row.is-system {
  justify-content: flex-start;
}

.guide-message-row.is-user {
  justify-content: flex-end;
}

.guide-message {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 0.86rem;
  line-height: 1.48;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.guide-message-row.is-system .guide-message {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 5px;
  background: rgba(18, 42, 82, 0.72);
  color: #e2e8f1;
}

.guide-message-row.is-user .guide-message {
  border: 1px solid rgba(214, 178, 94, 0.3);
  border-bottom-right-radius: 5px;
  background: rgba(214, 178, 94, 0.15);
  color: var(--ink);
}

.guide-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.guide-message small {
  display: block;
  margin-top: 7px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.guide-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 54px;
}

.guide-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: qerionn-guide-typing 1.2s infinite ease-in-out;
}

.guide-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.guide-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes qerionn-guide-typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.guide-quick-actions {
  max-height: 150px;
  padding: 0 18px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow-y: auto;
}

.guide-action-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(214, 178, 94, 0.24);
  border-radius: 999px;
  background: rgba(214, 178, 94, 0.06);
  color: #e5dcc5;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
}

.guide-action-button:hover,
.guide-action-button:focus-visible {
  border-color: var(--gold);
  background: rgba(214, 178, 94, 0.13);
}

.guide-action-button.is-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--deep);
}

.guide-input-form {
  margin: 0 14px 12px;
  padding: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  border: 1px solid rgba(154, 168, 191, 0.25);
  border-radius: 15px;
  background: rgba(6, 14, 28, 0.88);
}

.guide-input-form:focus-within {
  border-color: rgba(214, 178, 94, 0.55);
  box-shadow: 0 0 0 3px rgba(214, 178, 94, 0.07);
}

.guide-input-form textarea {
  width: 100%;
  min-height: 38px;
  max-height: 120px;
  padding: 8px 9px;
  border: 0;
  outline: 0;
  resize: none;
  overflow-y: auto;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
}

.guide-input-form textarea::placeholder {
  color: #718097;
}

.guide-send {
  min-width: 62px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.guide-send:hover {
  background: var(--gold-light);
}

.guide-send:disabled,
.guide-input-form textarea:disabled {
  cursor: wait;
  opacity: 0.62;
}

.guide-privacy {
  margin: -3px 18px 12px;
  color: #66758c;
  font-size: 0.61rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 760px) {
  .guide-chat-panel {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: none;
    border-radius: 19px;
  }

  .guide-chat-panel .guide-header {
    padding: 14px;
  }

  .guide-avatar {
    width: 40px;
    height: 40px;
  }

  .guide-messages {
    padding: 14px;
  }

  .guide-message {
    max-width: 89%;
    font-size: 0.84rem;
  }

  .guide-quick-actions {
    padding-inline: 14px;
  }

  .guide-input-form {
    margin-inline: 10px;
  }

  .guide-privacy {
    margin-inline: 12px;
  }
}

/* QERIONN_INTERACTIVE_SMART_GUIDE_V1_END */
