/* ==========================================================================
   DriveVFun — design system
   Brand: teal #0E9C93 / navy #1F5E73 / orange #F47C20
   ========================================================================== */

/* ---- Tokens ---- */
:root, [data-theme="light"] {
  /* Brand */
  --brand-teal: #0e9c93;
  --brand-teal-deep: #0b7d76;
  --brand-navy: #1a5163;
  --brand-navy-deep: #123b48;
  --brand-orange: #f47c20;
  --brand-orange-deep: #d9660f;
  --brand-sky: #5bc2d9;

  /* Surfaces */
  --color-bg: #ffffff;
  --color-surface: #f5f8f8;
  --color-surface-2: #eef4f4;
  --color-surface-ink: #0e2a30;      /* dark section bg */
  --color-surface-ink-2: #123840;
  --color-border: #dce5e5;
  --color-border-strong: #c3d2d2;

  /* Text */
  --color-text: #10262b;
  --color-text-muted: #52666b;
  --color-text-faint: #8ea0a3;
  --color-text-inverse: #f2fafa;
  --color-text-inverse-muted: #b6cccd;

  /* Roles */
  --color-primary: var(--brand-teal);
  --color-primary-hover: var(--brand-teal-deep);
  --color-accent: var(--brand-orange);
  --color-accent-hover: var(--brand-orange-deep);

  /* Type */
  --font-display: 'Clash Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.3rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 28px; --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(16,38,43,.06), 0 1px 3px rgba(16,38,43,.05);
  --shadow-md: 0 8px 24px rgba(16,38,43,.09);
  --shadow-lg: 0 24px 60px rgba(16,38,43,.14);

  --content: 1180px;
  --content-narrow: 760px;
  --ease: cubic-bezier(.16,1,.3,1);
  --t: 200ms var(--ease);
}

[data-theme="dark"] {
  --color-bg: #0c1c20;
  --color-surface: #10272c;
  --color-surface-2: #143138;
  --color-surface-ink: #081418;
  --color-surface-ink-2: #0d2429;
  --color-border: #22424a;
  --color-border-strong: #2e545d;
  --color-text: #e5f1f1;
  --color-text-muted: #9db6b8;
  --color-text-faint: #6b8488;
  --color-text-inverse: #f2fafa;
  --color-text-inverse-muted: #b6cccd;
  --color-primary: #2cc0b5;
  --color-primary-hover: #46d0c5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 90px;
}
body {
  min-height: 100dvh; line-height: 1.6; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--color-text); background: var(--color-bg);
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
::selection { background: rgba(14,156,147,.22); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-6); }
.wrap-narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section-sm { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-4); }

