/* ===================== TOKENS ===================== */
:root {
  /* ---- Brand tokens (swap --brand-primary to re-theme the whole site) ---- */
  --brand-primary:      #1B2A5E;   /* navy  */
  --brand-accent:       #C9A14A;   /* gold  */
  --brand-accent-light: #EDD98A;   /* soft gold tint */
  --surface-light:      #F9F7F3;   /* cream, light section background */
  --surface-card:       #FFFFFF;   /* white cards */
  --accent-wash:        rgba(201, 161, 74, 0.08);  /* premium / highlight rows */
  --accent-border:      rgba(201, 161, 74, 0.40);

  /* ---- Aliases: existing rules read these; they map onto the brand tokens ---- */
  --navy: var(--brand-primary);
  --navy-deep: #131f45;
  --gold: var(--brand-accent);
  --gold-soft: var(--brand-accent-light);
  --ink: #2a2622;        /* warm near-black for strong text (de-blued) */
  --muted: #555555;      /* body copy */
  --text-subtle: #777777;
  --line: #e8e4db;       /* warm hairline to sit against cream */
  --bg: #ffffff;
  --bg-soft: var(--surface-light);  /* cream */
  --bg-sand: #f2ecdf;    /* deeper warm tint for icon badges / callouts */
  --radius: 6px;
  --radius-lg: 10px;
  --btn-radius: 3px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 94, 0.05), 0 4px 16px rgba(27, 42, 94, 0.04);
  --shadow-md: 0 8px 30px rgba(27, 42, 94, 0.10);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1120px;
  --maxw-prose: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-prose { max-width: var(--maxw-prose); }
.mt-32 { margin-top: 32px; }
.pt-24 { padding-top: 24px; }
.lead-left { margin: 14px 0 0; text-align: left; max-width: 720px; font-size: 18px; color: var(--muted); }
.card-title { font-size: 22px; margin-bottom: 6px; }
.card-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.fine-print { color: var(--muted); margin: 18px 0 0; font-size: 13px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--navy); margin: 0; }
a { color: var(--navy); text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em;
  border: none; border-radius: var(--btn-radius); padding: 14px 26px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); }

/* ===================== HEADER (injected) ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; column-gap: 24px;
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--navy);
  letter-spacing: -0.01em; white-space: nowrap; justify-self: start;
}
.wordmark-in { color: var(--gold); font-style: italic; }
.main-nav { display: flex; gap: 25px; justify-self: center; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { display: block; }
.header-inner > .btn-primary { justify-self: end; }

/* ===================== HERO ===================== */
.hero {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(201,161,74,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-sand), var(--bg) 70%);
  padding: 96px 0 68px; text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; font-weight: 600; color: var(--gold); margin: 0 0 18px; }
.eyebrow::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); border-radius: 1px; margin: 0 0 14px; }
.hero .eyebrow::before, .section-center .eyebrow::before { margin-left: auto; margin-right: auto; }
.eyebrow-light { color: var(--gold-soft); }
.hero-title { font-size: clamp(38px, 6vw, 62px); letter-spacing: -0.02em; }
.accent { color: var(--gold); font-style: italic; }
.hero-sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 620px; margin: 22px auto 0; }

/* ===================== ASK BOX ===================== */
.ask-box {
  margin: 40px auto 0; max-width: 680px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 14px; text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ask-box.placeholder-changing { border-color: rgba(201,161,74,.52); box-shadow: 0 10px 34px rgba(27,42,94,.11), 0 0 0 3px rgba(201,161,74,.05); }
.ask-box--inline { box-shadow: var(--shadow-sm); margin: 28px 0 0; }
.ask-form { display: flex; align-items: flex-end; gap: 10px; }
.ask-input {
  flex: 1; border: none; outline: none; resize: none;
  font-family: var(--sans); font-size: 18px; line-height: 1.5; padding: 12px 14px;
  color: var(--ink); background: transparent; max-height: 160px; overflow-y: hidden;
}
.ask-input::placeholder { color: #9aa1b4; opacity: 1; transition: opacity .19s ease, color .19s ease; }
.ask-input.placeholder-out::placeholder { opacity: 0; color: var(--gold); }
.ask-submit { flex-shrink: 0; padding: 13px 22px; }
.ask-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 6px 4px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted);
  border-radius: var(--btn-radius); padding: 8px 14px; font-size: 13.5px; font-family: var(--sans);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--gold); color: var(--navy); background: #fff; }

