/* K North Technologies: site styles. Plain CSS, no build step. */
:root {
  --bg: #071122;
  --bg-2: #0a1628;
  --surface: #0f1f38;
  --surface-2: #132745;
  --line: rgba(124, 172, 255, 0.16);
  --line-strong: rgba(124, 172, 255, 0.32);
  --text: #e8f1ff;
  --muted: #a9bbd6;        /* 9.6:1 on --bg */
  --accent: #4da3ff;       /* 7.4:1 on --bg */
  --accent-2: #1f6fff;
  --accent-soft: rgba(77, 163, 255, 0.14);
  --on-accent: #04101f;    /* text on accent buttons, 7.9:1 */
  --ok: #4ade9b;
  --warn: #ffd166;
  --error: #ff8a8a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(77, 163, 255, 0.35), 0 18px 50px -12px rgba(31, 111, 255, 0.55);
  --font: "Inter", "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #8cc4ff; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { color: #fff; font-weight: 700; }
section[id], [id="contact-form"] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Clearly marked placeholders (see TODO.md) */
[hidden] { display: none !important; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }

/* Buttons */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 1px solid var(--b);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(135deg, #6cb6ff, var(--accent) 45%, #3f8dff); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(31, 111, 255, .8); }
.btn-primary:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { --b: var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn-ghost:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7, 17, 34, 0.55);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(7, 17, 34, 0.88); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
/* Image logo (added 2026-11-25). The logo has navy lettering, so it sits on a light
   frosted plate to stay readable on the dark theme. */
.brand-logo, .footer-logo {
  background: linear-gradient(180deg, #ffffff 0%, #e4edf9 100%);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 6px 18px rgba(0,0,0,.35);
  transition: box-shadow .25s ease, transform .25s ease;
}
.brand-logo { display: inline-flex; align-items: center; padding: 4px 12px; line-height: 0; }
.brand-logo img { display: block; height: 40px; width: auto; max-width: none; }
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 0 22px rgba(77,163,255,.45); transform: translateY(-1px); }
.footer-logo { display: block; height: 40px; width: auto; max-width: 100%; padding: 6px 14px; box-sizing: content-box; }
.footer-brand-mini { margin-bottom: 20px; }
.footer-brand-mini a { display: inline-block; }
@media (max-width: 420px) {
  .brand-logo { padding: 4px 8px; }
  .brand-logo img { height: 38px; }
}

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.05); }
.nav-cta-item { margin-left: 8px; }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: rgba(7, 17, 34, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-cta-item { margin: 12px 0 0; }
  .nav-cta-item .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 56px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.grid-lines { position: absolute; inset: -2px; background-image: linear-gradient(rgba(124,172,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,172,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, #1f6fff, transparent 65%); }
.orb-2 { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, #0e4bd1, transparent 65%); opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .orb-1 { animation: drift 16s ease-in-out infinite alternate; }
  .orb-2 { animation: drift 20s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { transform: translate(-40px, 40px) scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(77,163,255,.08); color: #cfe4ff; font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,155,.18); }
.grad { background: linear-gradient(100deg, #8fd0ff, var(--accent) 45%, #6b8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .97rem; }
.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234da3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.glass-card {
  position: relative; padding: 22px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(25, 50, 90, .75), rgba(10, 22, 40, .85));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.glass-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(108,182,255,.9), transparent 40%, transparent 60%, rgba(31,111,255,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .glass-card { animation: float 7s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-10px); } }
.gc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gc-dots { display: flex; gap: 6px; }
.gc-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.gc-dots i:first-child { background: #ff6b6b; } .gc-dots i:nth-child(2) { background: #ffd166; } .gc-dots i:nth-child(3) { background: var(--ok); }
.gc-title { color: var(--muted); font-size: .85rem; font-weight: 600; }
.gc-score { position: relative; width: 150px; margin: 4px auto 18px; }
.ring { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 14; filter: drop-shadow(0 0 6px rgba(77,163,255,.6)); }
.gc-score-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gc-score-label strong { font-size: 2.4rem; line-height: 1; font-family: var(--font-display); }
.gc-score-label span { font-size: .78rem; color: var(--muted); }
.gc-checks { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; font-size: .92rem; color: #d6e5fb; }
.gc-checks li { display: flex; align-items: center; gap: 10px; }
.ok { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(74,222,155,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234ade9b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.gc-bars { display: grid; gap: 8px; }
.gc-bars div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.gc-bars b { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; }
.gc-bars b::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
@media (prefers-reduced-motion: no-preference) {
  .js .gc-bars b::after { animation: grow 1.6s cubic-bezier(.2,.8,.2,1) .4s both; }
  .js .gc-score .ring-fg { animation: ring 1.8s cubic-bezier(.2,.8,.2,1) .2s both; }
}
@keyframes grow { from { width: 0; } }
@keyframes ring { from { stroke-dashoffset: 100; } }

.trust-strip { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(48px, 7vw, 84px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.trust-strip li { padding: 18px 20px; background: rgba(10, 22, 40, .9); color: var(--muted); font-size: .95rem; }
.trust-strip strong { display: block; color: #fff; font-size: 1.1rem; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #0b1a30); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { display: inline-block; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.section-lead { color: var(--muted); font-size: 1.12rem; }
.lead-sm { font-size: 1.12rem; color: var(--muted); }

.panel { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; border: 1px solid var(--line-strong); }
.card-icon svg { width: 24px; height: 24px; }
.auto-cards .card h3 { display: flex; align-items: center; gap: 10px; }
.auto-cards .card h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.price-card .ticks { margin: 6px 0 26px; flex: 1; align-content: start; }
.price-card.featured { position: relative; border-color: rgba(77,163,255,.6); background: linear-gradient(160deg, #173563, #0f2242); box-shadow: var(--glow); }
@media (min-width: 900px) { .price-card.featured { transform: translateY(-14px); } }
.badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 800; letter-spacing: .02em; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.was { color: var(--muted); font-size: 1.15rem; }
.price-note { color: var(--muted); font-size: .97rem; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #d3e1f5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234da3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.addon { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding: 28px; border-radius: 24px; border: 1px dashed var(--line-strong); background: rgba(77,163,255,.04); }
.addon p { color: var(--muted); margin: 0; }
.grant-note { display: flex; gap: 14px; align-items: flex-start; }
.grant-note svg { flex: none; width: 26px; height: 26px; color: var(--warn); margin-top: 2px; }

/* Timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 22px; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), rgba(77,163,255,.1)); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.tl-step { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(77,163,255,.45); }
.tl-body { padding: 22px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.tl-body p:last-child { margin: 0; color: var(--muted); }
.tl-when { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* Quiz */
.quiz-progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 16px; }
.quiz-progress-bar { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .4s ease; }
.quiz-count { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz legend { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; padding: 0; }
.quiz-help { color: var(--muted); margin: -8px 0 18px; font-size: .98rem; }
.options { display: grid; gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.option label::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); transition: border-color .2s ease, box-shadow .2s ease; }
.option label:hover { border-color: var(--accent); background: var(--accent-soft); }
.option input:checked + label { border-color: var(--accent); background: rgba(77,163,255,.14); }
.option input:checked + label::before { border-color: var(--accent); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 11px var(--accent); }
.option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.quiz-q-enter { animation: none; }
@media (prefers-reduced-motion: no-preference) { .quiz-q-enter { animation: fadeUp .35s ease both; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.quiz-result:focus { outline: none; }
.result-top { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; margin-bottom: 22px; }
.result-ring { position: relative; width: 170px; }
.result-ring svg { transform: rotate(-90deg); }
.result-ring .ring-fg { stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1), stroke .3s ease; }
.result-score { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; }
.result-score strong { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; }
.result-score span { color: var(--muted); font-size: .82rem; }
.result-actions-list { padding: 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.result-actions-list h4 { margin-bottom: 14px; }
.quiz-result .hero-actions { margin-bottom: 0; }

/* ROI */
.roi { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { min-width: 96px; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line-strong); text-align: center; font-weight: 700; color: #fff; }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255,255,255,.1) var(--fill, 50%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 6px rgba(77,163,255,.2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
input[type="range"]:focus-visible { outline-offset: 6px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--text);
  background: rgba(4, 12, 26, .65); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23a9bbd6' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
select option { background: var(--bg-2); color: var(--text); }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77,163,255,.25); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.roi-results { display: grid; gap: 14px; align-content: start; }
.stat { padding: 18px 20px; border-radius: 16px; background: rgba(4, 12, 26, .55); border: 1px solid var(--line); }
.stat-label { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-value.accent { color: var(--accent); }
.stat-value.negative { color: var(--error); }
.stat-sub { color: var(--muted); font-size: .85rem; }
.disclaimer { color: var(--muted); font-size: .85rem; margin: 0; }

/* Automation pricing */
.auto-price { margin-top: 30px; padding: 28px; border-radius: 24px; border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(31,111,255,.18), rgba(77,163,255,.04)); display: grid; gap: 10px; justify-items: start; }
.auto-price p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.auto-price .hint { margin-bottom: 8px; }
.amount-sm { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.headshot-placeholder { aspect-ratio: 6 / 7; border-radius: 28px; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(circle at 30% 20%, rgba(77,163,255,.25), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); color: var(--muted); box-shadow: var(--shadow); }
.headshot-placeholder svg { width: 96px; height: 96px; }
.headshot-mark { gap: 22px; text-align: center; }
.about-photo .headshot-mark img { width: 62%; max-width: 240px; height: auto; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 12px 28px rgba(77,163,255,.28)); margin: 0 auto; }
.headshot-caption { color: var(--text); font-weight: 600; letter-spacing: .01em; line-height: 1.5; }
.headshot-caption small { color: var(--muted); font-weight: 500; }
.contact-list .cl-strong { color: var(--text); font-weight: 600; }
.about-photo img { border-radius: 28px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); width: 100%; height: auto; }
.about-copy .ticks { margin: 20px 0; }
.about-copy p:last-child { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); overflow: hidden; transition: border-color .2s ease; }
.faq-item.open { border-color: var(--line-strong); }
.faq-item h3 { margin: 0; font-size: 1.08rem; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.faq-q:hover { color: #fff; }
.faq-q:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq-icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--line-strong); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 22px; overflow: hidden; }
.faq-a p { color: var(--muted); margin: 0; padding-bottom: 20px; }
@media (prefers-reduced-motion: no-preference) { .faq-a { transition: height .3s ease; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; color: var(--muted); }
.cl-label { color: #fff; font-weight: 700; }
.req { color: var(--error); }
.field.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.field.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.field.check label { font-weight: 400; color: var(--muted); margin: 0; }
.field.check .field-error { grid-column: 2; }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.contact-form .btn-block { margin-top: 18px; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status .msg { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(74,222,155,.08); color: var(--text); }
.form-status .msg.error { background: rgba(255,138,138,.08); border-color: rgba(255,138,138,.4); }
.form-status .msg p { margin: 0 0 8px; }
.form-status .msg p:last-child { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050d1a; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal p { margin: 0; }

/* Reveal on scroll (only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .price-card.featured.reveal.is-visible { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  .js .price-card.featured.reveal.is-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Legal pages */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: #c9d8ee; }
.legal ul { padding-left: 1.3em; display: grid; gap: 6px; margin-bottom: 1em; }
.legal .notice { font-size: 0.85rem; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--line-strong); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about, .contact, .roi { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin-inline: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .addon { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cards-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { width: 100%; }
  .result-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .timeline::before { left: 21px; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl-step { width: 44px; height: 44px; font-size: 1rem; }
  .tl-body { padding: 18px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .quiz-nav .btn { flex: 1; }
}
@media (max-width: 420px) {
  .trust-strip { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.05rem; }
  .footer-nav ul { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v2: tabbed pages + motion layer (added 2026-11-25, on top of the v1 design)
   ========================================================================== */

/* Tabs: active page underline (morphs between pages with View Transitions) */
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--line-strong); transform: scaleX(0); transition: transform .25s ease; }
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.site-nav a[aria-current="page"]::after { display: none; }
.tab-line { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent), #8fd0ff); box-shadow: 0 0 10px rgba(77,163,255,.85); transform-origin: left center; view-transition-name: tab-line; pointer-events: none; }
@media (max-width: 1080px) {
  .site-nav a:not(.btn)::after { display: none; }
  .tab-line { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; transform-origin: center top; }
}

/* Page hero for inner pages (same look as the home hero, compact) */
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 22ch; }
.page-hero .lead { max-width: 58ch; margin: 0; }
.page-hero .orb-1 { width: 440px; height: 440px; top: -220px; }
.page-hero .orb-2 { bottom: -300px; }
.page-hero + .section { padding-top: clamp(56px, 7vw, 88px); }

/* Mouse-reactive hero background */
.hero-spot { position: absolute; inset: 0; background: radial-gradient(560px circle at var(--mx, 60%) var(--my, 30%), rgba(77,163,255,.15), transparent 60%); opacity: 0; transition: opacity .6s ease; }
.grid-lines.grid-lines-hi { background-image: linear-gradient(rgba(140,196,255,.38) 1px, transparent 1px), linear-gradient(90deg, rgba(140,196,255,.38) 1px, transparent 1px); mask-image: radial-gradient(230px circle at var(--mx, 60%) var(--my, 30%), #000, transparent 72%); -webkit-mask-image: radial-gradient(230px circle at var(--mx, 60%) var(--my, 30%), #000, transparent 72%); opacity: 0; transition: opacity .6s ease; }
.is-pointer .hero-spot, .is-pointer .grid-lines-hi { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg .orb-1 { translate: calc(var(--px, 0) * -38px) calc(var(--py, 0) * -30px); transition: translate .9s cubic-bezier(.2,.8,.2,1); }
  .hero-bg .orb-2 { translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 24px); transition: translate 1.1s cubic-bezier(.2,.8,.2,1); }
  .hero-bg .grid-lines { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); transition: translate .6s ease-out, opacity .6s ease; }
  .hero-visual { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 10px); transition: translate .7s cubic-bezier(.2,.8,.2,1); }
  /* Home hero copy arrives in sequence */
  .js .hero-copy > * { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .js .hero .trust-strip li { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
  .js .hero .trust-strip li:nth-child(1) { animation-delay: .4s; }
  .js .hero .trust-strip li:nth-child(2) { animation-delay: .47s; }
  .js .hero .trust-strip li:nth-child(3) { animation-delay: .54s; }
  .js .hero .trust-strip li:nth-child(4) { animation-delay: .61s; }
}

/* Teaser cards on the home page */
a.card.teaser { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
a.card.teaser:hover { color: var(--text); }
a.card.teaser h3 { color: #fff; }
.teaser-more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.teaser-more svg { width: 18px; height: 18px; transition: transform .25s ease; }
a.card.teaser:hover .teaser-more svg, a.card.teaser:focus-visible .teaser-more svg { transform: translateX(4px); }
a.card.teaser:focus-visible { outline-offset: 4px; border-radius: var(--radius); border-color: var(--accent); box-shadow: var(--glow); }

/* AI page */
.ai-cards .card { display: flex; flex-direction: column; }
.ai-cards .ticks { margin: 18px 0; }
.ai-cards .ticks li { color: #d3e1f5; }
.card-price { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lab-card { display: flex; flex-direction: column; }
.lab-card.lab-wide { grid-column: span 2; }
.lab-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lab-top .card-icon { margin: 0; }
.lab-no { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(77,163,255,.06); }
.lab-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.lab-tags li { font-family: var(--mono); font-size: .76rem; color: #cfe4ff; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.lab-wave { display: flex; align-items: center; gap: 5px; height: 44px; margin-top: 18px; }
.lab-wave i { flex: 1; max-width: 8px; height: 30%; border-radius: 4px; background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 10px rgba(77,163,255,.45); }
.lab-wave i:nth-child(3n) { height: 70%; } .lab-wave i:nth-child(4n+1) { height: 50%; } .lab-wave i:nth-child(5n+2) { height: 90%; }
@media (prefers-reduced-motion: no-preference) {
  .lab-wave i { animation: wave 1.2s ease-in-out infinite; }
  .lab-wave i:nth-child(2n) { animation-delay: -.3s; } .lab-wave i:nth-child(3n) { animation-delay: -.6s; } .lab-wave i:nth-child(5n) { animation-delay: -.9s; }
}
@keyframes wave { 50% { transform: scaleY(.35); } }
.lab-term { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(4,12,26,.8); border: 1px solid var(--line); font-family: var(--mono); font-size: .82rem; line-height: 1.7; color: #cfe4ff; white-space: pre-wrap; overflow-x: auto; }
.lab-term .c { color: var(--accent); } .lab-term .ok-t { color: var(--ok); } .lab-term .wait-t { color: var(--warn); }
.lab-cta { margin-top: 30px; }
@media (max-width: 960px) {
  .lab-grid { grid-template-columns: 1fr 1fr; }
  .lab-card.lab-wide:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card.lab-wide { grid-column: auto; }
}

/* "Up next" band at the end of inner pages */
.page-next { padding: 0 0 clamp(64px, 8vw, 96px); }
.section-alt + .page-next { padding-top: clamp(48px, 6vw, 72px); }
.page-next-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 30px; border-radius: 24px; border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(31,111,255,.16), rgba(77,163,255,.03)); }
.page-next .kicker { margin-bottom: 4px; }
.page-next .hint { margin: 4px 0 0; }
.page-next-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.page-next-link svg { width: 24px; height: 24px; color: var(--accent); transition: transform .25s ease; }
.page-next-link:hover { color: #fff; }
.page-next-link:hover svg, .page-next-link:focus-visible svg { transform: translateX(5px); }

/* Click ripple (buttons and cards) */
.btn, .option label, .faq-q { position: relative; }
.ripple-wrap { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0; }
.ripple { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.42) 0, rgba(160,205,255,.22) 35%, rgba(255,255,255,0) 65%); transform: scale(0); animation: ripple .7s cubic-bezier(.2,.8,.2,1) forwards; }
.btn-primary .ripple { background: radial-gradient(circle, rgba(255,255,255,.65) 0, rgba(255,255,255,.25) 35%, rgba(255,255,255,0) 65%); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* 3D tilt and glow on hover (fine pointers only; JS adds .tilt) */
.tilt { position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(120,190,255,.17), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.tilt.is-tilting::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .tilt.is-tilting { transform: perspective(900px) translateY(var(--lift, -4px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) !important; transition: transform .12s ease-out, border-color .25s ease, box-shadow .25s ease !important; border-color: var(--line-strong); box-shadow: var(--glow); }
}
@media (min-width: 900px) { .price-card.featured.tilt { --lift: -14px; } }

/* Page transitions: View Transitions API (cross-document) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(tab-line) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
  ::view-transition-old(root) { animation: vtOut .28s ease both; }
  ::view-transition-new(root) { animation: vtIn .5s cubic-bezier(.2,.8,.2,1) both; }
  html:active-view-transition-type(fwd)::view-transition-old(root) { animation-name: vtOutLeft; }
  html:active-view-transition-type(fwd)::view-transition-new(root) { animation-name: vtInRight; }
  html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vtOutRight; }
  html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vtInLeft; }
}
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes vtOutLeft { to { opacity: 0; transform: translateX(-48px); } }
@keyframes vtInRight { from { opacity: 0; transform: translateX(48px); } }
@keyframes vtOutRight { to { opacity: 0; transform: translateX(48px); } }
@keyframes vtInLeft { from { opacity: 0; transform: translateX(-48px); } }

/* Keep the sideways slide-in from creating horizontal scroll on phones (2026-11-25) */
html, body { overflow-x: clip; }

/* Fallback when no View Transition ran (older browsers, first load): fade/slide with CSS */
@media (prefers-reduced-motion: no-preference) {
  .page-enter #main { animation: vtIn .5s cubic-bezier(.2,.8,.2,1) backwards; }
  .page-enter.enter-fwd #main { animation-name: vtInRight; }
  .page-enter.enter-back #main { animation-name: vtInLeft; }
  .page-enter .tab-line { animation: tabIn .5s .1s cubic-bezier(.2,.8,.2,1) backwards; }
  .page-leave #main { opacity: 0; transform: translateY(-10px); transition: opacity .24s ease, transform .24s ease; }
  .page-leave.leave-fwd #main { transform: translateX(-40px); }
  .page-leave.leave-back #main { transform: translateX(40px); }
  .page-leave .tab-line { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
}
@keyframes tabIn { from { transform: scaleX(0); opacity: 0; } }

/* Mobile menu: fully opaque panel (text behind used to show through) */
@media (max-width: 1080px) {
  body.nav-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav { background: var(--bg); }
}

/* Green contact buttons (Keita's favourite colour): every "Book a free call" / contact button */
.btn.js-booking, .btn-contact { background: linear-gradient(135deg, #6ee7a8, #22c55e 45%, #16a34a); color: #04210f; box-shadow: 0 10px 30px -10px rgba(34,197,94,.75); }
.btn.js-booking:hover, .btn-contact:hover { color: #04210f; box-shadow: 0 0 0 1px rgba(74,222,155,.5), 0 14px 40px -10px rgba(34,197,94,.9); }
a.eyebrow { text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
a.eyebrow:hover { border-color: rgba(74,222,155,.6); background: rgba(74,222,155,.12); color: #eafff3; }