/* ---- Typography helpers ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.eyebrow.on-dark { color: var(--brand-sky); }
h1.display { font-size: var(--text-3xl); }
h2.title { font-size: var(--text-2xl); }
h3.subtitle { font-size: var(--text-xl); }
.lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; }
.muted { color: var(--color-text-muted); }
.balance { text-wrap: balance; }
.mw-60 { max-width: 60ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  padding: 0.85em 1.5em; border-radius: var(--radius-full); border: 2px solid transparent;
  transition: transform var(--t), background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: 0 6px 18px rgba(244,124,32,.28); }
.btn-primary:hover { background: var(--color-accent-hover); box-shadow: 0 10px 26px rgba(244,124,32,.34); }
.btn-teal { background: var(--color-primary); color: #fff; }
.btn-teal:hover { background: var(--color-primary-hover); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline.on-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline.on-dark:hover { background: #fff; color: var(--brand-navy-deep); border-color: #fff; }
.btn-lg { font-size: var(--text-base); padding: 1em 1.8em; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-ghost { color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { color: var(--color-accent); }
.btn-ghost svg { width: 16px; height: 16px; transition: transform var(--t); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: var(--space-4); height: 88px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand svg { height: 34px; width: auto; }
.brand { flex-shrink: 0; }
.brand-logo { height: 68px; width: auto; max-width: none; display: block; flex-shrink: 0; }
@media (max-width: 640px) { .brand-logo { height: 50px; } .nav { height: 72px; } }
.nav-links { display: flex; align-items: center; gap: var(--space-1); }
.nav-links a {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-text); }
.nav-links a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.has-dropdown { position: relative; }
.has-dropdown > button {
  font: inherit; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  padding: 8px 12px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 5px;
}
.has-dropdown > button:hover { color: var(--color-text); }
.has-dropdown > button svg { width: 14px; height: 14px; transition: transform var(--t); }
.has-dropdown[data-open="true"] > button svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-2); min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t);
}
.has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-md); align-items: flex-start; }
.dropdown a:hover { background: var(--color-surface); }
.dropdown .dd-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--color-surface-2); display: grid; place-items: center; color: var(--color-primary); }
.dropdown .dd-ic svg { width: 20px; height: 20px; }
.dropdown .dd-title { font-weight: 600; font-size: var(--text-sm); color: var(--color-text); }
.dropdown .dd-desc { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.45; }
.theme-toggle { width: 38px; height: 38px; border-radius: var(--radius-full); display: grid; place-items: center; color: var(--color-text-muted); border: 1px solid var(--color-border); }
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--color-text); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav { display: none; }
@media (max-width: 1180px) {
  .nav-links, .nav .has-dropdown { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-nav {
    display: block; position: fixed; inset: 88px 0 0; z-index: 99;
    background: var(--color-bg); padding: var(--space-6); overflow-y: auto;
    transform: translateX(100%); transition: transform 300ms var(--ease); visibility: hidden;
  }
  .mobile-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav a, .mobile-nav .mnav-group > span { display: block; padding: 14px 4px; font-size: var(--text-lg); font-weight: 500; border-bottom: 1px solid var(--color-border); }
  .mobile-nav .mnav-group > span { color: var(--color-text-faint); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 6px; border: none; }
  .mobile-nav .mnav-sub a { padding-left: 16px; font-size: var(--text-base); color: var(--color-text-muted); }
  .mobile-nav .btn { display: flex; width: 100%; margin-top: var(--space-4); }
}

/* ---- Hero ---- */
.hero { position: relative; }
.hero-media { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,20,24,.88) 0%, rgba(8,20,24,.6) 42%, rgba(8,20,24,.15) 100%),
              linear-gradient(0deg, rgba(8,20,24,.6), transparent 55%);
}
.hero-content { position: relative; z-index: 2; padding-block: clamp(var(--space-16), 10vw, var(--space-32)); max-width: 720px; }
.hero-content h1 { color: #fff; font-size: var(--text-3xl); }
.hero-content .lead { color: var(--color-text-inverse-muted); margin-top: var(--space-5); font-size: var(--text-lg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* Sub-hero (interior pages, no photo) */
.subhero { background: var(--color-surface-ink); color: #fff; position: relative; overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(14,156,147,.35), transparent 65%); filter: blur(20px);
}
.subhero::after {
  content: ""; position: absolute; bottom: -40%; left: -8%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(244,124,32,.22), transparent 65%); filter: blur(20px);
}
.subhero .wrap { position: relative; z-index: 2; padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.subhero h1 { color: #fff; font-size: var(--text-2xl); max-width: 18ch; }
.subhero .lead { color: var(--color-text-inverse-muted); margin-top: var(--space-5); }
.subhero .hero-cta { margin-top: var(--space-8); }
.subhero-media { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-12); align-items: center; }
.subhero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .subhero-media { grid-template-columns: 1fr; } .subhero-media img { display: none; } }

/* ---- Trust strip ---- */
.trust {
  background: var(--color-surface-ink-2); color: var(--color-text-inverse-muted);
  border-block: 1px solid rgba(255,255,255,.06);
}
.trust .wrap { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); justify-content: center; padding-block: var(--space-5); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; color: var(--brand-sky); flex-shrink: 0; }

/* ---- Stat cards ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6); position: relative; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-sky)); }
.stat-num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--brand-navy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .stat-num { color: var(--brand-sky); }
.stat-cap { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }
.source-line { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-6); }
.source-line a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Cards / feature grid ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: var(--space-8); } .grid-3 { grid-template-columns: 1fr; } }
.reverse .media-col { order: 2; }
@media (max-width: 900px) { .reverse .media-col { order: 0; } }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); }
.card-ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy)); display: grid; place-items: center; color: #fff; margin-bottom: var(--space-5); }
.card-ic svg { width: 24px; height: 24px; }

/* Format cards (image) */
.format-card {
  display: flex; flex-direction: column; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.format-card .fc-img { aspect-ratio: 4/3; overflow: hidden; }
.format-card .fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.format-card:hover .fc-img img { transform: scale(1.05); }
.format-card .fc-body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.format-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.format-card p { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }
.format-card .btn-ghost { margin-top: var(--space-5); }

/* ---- Media figure ---- */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.figure img { width: 100%; }
.figure-tall { aspect-ratio: 4/5; }
.figure-tall img { height: 100%; object-fit: cover; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); position: relative; }
.step-num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-accent); line-height: 1; }
.step h3 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* Process timeline */
.process { display: grid; gap: var(--space-4); }
.process-item {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--space-5); align-items: start;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6);
}
.process-item .pnum { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--brand-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.process-item h3 { font-size: var(--text-base); margin-bottom: 3px; }
.process-item p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---- Checklist / problem list ---- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.check-item .ci-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--radius-full); display: grid; place-items: center; margin-top: 1px; }
.check-item .ci-ic svg { width: 14px; height: 14px; }
.check-item.problem .ci-ic { background: rgba(244,124,32,.14); color: var(--color-accent); }
.check-item.good .ci-ic { background: rgba(14,156,147,.14); color: var(--color-primary); }
.check-item strong { font-size: var(--text-sm); }
.check-item p { font-size: var(--text-sm); color: var(--color-text-muted); }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--color-primary); margin-top: 2px; }

/* ---- Callout / CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-teal-deep)); color: #fff; border-radius: var(--radius-xl); padding: clamp(var(--space-10), 6vw, var(--space-20)); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(244,124,32,.3), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: var(--text-2xl); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: var(--space-4) auto 0; }
.cta-band .hero-cta { justify-content: center; margin-top: var(--space-8); }
.callout { border-left: 4px solid var(--color-accent); background: var(--color-surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-6) var(--space-8); }
.callout p { font-size: var(--text-lg); font-weight: 500; }

/* ---- Tables ---- */
.data-table { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.data-table table { font-size: var(--text-sm); }
.data-table th { background: var(--brand-navy); color: #fff; text-align: left; padding: var(--space-4) var(--space-5); font-weight: 600; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; }
.data-table td { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border); }
.data-table tbody tr:nth-child(even), .data-table tr:nth-child(even) td { background: var(--color-surface); }
.data-table td:first-child { font-weight: 600; color: var(--color-text); }
.ph { color: var(--color-accent); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Section headers ---- */
.section-head { max-width: 62ch; margin-bottom: var(--space-12); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--text-2xl); margin-top: var(--space-3); }
.section-head p { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: var(--space-4); }

/* dark section */
.section.ink { background: var(--color-surface-ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink .muted, .section.ink p { color: var(--color-text-inverse-muted); }
.section.ink .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section.surf { background: var(--color-surface); }

/* KPI teaser */
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-5); }
@media (max-width: 680px){ .kpi-row { grid-template-columns: 1fr; } }
.kpi { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; }
.kpi .kv { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi .kl { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 4px; }

/* placeholder badge */
.ph-badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); background: rgba(244,124,32,.1); padding: 4px 10px; border-radius: var(--radius-full); }
.ph-note { font-size: var(--text-xs); color: var(--color-text-faint); font-style: italic; }

