/* Inventico Solutions — site styles (v2 redesign).
   Layout rhythm referenced from troikatech.in (see docs/REDESIGN-NOTES.md); palette, content and visuals are Inventico's own.
   Motion lives in public/assets/motion/motion.css. */

:root {
  /* Color: Apple-style palette (light surfaces, near-black type, one blue for actions).
     Brand navy lives on in the logo; teal is kept for small highlights. */
  --ink: #1D1D1F;            /* headings, dark surfaces */
  --ink-900: #000000;        /* darkest sections */
  --ink-700: #2D2D30;
  --text: #1D1D1F;
  --muted: #6E6E73;          /* 5.1:1 on white */
  --muted-dark: #A1A1A6;     /* secondary text on dark */
  --accent: #0071E3;         /* actions (white text 4.6:1) */
  --accent-700: #0062C4;
  --accent-50: #E8F2FD;
  --link: #0066CC;
  --teal: #14B8A6;
  --teal-ink: #0F766E;
  --teal-50: #E6FAF7;
  --canvas: #FFFFFF;
  --surface: #F5F5F7;        /* tiles sit on white as soft grey, no borders */
  --border: #E8E8ED;
  --border-strong: #D2D2D7;
  --success: #248A3D;
  --danger: #E30000;
  --glow-blue: rgba(0, 113, 227, .10);
  --glow-teal: rgba(20, 184, 166, .10);

  /* Type: the system font first (SF Pro with optical sizing on Apple devices), Inter elsewhere. */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --text-xs: .8125rem;
  --text-sm: .9375rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.3125rem;
  --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  --text-4xl: clamp(2.375rem, 1.4rem + 4.2vw, 4.5rem);
  --text-kinetic: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);

  /* Space & shape */
  --space-1: .25rem; --space-2: .5rem; --space-3: .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;
  --container: 1080px;
  --header-h: 56px;
  --radius-sm: 12px; --radius-md: 18px; --radius-lg: 28px; --radius-xl: 32px; --radius-pill: 980px;
  --shadow-sm: none;
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08);
  /* Critically damped feel: quick start, no overshoot. */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --transition: 250ms var(--ease);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.5; color: var(--text); background: var(--canvas); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link); text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 2px; border-radius: 8px; }