.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 30px; padding: 0; margin: 36px 0 0; font-size: 14px; color: var(--muted);
}
.trust-strip li { display: inline-flex; align-items: center; gap: 9px; }
.trust-strip [data-icon], .trust-strip .ic { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.trust-strip--start { justify-content: flex-start; margin-top: 18px; }

/* ===================== ICON SYSTEM ===================== */
.ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.ic svg { width: 100%; height: 100%; display: block; }
.icon-badge {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--bg-sand);
}
.icon-badge svg { width: 25px; height: 25px; }

/* ===================== SECTIONS ===================== */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-center { text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; }
.section-title-light { color: #fff; }
.section-lead { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 640px; }

/* ===================== ROUTE CARDS GRID ===================== */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left; }
.route-card {
  display: block; background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.route-card .rc-icon {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--bg-sand);
}
.route-card .rc-icon svg { width: 24px; height: 24px; }
.route-card:hover .rc-icon { border-color: var(--gold-soft); }
.route-card h3 { font-size: 20px; margin: 14px 0 8px; }
.route-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.route-card .rc-more { color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 12px; display: inline-block; }

/* ===================== VERTICAL CARDS ===================== */
.vert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vert-card { background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.vert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vert-icon {
  width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--bg-sand); margin-bottom: 18px;
}
.vert-icon svg { width: 30px; height: 30px; }
.vert-card h2 { font-size: 26px; margin-bottom: 10px; }
.vert-card > p { color: var(--muted); margin: 0 0 18px; }
.vert-list { list-style: none; padding: 0; margin: 0 0 22px; }
.vert-list li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.vert-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.link-arrow { color: var(--navy); font-weight: 600; font-size: 15px; }
.link-arrow:hover { color: var(--gold); }

/* ===================== STEPS ===================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 48px 0 0; text-align: left; }
.step { background: var(--surface-card); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ===================== COMPARISON TABLE ===================== */
.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
table.compare th, table.compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 600; color: var(--navy); }
table.compare a { color: var(--gold); font-weight: 600; }