/* ---- Footer ---- */
.site-footer { background: var(--color-surface-ink); color: var(--color-text-inverse-muted); padding-block: var(--space-20) var(--space-8); }
.footer-cta { text-align: center; padding-bottom: var(--space-16); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: var(--space-12); }
.footer-cta h2 { color: #fff; font-size: var(--text-xl); }
.footer-cta p { margin: var(--space-3) 0 var(--space-6); color: var(--color-text-inverse-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand svg { height: 34px; margin-bottom: var(--space-4); }
.footer-logo { height: 52px; width: auto; display: block; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); max-width: 32ch; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: var(--space-4); font-weight: 600; }
.footer-col a { display: block; font-size: var(--text-sm); padding: 5px 0; color: var(--color-text-inverse-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--text-xs); }
.footer-bottom .contact { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---- Forms ---- */
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 6px; }
.field .opt { color: var(--color-text-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8em 1em; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-bg); transition: border-color var(--t), box-shadow var(--t); font-size: var(--text-sm);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(14,156,147,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.form-success { background: rgba(14,156,147,.1); border: 1px solid var(--color-primary); border-radius: var(--radius-md); padding: var(--space-5); color: var(--color-text); font-size: var(--text-sm); display: none; }
.form-success.show { display: block; }
.form-success strong { color: var(--color-primary); }

/* ---- Path cards (partner) ---- */
.path-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); display: flex; flex-direction: column; }
.path-card .path-tag { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-full); margin-bottom: var(--space-4); }
.path-card.a .path-tag { background: rgba(14,156,147,.14); color: var(--color-primary); }
.path-card.b .path-tag { background: rgba(244,124,32,.14); color: var(--color-accent); }
.path-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.path-card p { color: var(--color-text-muted); flex: 1; }
.path-card .btn { align-self: flex-start; margin-top: var(--space-6); }

/* ---- FAQ ---- */
.faq-group { margin-bottom: var(--space-10); }
.faq-group > h3 { font-size: var(--text-lg); color: var(--color-primary); margin-bottom: var(--space-4); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; padding: var(--space-5) 0; font-weight: 600; font-size: var(--text-base); }
.faq-q svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-primary); transition: transform var(--t); }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding-bottom: var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); }

/* two-bar chart */
.bar-compare { display: grid; gap: var(--space-5); max-width: 460px; }
.bar-row { }
.bar-label { display: flex; justify-content: space-between; font-size: var(--text-sm); margin-bottom: 6px; }
.bar-label .bl-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-track { height: 40px; background: var(--color-surface-2); border-radius: var(--radius-sm); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--radius-sm); width: 0; transition: width 1.1s var(--ease); }
.bar-fill.a { background: var(--color-border-strong); }
.bar-fill.b { background: linear-gradient(90deg, var(--brand-teal), var(--brand-sky)); }

/* Keep primary nav on one line beside the larger logo */
.nav-links a, .has-dropdown > button { white-space: nowrap; }
@media (max-width: 4000px) {
  .nav-links a, .has-dropdown > button { padding: 8px 7px; font-size: 0.875rem; }
  .nav-actions .btn { padding: .75em 1.1em; }
}
@media (max-width: 1260px) and (min-width: 1181px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 5px; font-size: 0.78rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: .65em .9em; font-size: .8rem; }
  .brand-logo { height: 56px; width: auto; }
}
.site-header > .wrap { max-width: 1360px; }
@media (max-width: 640px) { .mobile-nav { inset: 72px 0 0; } }
/* Advantage benefit icons */
.advantage .check-item .ci-ic { width: 36px; height: 36px; border-radius: 10px; margin-top: 0; }
.advantage .check-item .ci-ic svg { width: 20px; height: 20px; }
.advantage .check-item strong { display: block; }
.advantage .grid-2 { align-items: center; }
.adv-media { position: relative; margin: var(--space-8) 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.adv-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.adv-media:hover img { transform: scale(1.03); }
.adv-media figcaption {
  position: absolute; left: 14px; bottom: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); background: rgba(0,0,0,.4); padding: 5px 11px; border-radius: var(--radius-full);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---- Advantage: full-bleed night image ---- */
.adv-bleed { position: relative; overflow: hidden; isolation: isolate; background: #071317; }
.adv-bg { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.adv-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.adv-bleed::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,18,22,.92) 0%, rgba(5,18,22,.72) 45%, rgba(5,18,22,.45) 100%),
    linear-gradient(0deg, rgba(5,18,22,.55), transparent 40%);
}
.adv-bleed .title { color: #fff; }
.adv-bleed .lead { color: rgba(255,255,255,.82); }
.adv-bleed .check-item {
  background: rgba(8,24,29,.62); border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.adv-bleed .check-item:hover { border-color: rgba(44,192,181,.55); background: rgba(8,24,29,.75); transform: translateY(-2px); }
.adv-bleed .check-item strong { color: #fff; }
.adv-bleed .check-item p { color: rgba(220,236,236,.78); }
.adv-bleed .check-item.good .ci-ic { background: rgba(44,192,181,.18); color: #46d0c5; }
.adv-tag {
  position: absolute; right: 20px; bottom: 18px; z-index: 2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14);
  padding: 5px 11px; border-radius: var(--radius-full);
}
@media (max-width: 860px) {
  .adv-bleed { padding-top: 0; }
  .adv-bg { position: relative; inset: auto; height: 260px; transform: none !important; }
  .adv-bleed::after { top: 260px; background: #071317; }
  .adv-bleed > .wrap { padding-top: var(--space-12); }
  .adv-tag { top: 224px; bottom: auto; left: 16px; right: auto; }
}

/* ---- Opportunity: who the market is ---- */
.market-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-4); }
.market-card { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.4; }
.market-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.market-card:hover img { transform: scale(1.04); }
.market-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--space-12) var(--space-5) var(--space-5);
  background: linear-gradient(0deg, rgba(8,20,24,.88) 0%, rgba(8,20,24,.55) 55%, transparent 100%);
  color: rgba(255,255,255,.85); font-size: var(--text-sm); line-height: 1.4;
}
.market-card figcaption span { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: #fff; margin-bottom: 2px; }
.market-note { text-align: right; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-faint); margin: var(--space-3) 0 var(--space-10); }
@media (max-width: 860px) {
  .market-row { grid-template-columns: 1fr; }
  .market-card { aspect-ratio: 16 / 10; }
  .market-note { text-align: left; }
}