/* Size-specific tracking and leading: tight for display sizes, neutral for body. */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 var(--space-4); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--text-4xl); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: var(--text-xl); letter-spacing: -.02em; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; }
.lead { font-size: var(--text-lg); color: var(--muted); max-width: 62ch; }
.text-accent { color: var(--accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-4); color: #fff; }

/* Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-24) 0; position: relative; }
.section--tight { padding: var(--space-16) 0; }
.section--flush-top { padding-top: 0; }
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.split--start { align-items: start; }

/* Eyebrow chip & section heading ------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.chip { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-md); font-size: var(--text-sm); color: var(--text); }
.chip__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); flex: none; }
.chip__icon svg { width: 18px; height: 18px; }
.chip strong { font-family: var(--font-display); color: var(--ink); font-weight: 700; }

.section-heading { margin-bottom: var(--space-12); }
.section-heading h2 { margin-bottom: 0; }
.section-heading .lead { margin: var(--space-4) 0 0; }
.section-heading--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section-heading--center .lead { margin-inline: auto; }
.section-heading--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-12); align-items: end; }
.section-heading--split .section-heading__aside .lead { margin-top: 0; font-size: var(--text-base); }
.section-heading--split .btn-group { margin-top: var(--space-6); }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn--primary:hover { background: var(--accent-700); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .36); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-50); color: var(--ink); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: .5rem 1.15rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-group--center { justify-content: center; }

/* Header ------------------------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(248, 250, 252, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.logo { display: inline-flex; flex: none; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); color: var(--text); font-weight: 500; font-size: var(--text-sm); transition: background-color var(--transition), color var(--transition); }
.nav-links > li > a:hover { background: rgba(15, 23, 42, .05); color: var(--ink); }
.nav-links > li > a[aria-current="page"] { color: var(--accent); background: var(--accent-50); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; width: 44px; height: 44px; place-items: center; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
main { padding-top: var(--header-h); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: var(--space-16) 0 var(--space-12); overflow: hidden; isolation: isolate; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; background:
  radial-gradient(40% 50% at 18% 30%, var(--glow-blue), transparent 70%),
  radial-gradient(35% 45% at 85% 20%, var(--glow-teal), transparent 70%),
  radial-gradient(50% 60% at 50% 100%, rgba(191, 219, 254, .45), transparent 70%); }
.hero__inner { position: relative; max-width: 980px; margin: 0 auto; }
.hero h1 { margin: var(--space-6) auto var(--space-6); max-width: 15ch; }
.hero .lead { margin: 0 auto var(--space-8); }
.hero .btn-group { justify-content: center; }
.hero__badges { position: absolute; inset: 0; pointer-events: none; }
.float-badge { position: absolute; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); background: rgba(255, 255, 255, .9); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-md); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); color: var(--ink); white-space: nowrap; }
.float-badge .chip__icon { width: 28px; height: 28px; }
.float-badge .chip__icon svg { width: 16px; height: 16px; }
.float-badge--1 { top: 2%; left: -6%; }
.float-badge--2 { top: 6%; right: -8%; }
.float-badge--3 { top: 44%; left: -12%; }
.float-badge--4 { top: 50%; right: -12%; }
.hero__visual { position: relative; margin: var(--space-16) auto 0; max-width: 1060px; }
.hero__visual::before, .hero__visual::after { content: ""; position: absolute; top: 18%; width: 34%; height: 64%; z-index: -1; background: url("../assets/illustrations/hero-lines.svg") center / contain no-repeat; opacity: .9; }
.hero__visual::before { right: 96%; }
.hero__visual::after { left: 96%; transform: scaleX(-1); }
.device { background: var(--ink); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, .06); }
.device img { width: 100%; height: auto; border-radius: 16px; background: #fff; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: var(--space-20) 0 var(--space-16); text-align: center; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; z-index: -1; background: radial-gradient(40% 50% at 25% 40%, var(--glow-blue), transparent 70%), radial-gradient(35% 45% at 80% 30%, var(--glow-teal), transparent 70%); }
.page-hero h1 { max-width: 18ch; margin: var(--space-4) auto var(--space-6); font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); }
.page-hero .lead { margin: 0 auto; }
.page-hero .btn-group { justify-content: center; margin-top: var(--space-8); }
.breadcrumb { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero__art { margin: var(--space-12) auto 0; max-width: 760px; }
.page-hero__art img { width: 100%; height: auto; }

/* Kinetic marquee -------------------------------------------------------------- */
.marquee { overflow: hidden; padding: var(--space-8) 0; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: var(--space-8); padding-right: var(--space-8); }
.marquee__item { font-family: var(--font-display); font-size: var(--text-kinetic); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; color: var(--ink); }
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(37, 99, 235, .55); }
.marquee__sep { width: 28px; height: 28px; color: var(--teal); flex: none; }
.band { background: linear-gradient(90deg, var(--ink), var(--ink-700)); transform: rotate(-2deg); margin: var(--space-8) -2%; padding: var(--space-4) 0; box-shadow: var(--shadow-lg); }
.band .marquee { padding: 0; }
.band .marquee__group { gap: var(--space-6); padding-right: var(--space-6); }
.band .marquee__item { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.band .marquee__sep { color: var(--teal); width: 22px; height: 22px; }
.band-wrap { overflow: hidden; padding: var(--space-12) 0; }

/* Cards ------------------------------------------------------------------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition); overflow: hidden; }
.card p { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.card h3 { margin-bottom: var(--space-3); }
.card--glow::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-teal), transparent); pointer-events: none; }
a.card { display: block; color: inherit; }
a.card:hover { border-color: rgba(37, 99, 235, .45); box-shadow: var(--shadow-md); color: inherit; }
.card__link { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-5); font-weight: 700; font-family: var(--font-display); font-size: var(--text-sm); color: var(--accent); }
.card__art { width: 100%; height: auto; margin-bottom: var(--space-6); border-radius: var(--radius-md); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--space-5); }
.icon-box svg { width: 26px; height: 26px; }
.icon-box--teal { background: var(--teal-50); color: var(--teal-ink); }
.icon-box--dark { background: rgba(255, 255, 255, .08); color: #5EEAD4; }

/* Numbered commitment cards */
.numbered-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }
.numbered-grid > * { grid-column: span 2; }
.numbered-grid > :nth-child(4) { grid-column: 2 / span 2; }
.numbered-card { background: linear-gradient(160deg, #fff 55%, var(--accent-50)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-6) var(--space-8); position: relative; overflow: hidden; }
.numbered-card__num { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.75rem; color: var(--accent); line-height: 1; display: block; margin-bottom: var(--space-4); }
.numbered-card p { margin: 0; color: var(--text); font-weight: 500; }
.numbered-card .icon-box { position: absolute; right: var(--space-5); top: var(--space-5); margin: 0; width: 44px; height: 44px; }
.numbered-card .icon-box svg { width: 22px; height: 22px; }

/* Bento ------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-5); background: rgba(255, 255, 255, .6); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-5); }
.bento__main { display: grid; gap: var(--space-5); grid-template-rows: 1fr auto; }
.bento__diagram { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; }
.bento__diagram img { width: 100%; height: auto; margin-top: auto; }
.bento__diagram h3 { margin-bottom: var(--space-2); }
.bento__diagram p { color: var(--muted); font-size: var(--text-sm); }
.bento__wide { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.bento__wide p { margin: 0; color: var(--muted); font-size: var(--text-sm); max-width: 52ch; }
.bento__stats { display: grid; gap: var(--space-5); }
.stat-card { display: flex; gap: var(--space-5); align-items: center; background: linear-gradient(135deg, #fff 50%, var(--accent-50)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.stat-card .icon-box { margin: 0; flex: none; }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat-card .stat-value { font-size: var(--text-2xl); }
.stat-label { display: block; margin-top: var(--space-1); font-size: var(--text-sm); color: var(--muted); }

/* Stats row on dark */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .15); }
.stat .stat-value { color: #fff; }
.stat .stat-label { color: var(--muted-dark); }

/* Service tabs ------------------------------------------------------------ */
.tabs { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: var(--space-8); align-items: start; }
.tabs__list { display: grid; gap: var(--space-1); }
.tabs__tab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; text-align: left; padding: var(--space-4) var(--space-5); border: 0; border-left: 3px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: transparent; font: 600 var(--text-base)/1.3 var(--font-display); color: var(--text); cursor: pointer; transition: background-color var(--transition), color var(--transition), border-color var(--transition); }
.tabs__tab:hover { background: rgba(37, 99, 235, .05); color: var(--ink); }
.tabs__tab[aria-selected="true"] { border-left-color: var(--accent); color: var(--accent); background: var(--surface); box-shadow: var(--shadow-sm); }
.tabs__tab svg { width: 18px; height: 18px; opacity: 0; transition: opacity var(--transition); }
.tabs__tab[aria-selected="true"] svg { opacity: 1; }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.tabs__panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-blue), transparent); pointer-events: none; }
.tabs__panel[hidden] { display: none; }
.tabs__panel img { width: 100%; height: auto; border-radius: var(--radius-md); }
.tabs__panel h3 { font-size: var(--text-2xl); }
.tabs__panel p { color: var(--muted); }
.tabs--static .tabs__list { display: none; }
.tabs--static { grid-template-columns: 1fr; }
.tabs--static .tabs__panels { display: grid; gap: var(--space-6); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--text); }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.check-list--light li { color: #E2E8F0; }
.check-list--light svg { color: #5EEAD4; }

/* Process --------------------------------------------------------------------- */
.process-panel { border-radius: var(--radius-xl); padding: var(--space-8); background: linear-gradient(120deg, rgba(37, 99, 235, .10), rgba(20, 184, 166, .10) 50%, rgba(37, 99, 235, .06)); border: 1px solid var(--border); }
.steps { counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--step-color, var(--accent)); border-radius: var(--radius-md); padding: var(--space-6); position: relative; }
.step:nth-child(2) { --step-color: var(--teal); }
.step:nth-child(3) { --step-color: var(--ink); }
.step:nth-child(4) { --step-color: #60A5FA; }
.step::before { counter-increment: step; content: "Step 0" counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-2); }
.step h3 { font-size: var(--text-lg); }
.step p { color: var(--muted); font-size: var(--text-sm); }
.step .check-list { margin-top: var(--space-4); }

/* Dark sections ------------------------------------------------------------- */
.section--dark { background: var(--ink); color: #E2E8F0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: var(--muted-dark); }
.section--dark .eyebrow { color: #93C5FD; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: var(--muted-dark); }
.section--surface { background: var(--surface); }
.panel-dark { background: var(--ink); color: #E2E8F0; border-radius: var(--radius-xl); padding: var(--space-12); position: relative; overflow: hidden; }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: var(--muted-dark); }

/* Testimonials ------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.testimonial { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); }
.testimonial blockquote { margin: 0; font-size: var(--text-base); color: var(--text); }
.testimonial blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.5rem; line-height: .8; color: var(--accent); margin-bottom: var(--space-2); }
.testimonial figcaption { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--muted); }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); font: 700 var(--text-sm) var(--font-display); flex: none; }
.testimonial--featured { background: var(--ink); border-color: var(--ink); transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.testimonial--featured blockquote { color: #fff; }
.testimonial--featured blockquote::before { color: #5EEAD4; }
.testimonial--featured figcaption { color: var(--muted-dark); }
.testimonial--featured .testimonial__avatar { background: rgba(255, 255, 255, .1); color: #5EEAD4; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--canvas); margin-left: -12px; display: grid; place-items: center; font: 700 var(--text-sm) var(--font-display); color: #fff; }
.avatar-stack span:first-child { margin-left: 0; background: var(--accent); }
.avatar-stack span:nth-child(2) { background: var(--teal-ink); }
.avatar-stack span:nth-child(3) { background: var(--ink); }

/* FAQ ------------------------------------------------------------------------ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; cursor: pointer; list-style: none; font: 600 var(--text-lg)/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__num { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: var(--text-base); }
.faq__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--ink); transition: transform var(--transition), background-color var(--transition), color var(--transition); }
.faq__icon svg { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details[open] summary { color: var(--accent); }
.faq__answer { padding: 0 48px var(--space-6) calc(56px + var(--space-4)); color: var(--muted); }
.faq__answer p { margin: 0; }

/* Forms -------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2); color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; font: inherit; color: var(--text); background: var(--canvas); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: var(--text-xs); color: var(--muted); margin: var(--space-1) 0 0; font-weight: 400; }
.field .error { font-size: var(--text-xs); color: var(--danger); margin: var(--space-1) 0 0; font-weight: 600; }
.required { color: var(--danger); }
.alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); font-size: var(--text-sm); border: 1px solid; }
.alert p { margin: 0; }
.alert--success { background: #F0FDF4; border-color: #86EFAC; color: var(--success); }
.alert--error { background: #FEF2F2; border-color: #FCA5A5; color: var(--danger); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-10); box-shadow: var(--shadow-lg); }
.contact-cards { display: grid; gap: var(--space-4); }
.contact-card { display: flex; gap: var(--space-4); align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.contact-card .icon-box { margin: 0; flex: none; }
.contact-card strong { display: block; font-family: var(--font-display); color: var(--ink); }
.contact-card span, .contact-card a { font-size: var(--text-sm); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); counter-reset: next; }
.next-steps li { display: flex; gap: var(--space-4); align-items: flex-start; color: var(--muted-dark); font-size: var(--text-sm); }
.next-steps li::before { counter-increment: next; content: counter(next); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #5EEAD4; font: 700 var(--text-sm) var(--font-display); }

/* Leadership */
.person { text-align: left; }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-50), var(--teal-50)); margin-bottom: var(--space-5); object-fit: cover; }
.proto-note { background: #FFF7E6; border: 1px dashed #D97706; color: #78350F; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-xs); margin: var(--space-6) 0 0; }

/* Legal pages ------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-12); align-items: start; }
.legal > * { min-width: 0; }
.legal__body { overflow-wrap: anywhere; }
.legal__body .proto-note { margin: 0 0 var(--space-8); }
.legal__body th, .legal__body td { overflow-wrap: normal; }
.legal__toc { position: sticky; top: calc(var(--header-h) + var(--space-6)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); font-size: var(--text-sm); }
.legal__toc strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: var(--space-3); }
.legal__toc ol { padding-left: 1.2rem; display: grid; gap: var(--space-2); }
.legal__toc a { color: var(--muted); }
.legal__toc a:hover { color: var(--accent); }
.legal__body { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-12); max-width: 820px; }
.legal__body h2 { font-size: var(--text-2xl); margin-top: var(--space-10); }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body h3 { font-size: var(--text-lg); margin-top: var(--space-6); }
.legal__body p, .legal__body li { color: var(--text); }
.legal__body ul { padding-left: 1.25rem; margin-bottom: var(--space-4); display: grid; gap: var(--space-2); }
.legal__body table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-4); font-size: var(--text-sm); }
.legal__body th, .legal__body td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.legal__body th { font-family: var(--font-display); color: var(--ink); }
.legal__meta { font-size: var(--text-sm); color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Footer ---------------------------------------------------------------- */
.footer-cta { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(60% 120% at 85% 0%, rgba(37, 99, 235, .55), transparent 60%), radial-gradient(50% 100% at 10% 100%, rgba(20, 184, 166, .35), transparent 60%), var(--ink); padding: var(--space-20) 0; }
.footer-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/illustrations/pattern-circuit-dark.svg") 0 0 / 240px; opacity: .55; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); flex-wrap: wrap; }
.footer-cta h2 { color: #fff; max-width: 18ch; margin: 0; }
.footer-cta p { color: var(--muted-dark); margin: var(--space-4) 0 0; max-width: 52ch; }
.footer { position: relative; background: var(--ink-900); color: var(--muted-dark); padding: var(--space-16) 0 var(--space-8); font-size: var(--text-sm); }
.footer::before { content: ""; position: absolute; left: 15%; right: 15%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #60A5FA, #2DD4BF, transparent); box-shadow: 0 0 40px 6px rgba(96, 165, 250, .45); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: var(--space-8); }
.footer h4 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-4); letter-spacing: -.01em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer a { color: var(--muted-dark); }
.footer a:hover { color: #fff; }
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--space-5); }
.footer__social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); }
.footer__social a:hover { border-color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }

