/* ═══════════════════════════════════════════════════════════
   SIGNAASAT - site.css  (v5, from scratch)
   Editorial · sharp · dark + light · scroll-driven
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:root {
  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --sy: clamp(40px, 4.6vw, 80px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: var(--sans);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(13, 13, 18, .04), 0 1px 3px rgba(13, 13, 18, .05);
  --shadow: 0 2px 6px rgba(13, 13, 18, .04), 0 14px 30px rgba(13, 13, 18, .07);
  --shadow-lg: 0 10px 30px rgba(13, 13, 18, .07), 0 40px 80px rgba(13, 13, 18, .12);
}

[data-theme="dark"] {
  --bg: #0a0b10;
  --bg-2: #111219;
  --bg-alt: #0d0e16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --ink: #f3f4f8;
  --ink-2: #a9abbb;
  --ink-3: #767889;
  --accent: #6d8bff;
  --accent-2: #5378ff;
  --accent-soft: rgba(74, 107, 255, 0.16);
  --accent-bright: #6d8bff;
  --gold: #f5a90a;
  --gold-soft: rgba(245, 169, 10, 0.16);
  --grad: linear-gradient(135deg, #4a6bff 0%, #6d8bff 100%);
  --ink-grad: linear-gradient(155deg, #14161f 0%, #0a0b10 100%);
  --nav-scrolled: rgba(17, 18, 25, 0.72);
}
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --bg-alt: #f4f6fe;
  --surface: rgba(46, 79, 214, 0.04);
  --surface-2: rgba(20, 22, 40, 0.05);
  --line: rgba(22, 25, 50, 0.10);
  --line-2: rgba(22, 25, 50, 0.16);
  --ink: #14151e;
  --ink-2: #535569;
  --ink-3: #9092a5;
  --accent: #2e4fd6;
  --accent-2: #3a5be8;
  --accent-soft: #eef1fe;
  --accent-bright: #4a6bff;
  --gold: #f5a90a;
  --gold-soft: #fdf3dc;
  --grad: linear-gradient(135deg, #3a5be8 0%, #4a6bff 100%);
  --ink-grad: linear-gradient(155deg, #161a2e 0%, #0a0c16 100%);
  --nav-scrolled: rgba(255, 255, 255, 0.72);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .4s var(--ease), color .4s var(--ease);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -56px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r); font-size: 14px; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* cookie consent */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; width: 100%; max-width: 720px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px 22px; box-shadow: 0 16px 50px rgba(0, 0, 0, .35); }
.consent-title { font-weight: 650; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.consent-text { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.consent-text a { color: var(--accent); text-decoration: underline; }
.consent-options { margin-top: 14px; display: grid; gap: 8px; }
.consent-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.consent-opt b { color: var(--ink); font-weight: 600; }
.consent-opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.foot-cookie { background: none; border: none; padding: 0; cursor: pointer; color: var(--ink-3); font: inherit; }
.foot-cookie:hover { color: var(--ink); }
@media (max-width: 560px) { .consent-actions { justify-content: stretch; } .consent-actions .btn { flex: 1; } }

/* ===== brand logo ===== */
.brand-logo { height: 28px; width: auto; display: block; }
.brand-logo-foot { height: 34px; }

/* ===== home (healthcare agency) sections ===== */
.proof { padding-block: var(--sy); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.proof-item { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.proof-n { font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.proof-l { font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .proof-grid { grid-template-columns: 1fr; } }

.soul { padding-block: var(--sy); }
.soul-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.soul-copy h2 { margin: 10px 0 18px; }
.soul-copy p { color: var(--ink-2); margin-bottom: 14px; max-width: 56ch; }
.soul-copy .soul-line { color: var(--ink); font-weight: 500; border-left: 2px solid var(--accent); padding-left: 16px; }
.soul-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.soul-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); margin-bottom: 18px; }
.soul-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.soul-wave { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-bottom: 18px; }
.soul-wave i, .soul-wave .lucide { flex: 1; height: var(--h); background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); border-radius: 2px; }
.soul-card-q { font-size: 17px; line-height: 1.4; color: var(--ink); margin-bottom: 16px; }
.soul-card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.soul-card-n { color: var(--accent); }
@media (max-width: 860px) { .soul-grid { grid-template-columns: 1fr; } }

.svc { padding-block: var(--sy); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.svc-ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--accent); margin-bottom: 16px; }
.svc-ic i, .svc-ic .lucide { width: 19px; height: 19px; }
.svc-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.svc-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.svc-mini { display: flex; flex-direction: column; align-items: stretch; position: relative; cursor: pointer; transition: transform 0.3s ease; }
.svc-mini:hover { transform: translateY(-3px); }
.svc-mini-tag { margin-bottom: -16px; align-self: flex-start; margin-left: 16px; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #ffe066 0%, var(--gold) 50%, #e57d00 100%); color: var(--bg); padding: 10px 20px; border-radius: 40px; z-index: 2; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.svc-mini-tag em { font-size: 14px; font-weight: 800; font-style: normal; opacity: 0.9; }
.svc-mini-tag b { font-size: 14px; font-weight: 700; }
.svc-mini-desc { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 100%); padding: 32px 20px 20px 20px; border-radius: 20px; z-index: 1; flex: 1; display: flex; align-items: center; border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); }
.svc-mini-desc span { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 768px) {
  .svc-mini-grid { grid-template-columns: 1fr; }
}