/* ===================== FAQ ACCORDION ===================== */
.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--gold); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* ===================== WHY GRID ===================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; text-align: left; }
.why-item { padding: 28px; border-left: 3px solid var(--gold); background: var(--bg-sand); border-radius: 0 var(--radius) var(--radius) 0; }
.why-item h3 { font-size: 20px; margin-bottom: 8px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* ===================== ARTICLE / ROUTE GUIDE ===================== */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 22px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { color: var(--gold); }
.article-head { padding: 18px 0 8px; }
.article-head h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; max-width: 800px; }
.article-meta { font-size: 13px; color: var(--muted); margin-top: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-block; background: var(--bg-sand); border: 1px solid var(--gold-soft); color: #8a6d2a; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--btn-radius); }
.prose { max-width: var(--maxw-prose); padding: 18px 0 72px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.prose h3 { font-size: 20px; margin: 28px 0 6px; }
.prose p { color: #36404f; margin: 12px 0; }
.prose .answer { font-size: 17px; color: var(--ink); font-weight: 500; margin: 8px 0 12px; }
.prose ul, .prose ol { color: #36404f; padding-left: 22px; margin: 12px 0; }
.prose li { margin: 7px 0; }
article .prose > ol { list-style: none; counter-reset: guide-step; padding-left: 0; margin: 20px 0; }
article .prose > ol > li { counter-increment: guide-step; position: relative; margin: 0; padding: 0 0 22px 42px; border-left: 1px solid var(--accent-border); }
article .prose > ol > li:last-child { border-left-color: transparent; padding-bottom: 0; }
article .prose > ol > li::before {
  content: counter(guide-step); position: absolute; left: -15px; top: -2px;
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--navy); color: var(--gold-soft); font-size: 12px; font-weight: 700;
}
.prose .figure-callout { background: var(--bg-sand); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 20px 0; }
.prose .figure-callout strong { color: var(--navy); }
.note-box { background: #fff8ec; border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; font-size: 14px; color: #6b5418; }
.cost-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.cost-table th, .cost-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cost-table th { background: var(--bg-soft); font-family: var(--sans); font-weight: 600; color: var(--navy); }
.sibling-links { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.sibling-links h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-family: var(--sans); margin-bottom: 14px; }
.sibling-links .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sibling-links .pills a { border: 1px solid var(--line); border-radius: var(--btn-radius); padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--navy); transition: border-color .15s; }
.sibling-links .pills a:hover { border-color: var(--gold); }

/* ===================== CONTEXTUAL CHAT CTA ===================== */
.chat-cta { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); border-radius: var(--radius-lg); padding: 36px; margin: 44px 0 0; text-align: left; }
.chat-cta h3 { color: #fff; font-size: 24px; }
.chat-cta p { color: rgba(255,255,255,0.78); margin: 10px 0 20px; }
.chat-cta .ask-box { margin: 0; max-width: none; }

/* ===================== CAPTURE / LEAD FORM ===================== */
.capture-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.capture-copy p { color: var(--muted); font-size: 17px; }
.capture-points { list-style: none; padding: 0; margin: 22px 0 0; }
.capture-points li { padding: 6px 0; color: var(--ink); font-weight: 500; }
.capture-form { background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--navy); }
.capture-form input, .capture-form textarea, .capture-form select {
  font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical; background: #fff;
}
.capture-form input:focus, .capture-form textarea:focus, .capture-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,74,0.18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 20px; line-height: 1.5; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy); flex-shrink: 0; }
.consent a { text-decoration: underline; }
.form-status { font-size: 14px; margin: 14px 0 0; text-align: center; min-height: 1em; }
.form-status.ok { color: #1c7c43; font-weight: 600; }
.form-status.err { color: #c0392b; font-weight: 600; }

/* ===================== PARTNERS BAND ===================== */
.partners-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); position: relative; }
.partners-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); }
/* signature utilities */
.section-rule { height: 4px; background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); }
.gold-rule { width: 28px; height: 2px; background: var(--gold); border-radius: 1px; }
.row-premium { background: var(--accent-wash); }
.partners-inner { max-width: 720px; }
.partners-lead { color: rgba(255,255,255,0.78); font-size: 18px; margin: 16px 0 28px; }