/* Brand logo (resources/views/components/logo.blade.php): globe mark + wordmark in Geist, on any background. */
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: "Geist", system-ui, sans-serif; font-size: 1.25rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand__mark { width: 1.45em; height: 1.45em; flex: none; display: block; }
.brand__name { font-weight: 650; letter-spacing: -.035em; }
.brand__sub { font-weight: 400; letter-spacing: -.02em; opacity: .62; }
a.logo, a.logo:hover, .footer__brand > a, .footer__brand > a:hover { color: var(--ink); text-decoration: none; }
.footer__brand .brand { font-size: 1.4rem; margin-bottom: var(--space-5); }

/* Midnight design system (public site) -------------------------------------
   Scoped to body.theme-midnight so the admin panel keeps the light tokens above.
   Palette from the brand navy: Midnight base, Navy panels, Signal Blue for actions,
   Circuit Teal for "live" moments, Mist text. One showpiece per page; everything
   around it stays quiet. See .agents/product-marketing.md and .claude/skills/frontend-design. */

.theme-midnight {
  color-scheme: dark;
  --ink: #F2F6FC;            /* headings */
  --ink-900: #03070F;        /* deepest sections */
  --ink-700: #13315C;
  --text: #C9D4E3;
  --muted: #8B9BB4;          /* 6.9:1 on midnight */
  --muted-dark: #8B9BB4;
  --accent: #3B82F6;
  --accent-700: #2563EB;
  --accent-50: rgba(59, 130, 246, .12);
  --link: #7DB4FF;
  --teal: #2DD4BF;
  --teal-ink: #5EEAD4;
  --teal-50: rgba(45, 212, 191, .12);
  --canvas: #050B18;         /* Midnight */
  --surface: #0A1628;        /* raised panels */
  --navy: #0B1F3A;
  --border: rgba(148, 178, 220, .13);
  --border-strong: rgba(148, 178, 220, .26);
  --success: #4ADE80;
  --danger: #F87171;
  --glow-blue: rgba(59, 130, 246, .22);
  --glow-teal: rgba(45, 212, 191, .16);
  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --container: 1200px;
  --radius-sm: 12px; --radius-md: 18px; --radius-lg: 24px; --radius-xl: 32px; --radius-pill: 999px;
  --shadow-sm: none;
  --shadow-md: 0 20px 50px rgba(0, 0, 0, .35);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --transition: 300ms var(--ease);
  background: var(--canvas);
  font-feature-settings: "ss01";
}