/* ---- Start / Prove / Scale journey ---- */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); padding-top: 56px; }
.journey-line { position: absolute; top: 20px; left: calc(16.66% ); right: calc(16.66%); height: 3px; background: var(--color-border); border-radius: 3px; overflow: hidden; }
.journey-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-teal), var(--brand-orange)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.journey.in .journey-line span { transform: scaleX(1); }
.jstep { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: visible; display: flex; flex-direction: column; }
.jnode {
  position: absolute; top: -56px; left: 50%; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--brand-teal);
  box-shadow: 0 0 0 6px var(--color-bg), 0 6px 16px rgba(14,156,147,.35); z-index: 2;
}
.jstep:nth-child(4) .jnode { background: var(--brand-orange); box-shadow: 0 0 0 6px var(--color-bg), 0 6px 16px rgba(244,124,32,.35); }
.jstep:not(:last-child)::after {
  content: ""; position: absolute; top: -42px; right: calc(-1 * var(--space-6) / 2 - 7px); width: 14px; height: 14px; z-index: 1;
  border-top: 3px solid var(--color-border-strong); border-right: 3px solid var(--color-border-strong); transform: rotate(45deg);
}
.jstep figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.jstep figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jstep:hover figure img { transform: scale(1.04); }
.jtag {
  position: absolute; left: 12px; bottom: 12px; font-size: var(--text-xs); font-weight: 600; color: #fff;
  background: rgba(8,20,24,.72); padding: 6px 12px; border-radius: var(--radius-full); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.jbody { padding: var(--space-6) var(--space-8) var(--space-8); }
.jbody h3 { font-size: var(--text-lg); margin: var(--space-3) 0 var(--space-2); }
.jbody p { color: var(--color-text-muted); font-size: var(--text-sm); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; padding-top: 0; padding-left: 56px; gap: var(--space-8); }
  .journey-line { top: 20px; bottom: 20px; left: 19px; right: auto; width: 3px; height: auto; }
  .journey-line span { transform: scaleY(0); transform-origin: top; }
  .journey.in .journey-line span { transform: scaleY(1); }
  .jnode { top: 0; left: -56px; transform: none; }
  .jstep:not(:last-child)::after { display: none; }
}
@media (max-width: 860px) {
  .jbody { padding: var(--space-5) var(--space-5) var(--space-6); }
  .journey-line span { background: linear-gradient(180deg, var(--brand-teal), var(--brand-orange)); }
  .journey { padding-left: 52px; }
}