/* ===================== CHAT PAGE ===================== */
.chat-page {
  position: relative; display: flex; flex-direction: column; min-height: calc(100vh - 72px);
  overflow: hidden; background:
    radial-gradient(700px 360px at 50% 0%, rgba(201,161,74,.12), transparent 68%),
    var(--bg-soft);
}
.chat-page::before {
  content: ""; position: absolute; width: 340px; height: 340px; top: 90px; left: calc(50% - 170px);
  border: 1px solid rgba(201,161,74,.10); border-top-color: rgba(201,161,74,.34); border-radius: 50%; pointer-events: none;
  animation: chat-orbit 12s linear infinite;
}
.chat-scroll { position: relative; z-index: 1; flex: 0 1 auto; max-height: calc(100vh - 330px); overflow-y: auto; padding: 22px 0 8px; }
.chat-page-active { height: calc(100vh - 72px); min-height: 560px; }
.chat-page-active .chat-scroll { flex: 1 1 auto; max-height: none; padding-bottom: 22px; }
.chat-presence {
  max-width: 760px; margin: 0 auto 12px; padding: 0 24px; display: flex; align-items: center; gap: 8px;
  color: var(--text-subtle); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.chat-presence-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,161,74,.12); animation: presence-pulse 2.4s ease-in-out infinite;
}
.chat-thread { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 18px; }
.msg-row { display: flex; flex-direction: column; width: 100%; }
.msg-row:last-child { animation: message-arrive .32s ease-out both; }
.msg-row-ai { align-items: flex-start; }
.msg-row-user { align-items: flex-end; }
.msg { max-width: 80%; padding: 14px 18px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; }
.msg-ai {
  background: rgba(255,255,255,.94); border: 1px solid rgba(201,161,74,.22);
  border-bottom-left-radius: 4px; align-self: flex-start;
  box-shadow: 0 10px 34px rgba(27,42,94,.07); white-space: pre-wrap;
}
.msg-user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; white-space: pre-wrap; }
.msg-error { color: #8f2d24; border-color: rgba(143,45,36,.25); }
.msg-sources { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; white-space: normal; }
.msg-sources span { color: var(--text-subtle); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.msg-sources a { color: var(--navy); font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(201,161,74,.55); text-underline-offset: 2px; }
.msg-label { margin-top: 5px; padding: 0 5px; color: var(--text-subtle); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.msg-typing { display: inline-flex; align-items: center; gap: 5px; min-width: 64px; min-height: 48px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: typing-pulse 1.15s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing-pulse { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes presence-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(201,161,74,.10); } 50% { box-shadow: 0 0 0 8px rgba(201,161,74,.03); } }
@keyframes message-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chat-orbit { to { transform: rotate(360deg); } }
.chat-quick-prompts { max-width: 760px; margin: 18px auto 0; padding: 0 24px; }
.chat-quick-prompts[hidden] { display: none; }
.chat-quick-prompts p { margin: 0 0 10px; color: var(--text-subtle); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chat-quick-prompts > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-quick-prompts button {
  border: 1px solid var(--line); background: rgba(255,255,255,.72); color: var(--muted);
  border-radius: var(--btn-radius); padding: 9px 13px; font: 500 12.5px/1.35 var(--sans); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.chat-quick-prompts button:hover { border-color: var(--gold); color: var(--navy); background: #fff; }
.ask-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.chat-disclaimer { position: relative; z-index: 2; order: 3; text-align: center; font-size: 11px; color: var(--muted); padding: 8px 24px 14px; }
.chat-composer { position: relative; z-index: 2; order: 2; background: transparent; padding: 14px 0 4px; }
.chat-composer .ask-box {
  margin: 0 auto; border: 1px solid rgba(201,161,74,.35);
  border-radius: 14px; box-shadow: 0 14px 44px rgba(27,42,94,.11); padding: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.chat-composer .ask-box:focus-within {
  border-color: var(--gold); box-shadow: 0 18px 50px rgba(27,42,94,.15), 0 0 0 4px rgba(201,161,74,.09);
  transform: translateY(-2px);
}
.chat-composer .ask-input { font-size: 16px; }
.chat-composer .ask-submit { min-width: 96px; }
.chat-lead-form { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.chat-lead-form input { font-family: var(--sans); font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.chat-lead-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,74,0.18); }

/* ===================== PROCESS PAGE ===================== */
.process-cards { list-style: none; padding: 0; margin: 48px auto 0; max-width: 980px; display: flex; flex-direction: column; gap: 22px; }
.process-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; text-align: left;
  background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm);
}
.process-kicker, .process-card-detail > span {
  display: block; margin-bottom: 12px; color: var(--gold); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.process-card h3 { font-size: clamp(23px, 3vw, 30px); margin-bottom: 12px; }
.process-card p { color: var(--muted); margin: 0; }
.process-card-detail { padding-left: 28px; border-left: 1px solid var(--line); }
.process-card-detail > span { color: var(--text-subtle); }
.process-card-detail ul { list-style: none; padding: 0; margin: 0; }
.process-card-detail li { position: relative; padding: 7px 0 7px 22px; color: var(--ink); font-size: 14.5px; }
.process-card-detail li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ===================== CONTACT ===================== */
.contact-page { background: var(--bg-soft); }
.contact-split { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(480px, 1.15fr); min-height: calc(100vh - 72px); }
.contact-panel { padding: clamp(48px, 7vw, 92px); }
.contact-panel-dark {
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
  color: #fff; background:
    radial-gradient(650px 420px at 25% 15%, rgba(201,161,74,.16), transparent 62%),
    linear-gradient(145deg, var(--navy), var(--navy-deep));
}
.contact-panel-dark h1 { color: #fff; font-size: clamp(40px, 5vw, 66px); letter-spacing: -.025em; max-width: 560px; }
.contact-intro { max-width: 520px; margin: 22px 0 0; color: rgba(255,255,255,.74); font-size: 17px; }
.contact-company span, .contact-option-label { display: block; color: var(--gold-soft); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-company strong { display: block; margin-top: 8px; color: #fff; font-size: 17px; }
.contact-company p { margin: 5px 0 0; color: rgba(255,255,255,.6); font-size: 14px; }
.contact-panel-light { display: flex; align-items: center; background: #fff; }
.contact-options { width: 100%; max-width: 650px; margin: 0 auto; }
.contact-option {
  display: block; padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .18s, border-color .18s;
}
a.contact-option:hover { padding-left: 8px; border-color: var(--gold); }
.contact-option-featured {
  margin-bottom: 12px; padding: 30px; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow-sm);
}
.contact-option-featured h2 { margin: 7px 0 10px; font-size: 28px; }
.contact-option-featured p { margin: 0 0 20px; color: var(--muted); }
.contact-option-label { color: var(--gold); }
.contact-option strong { display: block; margin-top: 5px; color: var(--navy); font-size: clamp(16px, 2vw, 20px); }
.contact-option-arrow { display: inline-block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-legal-note { margin: 22px 0 0; color: var(--text-subtle); font-size: 12.5px; }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 520px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 20px 22px; z-index: 100;
}
.cookie-banner p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 14px; }
.cookie-hidden { display: none !important; }

/* ===================== FOOTER (injected) ===================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h5 { color: #fff; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: var(--gold-soft); }
.wordmark-footer { color: #fff; font-size: 22px; }
.wordmark-footer .wordmark-in { color: var(--gold); }
.footer-tag { color: var(--gold-soft); font-family: var(--serif); font-style: italic; margin: 10px 0 6px; }
.footer-co { font-size: 13px; margin: 0; max-width: 280px; }
.disclaimer-strip { padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.5); }
.disclaimer-strip p { margin: 0 0 10px; max-width: 820px; }
.copyright { margin-top: 8px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .header-inner { display: flex; justify-content: space-between; gap: 16px; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 4px; }
  .main-nav.open a { padding: 10px 0; }
  .nav-toggle { display: block; }
  .header-inner .btn-primary { display: none; }
  .vert-grid, .steps, .why-grid, .capture-inner, .route-grid, .process-card, .contact-split { grid-template-columns: 1fr; }
  .process-card-detail { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid var(--line); }
  .contact-split { min-height: auto; }
  .contact-panel { padding: 48px 24px; }
  .prose { padding-bottom: 56px; }
  .hero { padding: 72px 0 52px; }
  .ask-form { flex-direction: column; align-items: stretch; }
  .ask-submit { width: 100%; }
  .hero .ask-box { margin-top: 34px; padding: 14px; }
  .hero .ask-input {
    width: 100%; min-height: 68px; padding: 12px 14px;
    font-size: 19px; line-height: 1.45;
  }
  .hero .ask-submit { min-height: 48px; }
  .chat-page { min-height: calc(100svh - 72px); }
  .chat-page-active { height: calc(100svh - 72px); }
  .chat-scroll { max-height: none; padding-top: 18px; }
  .chat-composer { padding-top: 8px; }
  .chat-composer .ask-box { border-radius: 10px; }
}

@media (max-width: 480px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 68px; }
  .hero-title { font-size: clamp(36px, 11vw, 46px); }
  .hero-sub { font-size: 17px; line-height: 1.55; }
  .hero .ask-input { font-size: 19px; min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-page::before, .chat-presence-dot, .typing-dot, .msg-row:last-child { animation: none; }
  .ask-input::placeholder { transition: none; }
}