/* Type: one family, set large and tight; body stays open and readable. */
.theme-midnight h1, .theme-midnight h2, .theme-midnight h3, .theme-midnight h4 { font-weight: 600; text-wrap: balance; }
.theme-midnight h1 { letter-spacing: -.045em; line-height: 1.02; }
.theme-midnight h2 { letter-spacing: -.035em; line-height: 1.06; }
.theme-midnight h3 { letter-spacing: -.02em; }
.theme-midnight .lead { color: var(--muted); font-size: var(--text-lg); line-height: 1.55; }
.theme-midnight a { color: var(--link); }
.theme-midnight a:hover { color: #A9CCFF; text-decoration: none; }
.theme-midnight :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.theme-midnight ::selection { background: rgba(45, 212, 191, .3); color: #fff; }
.theme-midnight .skip-link { background: var(--accent); }

/* Eyebrow: a quiet teal label with a "node" dot, the network motif in miniature. */
.theme-midnight .eyebrow { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--teal-ink); }
.theme-midnight .eyebrow::before { width: 6px; height: 6px; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50), 0 0 12px var(--teal); }

/* Buttons: pills with press feedback. */
.theme-midnight .btn { font-family: var(--font-body); font-weight: 500; letter-spacing: -.01em; border-width: 1px; transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 200ms var(--ease); }
.theme-midnight .btn:active { transform: scale(.97); transition-duration: 100ms; }
.theme-midnight .btn--primary { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 10px 30px rgba(59, 130, 246, .35); }
.theme-midnight .btn--primary:hover { background: #4F8FF8; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 14px 40px rgba(59, 130, 246, .5); }
.theme-midnight .btn--secondary, .theme-midnight .btn--ghost-dark { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: var(--border-strong); }
.theme-midnight .btn--secondary:hover, .theme-midnight .btn--ghost-dark:hover { background: rgba(255, 255, 255, .08); border-color: rgba(148, 178, 220, .45); color: var(--ink); }
.theme-midnight .btn--light { background: var(--ink); color: var(--canvas); }
.theme-midnight .btn--light:hover { background: #fff; color: var(--canvas); }
.theme-midnight .btn .btn__arrow { transition: transform 300ms var(--ease); }

/* Header: a full-width bar. Transparent over the hero; once you scroll it becomes frosted glass with a
   hairline edge. The current page is marked by a small teal node under its link. */
.theme-midnight .site-header {
  height: var(--header-h); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid transparent; box-shadow: none;
  transition: background-color var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
.theme-midnight .site-header.is-scrolled { background: rgba(5, 11, 24, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--border); box-shadow: none; }
.theme-midnight .logo img { height: 32px; }
.theme-midnight .nav-links { gap: var(--space-2); }
.theme-midnight .nav-links > li > a { position: relative; color: var(--muted); font-weight: 500; font-size: .9375rem; padding: var(--space-2) var(--space-3); border-radius: 8px; background: none; }
.theme-midnight .nav-links > li > a:hover { background: none; color: var(--ink); }
.theme-midnight .nav-links > li > a[aria-current="page"] { background: none; color: var(--ink); }
/* Current page: a short glowing line that grows from the centre; hovering previews it. */
.theme-midnight .nav-links > li > a::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--accent)); transform: scaleX(0); opacity: 0; transition: transform 350ms var(--ease), opacity 350ms var(--ease); }
.theme-midnight .nav-links > li > a:hover::after { transform: scaleX(.5); opacity: .55; }
.theme-midnight .nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; box-shadow: 0 0 12px rgba(45, 212, 191, .55); }
.theme-midnight .nav-cta { min-height: 40px; }
.theme-midnight .nav-toggle { background: rgba(255, 255, 255, .05); border-color: var(--border); color: var(--ink); }
.theme-midnight main { padding-top: 0; }