/* Prove step: illustrative trading dashboard */
.dash {
  position: absolute; top: 12px; right: 12px; width: 46%; min-width: 150px; padding: 10px 12px 8px;
  background: rgba(8,20,24,.78); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.dash-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.dash-h em { font-style: normal; font-weight: 500; color: rgba(255,255,255,.6); font-size: 10px; }
.dash-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; margin-top: 8px; }
.dash-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #46d0c5, #0e9c93); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.dash-bars i:nth-child(n+6) { background: linear-gradient(180deg, #ffa25a, #f47c20); }
.journey.in .dash-bars i { transform: scaleY(1); }
.journey.in .dash-bars i:nth-child(2){transition-delay:.05s}.journey.in .dash-bars i:nth-child(3){transition-delay:.1s}.journey.in .dash-bars i:nth-child(4){transition-delay:.15s}.journey.in .dash-bars i:nth-child(5){transition-delay:.2s}.journey.in .dash-bars i:nth-child(6){transition-delay:.25s}.journey.in .dash-bars i:nth-child(7){transition-delay:.3s}.journey.in .dash-bars i:nth-child(8){transition-delay:.35s}.journey.in .dash-bars i:nth-child(9){transition-delay:.4s}
.dash-x { display: flex; justify-content: space-between; margin-top: 4px; font-size: 9px; color: rgba(255,255,255,.55); }
.kpis { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: var(--space-4); }
.kpis li { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; color: var(--color-text); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 5px 10px; white-space: nowrap; }
.kpis li b { color: var(--brand-teal); font-size: 9px; }
@media (max-width: 1100px) and (min-width: 861px) { .kpis { grid-template-columns: 1fr; } }
.journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jstep { min-width: 0; }
.kpis li { white-space: normal; line-height: 1.25; }
@media (max-width: 860px) { .journey { grid-template-columns: minmax(0, 1fr); } .dash { width: 52%; } }
@media (max-width: 480px) { .kpis { grid-template-columns: 1fr; } }
/* Prove step: result tags on image */
.rtags { list-style: none; position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin: 0; }
.rtags li {
  font-size: var(--text-xs); font-weight: 600; color: #fff; background: rgba(8,20,24,.72);
  padding: 6px 12px; border-radius: var(--radius-full); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateX(10px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rtags li b { color: #46d0c5; margin-left: 4px; }
.journey.in .rtags li { opacity: 1; transform: none; }
.journey.in .rtags li:nth-child(2) { transition-delay: .15s; } .journey.in .rtags li:nth-child(3) { transition-delay: .3s; }

/* Prove step: trading dashboard on a monitor (code-built) */
.screen-fig { background: radial-gradient(ellipse at 50% 30%, #1d4a55 0%, #0b2026 60%, #071317 100%); container-type: inline-size; display: flex; align-items: flex-start; justify-content: center; }
.monitor { width: 86%; margin-top: 4.5%; display: flex; flex-direction: column; align-items: center; }
.mon-screen { width: 100%; aspect-ratio: 16 / 9.4; background: #0a1a1f; border: 1.4cqw solid #1b2629; border-bottom-width: 2cqw; border-radius: 1.6cqw; box-shadow: 0 2.5cqw 5cqw rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.05); overflow: hidden; }
.mon-stand { width: 18%; height: 4cqw; background: linear-gradient(#2a3538, #1b2629); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.db { font-size: 2.05cqw; color: #e5f1f1; padding: 1.1em 1.2em; height: 100%; display: flex; flex-direction: column; gap: .8em; font-family: var(--font-body); line-height: 1.2; }
.db-top { display: flex; justify-content: space-between; align-items: center; font-size: .9em; }
.db-brand { display: flex; align-items: center; gap: .5em; font-weight: 700; }
.db-brand b { width: .8em; height: .8em; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 .25em rgba(244,124,32,.25); }
.db-period { color: rgba(229,241,241,.55); background: rgba(255,255,255,.06); padding: .2em .7em; border-radius: 1em; }
.db-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.db-kpis > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: .6em; padding: .55em .6em; display: flex; flex-direction: column; gap: .15em; }
.db-kpis small { font-size: .72em; color: rgba(229,241,241,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-kpis strong { font-family: var(--font-display); font-size: 1.45em; font-weight: 600; color: #fff; }
.db-kpis em { font-style: normal; font-size: .72em; font-weight: 700; color: #46d0c5; }
.db-charts { flex: 1; display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: .6em; min-height: 0; }
.db-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: .6em; padding: .55em .6em; display: flex; flex-direction: column; gap: .4em; min-height: 0; }
.db-card small { font-size: .72em; color: rgba(229,241,241,.6); }
.db-line { flex: 1; width: 100%; height: auto; min-height: 0; }
.db-line path:last-child { stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.journey.in .db-line path:last-child { stroke-dashoffset: 0; }
.db-bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; min-height: 0; }
.db-bars i { flex: 1; height: var(--h); border-radius: .2em .2em 0 0; background: linear-gradient(180deg, #46d0c5, #0e9c93); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease) .4s; }
.db-bars i:nth-child(n+7):nth-child(-n+9) { background: linear-gradient(180deg, #ffa25a, #f47c20); }
.journey.in .db-bars i { transform: scaleY(1); }
.db-donut { align-items: center; }
.db-donut small { align-self: flex-start; }
.db-donut svg { width: 62%; flex-shrink: 0; transform: rotate(-90deg); }
.db-donut ul { list-style: none; display: flex; gap: .5em; font-size: .62em; color: rgba(229,241,241,.7); }
.db-donut li { display: flex; align-items: center; gap: .25em; }
.db-donut li i { width: .6em; height: .6em; border-radius: 50%; display: inline-block; }
.db-note { position: absolute; right: 12px; bottom: 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.screen-fig { align-items: center; }
.monitor { width: 84%; margin-top: 0; }

/* ---- Technology-only option ---- */
.tech-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tech-lead { margin-top: var(--space-4); font-size: var(--text-lg); }
.tech-steps { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.tech-steps > div { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,.1); }
.tech-steps span { grid-row: span 2; font-family: var(--font-display); font-size: var(--text-lg); color: var(--brand-orange); }
.tech-steps strong { color: #fff; }
.tech-steps p { font-size: var(--text-sm); margin-top: 2px; }
.tech-media { position: relative; padding-bottom: 18%; }
.tech-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.tech-media img { width: 100%; height: 100%; object-fit: cover; }
.tm-main { aspect-ratio: 3 / 2; }
.tm-sub { position: absolute; left: -8%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 4px solid var(--color-surface-ink); }
.tm-tag { position: absolute; right: 12px; bottom: calc(18% + 12px); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); background: rgba(0,0,0,.45); padding: 5px 10px; border-radius: var(--radius-full); }
.tech-included { display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: var(--space-5); margin-top: clamp(3rem, 6vw, 5rem); }
.ti-col { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: var(--space-6); }
.ti-col h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.ti-col ul { list-style: none; display: grid; gap: var(--space-3); }
.ti-col li { display: flex; gap: 10px; font-size: var(--text-sm); color: var(--color-text-inverse-muted); }
.ti-col li svg { flex-shrink: 0; width: 18px; height: 18px; color: #46d0c5; margin-top: 2px; }
.ti-note { font-size: var(--text-xs) !important; margin-top: var(--space-4); color: var(--color-text-faint) !important; }
.ti-benefits li { display: block; }
.ti-benefits strong { display: block; color: #fff; margin-bottom: 2px; }
.ti-facts { display: grid; gap: var(--space-4); align-content: start; }
.ti-facts > div { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: var(--space-4); }
.ti-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ti-facts strong { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: #fff; line-height: 1.1; }
.ti-facts span { font-size: var(--text-sm); color: var(--color-text-inverse-muted); }
.tech-only .hero-cta { margin-top: var(--space-12); }
@media (max-width: 1000px) { .tech-included { grid-template-columns: 1fr 1fr; } .ti-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } .ti-facts > div { border: 0; padding: 0; } }
@media (max-width: 860px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-media { padding-bottom: 0; }
  .tm-sub { position: relative; left: auto; width: 60%; margin: -18% 0 0 auto; }
  .tm-tag { bottom: auto; top: 12px; }
  .tech-included { grid-template-columns: 1fr; }
  .ti-facts { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .tech-media .tm-sub { margin: -20% 4% 0 auto; } }

/* ---- One accountable partner ---- */
.partner-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.partner-media { position: relative; padding: 0 0 14% 0; }
.partner-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.partner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner-media .pm-main { aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg, 0 24px 60px rgba(14,42,48,.18)); }
.partner-media .pm-inset { position: absolute; right: -5%; bottom: 0; width: 44%; aspect-ratio: 4 / 3; border: 5px solid var(--color-bg, #fff); box-shadow: 0 20px 50px rgba(14,42,48,.28); }
.pm-inset figcaption, .pm-cap { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: #fff; background: rgba(14,42,48,.78); padding: 6px 12px; border-radius: var(--radius-full); backdrop-filter: blur(6px); }
.pm-cap { left: 14px; top: 14px; bottom: auto; }
.pm-note { position: absolute; left: 14px; bottom: calc(14% + 12px); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); background: rgba(0,0,0,.4); padding: 4px 10px; border-radius: var(--radius-full); }
.delivery-rail { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--space-4); margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; position: relative; counter-reset: dr; }
.delivery-rail::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--brand-teal, #0E9C93), var(--brand-orange, #F47C20)); opacity: .5; }
.delivery-rail li { position: relative; text-align: center; padding: 0 var(--space-2); }
.dr-ic { width: 56px; height: 56px; margin: 0 auto var(--space-3); border-radius: 50%; display: grid; place-items: center; background: var(--color-bg, #fff); border: 2px solid var(--brand-teal, #0E9C93); color: var(--brand-teal, #0E9C93); position: relative; z-index: 1; transition: background .3s, color .3s, transform .3s; }
.delivery-rail li:nth-child(3) .dr-ic { border-color: var(--brand-orange, #F47C20); color: var(--brand-orange, #F47C20); }
.delivery-rail li:hover .dr-ic { background: var(--brand-teal, #0E9C93); color: #fff; transform: translateY(-3px); }
.dr-ic svg { width: 24px; height: 24px; }
.delivery-rail strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.delivery-rail p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 4px; }
@media (max-width: 860px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-media .pm-inset { right: 0; }
  .delivery-rail { grid-template-columns: 1fr; gap: var(--space-5); padding-left: 0; }
  .delivery-rail::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-teal, #0E9C93), var(--brand-orange, #F47C20)); }
  .delivery-rail li { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-4); text-align: left; padding: 0; align-items: center; }
  .dr-ic { margin: 0; grid-row: span 2; }
  .delivery-rail p { margin-top: 0; }
}
.partner-media .pm-inset { aspect-ratio: 16 / 10; width: 48%; }

/* ---- Ongoing technology & service (home) ---- */
.support-flow { margin-top: clamp(2.5rem, 5vw, 4rem); padding: var(--space-6); background: var(--color-bg); border: 1px solid var(--color-border, rgba(14,42,48,.1)); border-radius: var(--radius-lg); }
.support-flow h3 { font-size: var(--text-lg); margin-bottom: var(--space-5); }
.support-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-5); position: relative; }
.support-flow li { position: relative; }
.support-flow li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-teal, #0E9C93); color: #fff; font-family: var(--font-display); font-weight: 600; margin-bottom: var(--space-3); position: relative; z-index: 1; }
.support-flow li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 48px; right: calc(-1 * var(--space-5) + 8px); height: 2px; background: linear-gradient(90deg, var(--brand-teal, #0E9C93), rgba(14,156,147,.2)); }
.support-flow strong { display: block; }
.support-flow li p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 4px; }
.sf-note { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border, rgba(14,42,48,.1)); font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 860px) {
  .support-flow ol { grid-template-columns: 1fr; gap: var(--space-4); }
  .support-flow li { display: grid; grid-template-columns: 36px 1fr; column-gap: var(--space-3); }
  .support-flow li span { grid-row: span 2; margin: 0; }
  .support-flow li p { margin-top: 0; }
  .support-flow li:not(:last-child)::after { top: 36px; bottom: calc(-1 * var(--space-4)); left: 17px; right: auto; width: 2px; height: auto; background: rgba(14,156,147,.35); }
}
.ongoing-sec .support-flow { grid-column: 1 / -1; }
/* One accountable partner — dark */
.partner-sec.ink .check-list li, .partner-sec.ink .check-list span { color: rgba(255,255,255,.88); }
.partner-sec.ink .check-list svg { color: #46d0c5; }
.partner-sec.ink .partner-media .pm-inset { border-color: var(--color-surface-ink); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.partner-sec.ink .partner-media .pm-main { box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.partner-sec.ink .dr-ic { background: var(--color-surface-ink); color: #46d0c5; border-color: #46d0c5; }
.partner-sec.ink .delivery-rail li:nth-child(3) .dr-ic { color: var(--brand-orange, #F47C20); border-color: var(--brand-orange, #F47C20); }
.partner-sec.ink .delivery-rail li:hover .dr-ic { background: #0E9C93; color: #fff; }
.partner-sec.ink .delivery-rail strong { color: #fff; }
.partner-sec.ink .delivery-rail p { color: var(--color-text-inverse-muted); }
.partner-sec.ink .delivery-rail::before { opacity: .7; }
.nav-links a.is-active { color: var(--color-primary); font-weight: 600; }
html { scroll-padding-top: 88px; }
.text-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-6); font-weight: 600; color: #46d0c5; border-bottom: 1px solid rgba(70,208,197,.4); padding-bottom: 2px; transition: gap .2s, color .2s; }
.text-cta svg { width: 18px; height: 18px; }
.text-cta:hover { gap: 12px; color: #fff; }
.footer-bottom .disclaimer { display: inline-block; margin-top: 4px; font-size: 11px; opacity: .6; }
.model-cta { text-align: center; margin-top: var(--space-8); }
.text-cta.on-light { color: var(--brand-teal, #0E9C93); border-bottom-color: rgba(14,156,147,.4); margin-top: 0; }
.text-cta.on-light:hover { color: var(--brand-navy, #1A5163); }
[data-theme="dark"] .text-cta.on-light { color: #46d0c5; }

/* ---- ROI calculator (homepage) ---- */
.roi-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-6); margin-top: var(--space-8); align-items: start; }
.roi-inputs { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: var(--space-6); }
.roi-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-4); }
.roi-grid .field { margin-bottom: 0; }
.section.ink .roi-grid label { color: rgba(255,255,255,.85); font-size: var(--text-xs); }
.section.ink .roi-grid input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.section.ink .roi-grid input:focus { border-color: #46d0c5; }
.roi-results { background: linear-gradient(160deg, #13434d, #0e2a30); border: 1px solid rgba(70,208,197,.25); border-radius: var(--radius-lg); padding: var(--space-6); position: sticky; top: 110px; }
.scenario-toggle { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 4px; background: rgba(255,255,255,.06); border-radius: var(--radius-full); }
.scenario-btn { padding: 8px 10px; border-radius: var(--radius-full); color: rgba(255,255,255,.75); font-weight: 600; font-size: var(--text-sm); }
.scenario-btn[aria-pressed="true"] { background: var(--brand-teal, #0E9C93); color: #fff; }
.roi-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-5); }
.roi-kpi { background: rgba(255,255,255,.05); border-radius: var(--radius-md, 10px); padding: var(--space-4); display: flex; flex-direction: column; gap: 4px; }
.rk-label { font-size: var(--text-xs); color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }
.rk-val { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: #fff; }
.roi-kpi:first-child .rk-val, .roi-kpi:nth-child(2) .rk-val { color: #46d0c5; }
.roi-sub { display: grid; gap: 4px; margin-top: var(--space-4); font-size: var(--text-sm); color: rgba(255,255,255,.75); }
.roi-sub strong { color: #fff; }
@media (max-width: 1000px) { .roi-wrap { grid-template-columns: 1fr; } .roi-results { position: static; } }
@media (max-width: 640px) { .roi-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Modular Driving Range (home) ---- */
.range-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.range-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(14,42,48,.18); aspect-ratio: 3 / 2; }
.range-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.range-h { font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-3); }
.range-sec .check-list li { font-size: var(--text-sm); }
.range-streams { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); padding: var(--space-5) var(--space-6); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.rs-label { font-weight: 700; font-size: var(--text-sm); }
.range-streams ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.range-streams li { font-size: var(--text-sm); padding: 6px 12px; border-radius: var(--radius-full); background: rgba(14,156,147,.1); color: var(--color-text); }
.range-streams .text-cta { margin-top: 0; }
@media (max-width: 900px) { .range-grid { grid-template-columns: 1fr; } }

/* ---- Alternating light/dark homepage ---- */
.trust.trust-light { background: var(--color-surface); color: var(--color-text); border-block: 1px solid var(--color-border); }
.trust.trust-light .trust-item svg { color: var(--brand-teal, #0E9C93); }
.opp-dark .stat-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.opp-dark .stat-num { color: #46d0c5; }
.opp-dark .stat-cap { color: rgba(255,255,255,.78); }
.opp-dark .source-line { color: rgba(255,255,255,.55); }
#calculator + * , main + .site-footer { border-top: 1px solid rgba(255,255,255,.08); }

/* ---- Income lines strip (re-laid out) ---- */
.range-streams { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4) var(--space-6); align-items: center; }
.range-streams ul { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.range-streams li { text-align: center; padding: 10px 12px; white-space: nowrap; }
.rs-label { font-size: var(--text-base); }
.range-streams .text-cta { grid-column: 2; grid-row: 1; justify-self: end; }
@media (max-width: 1100px) { .range-streams ul { grid-template-columns: repeat(3, minmax(0,1fr)); } .range-streams li { white-space: normal; } }
@media (max-width: 640px) { .range-streams { grid-template-columns: 1fr; } .range-streams ul { grid-row: auto; grid-template-columns: 1fr 1fr; } .range-streams .text-cta { grid-column: 1; grid-row: auto; justify-self: start; } }
.incl-list li span strong { display: block; font-size: var(--text-base); color: var(--color-text); margin-bottom: 2px; }
.incl-list li span { color: var(--color-text-muted); line-height: 1.5; }
.incl-list li { margin-bottom: var(--space-3); }
.incl-list li svg { margin-top: 3px; }

/* ---- Range section: points around the picture ---- */
.range-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; }
.range-head .lead { margin: 0; font-size: var(--text-base); }
.range-inc-label { display: block; margin: var(--space-8) 0 var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-align: center; }
.range-surround { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: var(--space-6); align-items: center; }
.range-surround .range-media { aspect-ratio: 4 / 3; }
.range-surround .incl-list { margin: 0; }
.range-surround .incl-list li { margin-bottom: var(--space-5); }
.range-surround .incl-list li:last-child { margin-bottom: 0; }
.range-surround .incl-list li span { font-size: var(--text-sm); }
.range-sec .range-streams { margin-top: var(--space-8); }
@media (max-width: 1100px) {
  .range-surround { grid-template-columns: 1fr 1fr; }
  .range-surround .range-media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .range-head { grid-template-columns: 1fr; gap: var(--space-4); }
  .range-surround { grid-template-columns: 1fr; }
  .range-inc-label { text-align: left; }
}
.range-surround .range-inc-label { margin: 0 0 var(--space-4); text-align: left; }
.range-sec .range-head { margin-bottom: var(--space-8); }
.hl-teal { color: #46d0c5; }

/* ---- Range section: software / tech block ---- */
.sw-block { margin-bottom: var(--space-10); padding: clamp(1.25rem, 3vw, 2rem); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl, 20px); }
.sw-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-bottom: var(--space-5); }
.sw-title { font-size: var(--text-xl); margin: 0; }
.sw-intro p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.sw-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--space-3); }
.sw-main, .sw-tile { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: #0e2a30; }
.sw-main img, .sw-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-main { aspect-ratio: 16 / 9.4; }
.sw-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-3); }
.sw-tile figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: var(--radius-full); background: rgba(14,42,48,.85); color: #fff; font-size: var(--text-xs); font-weight: 700; letter-spacing: .02em; }
.sw-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-5); }
.sw-features div { border-top: 3px solid var(--brand-teal, #0E9C93); padding-top: var(--space-3); }
.sw-features strong { display: block; font-size: var(--text-base); margin-bottom: 4px; }
.sw-features span { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
@media (max-width: 900px) {
  .sw-grid { grid-template-columns: 1fr; }
  .sw-collage { aspect-ratio: 16 / 10; }
  .sw-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .sw-features { grid-template-columns: 1fr; } }
.sw-tile { min-height: 0; }
.sw-tile img { position: absolute; inset: 0; }
.sw-collage { min-height: 0; }
.range-surround + .sw-block { margin: var(--space-10) 0 0; }
/* Range heading stacked, paragraph full width */
.range-sec { padding-top: clamp(3rem, 6vw, 4.5rem); }
.range-sec .range-head { display: block; }
.range-sec .range-head .lead { margin-top: var(--space-4); max-width: none; }
.footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); padding-block: var(--space-6); }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; font-size: var(--text-xs); line-height: 1.35; }
  .trust-item svg { width: 24px; height: 24px; }
}
.exp-list li { margin-bottom: var(--space-3); } .exp-list strong { color: var(--color-text); }
.form-error { background: rgba(244,124,32,.1); border: 1px solid var(--color-accent, #F47C20); border-radius: var(--radius-md); padding: var(--space-5); color: var(--color-text); font-size: var(--text-sm); display: none; margin-bottom: var(--space-3); } .form-error.show { display: block; } .form-error a { color: var(--color-primary); font-weight: 600; } button[disabled] { opacity: .7; cursor: wait; }
.footer-bottom .contact { flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; } @media (max-width: 700px) { .footer-bottom .contact { align-items: flex-start; text-align: left; } }
.legal-nav { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-10); }
.legal-nav a { padding: 8px 16px; border: 1px solid var(--color-primary); border-radius: 999px; color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.legal-nav a:hover { background: var(--color-primary); color: #fff; }
.legal-block { padding-bottom: var(--space-10); margin-bottom: var(--space-10); border-bottom: 1px solid rgba(14,42,48,.12); scroll-margin-top: 110px; }
.legal-block h2 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; margin-bottom: var(--space-5); color: var(--color-text); }
.legal h3 { font-size: var(--text-base); font-weight: 700; margin: var(--space-6) 0 var(--space-2); color: var(--color-text); }
.legal p, .legal li { font-size: var(--text-sm); line-height: 1.7; color: var(--color-text-muted, #4a5d63); margin-bottom: var(--space-3); }
.legal ul { padding-left: 1.2em; list-style: disc; margin-bottom: var(--space-3); }
.legal a { color: var(--color-primary); }
.legal-date { font-style: normal; font-weight: 600; }