.cases { padding-block: var(--sy); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.case-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.case-card:hover { transform: translateY(-4px); }
.case-card .case-t { font-size: clamp(18px, 1.8vw, 20px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.case-tag { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.case-card .case-img-wrap { border-radius: calc(var(--r) - 4px); overflow: hidden; margin-bottom: 6px; }
.case-card .case-img-wrap img { transition: transform 0.5s ease; }
.case-card:hover .case-img-wrap img { transform: scale(1.05); }
.case-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }

.aggregator { padding-block: var(--sy); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agg-head { max-width: 760px; }
.agg-head h2 { margin: 10px 0 16px; }
.agg-head .section-lead b { color: var(--ink); }
.agg-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 40px 0; }
.agg-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.agg-step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 30%, var(--line)); }
.agg-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--gold-soft), transparent); color: var(--gold); margin-bottom: 16px; border: 1px solid var(--line-2); box-shadow: inset 0 2px 4px rgba(255,255,255,0.05); }
.agg-ic i { width: 22px; height: 22px; }
.agg-step p { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
@media (max-width: 900px) { .agg-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .agg-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .agg-steps { grid-template-columns: 1fr; } }

.founder { padding-block: var(--sy); }
.founder-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.founder-photo { aspect-ratio: 1; border-radius: var(--r); background: linear-gradient(135deg, var(--bg-2), var(--surface-2)); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.founder-photo span { font-size: 48px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.founder-q { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 20px; }
.founder-by { display: flex; flex-direction: column; margin-bottom: 16px; }
.founder-name { font-weight: 600; color: var(--ink); }
.founder-role { font-size: 13px; color: var(--ink-3); }
@media (max-width: 700px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { width: 120px; } }

.serve { padding-block: var(--sy); }
.serve-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.serve-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 16px; font-size: 13.5px; color: var(--ink-2); }
.serve-pill i, .serve-pill .lucide { width: 16px; height: 16px; color: var(--accent); }

.dash-pills { display: inline-flex; gap: 4px; font-size: 11px; }
.dash-pills span { padding: 4px 9px; color: var(--ink-3); border: 1px solid transparent; border-radius: 4px; }
.dash-pills span.is-active { color: var(--ink); border-color: var(--line-2); }

/* hero dashboard island */
.hero-dash { width: 100%; min-height: 620px; margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 900px) { .hero-dash { min-height: 0; } }
.hero-copy-center { text-align: center; max-width: 880px; margin-inline: auto; }
.hero-copy-center .lead { margin-inline: auto; }
.hero-copy-center .cta-row { justify-content: center; }
.hero-copy-center .hero-proof { justify-content: center; }

/* dashboard grid (used by the React island) */
.dg { display: grid; gap: 12px; grid-template-columns: repeat(12, 1fr); }
.dcol-3 { grid-column: span 3; }
.dcol-4 { grid-column: span 4; }
.dcol-5 { grid-column: span 5; }
.dcol-6 { grid-column: span 6; }
.dcol-7 { grid-column: span 7; }
.dcol-8 { grid-column: span 8; }
.dcol-12 { grid-column: span 12; }
@media (max-width: 900px) { .dg { grid-template-columns: repeat(6, 1fr); } .dg > * { grid-column: span 6 !important; } .dg > .dcol-3 { grid-column: span 3 !important; } }
@media (max-width: 560px) { .dg { grid-template-columns: repeat(2, 1fr); gap: 8px; } .dg > * { grid-column: span 2 !important; } .dg > .dcol-3 { grid-column: span 1 !important; } }

/* full menu — sticky scroll */
.fm { padding-block: var(--sy); }
.fm-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.fm-sticky { position: sticky; top: 100px; align-self: start; }
.fm-sticky h2 { margin: 10px 0 16px; }
.fm-sticky .section-lead { margin-bottom: 26px; }
.fm-active { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 24px; min-height: 96px; }
.fm-active-no { font-size: clamp(40px, 5vw, 60px); font-weight: 600; color: var(--accent); letter-spacing: -.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.fm-active-name { display: block; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fm-active-desc { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.5; max-width: 36ch; }
.fm-list { display: flex; flex-direction: column; }
.fm-row { display: grid; grid-template-columns: auto 38px 1fr auto; align-items: center; gap: 16px; padding: 22px 6px; border-top: 1px solid var(--line); }
.fm-row:last-child { border-bottom: 1px solid var(--line); }
.fm-no { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.fm-ic { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-3); transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.fm-ic i, .fm-ic .lucide { width: 18px; height: 18px; }
.fm-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fm-name { font-size: clamp(18px, 2vw, 23px); font-weight: 600; letter-spacing: -.01em; color: var(--ink-3); transition: color .3s var(--ease); }
.fm-desc { display: none; font-size: 13px; color: var(--ink-3); }
.fm-arrow { width: 18px; height: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.fm-row.is-active .fm-name { color: var(--ink); }
.fm-row.is-active .fm-ic { color: #fff; background: var(--accent); border-color: var(--accent); }
.fm-row.is-active .fm-no { color: var(--accent); }
.fm-row.is-active .fm-arrow { opacity: 1; transform: none; }
.fm-row:hover .fm-name { color: var(--ink); }
.fm-row:hover .fm-ic { border-color: var(--line-2); color: var(--ink); }
@media (max-width: 900px) {
  .fm-grid { grid-template-columns: 1fr; gap: 24px; }
  .fm-sticky { position: static; }
  .fm-active { display: none; }
  .fm-desc { display: block; }
  .fm-arrow { display: none; }
}

/* gold brand accents (logo) */
.marquee b { color: var(--gold); }
.soul-wave i, .soul-wave .lucide { background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 30%, transparent)); }
.fm-active-no { color: var(--gold); }
.fm-row.is-active .fm-ic { background: var(--gold); border-color: var(--gold); color: #1a1205; }

/* legal page tables (in .prose) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; color: var(--ink); }
.legal-meta { color: var(--ink-3); font-size: 14px; margin-top: 20px; }
.legal-note { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 14px 16px; background: var(--surface); font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }

/* mobile polish */
@media (max-width: 640px) {
  .dash-hide-m { display: none !important; }
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero-dash { margin-top: 28px; }
}
@media (max-width: 480px) {
  .hero-h { font-size: clamp(32px, 8.6vw, 46px); }
  .page-hero h1 { font-size: clamp(32px, 8.6vw, 46px); }
}
@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .ct-map iframe { height: 340px; }
  .cta-action { padding: 16px; }
  .soul-card-meta { flex-direction: column; gap: 2px; align-items: flex-start; }
}

/* richer footer */
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
.foot-cta { margin-top: 12px; align-self: flex-start; }
.foot-made { color: var(--ink-3); font-size: 13px; }
.foot-reg { color: var(--ink-3); font-size: 12.5px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 50%; transition: all .2s; }
.foot-social a:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.foot-social i, .foot-social .lucide { width: 16px; height: 16px; }
.foot-addr { color: var(--ink-3); font-size: 13px; margin-top: 4px; display: block; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] .grain { opacity: 0.04; }

/* shared bits */
.kicker { display: inline-flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); }
.kicker i, .kicker .lucide { display: none; }
.h2 { font-size: clamp(27px, 3.4vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -0.032em; }
.accent { color: var(--accent); }
.eyebrow-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 22px; margin-bottom: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--line); }
.eyebrow-row .idx { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.lead { color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 10px 19px; border-radius: var(--r-pill); white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), opacity .16s var(--ease);
}
.btn i, .btn .lucide { width: 15px; height: 15px; }
.btn-sm { padding: 8px 15px; font-size: 12.5px; }
.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-solid { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-solid:hover { transform: translateY(-1px); background: var(--accent-2); box-shadow: 0 8px 20px rgba(46, 79, 214, .28); }
.btn-line { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-1px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ─────────────  NAV  ───────────── */
.nav { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 100; width: min(1320px, 100%); height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); border: 1px solid transparent; border-radius: 0; background: transparent; box-shadow: none; transition: width .35s var(--ease), height .3s var(--ease), top .35s var(--ease), padding .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), border-radius .35s var(--ease), box-shadow .3s var(--ease); }
.nav.scrolled { top: 12px; width: min(1080px, calc(100% - 28px)); height: 56px; padding: 0 8px 0 20px; border-color: var(--line); border-radius: var(--r-pill); background: var(--nav-scrolled); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark svg { width: 27px; height: 27px; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .16s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 13px; justify-self: end; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-2); box-shadow: var(--shadow-sm); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 17px; height: 1.6px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger.active span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.burger.active span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: none; flex-direction: column; gap: 4px; padding: 104px var(--gutter) 40px; }
.menu.open { display: flex; }
.menu a:not(.btn) { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; padding: 15px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 18px; justify-content: center; }

/* ─────────────  HERO  ───────────── */
.hero { position: relative; padding: clamp(112px, 15vh, 156px) 0 clamp(56px, 8vh, 92px); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); }
.hero-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-h { font-size: clamp(40px, 6.2vw, 84px); font-weight: 600; line-height: 0.97; letter-spacing: -0.043em; }
.hero-h .m { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.15em; }
.hero-h .m > span { display: block; transform: translateY(105%); animation: lineUp 1s var(--ease) var(--d, 0s) both; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-copy .lead { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.6; max-width: 46ch; margin-top: clamp(20px, 2.5vw, 30px); }
.cta-row { display: flex; gap: 11px; flex-wrap: wrap; }
.hero-copy .cta-row { margin-top: clamp(26px, 3vw, 38px); }
.hero-art { display: flex; justify-content: center; }
.globe { width: 100%; max-width: 460px; color: var(--ink); }
.globe-arc { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.globe-arc.b { stroke-opacity: .55; }
.scrollcue { position: absolute; left: var(--gutter); bottom: 24px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.scrollcue i, .scrollcue .lucide { width: 14px; height: 14px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ─────────────  MARQUEE  ───────────── */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: slide 42s linear infinite; }
.marquee-track span { font-size: clamp(15px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.marquee-track b { color: var(--accent); font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ─────────────  SERVICE LINES  ───────────── */
.lines { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.line-item { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(26px, 4vw, 52px); min-height: clamp(148px, 15vw, 196px); padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2vw, 28px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.line-item i, .line-item .lucide { width: 24px; height: 24px; color: var(--ink-3); transition: color .2s var(--ease), transform .3s var(--ease); }
.line-item span { font-size: clamp(18px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.line-item:hover { background: var(--surface); }
.line-item:hover i, .line-item:hover .lucide { color: var(--accent); transform: translateY(-3px); }

/* service lines - editorial list */
.lines-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 92px); align-items: start; }
.lines-intro { position: sticky; top: 100px; }
.lines-intro .h2 { margin-top: 14px; max-width: 15ch; }
.lines-intro .section-lead { margin-top: 16px; }
.lines-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 500; font-size: 14px; color: var(--accent); }
.lines-cta i, .lines-cta .lucide { width: 16px; height: 16px; }
.lines-list { border-top: 1px solid var(--line); }
.line-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; padding: clamp(17px, 1.9vw, 23px) 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding-left .25s var(--ease), background .2s var(--ease); }
.line-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink-2); flex-shrink: 0; transition: color .2s var(--ease), border-color .2s var(--ease); }
.line-ic i, .line-ic .lucide { width: 19px; height: 19px; }
.line-name { font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.03em; }
.line-desc { color: var(--ink-3); font-size: 13.5px; justify-self: end; text-align: right; }
.line-arrow { width: 18px; height: 18px; color: var(--ink-3); opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease); }
.line-row:hover { padding-left: 14px; }
.line-row:hover .line-ic { color: var(--accent); border-color: var(--accent); }
.line-row:hover .line-arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

/* ─────────────  PINNED HORIZONTAL - CAPABILITIES  ───────────── */
.hpin { height: 340vh; position: relative; }
.hpin-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 3vw, 40px); overflow: hidden; }
.hpin-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.hpin-head .kicker { grid-column: 1; }
.hpin-head .h2 { grid-column: 1; max-width: 18ch; margin-top: 14px; }
.hpin-rail { grid-column: 2; grid-row: 1 / span 2; align-self: end; height: 3px; width: clamp(120px, 18vw, 220px); background: var(--line); }
.hpin-rail span { display: block; height: 100%; width: 8%; background: var(--accent); transition: width .1s linear; }
.hpin-track { display: flex; gap: 16px; padding-inline: var(--gutter); will-change: transform; }
.panel { flex: 0 0 auto; width: min(74vw, 360px); height: clamp(360px, 56vh, 480px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; }
.panel-no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }
.panel-ic { width: 42px; height: 42px; margin: 18px 0; border: 1px solid var(--line-2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.panel-ic i, .panel-ic .lucide { width: 20px; height: 20px; }
.panel h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 9px; }
.panel p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.panel ul { margin-top: auto; }
.panel ul li { font-size: 13px; color: var(--ink-2); padding: 9px 0; border-top: 1px solid var(--line); }
.panel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent); font-weight: 500; font-size: 14px; }
.panel-link i, .panel-link .lucide { width: 16px; height: 16px; }
.panel-end { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.panel-end .panel-no, .panel-end p { color: var(--bg); opacity: 0.55; }
.panel-end .panel-ic { border-color: var(--bg); opacity: 0.5; }
.panel-end .panel-link { color: var(--bg); }

/* ─────────────  SCROLLYTELLING - HOW  ───────────── */
.story { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.story-head { margin-bottom: clamp(26px, 3.2vw, 44px); }
.section-lead { color: var(--ink-2); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; max-width: 54ch; margin-top: 16px; }
.story-head .h2, .story-head .kicker + .h2 { max-width: 18ch; margin-top: 14px; }
.story-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.story-visual { position: sticky; top: 15vh; height: 66vh; min-height: 420px; }
.story-card { position: relative; height: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; overflow: hidden; }
.story-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.story-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 2s ease-in-out infinite; }
@keyframes ping { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.story-stage { position: absolute; left: 30px; right: 30px; top: 68px; bottom: 30px; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story-stage.is-active { opacity: 1; transform: none; }
.stage-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.stage-n { font-size: clamp(40px, 5.4vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stage-suffix { font-size: clamp(26px, 3vw, 40px); font-weight: 600; }
.stage-l { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: clamp(104px, 20vh, 170px); margin-top: auto; }
.bars i, .bars .lucide { flex: 1; height: var(--h); background: var(--surface-2); border-top: 2px solid var(--accent); }
.story-steps { display: flex; flex-direction: column; }
.story-step { padding: clamp(26px, 4.5vh, 50px) 0; border-top: 1px solid var(--line); opacity: 0.38; transition: opacity .4s var(--ease); }
.story-step:first-child { border-top: none; padding-top: 0; }
.story-step.is-active { opacity: 1; }
.step-no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.story-step h3 { font-size: clamp(21px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; margin: 12px 0; }
.story-step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 44ch; }

/* ─────────────  METRICS  ───────────── */
.metrics { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.metrics-head { margin-bottom: clamp(32px, 4vw, 52px); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 4px 26px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: none; padding-left: 0; }
.metric-n { display: block; font-size: clamp(34px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.metric-l { display: block; color: var(--ink-3); font-size: 13px; margin-top: 12px; }
.spark { display: block; width: 100%; height: 30px; margin-top: 20px; color: var(--accent); overflow: visible; }
.spark polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.5; }

/* ─────────────  MANIFESTO QUOTE  ───────────── */
.quote { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.quote-mark { display: block; font-size: clamp(72px, 11vw, 150px); line-height: 0.5; height: 0.46em; color: var(--accent); font-weight: 600; }
.quote-text { font-size: clamp(25px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.032em; line-height: 1.16; max-width: 24ch; margin: 22px 0 34px; }
.quote-by { display: flex; flex-direction: column; gap: 3px; }
.quote-name { font-weight: 600; }
.quote-role { color: var(--ink-3); font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; }

/* ─────────────  GLOBAL MARKETS  ───────────── */
.global { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.global-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.gcard { padding: clamp(24px, 3vw, 34px) 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.gcard:first-child { border-left: none; padding-left: 0; }
.gcard-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.gcard h3 { font-size: clamp(23px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.gcard p { color: var(--ink-2); font-size: 14px; line-height: 1.55; flex: 1; }
.gcard-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-2); }
.gcard-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.gcard-status.soon { color: var(--ink-3); }
.gcard-status.soon::before { background: var(--ink-3); }

/* ─────────────  STACKED CARDS - WHY  ───────────── */
.stack { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.stack-head { margin-bottom: clamp(26px, 3.2vw, 44px); }
.stack-head .h2 { max-width: 20ch; margin-top: 16px; }
.scard { position: sticky; top: calc(88px + var(--i) * 16px); display: grid; grid-template-columns: 1fr 1.15fr; column-gap: clamp(28px, 4vw, 72px); row-gap: 14px; align-items: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px); margin-bottom: 18px; }
.scard-no { grid-column: 1; grid-row: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.scard h3 { grid-column: 1; grid-row: 2; font-size: clamp(22px, 2.5vw, 32px); font-weight: 600; letter-spacing: -0.03em; max-width: 16ch; }
.scard p { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.62; }

/* ─────────────  FAQ  ───────────── */
.faq { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-intro .h2 { max-width: 12ch; margin-top: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.faq-q i, .faq-q .lucide { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; transition: transform .3s var(--ease), color .2s var(--ease); }
.faq-item.open .faq-q i, .faq-item.open .faq-q .lucide { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 62ch; padding-bottom: 24px; }

/* ─────────────  CTA  ───────────── */
.cta { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.cta-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: var(--accent); color: #fff; border-radius: var(--r); padding: clamp(36px, 5vw, 72px); }
.cta-card .kicker { color: rgba(255, 255, 255, 0.7); }
.cta-h { font-size: clamp(32px, 4.4vw, 60px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; color: #fff; margin: 16px 0; }
.cta-sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; max-width: 42ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-action { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 20px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r); color: #fff; transition: background .2s var(--ease); }
.cta-action:hover { background: rgba(255, 255, 255, 0.18); }
.cta-action-l { grid-column: 1; font-size: 16px; font-weight: 600; }
.cta-action i, .cta-action .lucide { grid-column: 2; grid-row: 1; width: 18px; height: 18px; align-self: center; }
.cta-action-s { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; gap: 28px; align-items: start; } }

/* ─────────────  FOOTER  ───────────── */
.foot { border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 80px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.foot-brand p { color: var(--ink-3); font-size: 14px; margin-top: 14px; max-width: 30ch; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.foot-col a { color: var(--ink-2); font-size: 14px; transition: color .15s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-col a.foot-cta, .foot-col a.foot-cta:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.foot-end { display: flex; align-items: center; gap: 18px; }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a:hover { color: var(--ink); }

/* hero proof strip */
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--line); }
.hero-proof span { font-size: 13px; color: var(--ink-3); }
.hero-proof b { color: var(--ink); font-weight: 600; }

/* product showcase / dashboard */
.showcase { padding: var(--sy) 0; border-top: 1px solid var(--line); }
.showcase .story-head { margin-bottom: clamp(32px, 4vw, 52px); }
.showcase .story-head .h2 { max-width: none; }
.showcase .section-lead { max-width: none; }
.dash { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
[data-theme="light"] .dash { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10); }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i, .dash-dots .lucide { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dash-url { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; }
.dash-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dash-body { display: grid; grid-template-columns: 200px 1fr; }
.dash-rail { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); }
.dash-nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); font-size: 13px; color: var(--ink-2); }
.dash-nav i, .dash-nav .lucide { width: 16px; height: 16px; }
.dash-nav.is-active { background: var(--surface); color: var(--ink); }
.dash-main { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.dash-kpi { padding: 15px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dash-kpi:first-child { border-left: none; }
.k-l { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.k-n { font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; letter-spacing: -0.03em; }
.k-d { font-family: var(--mono); font-size: 11px; }
.k-d.up { color: var(--accent); }
.k-d.down { color: var(--ink-3); }
.dash-chart, .dash-agents { border: 1px solid var(--line); padding: 16px; }
.dash-chart-head, .dash-agents-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.dash-tabs { display: inline-flex; gap: 4px; font-family: var(--mono); font-size: 11px; }
.dash-tab { padding: 5px 10px; color: var(--ink-3); border: 1px solid transparent; background: none; font: inherit; font-size: 11px; cursor: pointer; }
.dash-tab.is-active { color: var(--ink); border-color: var(--line-2); }
.dash-svg { width: 100%; height: clamp(120px, 15vw, 170px); display: block; }
.dash-svg line { stroke: var(--line); stroke-width: 1; }
.dash-svg .area { fill: var(--accent); fill-opacity: 0.08; }
.dash-svg .lineplot { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.dash-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.dash-agent { display: grid; grid-template-columns: auto 1.1fr 1.4fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.a-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.a-name { font-weight: 500; }
.a-act { color: var(--ink-2); }
.a-time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: right; }
@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-rail { flex-direction: row; gap: 4px; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .dash-nav { white-space: nowrap; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpi:nth-child(odd) { border-left: none; }
  .dash-agent { grid-template-columns: auto 1fr auto; }
  .a-act { display: none; }
}

/* inner pages - hero + prose + tabs (shared) */
.page-hero { padding: clamp(118px, 16vh, 176px) 0 var(--sy); border-bottom: 1px solid var(--line); }
.page-hero .kicker { display: inline-flex; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em; max-width: 16ch; }
.page-hero .lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.6; max-width: 56ch; margin-top: 22px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.02em; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; padding: 6px 0 6px 22px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--ink); font-size: 18px; }

/* tab control (legal) */
.tabs { display: inline-flex; gap: 4px; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; }
.tab { padding: 9px 18px; border-radius: 3px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease); }
.tab.is-active { background: var(--ink); color: var(--bg); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─────────────  RESPONSIVE  ───────────── */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .global-grid { grid-template-columns: repeat(2, 1fr); }
  .gcard:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 900px) {
  .nav { display: flex; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 300px; margin-top: 6px; }
  .lines-wrap { grid-template-columns: 1fr; gap: 32px; }
  .lines-intro { position: static; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .metric:nth-child(3) { border-left: none; padding-left: 0; }
  .scard { position: relative; top: 0 !important; grid-template-columns: 1fr; }
  .scard p { grid-column: 1; grid-row: auto; align-self: start; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  /* capabilities -> native swipe carousel on touch (no scroll-hijack) */
  .hpin { height: auto; }
  .hpin-sticky { position: static; height: auto; overflow: visible; padding: var(--sy) 0; gap: 20px; }
  .hpin-head { grid-template-columns: 1fr; }
  .hpin-rail { display: none; }
  .hpin-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .panel { width: min(80vw, 340px); height: auto; min-height: 280px; scroll-snap-align: start; }
}
/* phone: drop the sticky data-card (it overlapped) - clean stacked steps */
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .story-step { opacity: 1; padding: clamp(22px, 5vw, 32px) 0; }
  .story-step:first-child { padding-top: 0; }
}
@media (max-width: 560px) {
  .hero-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .line-row { grid-template-columns: auto 1fr auto; }
  .line-desc { display: none; }
  .metrics-grid { grid-template-columns: 1fr; gap: 0; }
  .metric { border-left: none; padding-left: 0; padding-block: 18px; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: none; padding-top: 0; }
  .global-grid { grid-template-columns: 1fr; }
  .gcard { border-left: none; padding-left: 0; padding-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-h .m > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .hpin { height: auto; }
  .hpin-sticky { position: static; height: auto; padding: 72px 0; }
  .hpin-track { flex-direction: column; transform: none !important; padding-inline: 0; gap: 14px; }
  .panel { width: 100%; height: auto; }
  .story-visual { position: relative; height: auto; top: 0; }
}

/* ═══════════════════════════════════════════════════════════
   SaaS redesign — homepage (v6)  ·  rounded, soft-depth, pill
   ═══════════════════════════════════════════════════════════ */
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.section-head .kicker { justify-content: center; margin-bottom: 16px; }
.section-head .h2 { margin-bottom: 16px; }
.section-lead { color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17.5px); line-height: 1.6; max-width: 60ch; margin-inline: auto; }
.section-lead a { color: var(--accent); font-weight: 600; }

/* ── HERO ── */
.hero { position: relative; padding: clamp(116px, 15vh, 168px) 0 clamp(48px, 7vh, 88px); overflow: hidden; }
.hero-glow { position: absolute; top: -12%; left: 50%; transform: translateX(-50%); width: min(1100px, 130vw); height: 640px; background: radial-gradient(closest-side, rgba(74, 107, 255, .20), rgba(74, 107, 255, 0) 70%); pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.hero-h { font-size: clamp(42px, 6.6vw, 88px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; }
.hero-h .m { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.12em; }
.hero-h .m > span { display: block; transform: translateY(105%); animation: lineUp 1s var(--ease) var(--d, 0s) both; }
.hero-copy-center .lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; max-width: 50ch; margin-top: clamp(20px, 2.5vw, 28px); }
.hero-copy-center .cta-row { margin-top: clamp(26px, 3vw, 36px); }
.hero-trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 13.5px; color: var(--ink-2); }
.hero-trust b { color: var(--ink); font-weight: 700; }
.hero-trust-faces { display: inline-flex; }
.hero-trust-faces i, .hero-trust-faces .lucide { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-style: normal; color: #fff; background: var(--grad); border: 2px solid var(--bg); margin-left: -8px; box-shadow: var(--shadow-sm); }
.hero-trust-faces i:first-child { margin-left: 0; }
.hero-trust-faces i:nth-child(2) { background: linear-gradient(135deg, #f5a90a, #f7bd3e); }
.hero-trust-faces i:nth-child(3) { background: linear-gradient(135deg, #11163a, #2a3170); }
.hero-trust-faces i:last-child { background: var(--accent-soft); color: var(--accent); }
.hero-dash-wrap { margin-top: clamp(40px, 5vw, 64px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-dash-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, var(--bg-2)); }
.hero-dash-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.hero-dash-bar span:nth-child(1) { background: #ff5f57; }
.hero-dash-bar span:nth-child(2) { background: #febc2e; }
.hero-dash-bar span:nth-child(3) { background: #28c840; }
.hero-dash-bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.hero-dash { width: 100%; min-height: 600px; padding: clamp(14px, 2vw, 22px); margin-top: 0; }
@media (max-width: 900px) { .hero-dash { min-height: 0; } }

/* ── MARQUEE ── */
.marquee { border-block: 1px solid var(--line); padding-block: 16px; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; animation: marq 55s linear infinite; will-change: transform; }
.marquee span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.marquee b { color: var(--gold); font-weight: 700; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── STATS ── */
.stats { padding-block: clamp(44px, 5vw, 76px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.stat-n { display: block; font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat-n i, .stat-n .lucide { font-style: normal; color: var(--accent); }
.stat-l { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── FEATURE TABS ── */
.tabs { padding-block: var(--sy); }
.tabs-shell { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, var(--bg-2)); }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--ink-2); border: 1px solid transparent; transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.tab-btn i, .tab-btn .lucide { width: 16px; height: 16px; }
.tab-btn:hover { color: var(--ink); background: var(--surface); }
.tab-btn.is-active { color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(74, 107, 255, .26); }
.tabs-panels { padding: clamp(24px, 3.5vw, 48px); }
.tab-pane { display: none; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-pane.is-active { display: grid; animation: fadeUp .5s var(--ease) both; }
.tab-copy h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.tab-copy p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; max-width: 46ch; }
.tab-list { display: grid; gap: 11px; margin-bottom: 24px; }
.tab-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.tab-list i, .tab-list .lucide { width: 18px; height: 18px; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; flex: none; margin-top: 1px; }
.tab-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.tab-cta i, .tab-cta .lucide { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tab-cta:hover i, .tab-cta:hover .lucide { transform: translate(2px, -2px); }
.tab-visual { background: linear-gradient(160deg, var(--accent-soft), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-sm); min-height: 300px; }
.tv-card { display: flex; align-items: center; gap: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.tv-ic { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }
.tv-ic i, .tv-ic .lucide { width: 19px; height: 19px; }
.tv-card b { display: block; font-size: 14px; color: var(--ink); }
.tv-card div span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.tv-pos { color: #16a34a !important; font-weight: 600; }
.tv-row { display: flex; align-items: center; gap: 12px; }
.tv-bar { height: 9px; border-radius: var(--r-pill); background: var(--grad); width: var(--w); box-shadow: 0 2px 6px rgba(74, 107, 255, .25); }
.tv-row em { font-style: normal; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.tv-chips span { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 12px; }
.tv-spark { color: var(--accent); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.tv-spark svg { width: 100%; height: 56px; display: block; }
.tv-chat { display: grid; gap: 8px; }
.tv-bubble { font-size: 13px; line-height: 1.4; padding: 10px 14px; border-radius: 14px; max-width: 90%; }
.tv-bubble.in { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; justify-self: start; }
.tv-bubble.out { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
@media (max-width: 820px) { .tab-pane.is-active { grid-template-columns: 1fr; } .tab-visual { order: -1; } }

/* ── WHY US ── */
.diff { padding-block: var(--sy); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diff-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.diff-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.diff-ic i, .diff-ic .lucide { width: 22px; height: 22px; }
.diff-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.diff-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 860px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ── PERSONA ── */
.persona { padding-block: var(--sy); }
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.persona-ic { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; background: var(--ink-grad); color: #fff; margin-bottom: 16px; }
.persona-ic i, .persona-ic .lucide { width: 21px; height: 21px; }
.persona-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.persona-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.persona-card a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.persona-card a i, .persona-card a .lucide { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.persona-card:hover a i, .persona-card:hover a .lucide { transform: translateX(3px); }
@media (max-width: 920px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .persona-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { padding-block: var(--sy); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-head .kicker { margin-bottom: 14px; }
.faq-head .h2 { margin-bottom: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq-summary i, .faq-summary .lucide { width: 20px; height: 20px; color: var(--accent); flex: none; transition: transform .25s var(--ease); }
.faq-item.open .faq-summary i, .faq-item.open .faq-summary .lucide { transform: rotate(45deg); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-content > div { overflow: hidden; min-height: 0; opacity: 0; padding-bottom: 0; transition: padding 0.35s var(--ease), opacity 0.3s var(--ease); }
.faq-item.open .faq-content { grid-template-rows: 1fr; }
.faq-item.open .faq-content > div { opacity: 1; padding-bottom: 22px; }
.faq-a { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ── FINAL CTA ── */
.cta-band { padding-block: var(--sy); }
.cta-band-inner { position: relative; overflow: hidden; background: var(--ink-grad); border-radius: var(--r-lg); padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 64px); text-align: left; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cta-band-inner > * { position: relative; z-index: 1; }
.cta-band-inner .kicker { justify-content: flex-start; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.cta-band-inner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: #fff; max-width: 18ch; margin: 0 0 16px; }
.cta-band-inner p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.6; max-width: 52ch; margin: 0 0 30px; }
.cta-band-inner .cta-row { justify-content: flex-start; }
.cta-band-inner .btn-line { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #fff; box-shadow: none; }
.cta-band-inner .btn-line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: 1fr; gap: 30px; } .cta-image { display: none; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════════════
   v6.1 — white base · gold accent · sleek · scroll reveal
   ═══════════════════════════════════════════════════════════ */

/* warm off-white rhythm between white sections */
.diff, .faq { background: var(--bg-alt); }

/* proof block: 6 numbers in 3 columns */
.stats-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* feature tab visual (soft electric-blue tint) */
.tab-visual { background: linear-gradient(160deg, var(--accent-soft), var(--bg-2)); }

/* ── FOOTER · always pitch black ── */
.foot { background: #07080c; border-top: 1px solid rgba(255, 255, 255, .08); color: #b9bbc7; }
.foot-brand p { color: #8a8c9a; }
.foot-h { color: #e7e8ef; }
.foot-col a { color: #b9bbc7; }
.foot-col a:hover { color: #fff; }
.foot-addr { color: #7e8090; }
.foot-social a { color: #b9bbc7; border-color: rgba(255,255,255,0.15); }
.foot-social a:hover { color: #0c0e14; background: #fff; border-color: #fff; }
.foot-bottom { border-top-color: rgba(255, 255, 255, .08); color: #7e8090; }
.foot-made { color: #7e8090; }
.foot-cookie { color: #9a9ca9; }
.foot-cookie:hover { color: #fff; }
.foot .btn-solid { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }
.foot .btn-solid:hover { filter: brightness(1.08); }

/* ── THEME TOGGLE ── */
.foot-end { display: inline-flex; align-items: center; gap: 16px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-pill); background: rgba(255, 255, 255, .045); }
.theme-toggle button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #9092a3; transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease); }
.theme-toggle button i, .theme-toggle button .lucide { width: 15px; height: 15px; }
.theme-toggle button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.theme-toggle button.is-active { background: var(--accent-bright); color: #fff; box-shadow: 0 2px 10px rgba(74, 107, 255, .45); }
@media (max-width: 520px) { .foot-end { flex-wrap: wrap; justify-content: center; } }

/* ═══════════════════════════════════════════════════════════
   v6.5 — homepage-changes PDF · form · performance
   ═══════════════════════════════════════════════════════════ */

/* perf: skip rendering below-fold sections until near viewport */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 640px; }

/* hero: second line of the sub sits on its own single line */
.hero-copy-center .hero-lead { max-width: 66ch; }
.lead-l2 { display: block; }
@media (min-width: 720px) { .lead-l2 { white-space: nowrap; } }

/* hero trust: icon chips replace the HCM circles */
.hero-trust-chips { display: inline-flex; }
.hero-trust-chips em { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; box-shadow: var(--shadow-sm); background: var(--grad); color: #fff; }
.hero-trust-chips em:first-child { margin-left: 0; }
.hero-trust-chips em:nth-child(2) { background: linear-gradient(135deg, #f5a90a, #f7bd3e); color: #241a02; }
.hero-trust-chips em:nth-child(3) { background: var(--ink-grad); }
.hero-trust-chips i, .hero-trust-chips .lucide { width: 14px; height: 14px; }

/* proof kicker line */
.stats-kicker { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 18px; }

/* gold active tab — breaks the blue monotony on the most important section */
.tab-btn.is-active { color: #241a02; background: linear-gradient(135deg, #f7bd3e 0%, #f5a90a 100%); box-shadow: 0 6px 16px rgba(245, 169, 10, .35); }

/* services: 8 primary cards → 4-up on wide screens */
@media (min-width: 1080px) { .svc-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* numbered secondary services */


/* case studies: title style (copy-led, not number-led) */
.case-t { font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; letter-spacing: -0.015em; color: var(--ink); line-height: 1.25; }

/* soul: real telecaller photo */
.soul-photo { width: 100%; height: auto; border-radius: var(--r-sm); margin-bottom: 18px; display: block; }
.soul-count { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--accent); display: block; margin-bottom: 2px; }

/* ── GET IN TOUCH form ── */
.git { padding-block: var(--sy); background: var(--bg-alt); }
.git-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.git-head { position: sticky; top: 100px; }
.git-head .kicker { margin-bottom: 14px; }
.git-head .h2 { margin-bottom: 14px; }
.git-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.git-note i, .git-note .lucide { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 1px; }
.gform { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.gform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gfield { display: flex; flex-direction: column; gap: 6px; }
.gfield label { font-size: 13px; font-weight: 600; color: var(--ink); }
.gfield input, .gfield select, .gfield textarea {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.gfield textarea { resize: vertical; min-height: 96px; }
.gfield input::placeholder, .gfield textarea::placeholder { color: var(--ink-3); }
.gfield select:invalid { color: var(--ink-3); }
.gfield input:focus, .gfield select:focus, .gfield textarea:focus { outline: none; }
.gerr { font-size: 12.5px; color: #dc2626; }
.gform-ok { display: flex; align-items: flex-start; gap: 9px; background: rgba(22, 163, 74, .09); border: 1px solid rgba(22, 163, 74, .3); color: #15803d; border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; font-weight: 500; }
.gform-ok i, .gform-ok .lucide { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.gform-submit { justify-self: start; }
@media (max-width: 800px) {
  .git-grid { grid-template-columns: 1fr; }
  .git-head { position: static; }
  .gform-row { grid-template-columns: 1fr; }
}

/* ═══ v6.6 — design-audit fixes ═══ */
/* footer bottom: never crush the toggle */
.foot-bottom { flex-wrap: wrap; }
.foot-end { flex-wrap: wrap; }
.theme-toggle { flex: none; }
.theme-toggle button { flex: none; }
.theme-toggle button .lucide { width: 15px; height: 15px; }
/* icons never stretch or shrink inside flex rows */
.lucide { flex: none; }
/* select placeholder colour without relying on :invalid */
.gfield select { color: var(--ink); }
.gfield select:has(option[value=""]:checked) { color: var(--ink-3); }
/* small-text contrast */
.stats-kicker { color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════════
   v7 — crafted pass · serif accents · tilt hero · bento · editorial
   ═══════════════════════════════════════════════════════════ */
:root { --serif: 'Fraunces', Georgia, 'Times New Roman', serif; }

/* re-pin after old reveal block removal */
.tabs-nav { justify-content: center; }

/* serif italic accents — the designer's signature */
.fx, .hero-h .accent { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.fx { color: var(--accent); }

/* hero: dual glow mesh + perspective stage */
.hero { padding-bottom: clamp(48px, 6vw, 84px); }
.hero-glow { left: 0; transform: none; width: 100%; height: 760px; background:
  radial-gradient(560px 340px at 28% 6%, rgba(74, 107, 255, .15), transparent 70%),
  radial-gradient(520px 320px at 74% 14%, rgba(245, 169, 10, .11), transparent 70%); }
.hero-stage { perspective: 1500px; margin-top: clamp(44px, 5.5vw, 76px); }
.hero-stage .hero-dash-wrap { transform-origin: 50% 12%; will-change: transform; margin-top: 0; }
@media (max-width: 900px) {
  .hero-stage { perspective: none; margin-top: 32px; }
  .hero-stage .hero-dash-wrap { transform: none !important; }
  .hero-stage .hero-dash { min-height: 0; }
}

/* kickers become chips with a gold dot */
.kicker { gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-2); box-shadow: var(--shadow-sm); font-size: 11px; color: var(--gold); }
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.cta-band-inner .kicker, .aggregator .kicker { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .78); box-shadow: none; }

/* marquee: soft edge fades, no hard borders */
.marquee { border-block: 0; padding-block: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* proof: bento accents */
.stat-dark { background: var(--ink-grad); border-color: transparent; }
.stat-dark .stat-n { color: #fff; }
.stat-dark .stat-n i { color: var(--gold); }
.stat-dark .stat-l { color: rgba(255, 255, 255, .62); }
.stat-gold { background: var(--gold-soft); border-color: rgba(245, 169, 10, .35); }
.stat-gold .stat-n i { color: #c8870a; }
[data-theme="dark"] .stat-gold { background: rgba(245, 169, 10, .1); }
[data-theme="dark"] .stat-gold .stat-n i { color: var(--gold); }

/* services: crisper cards + a featured dark lead card */
.svc-card { background: var(--bg-2); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (min-width: 1080px) { .svc-feature { grid-column: span 2; } }
.svc-feature { background: var(--ink-grad); border-color: transparent; }
.svc-feature h3 { color: #fff; }
.svc-feature p { color: rgba(255, 255, 255, .66); max-width: 46ch; }
.svc-feature .svc-ic { background: rgba(245, 169, 10, .16); border-color: transparent; color: var(--gold); }

/* case studies: editorial index rows */
.case-list { border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 84px 1fr 40px; gap: clamp(16px, 3vw, 44px); align-items: start; padding: clamp(24px, 3.5vw, 40px) 8px; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); transition: background .25s var(--ease); }
.case-idx { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 42px); font-weight: 500; color: var(--ink-3); line-height: 1.1; transition: color .25s var(--ease); }
.case-row:hover { background: var(--surface); }
.case-row:hover .case-idx { color: var(--gold); }
.case-row .case-tag { display: block; margin-bottom: 8px; }
.case-row .case-t { display: block; margin-bottom: 10px; }
.case-row p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 74ch; }
.case-arrow { width: 22px; height: 22px; color: var(--ink-3); margin-top: 8px; transition: color .25s var(--ease), transform .25s var(--ease); }
.case-row:hover .case-arrow { color: var(--accent); transform: translate(3px, -3px); }
@media (max-width: 640px) {
  .case-row { grid-template-columns: 1fr; gap: 10px; }
  .case-idx { font-size: 22px; }
  .case-arrow { display: none; }
}

/* medical tourism: gradient hairline on hover */
.persona-card { position: relative; overflow: hidden; }
.persona-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); opacity: 0; transition: opacity .25s var(--ease); }
.persona-card:hover::before { opacity: 1; }

/* growth partnership: dark editorial band */
.aggregator { background: var(--ink-grad); border-block: none; }
.aggregator .h2 { color: #fff; }
.aggregator .section-lead { color: rgba(255, 255, 255, .68); }
.aggregator .section-lead b { color: var(--gold); }


/* faq: state-aware borders */
.faq-item { transition: border-color .2s var(--ease); }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }

/* final CTA: grid layout */
.cta-band-inner { display: grid; }

/* mobile menu: numbered editorial sheet with staggered reveal */
.menu { padding: 108px var(--gutter) 36px; counter-reset: m; gap: 0; }
.menu a:not(.btn) { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; font-size: clamp(26px, 6.4vw, 36px); font-weight: 700; letter-spacing: -0.025em; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu a:not(.btn)::before { counter-increment: m; content: counter(m, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--ink-3); }
.menu a:not(.btn)::after { content: '\2197'; font-size: 17px; color: var(--accent); opacity: .85; }
.menu.open a:not(.btn) { opacity: 1; transform: none; }
.menu.open a:nth-child(1) { transition-delay: .06s; }
.menu.open a:nth-child(2) { transition-delay: .1s; }
.menu.open a:nth-child(3) { transition-delay: .14s; }
.menu.open a:nth-child(4) { transition-delay: .18s; }
.menu.open a:nth-child(5) { transition-delay: .22s; }
.menu .btn { margin-top: 22px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease) .28s, transform .5s var(--ease) .28s; }
.menu.open .btn { opacity: 1; transform: none; }

/* ═══ v7.1 — Plus Jakarta Sans ONLY + layered-stack tabs redesign ═══ */
/* no serif anywhere: accents stay Jakarta, differentiated by colour + weight */
.fx, .hero-h .accent { font-family: var(--sans); font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.case-idx { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -0.02em; }

/* ── the full stack: vertical layer rail + detail panel ── */
.stack-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(16px, 2.2vw, 26px); align-items: stretch; background: none; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
.stack-rail { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0; border: none; background: none; }
.stack-rail .tab-btn { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow-sm); color: var(--ink); transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease), background .22s var(--ease); }
.stack-rail .tab-btn:hover { border-color: var(--line-2); transform: translateX(3px); background: var(--bg-2); color: var(--ink); }
.st-no { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--ink-3); transition: color .22s var(--ease); }
.st-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; transition: background .22s var(--ease), color .22s var(--ease); }
.st-ic i, .st-ic .lucide { width: 18px; height: 18px; }
.st-body { min-width: 0; }
.st-body b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.st-body small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.st-arr { width: 16px; height: 16px; color: var(--gold); opacity: 0; transform: translateX(-5px); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.stack-rail .tab-btn.is-active { background: var(--bg-2); color: var(--ink); border-color: rgba(245, 169, 10, .55); box-shadow: 0 8px 24px rgba(245, 169, 10, .14), var(--shadow-sm); transform: translateX(3px); }
.stack-rail .tab-btn.is-active .st-no { color: #c8870a; }
.stack-rail .tab-btn.is-active .st-ic { background: linear-gradient(135deg, #f7bd3e, #f5a90a); color: #241a02; }
.stack-rail .tab-btn.is-active .st-arr { opacity: 1; transform: none; }
[data-theme="dark"] .stack-rail .tab-btn.is-active .st-no { color: var(--gold); }

/* detail panel: single-column card (copy over visual) */
.stack-shell .tabs-panels { padding: 0; }
.stack-shell .tab-pane.is-active { display: grid; grid-template-columns: 1fr; gap: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); height: 100%; align-content: start; }
.stack-shell .tab-visual { order: 2; min-height: 0; }
.stack-shell .tab-copy p { max-width: 60ch; }

@media (max-width: 860px) {
  .stack-shell { grid-template-columns: 1fr; }
  .stack-rail { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none; }
  .stack-rail::-webkit-scrollbar { display: none; }
  .stack-rail .tab-btn { flex: 0 0 auto; min-width: 205px; scroll-snap-align: start; grid-template-columns: auto 1fr; padding: 12px 14px; }
  .stack-rail .tab-btn:hover, .stack-rail .tab-btn.is-active { transform: none; }
  .st-no, .st-arr { display: none; }
  .stack-shell .tab-visual { order: 2; }
}

/* ═══ v7.2 — alignment perfection ═══ */
/* services: uniform 4×2 grid — the span-2 featured card created a 9th cell
   and orphaned "Marketing Operations" on its own row. Featured stays dark,
   grid stays flawless. */
@media (min-width: 1080px) { .svc-grid-4 .svc-feature { grid-column: auto; } }
.svc-feature p { max-width: none; }

/* unified icon language across all service cards (matches the stack rail) */
.svc-ic { width: 44px; height: 44px; border-radius: 12px; border: none; background: var(--accent-soft); color: var(--accent); }

/* stack rail: the 5 layers stretch to EXACTLY match the panel height —
   both columns start and end on the same line */
@media (min-width: 861px) {
  .stack-rail .tab-btn { flex: 1 1 0; min-height: 74px; }
}

/* ═══════════════════════════════════════════════════════════════════
   v8 — EDITORIAL PRECISION · the definitive skin
   ink + paper + gold · oversized left type · hairline structure
   numbered sections · dark bands for rhythm · no card soup
   ═══════════════════════════════════════════════════════════════════ */

/* ── type scale: confident, tight, left ── */
.h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.fx { color: #c8870a; font-weight: 800; }
[data-theme="dark"] .fx { color: var(--gold); }

/* ── numbered editorial section headers, left-aligned ── */
#main { counter-reset: sec; }
.section-head { text-align: left; margin: 0 0 clamp(30px, 3.6vw, 48px); max-width: none; border-top: 1px solid var(--line); padding-top: 22px; }
.section-head .kicker, .agg-head .kicker, .faq-head .kicker, .git-head .kicker, .soul-copy .kicker { justify-content: flex-start; }
.section-head .h2 { margin: 14px 0 16px; max-width: 21ch; }
.section-head .section-lead { margin-inline: 0; max-width: 58ch; }
.agg-head, .faq-head, .git-head { border-top: 1px solid rgba(127,127,127,.25); padding-top: 22px; }
.faq-head, .git-head { border-top-color: var(--line); }

/* kickers: strip the chip — editorial label without index */
.kicker { background: none; border: 0; box-shadow: none; padding: 0; gap: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.kicker::before { display: none; }
.cta-band-inner .kicker, .aggregator .kicker { background: none; border: 0; color: rgba(255,255,255,.65); }

/* ── hero: oversized, left-aligned, gold moment ── */
.hero { padding-top: clamp(120px, 16vh, 170px); }
.hero-glow { background: radial-gradient(720px 400px at 12% 0%, rgba(245, 169, 10, .10), transparent 70%); }
.hero .hero-copy-center { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px clamp(28px, 4vw, 72px); text-align: left; max-width: none; margin: 0; align-items: end; }
.hero-eyebrow { grid-column: 1 / -1; justify-self: start; background: none; border: 0; box-shadow: none; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.hero-eyebrow .dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(245, 169, 10, .2); }
.hero-h { grid-column: 1 / -1; font-size: clamp(48px, 8vw, 112px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.96; }
.hero-h .accent { color: transparent; background: linear-gradient(100deg, #eaa90f 10%, #c8870a 90%); -webkit-background-clip: text; background-clip: text; }
[data-theme="dark"] .hero-h .accent { background: linear-gradient(100deg, #f7bd3e 10%, #f5a90a 90%); -webkit-background-clip: text; background-clip: text; }
.hero-copy-center .hero-lead { grid-column: 1; margin: 10px 0 0; max-width: 54ch; }
.hero-copy-center .cta-row { grid-column: 2; grid-row: 4; justify-content: flex-start; justify-self: start; align-self: end; margin: 0; }
.hero-trust { grid-column: 1; grid-row: 4; margin: 24px 0 0; }
@media (max-width: 860px) {
  .hero .hero-copy-center { grid-template-columns: 1fr; align-items: start; }
  .hero-copy-center .cta-row, .hero-trust { grid-column: 1; grid-row: auto; }
  .hero-copy-center .cta-row { margin-top: 22px; }
  .hero-trust { margin-top: 28px; }
  .lead-l2 { white-space: normal; }
}

/* ── buttons: ink pills; gold on dark bands; paper in dark theme ── */
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--bg-2); }
.btn-solid:hover { background: #000; box-shadow: 0 10px 24px rgba(20, 21, 30, .22); }
[data-theme="dark"] .btn-solid { background: #f3f4f8; border-color: #f3f4f8; color: #14151e; }
[data-theme="dark"] .btn-solid:hover { background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.aggregator .btn-solid, .cta-band-inner .btn-solid, .foot .btn-solid { background: var(--gold); border-color: var(--gold); color: #241a02; }
.aggregator .btn-solid:hover, .cta-band-inner .btn-solid:hover, .foot .btn-solid:hover { background: #f7bd3e; box-shadow: 0 10px 26px rgba(245, 169, 10, .35); }

/* ── marquee: louder, editorial ── */
.marquee span { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }

/* ── proof: ruled numerals, no cards ── */
.stats-kicker { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.stats-grid { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat, .stat-dark, .stat-gold { background: none; border: none; border-radius: 0; box-shadow: none; padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stats-grid .stat:nth-child(3n + 1) { border-left: none; padding-left: 0; }
.stats-grid .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
.stat-n, .stat-dark .stat-n { color: var(--ink); font-size: clamp(26px, 4.8vw, 64px); font-weight: 800; letter-spacing: -0.045em; }
.stat-n i, .stat-dark .stat-n i, .stat-gold .stat-n i { color: #c8870a; }
[data-theme="dark"] .stat-n i { color: var(--gold); }
.stat-l, .stat-dark .stat-l { color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat { border-left: 1px solid var(--line); padding-left: 18px; }
  .stats-grid .stat:nth-child(3n + 1) { padding-left: 18px; }
  .stats-grid .stat:nth-child(2n + 1) { border-left: none; }
  .stats-grid .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ── the full stack: ruled rail + framed panel ── */
.stack-rail { gap: 0; border-top: 1px solid var(--line); }
.stack-rail .tab-btn { border: none; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 0; background: none; box-shadow: none; padding: 18px 16px; }
.stack-rail .tab-btn:hover { background: var(--surface); border-color: var(--line); border-left-color: var(--line-2); transform: none; }
.stack-rail .tab-btn.is-active { background: var(--surface); border-color: var(--line); border-left: 3px solid var(--gold); box-shadow: none; transform: none; }
.st-ic { background: none; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink-2); }
.stack-rail .tab-btn.is-active .st-ic { background: var(--gold); border-color: var(--gold); color: #241a02; }
.stack-rail .tab-btn.is-active .st-no { color: #c8870a; }
.stack-shell .tab-pane.is-active { border-radius: var(--r); box-shadow: none; border: 1px solid var(--line-2); }
.tab-copy h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.tab-list i, .tab-list .lucide { background: var(--ink); }
[data-theme="dark"] .tab-list i, [data-theme="dark"] .tab-list .lucide { background: var(--accent); }
.tab-visual { border-radius: var(--r-sm); background: var(--surface); }
@media (max-width: 860px) {
  .stack-rail { border-top: none; }
  .stack-rail .tab-btn { border: 1px solid var(--line); border-radius: var(--r-sm); }
  .stack-rail .tab-btn.is-active { border-color: var(--gold); border-left: 1px solid var(--gold); }
}

/* ── soul: the emotional dark band ── */
.soul { background: var(--ink-grad); padding-block: clamp(56px, 7vw, 110px); }
.soul .kicker { color: rgba(255, 255, 255, .6); }
.soul-copy .h2 { color: #fff; }
.soul-copy p { color: rgba(255, 255, 255, .68); }
.soul-copy .soul-line { color: #fff; border-left-color: var(--gold); font-weight: 600; }
.soul-card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .12); border-radius: var(--r); }
.soul-chip { color: rgba(255, 255, 255, .6); }
.soul-card-q { color: rgba(255, 255, 255, .85); }
.soul-count { color: var(--gold); }
.soul-card-meta { color: rgba(255, 255, 255, .45); }
.soul-card-meta .soul-card-n { color: var(--gold); }

/* ── case studies: pure editorial rows ── */
.case-row { border-radius: 0; padding-inline: 0; }
.case-row:hover { background: none; }
.case-idx { color: #c8870a; }
[data-theme="dark"] .case-idx { color: var(--gold); }
.case-row .case-t { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.03em; }
.case-arrow { color: var(--ink-3); }
.case-row:hover .case-arrow { color: #c8870a; }

/* ── services: ruled table grid, one deliberate ink cell ── */
.svc-grid, .svc-grid-4 { gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc-card { border: none; border-radius: 0; box-shadow: none; background: var(--bg-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 28px); }
.svc-card:hover { transform: none; box-shadow: none; background: var(--surface); }
.svc-feature { background: var(--ink-grad); }
.svc-feature:hover { background: var(--ink-grad); }
.svc-ic { background: none; border: 1px solid var(--line-2); color: var(--ink); }
.svc-feature .svc-ic { background: none; border-color: rgba(245, 169, 10, .45); color: var(--gold); }
.svc-card h3 { font-weight: 800; letter-spacing: -0.02em; }


/* ── medical tourism: ruled 2×2 ── */
.persona-grid { grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.persona-card { border: none; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); }
.persona-card:hover { transform: none; box-shadow: none; background: var(--surface); }
.persona-card::before { display: none; }
.persona-ic { background: none; border: 1px solid var(--line-2); color: var(--ink); }
.persona-card h3 { font-size: clamp(18px, 1.9vw, 22px); font-weight: 800; letter-spacing: -0.02em; }
.persona-card a { color: #c8870a; }
[data-theme="dark"] .persona-card a { color: var(--gold); }
@media (max-width: 640px) { .persona-grid { grid-template-columns: 1fr; } }

/* ── growth partnership: ruled ink columns ── */
.aggregator .h2 { max-width: 18ch; }


/* ── faq: ruled rows, no boxes ── */
.faq { background: none; }
.faq-list { gap: 0; }
.faq-item { background: none; border: none; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 2px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item:hover, .faq-item.open { border-color: var(--line-2); }
.faq-summary { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; letter-spacing: -0.015em; }
.faq-summary i, .faq-summary .lucide { color: #c8870a; }
[data-theme="dark"] .faq-summary .lucide { color: var(--gold); }

/* ── final CTA: full-bleed ink band, huge left type ── */
.cta-band { background: var(--ink-grad); padding-block: 0; }
.cta-band-inner { background: none; border-radius: 0; box-shadow: none; text-align: left; padding: clamp(64px, 8vw, 120px) 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta-band-inner .kicker { justify-content: flex-start; }
.cta-band-inner h2 { font-size: clamp(34px, 5vw, 72px); font-weight: 800; letter-spacing: -0.045em; max-width: 18ch; margin: 16px 0; }
.cta-band-inner p { margin: 0 0 30px; max-width: 54ch; }
.cta-band-inner .cta-row { justify-content: flex-start; }
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: 1fr; text-align: center; } .cta-band-inner .kicker, .cta-band-inner .cta-row { justify-content: center; } .cta-band-inner h2, .cta-band-inner p { margin-inline: auto; } }

/* ── get in touch: editorial frame ── */
.git { background: none; }
.gform { border-radius: var(--r); box-shadow: none; border: 1px solid var(--line-2); }
.gfield input, .gfield select { height: 42px; box-sizing: border-box; }
.gfield input, .gfield select, .gfield textarea { border-radius: 10px; }
.gfield input:focus, .gfield select:focus, .gfield textarea:focus { outline: none; }
.git-note i, .git-note .lucide { color: #c8870a; }

/* ── Custom Select UI ── */
.custom-select-wrapper { position: relative; user-select: none; width: 100%; }
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; font-family: inherit; font-size: 15px; box-sizing: border-box; height: 42px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); 
  border-radius: 10px; padding: 0 16px; transition: all .2s var(--ease);
  cursor: pointer; line-height: 1.5;
}
.custom-select-trigger.is-placeholder { color: var(--ink-3); }
.custom-select-trigger:focus, .custom-select-wrapper.open .custom-select-trigger {
  outline: none;
}
.custom-select-icon { display: flex; align-items: center; color: var(--ink-3); transition: transform 0.3s var(--ease); }
.custom-select-icon i, .custom-select-icon .lucide { width: 18px; height: 18px; }
.custom-select-wrapper.open .custom-select-icon { transform: rotate(180deg); color: var(--gold); }
.custom-select-options {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 100; max-height: 250px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all 0.25s var(--ease);
}
.custom-select-options::-webkit-scrollbar { width: 6px; }
.custom-select-options::-webkit-scrollbar-track { background: transparent; }
.custom-select-options::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
.custom-select-options::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.custom-select-search-container {
  padding: 8px; border-bottom: 1px solid var(--line); background: var(--bg-2);
  position: sticky; top: 0; z-index: 2;
}
.custom-select-search {
  width: 100%; box-sizing: border-box; background: var(--bg-alt); height: 42px;
  border: 1px solid var(--line); color: var(--ink); font-family: inherit;
  font-size: 15px; border-radius: 10px; padding: 0 16px; outline: none;
  transition: border-color 0.2s; line-height: 1.5;
}

.custom-select-wrapper.open .custom-select-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select-option { padding: 12px 16px; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.custom-select-option:hover { background: var(--bg-alt); color: var(--ink); }
.custom-select-option.active { background: rgba(245, 169, 10, .1); color: var(--gold); font-weight: 600; }