/* Panels and cards: hairline-edged navy glass. */
.theme-midnight :is(.card, .numbered-card, .stat-card, .bento__diagram, .bento__wide, .step, .testimonial, .contact-card, .legal__toc) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.theme-midnight .card p, .theme-midnight .step p, .theme-midnight .bento__diagram p, .theme-midnight .bento__wide p { color: var(--muted); }
.theme-midnight .card--glow::after { opacity: .6; }
.theme-midnight a.card { transition: border-color var(--transition), background-color var(--transition), transform 400ms var(--ease); }
.theme-midnight a.card:hover { border-color: rgba(45, 212, 191, .45); background: linear-gradient(180deg, rgba(45, 212, 191, .07), rgba(255, 255, 255, .015)); color: inherit; }
.theme-midnight .card__link { color: var(--teal-ink); font-family: var(--font-body); font-weight: 500; }
.theme-midnight .card__art { border-radius: var(--radius-md); background: #F5F8FC; }
.theme-midnight .icon-box { background: var(--accent-50); color: #8AB8FF; border: 1px solid rgba(59, 130, 246, .25); }
.theme-midnight .icon-box--teal { background: var(--teal-50); color: var(--teal-ink); border-color: rgba(45, 212, 191, .25); }
.theme-midnight .numbered-card { background: linear-gradient(160deg, rgba(255, 255, 255, .05) 40%, rgba(59, 130, 246, .08)); }
.theme-midnight .numbered-card__num { font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: var(--text-sm); color: var(--teal-ink); }
.theme-midnight .numbered-card p { color: var(--text); }
.theme-midnight .stat-card { background: linear-gradient(135deg, rgba(255, 255, 255, .05) 40%, rgba(59, 130, 246, .08)); }
.theme-midnight .stat-value { font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.theme-midnight .bento { background: rgba(255, 255, 255, .02); border-color: var(--border); }
.theme-midnight .chip, .theme-midnight .float-badge { background: rgba(10, 22, 40, .7); border-color: var(--border); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.theme-midnight .chip strong, .theme-midnight .float-badge { color: var(--ink); font-family: var(--font-body); }

/* "Double bezel" for the big containers: a glass plate in a hairline tray. */
.theme-midnight :is(.tabs__panel, .form-card, .legal__body) {
  background: linear-gradient(180deg, #0C1A30, #091426); border: 1px solid var(--border); box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), 0 0 0 7px var(--border), var(--shadow-lg);
}
.theme-midnight .tabs__panel::after { opacity: .5; }
.theme-midnight .tabs__panel img { background: #F5F8FC; }
.theme-midnight .device { background: linear-gradient(180deg, #13284A, #0B1F3A); border: 1px solid var(--border-strong); box-shadow: 0 0 0 8px rgba(255, 255, 255, .03), var(--shadow-lg); }

/* Sections */
.theme-midnight .section--surface { background: #07101F; border-block: 1px solid var(--border); }
.theme-midnight .section--dark { background: var(--ink-900); }
.theme-midnight .panel-dark { background: radial-gradient(80% 120% at 100% 0%, rgba(59, 130, 246, .18), transparent 60%), linear-gradient(180deg, #0C1A30, #08121F); border: 1px solid var(--border); }
.theme-midnight .stat { border-top: 0; padding-top: 0; }
.theme-midnight .process-panel { background: linear-gradient(120deg, rgba(59, 130, 246, .08), rgba(45, 212, 191, .06)); border-color: var(--border); }
.theme-midnight .step { border-top: 1px solid var(--border); }
.theme-midnight .step::before { color: var(--teal-ink); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; text-transform: none; }
.theme-midnight .check-list li { color: var(--text); }
.theme-midnight .check-list svg { color: var(--teal); }

/* Tabs */
.theme-midnight .tabs__tab { font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.theme-midnight .tabs__tab:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.theme-midnight .tabs__tab[aria-selected="true"] { background: rgba(255, 255, 255, .06); color: var(--ink); border-left-color: var(--teal); box-shadow: none; }

/* Testimonials */
.theme-midnight .testimonial blockquote { color: var(--text); }
.theme-midnight .testimonial blockquote::before { color: var(--teal); }
.theme-midnight .testimonial--featured { background: linear-gradient(160deg, rgba(59, 130, 246, .22), rgba(45, 212, 191, .08)); border-color: rgba(59, 130, 246, .35); }
.theme-midnight .testimonial__avatar { background: var(--accent-50); color: var(--link); font-family: var(--font-body); }
.theme-midnight .avatar-stack span { border-color: var(--canvas); }

/* Marquees */
.theme-midnight .marquee__item { color: var(--ink); font-weight: 600; letter-spacing: -.04em; }
.theme-midnight .marquee__item--outline { -webkit-text-stroke: 1px rgba(148, 178, 220, .4); }
.theme-midnight .band { background: var(--navy); border-block: 1px solid var(--border); transform: none; margin: 0; box-shadow: none; }
.theme-midnight .band .marquee__item { color: var(--text); font-weight: 500; text-transform: none; letter-spacing: -.01em; }
.theme-midnight .band-wrap { padding: var(--space-8) 0; }

/* FAQ */
.theme-midnight .faq summary { color: var(--ink); font-family: var(--font-body); font-weight: 500; }
.theme-midnight .faq summary:hover, .theme-midnight .faq details[open] summary { color: var(--ink); }
.theme-midnight .faq__num { color: var(--teal-ink); font-family: var(--font-body); font-weight: 500; }
.theme-midnight .faq__icon { background: rgba(255, 255, 255, .04); border-color: var(--border); color: var(--muted); }
.theme-midnight .faq details[open] .faq__icon { background: var(--teal); border-color: var(--teal); color: var(--canvas); }

/* Forms */
.theme-midnight .field label { color: var(--ink); font-weight: 500; }
.theme-midnight .field input, .theme-midnight .field select, .theme-midnight .field textarea { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); color: var(--ink); }
.theme-midnight .field input::placeholder, .theme-midnight .field textarea::placeholder { color: #5F708A; }
.theme-midnight .field input:focus, .theme-midnight .field select:focus, .theme-midnight .field textarea:focus { background: rgba(255, 255, 255, .06); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.theme-midnight .field select option { background: var(--surface); color: var(--ink); }
.theme-midnight .alert--success { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .35); }
.theme-midnight .alert--error { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); }
.theme-midnight .contact-card strong { color: var(--ink); font-family: var(--font-body); }
.theme-midnight .next-steps li::before { background: var(--teal-50); color: var(--teal-ink); font-family: var(--font-body); }
.theme-midnight .proto-note { background: rgba(250, 204, 21, .07); border-color: rgba(250, 204, 21, .45); color: #FDE68A; }

/* Legal & breadcrumbs */
.theme-midnight .legal__body p, .theme-midnight .legal__body li { color: var(--text); }
.theme-midnight .legal__body th, .theme-midnight .legal__toc strong { color: var(--ink); font-family: var(--font-body); }
.theme-midnight .breadcrumb, .theme-midnight .breadcrumb a, .theme-midnight .legal__toc a { color: var(--muted); }

/* Footer */
.theme-midnight .footer-cta { background: radial-gradient(60% 120% at 85% 0%, rgba(59, 130, 246, .35), transparent 60%), radial-gradient(50% 100% at 10% 100%, rgba(45, 212, 191, .18), transparent 60%), var(--ink-900); border-top: 1px solid var(--border); }
.theme-midnight .footer-cta::after { opacity: .3; }
.theme-midnight .footer { background: var(--ink-900); color: var(--muted); }
.theme-midnight .footer::before { opacity: .6; }
.theme-midnight .footer h4 { color: var(--ink); font-family: var(--font-body); font-weight: 600; }
.theme-midnight .footer a { color: var(--muted); }
.theme-midnight .footer a:hover { color: var(--ink); }
.theme-midnight .footer__social a { border-color: var(--border-strong); }
.theme-midnight .footer__bottom { border-top-color: var(--border); }

/* Our Services mega menu: all services by group, each with its icon. Opens on hover/focus on desktop and
   via the toggle (JS adds .is-open); inside the mobile drawer it becomes an expandable list. */
.theme-midnight .site-header__inner { position: relative; }
.has-menu { display: flex; align-items: center; }
.menu-toggle { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -6px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; transition: color var(--transition); }
.menu-toggle svg { width: 14px; height: 14px; transition: transform 300ms var(--ease); }
.has-menu:hover .menu-toggle, .has-menu.is-open .menu-toggle { color: var(--ink); }
.has-menu.is-open .menu-toggle svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% - 4px); left: 50%; z-index: 60; width: min(940px, calc(100vw - 48px)); padding: var(--space-6);
  border-radius: var(--radius-lg); background: rgba(8, 16, 30, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity 250ms var(--ease), transform 350ms var(--ease), visibility 250ms;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.mega__head { margin: 0 0 var(--space-3); padding-left: var(--space-2); font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega .mega__item { display: flex; align-items: center; gap: var(--space-3); padding: 7px var(--space-2); border-radius: 12px; color: var(--text); font-size: .875rem; font-weight: 500; line-height: 1.25; background: none; transition: background-color var(--transition), color var(--transition); }
.mega .mega__item:hover, .mega .mega__item[aria-current="page"] { background: rgba(255, 255, 255, .05); color: var(--ink); }
.mega__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: 19px; color: #B9D4FF;
  background: linear-gradient(145deg, rgba(59, 130, 246, .28), rgba(45, 212, 191, .10)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(148, 178, 220, .16);
  transition: transform 300ms var(--ease), color var(--transition); }
.mega li:nth-child(even) .mega__icon { color: #A7F3EA; background: linear-gradient(145deg, rgba(45, 212, 191, .26), rgba(59, 130, 246, .10)); }
.mega .mega__item:hover .mega__icon { transform: translateY(-1px); color: #fff; }
.mega__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: .875rem; }
.mega__foot a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--link); font-weight: 500; }
.mega__foot a:hover { color: #A9CCFF; }
.mega__foot svg { width: 16px; height: 16px; }
.mega__foot i { font-size: 18px; color: var(--teal); }

/* Service page label and coming-soon date: plain, quiet text above the headline. */
.svc-hero__name, .cs-date { margin: 0; font-size: var(--text-base); font-weight: 500; color: var(--muted); }

/* Inner-page hero: tall and centred, no breadcrumb. */
.theme-midnight .page-hero { min-height: min(78dvh, 760px); display: flex; align-items: center; padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-20); }
.theme-midnight .page-hero > .container { width: 100%; }
.theme-midnight .page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); }

/* Mobile drawer */
@media (max-width: 1080px) {
  .theme-midnight .site-header.is-open { background: rgba(5, 11, 24, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--border); }
  .theme-midnight .site-header.is-open .nav-links { top: calc(var(--header-h) + 8px); background: rgba(10, 22, 40, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-color: var(--border-strong); }
  .theme-midnight .site-header.is-open .nav-links { max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; }
  .has-menu { flex-wrap: wrap; justify-content: space-between; }
  .menu-toggle { width: 40px; height: 40px; margin: 0; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .mega { position: static; display: none; width: 100%; padding: 0 0 var(--space-3) var(--space-3); transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mega::before { display: none; }
  .has-menu.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .mega__foot { flex-direction: column; }
  .theme-midnight .site-header.is-open .nav-links > li > a::after { left: 0; right: auto; top: 22%; bottom: 22%; width: 2px; height: auto; transform: scaleY(0); }
  .theme-midnight .site-header.is-open .nav-links > li > a[aria-current="page"]::after { transform: scaleY(1); }
}
@media (max-width: 768px) {
  .theme-midnight { --header-h: 68px; }
  .theme-midnight .page-hero { min-height: 70dvh; }
}
@media (prefers-reduced-transparency: reduce) {
  .theme-midnight .site-header.is-scrolled, .theme-midnight .chip, .theme-midnight .float-badge { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .theme-midnight { --border: rgba(200, 220, 245, .4); --border-strong: rgba(200, 220, 245, .6); --muted: #B4C2D6; }
}

/* Home ------------------------------------------------------------------- */

/* Hero: a live 3D network fills the screen; the message sits bottom-left. */
.hero3d { position: relative; min-height: min(100dvh, 980px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-16); }
.hero3d__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.hero3d__fallback { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(42% 52% at 70% 42%, rgba(59, 130, 246, .28), transparent 70%),
  radial-gradient(30% 40% at 78% 55%, rgba(45, 212, 191, .16), transparent 70%),
  var(--canvas); }
.hero3d::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--canvas)); pointer-events: none; }
.hero3d__copy { max-width: 44rem; }
.hero3d h1 { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.5rem); margin: var(--space-5) 0 var(--space-6); }
.hero3d .lead { max-width: 40rem; margin: 0 0 var(--space-8); }
.hero3d__status { display: inline-flex; align-items: center; gap: var(--space-3); padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: rgba(10, 22, 40, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: var(--text-sm); color: var(--text); }
.hero3d__status b { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-ink); font-weight: 600; font-size: var(--text-xs); }
.hero3d__hint { position: absolute; right: var(--space-6); bottom: var(--space-8); font-size: var(--text-xs); color: var(--muted); }

/* Commitments: four plain facts on one line, divided by hairlines. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); }
.facts li { list-style: none; padding: var(--space-6) var(--space-6) var(--space-6) 0; color: var(--text); font-size: var(--text-sm); }
.facts li + li { padding-left: var(--space-6); border-left: 1px solid var(--border); }
.facts strong { display: block; color: var(--ink); font-size: var(--text-lg); font-weight: 600; letter-spacing: -.02em; margin-bottom: var(--space-1); }
.facts-wrap { padding: 0; margin: 0; }

/* Service index: each group's title sits above its services, which run in two columns. */
.pillar { padding: var(--space-12) 0 var(--space-10); }
.pillar + .pillar { border-top: 1px solid var(--border); }
.pillar__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); }
.pillar__head h3 { font-size: var(--text-3xl); margin: 0; }
.pillar__head p { color: var(--muted); margin: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-6); }
.svc { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; gap: var(--space-5); align-items: center; height: 100%; padding: var(--space-4); border-radius: var(--radius-md); color: inherit; border: 1px solid transparent; transition: background-color var(--transition), border-color var(--transition); }
a.svc:hover { background: rgba(255, 255, 255, .03); border-color: var(--border); color: inherit; }

/* Modern icon tile: a tinted glass squircle with a two-tone Phosphor icon and a soft glow. */
.svc__icon {
  position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(145deg, rgba(59, 130, 246, .28), rgba(45, 212, 191, .10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(148, 178, 220, .16), 0 8px 24px -8px rgba(59, 130, 246, .55);
  color: #B9D4FF; font-size: 26px; line-height: 1;
  transition: transform 400ms var(--ease), box-shadow var(--transition), color var(--transition);
}
.svc-list li:nth-child(even) .svc__icon { background: linear-gradient(145deg, rgba(45, 212, 191, .26), rgba(59, 130, 246, .10)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(148, 178, 220, .16), 0 8px 24px -8px rgba(45, 212, 191, .5); color: #A7F3EA; }
a.svc:hover .svc__icon { transform: translateY(-2px) scale(1.04); color: #fff; }
.svc h4 { font-size: var(--text-lg); margin: 0 0 2px; letter-spacing: -.02em; }
.svc p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.svc__go { width: 20px; height: 20px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: transform 300ms var(--ease), opacity var(--transition), color var(--transition); }
a.svc:hover .svc__go, a.svc:focus-visible .svc__go { opacity: 1; transform: none; color: var(--teal); }

/* Service cards (Services page, related services): the animated visual on top, copy below. */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.svc-card { display: flex; flex-direction: column; padding: var(--space-3); border-radius: var(--radius-lg); color: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--border); transition: border-color var(--transition), background-color var(--transition); }
.svc-card:hover { color: inherit; border-color: rgba(45, 212, 191, .45); }
.svc-card__body { padding: var(--space-5) var(--space-3) var(--space-3); display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: var(--space-2); }
.svc-card p { color: var(--muted); font-size: var(--text-sm); margin: 0 0 var(--space-5); }
.svc-card .card__link { margin-top: auto; }
.svc-card .card__link svg { transition: transform 300ms var(--ease); }
.svc-card:hover .card__link svg { transform: translateX(4px); }
.section--tight .pillar__head { margin-bottom: var(--space-8); }
.section--tight .pillar__head h2 { margin: 0; font-size: var(--text-3xl); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Service landing page */
.svc-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(92dvh, 900px); display: flex; align-items: center; padding: calc(var(--header-h) + var(--space-12)) 0 var(--space-16); }
.svc-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; background: radial-gradient(40% 50% at 78% 40%, var(--glow-blue), transparent 70%), radial-gradient(30% 40% at 15% 70%, var(--glow-teal), transparent 70%); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.svc-hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem); margin: var(--space-4) 0 var(--space-5); }
.svc-hero .lead { margin-bottom: var(--space-8); }
.svc-hero__trust { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: var(--text-sm); color: var(--text); }
.svc-hero__trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.svc-hero__trust i { font-size: 1.25rem; color: var(--teal); }
.svc-hero__visual .sv { border-radius: var(--radius-lg); box-shadow: 0 0 0 8px rgba(255, 255, 255, .025), 0 0 0 9px var(--border), var(--shadow-lg); }
.svc-h2 { font-size: var(--text-3xl); margin-bottom: var(--space-8); }

.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.pains li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(248, 113, 113, .06), rgba(255, 255, 255, .01)); border: 1px solid rgba(248, 113, 113, .18); }
.pains i { flex: none; font-size: 1.6rem; color: #FCA5A5; }
.pains p { margin: 0; color: var(--ink); font-size: var(--text-lg); line-height: 1.45; letter-spacing: -.01em; }
.pains__answer { margin: var(--space-6) 0 0; color: var(--muted); }

.outcomes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.outcomes li { padding: var(--space-8); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--border); }
.outcomes .svc__icon { margin-bottom: var(--space-5); }
.outcomes h3 { margin-bottom: var(--space-2); }
.outcomes p { margin: 0; color: var(--muted); }
.outcomes li:nth-child(even) .svc__icon { background: linear-gradient(145deg, rgba(45, 212, 191, .26), rgba(59, 130, 246, .10)); color: #A7F3EA; }

.svc-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-12); align-items: start; }

.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-12); align-items: start; }
.book h2 { font-size: var(--text-3xl); }
.book__steps { list-style: none; padding: 0; margin: var(--space-8) 0; display: grid; gap: var(--space-4); }
.book__steps li { display: flex; gap: var(--space-4); align-items: flex-start; color: var(--text); }
.book__steps b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); font-size: var(--text-sm); }
.book .form-card { padding: var(--space-8); }
.book .form-card .btn { justify-self: start; }

/* AI assistant */
.assistant { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--space-12); align-items: start; padding: var(--space-10); border-radius: var(--radius-xl); position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(59, 130, 246, .2), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(45, 212, 191, .12), transparent 60%), linear-gradient(180deg, #0C1A30, #08121F);
  border: 1px solid var(--border-strong); box-shadow: 0 0 0 6px rgba(255, 255, 255, .02), var(--shadow-lg); }
.assistant__badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: 4px 12px 4px 8px; border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-ink); font-size: var(--text-sm); font-weight: 500; }
.assistant__badge i { font-size: 1.1rem; }
.assistant h2 { font-size: var(--text-2xl); margin: var(--space-4) 0 var(--space-3); }
.assistant__intro > p { color: var(--muted); }
.assistant__trust { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); font-size: var(--text-sm); color: var(--text); }
.assistant__trust li { display: flex; align-items: center; gap: var(--space-3); }
.assistant__trust i { font-size: 1.2rem; color: var(--teal); }
.assistant__panel { min-width: 0; }
.assistant__label { display: block; font-weight: 500; color: var(--ink); margin-bottom: var(--space-2); }
.assistant textarea, .assistant__email input { width: 100%; font: inherit; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--border-strong); border-radius: var(--radius-md); transition: border-color var(--transition), box-shadow var(--transition); }
.assistant textarea { min-height: 128px; padding: var(--space-4); resize: vertical; font-size: var(--text-lg); line-height: 1.5; }
.assistant textarea::placeholder, .assistant__email input::placeholder { color: #5F708A; }
.assistant textarea:focus, .assistant__email input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.assistant__prompts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 var(--space-5); }
.assistant__prompt { font: inherit; font-size: var(--text-xs); color: var(--text); padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color var(--transition), color var(--transition); }
.assistant__prompt:hover { border-color: var(--teal); color: var(--ink); }
.assistant__actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.assistant__actions small { color: var(--muted); }
.assistant__actions .btn i, .assistant__ask .btn i { font-size: 1.15rem; }
.assistant__error { margin: var(--space-2) 0 0; color: var(--danger); font-size: var(--text-sm); }
.assistant__thinking { display: flex; align-items: center; gap: 6px; padding: var(--space-8) 0; color: var(--muted); }
.assistant__thinking span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: assist-dot 1.2s ease-in-out infinite; }
.assistant__thinking span:nth-child(2) { animation-delay: .15s; } .assistant__thinking span:nth-child(3) { animation-delay: .3s; margin-right: var(--space-2); }
@keyframes assist-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.assistant__summary { color: var(--ink); font-size: var(--text-lg); line-height: 1.5; margin: 0 0 var(--space-5); outline: none; }
.assistant__plan { list-style: none; counter-reset: plan; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-3); }
.assistant__plan li { counter-increment: plan; position: relative; padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 36px); border-radius: var(--radius-md); background: rgba(255, 255, 255, .035); border: 1px solid var(--border); animation: assist-in 500ms var(--ease) both; }
.assistant__plan li:nth-child(2) { animation-delay: 120ms; } .assistant__plan li:nth-child(3) { animation-delay: 240ms; } .assistant__plan li:nth-child(4) { animation-delay: 360ms; }
@keyframes assist-in { from { opacity: 0; transform: translateY(8px); } }
.assistant__plan li::before { content: counter(plan); position: absolute; left: var(--space-4); top: var(--space-4); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); font-size: var(--text-xs); font-weight: 600; }
.assistant__plan strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.assistant__plan span { color: var(--muted); font-size: var(--text-sm); }
.assistant__services { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); font-size: var(--text-sm); color: var(--muted); }
.assistant__services a { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent-50); border: 1px solid rgba(59, 130, 246, .35); color: var(--link); }
.assistant__next { color: var(--text); margin: 0 0 var(--space-5); }
.assistant__email { padding: var(--space-5); border-radius: var(--radius-md); background: rgba(45, 212, 191, .06); border: 1px solid rgba(45, 212, 191, .3); }
.assistant__email-title { margin: 0 0 var(--space-3); color: var(--ink); font-weight: 500; }
.assistant__email-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: var(--space-2); }
.assistant__email input { min-height: 46px; padding: 0 var(--space-4); }
.assistant__saved { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-4); border-radius: var(--radius-md); background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .35); color: #BBF7D0; }
.assistant__saved i { font-size: 1.3rem; }
.assistant__after { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); flex-wrap: wrap; }
.assistant__again { background: none; border: 0; padding: 0; font: inherit; font-size: var(--text-sm); color: var(--link); cursor: pointer; }
.assistant [hidden] { display: none !important; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero__grid, .assistant, .book, .svc-faq { grid-template-columns: 1fr; }
  .svc-hero { min-height: 0; }
  .pains { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid, .outcomes { grid-template-columns: 1fr; }
  .assistant { padding: var(--space-6); gap: var(--space-6); }
  .assistant__email-row { grid-template-columns: 1fr; }
  .outcomes li { padding: var(--space-6); }
  .book .form-card { padding: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  .assistant__plan li, .assistant__thinking span { animation: none; }
}

/* Process: a connected line of four steps (a real sequence, so numbered). */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--accent) 60%, var(--border-strong)); }
.timeline li { position: relative; padding-top: var(--space-10); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--teal); box-shadow: 0 0 14px rgba(45, 212, 191, .6); }
.timeline__n { display: block; color: var(--teal-ink); font-size: var(--text-sm); margin-bottom: var(--space-2); }
.timeline h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.timeline p { color: var(--muted); font-size: var(--text-sm); margin: 0; }

@media (max-width: 1080px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .svc-list { gap: var(--space-2) var(--space-4); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: var(--space-10); }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .hero3d { min-height: 92dvh; padding-bottom: var(--space-10); }
  .hero3d__hint { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: var(--space-5) 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--border); }
  .timeline { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 48px minmax(0, 1fr); padding: var(--space-3) 0; }
  .svc__icon { width: 48px; height: 48px; font-size: 24px; }
  .pillar__head { margin-bottom: var(--space-3); }
  .svc__go { display: none; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .float-badge--3, .float-badge--4 { display: none; }
  .float-badge--1 { left: 0; }
  .float-badge--2 { right: 0; }
  .hero__visual::before, .hero__visual::after { display: none; }
  .nav-links > li > a { padding: var(--space-2); }
}
@media (max-width: 1080px) {
  .site-header .nav-links, .site-header .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-header.is-open .nav-links { display: flex; position: absolute; top: calc(var(--header-h) - 6px); left: var(--space-4); right: var(--space-4); flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
  .site-header.is-open .nav-links > li > a { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); }
  .site-header.is-open .nav-cta-mobile { display: block; padding: var(--space-2) 0 var(--space-1); }
  .site-header.is-open .nav-cta-mobile .btn { width: 100%; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonial--featured { transform: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr; }
  .bento__stats { grid-template-columns: repeat(3, 1fr); }
  .stat-card { flex-direction: column; align-items: flex-start; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: var(--space-2); padding-bottom: var(--space-2); scrollbar-width: thin; }
  .tabs__tab { border-left: 0; border-bottom: 3px solid transparent; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); white-space: nowrap; padding: var(--space-3) var(--space-5); }
  .tabs__tab[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  .tabs__tab svg { display: none; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: var(--space-16) 0; }
  .split, .section-heading--split, .grid--2, .grid--3, .grid--4, .testimonials, .form-row, .tabs__panel { grid-template-columns: 1fr; }
  .split { gap: var(--space-10); }
  .section-heading--split { gap: var(--space-4); }
  .numbered-grid { grid-template-columns: 1fr; }
  .numbered-grid > *, .numbered-grid > :nth-child(4) { grid-column: auto; }
  .hero { padding-top: var(--space-10); }
  .hero__badges { display: none; }
  .hero__visual { margin-top: var(--space-10); }
  .bento__stats { grid-template-columns: 1fr; }
  .stat-card { flex-direction: row; align-items: center; }
  .bento__wide { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tabs__panel { padding: var(--space-6); }
  .panel-dark, .form-card { padding: var(--space-8); }
  .legal__body { padding: var(--space-8); }
  .faq summary { grid-template-columns: 36px 1fr 32px; font-size: var(--text-base); }
  .faq__answer { padding: 0 0 var(--space-6) calc(36px + var(--space-4)); }
  .footer-cta { padding: var(--space-16) 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .btn-group .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
  .form-card, .panel-dark { padding: var(--space-6); }
  .legal__body { padding: var(--space-6); }
  .faq summary { grid-template-columns: 1fr 32px; }
  .faq__num { display: none; }
  .faq__answer { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
