/* SECOND LAYER — styles. Mobile-first (360px), then scaled up.
   Colour follows the 60-30-10 rule:
   60% background (--bg), 30% structure (--surface, --text, --line),
   10% accent: coral (--coral) on the main call-to-action only; orchid (--hl) marks a key phrase. */

/* ---------- Tokens: dark (default) ---------- */
:root {
  --bg: #0D0817;
  --bg-2: #120B22;
  --surface: #171030;
  --surface-2: #1F1640;
  --glass: rgba(255, 255, 255, 0.045);
  --line: rgba(230, 210, 255, 0.12);
  --line-strong: rgba(230, 210, 255, 0.24);
  --text: #F4EFFF;
  --muted: #A79BC4;
  --hl: #E7B0F5;
  --orchid: #E7B0F5;
  --coral: #FF5C72;
  --on-coral: #1A0F24;
  --nav-bg: rgba(13, 8, 23, 0.86);
  --shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.85);
  --shadow-front: 0 18px 38px -14px rgba(255, 92, 114, 0.55);
  --flip-back: linear-gradient(150deg, #3B2470, #231848);
  --orb-a: rgba(106, 63, 209, 0.32);
  --orb-b: rgba(192, 107, 216, 0.1);
  --orb-c: rgba(58, 42, 143, 0.34);
  --radius: 20px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  color-scheme: dark;
}
/* ---------- Tokens: light ---------- */
:root[data-theme="light"] {
  --bg: #F7F3FF;
  --bg-2: #EFE8FC;
  --surface: #FFFFFF;
  --surface-2: #F1EAFD;
  --glass: rgba(255, 255, 255, 0.75);
  --line: rgba(60, 30, 120, 0.12);
  --line-strong: rgba(60, 30, 120, 0.24);
  --text: #1B1230;
  --muted: #5B5175;
  --hl: #8A3FC2;
  --orchid: #B66BE0;
  --coral: #FF5C72;
  --on-coral: #1A0F24;
  --nav-bg: rgba(247, 243, 255, 0.9);
  --shadow: 0 22px 48px -26px rgba(60, 30, 120, 0.38);
  --shadow-front: 0 18px 36px -14px rgba(232, 69, 92, 0.5);
  --flip-back: linear-gradient(150deg, #F2E2FC, #E6D7FA);
  --orb-a: rgba(106, 63, 209, 0.16);
  --orb-b: rgba(192, 107, 216, 0.12);
  --orb-c: rgba(58, 42, 143, 0.1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* Back layer: soft colour behind everything. Plain gradients, no blur, so it stays cheap on phones. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 88% 0%, var(--orb-a), transparent 70%),
    radial-gradient(45% 35% at 0% 42%, var(--orb-b), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, var(--orb-c), transparent 70%),
    var(--bg);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: Sora, Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.15rem, 8.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 5.6vw, 3rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orchid); color: #160F2A; }
main, footer { position: relative; z-index: 1; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; position: relative; }
.muted { color: var(--muted); }
.hl { color: var(--hl); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 400; }
.skip:focus { left: 8px; }

/* ---------- Buttons (front layer: elevated with soft shadows) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-coral { background: var(--coral); color: var(--on-coral); box-shadow: var(--shadow-front); }
.btn-coral:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--text); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-block { width: 100%; white-space: normal; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { text-decoration-color: currentColor; }

/* ---------- Cards (middle layer) ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
a.card { transition: border-color 0.2s, transform 0.2s var(--ease); }
a.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.icon-chip { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); flex: none; }
.icon-chip svg { width: 22px; height: 22px; }
.grid { display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 1px; top: 0.42em; width: 14px; height: 8px; border-left: 2px solid var(--hl); border-bottom: 2px solid var(--hl); transform: rotate(-45deg); }
.check-list.muted li { color: var(--muted); }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface-2); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 8, 23, 0) 45%, rgba(13, 8, 23, 0.78)); }
.photo-num, .photo-label { position: absolute; z-index: 1; left: 16px; color: #F4EFFF; font-family: Sora, sans-serif; font-weight: 600; }
.photo-num { bottom: 10px; font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; }
.photo-label { bottom: 14px; font-size: 1.05rem; }

/* ---------- Theme + motion switches ---------- */
.icon-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color 0.2s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--line-strong); }
.theme-btn .i-sun { display: block; }
.theme-btn .i-moon { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }
.motion-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--muted); font-size: 0.85rem; }
.motion-btn svg { width: 17px; height: 17px; }
.motion-btn .motion-state { color: var(--text); font-weight: 600; }

/* ---------- Navigation ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-nav.scrolled, .site-nav.open { background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; min-width: 0; }
.brand img { width: 32px; height: 32px; flex: none; }
/* The logo's pale S tile needs its dark brand background on a light page. */
[data-theme="light"] .brand img, [data-theme="light"] .intro-brand img, [data-theme="light"] .thanks img, [data-theme="light"] .hero-fallback img { background: #160F2A; border-radius: 22%; padding: 7%; }
.wordmark { font-family: "Archivo Black", Sora, sans-serif; font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }
.nav-links {
  position: fixed; top: var(--nav-h); left: 0; right: 0; padding: 12px 20px 28px; background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s; max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
}
.site-nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
.nav-links a { padding: 13px 4px; font-size: 1.1rem; font-family: Sora, sans-serif; font-weight: 600; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.nav-links a[aria-current="page"] { color: var(--hl); }
.nav-tag { font-family: Inter, sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.nav-contact { display: grid; gap: 2px; padding-top: 14px; }
.nav-links .nav-contact a { border: 0; padding: 9px 4px; font-family: Inter, sans-serif; font-weight: 500; font-size: 0.95rem; color: var(--muted); word-break: break-word; }
.nav-contact svg { width: 18px; height: 18px; flex: none; }
.nav-contact .motion-btn { padding: 9px 4px; font-size: 0.95rem; }
.nav-icons { display: none; gap: 8px; }
.nav-audit { display: none; }
.nav-toggle { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 5px; }
.site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Greeting intro (home page, once per visit) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); animation: introOut 0.7s cubic-bezier(0.7, 0, 0.2, 1) 2.4s forwards; cursor: pointer; }
.intro::before { content: ""; position: absolute; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--orb-a), transparent 68%); }
.intro-words { position: relative; width: 100%; height: 1.3em; text-align: center; font-family: Sora, Inter, system-ui, sans-serif; font-weight: 600; font-size: clamp(2.6rem, 12vw, 5.4rem); letter-spacing: -0.03em; line-height: 1.3; }
.intro-words span { position: absolute; inset: 0; opacity: 0; animation: introWord 0.48s ease both; }
.intro-words span:nth-child(1) { animation-delay: 0.1s; }
.intro-words span:nth-child(2) { animation-delay: 0.52s; }
.intro-words span:nth-child(3) { animation-delay: 0.94s; }
.intro-words span:nth-child(4) { animation-delay: 1.36s; }
.intro-brand { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; animation: introBrand 0.5s var(--spring) 1.8s forwards; }
.intro-brand img { width: 88px; height: 88px; }
.intro-brand b { font-family: "Archivo Black", Sora, sans-serif; font-weight: 400; font-size: 1.3rem; letter-spacing: 0.06em; }
.intro-skip { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@keyframes introWord { 0% { opacity: 0; transform: translateY(16px); } 25%, 72% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes introBrand { from { opacity: 0; transform: scale(0.75); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }
.no-intro .intro, .intro-done .intro, .motion-off .intro { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; --p: 0; }
.hero-stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.has-3d .hero { height: 185vh; height: 185svh; }
.has-3d .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
#hero-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s; }
.three-ready #hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); width: min(40vw, 160px); transform: translateX(-50%); transition: opacity 0.5s; }
.hero-fallback::before { content: ""; position: absolute; inset: -45%; border-radius: 50%; background: radial-gradient(circle, var(--orb-a), transparent 68%); }
.hero-fallback img { position: relative; width: 100%; height: auto; }
.three-ready .hero-fallback { opacity: 0; }
.hero-copy { position: relative; padding-top: calc(var(--nav-h) + 26px); padding-bottom: 36px; }
.hero-a { max-width: 640px; opacity: calc(1 - var(--p) * 3.4); transform: translateY(calc(var(--p) * -60px)); }
.hero-a h1 { margin: 14px 0 16px; }
.hero-a .lead { color: var(--muted); font-size: 1.05rem; max-width: 540px; }
.hero-a .lead strong { color: var(--text); font-weight: 500; }
.lead-more { display: none; }
@media (min-width: 640px) { .lead-more { display: inline; } }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; align-items: flex-start; }
.hero-actions .btn { width: 100%; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 0.86rem; color: var(--muted); }
.hero-note a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hero-b { display: none; }
.has-3d .hero-b {
  display: block; position: absolute; left: 20px; right: 20px; top: calc(var(--nav-h) + 26px); max-width: 560px;
  opacity: calc((var(--p) - 0.5) * 3.4); transform: translateY(calc((1 - var(--p)) * 50px)); pointer-events: none;
}
.hero-b h2 { margin: 14px 0 12px; }
.stack-label {
  position: absolute; left: 0; top: 0; padding: 8px 14px; border-radius: 14px; white-space: nowrap; text-align: center; display: none;
  background: var(--nav-bg); border: 1px solid var(--line); font-family: Sora, sans-serif; font-weight: 600; font-size: 0.85rem; opacity: calc((var(--p) - 0.72) * 5);
}
.three-ready .stack-label { display: block; }
.stack-label small { display: block; font-family: Inter, sans-serif; font-weight: 400; font-size: 0.72rem; color: var(--muted); }
.scroll-hint { display: none; }

/* ---------- Depth: back layer bands and overlapping content ---------- */
.depth { position: relative; isolation: isolate; }
.depth-back { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.depth-back img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
[data-theme="light"] .depth-back img { opacity: 0.14; }
/* A tinted band behind the section heading; the cards below cross its bottom edge. */
.band-section { position: relative; padding: 24px 0 72px; }
.band-head { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0 150px; }
.band-head .section-head { margin-bottom: 0; }
.band-pull { position: relative; margin-top: -118px; }

/* ---------- Problems: switch + flip cards ---------- */
.switch-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
.layer-switch { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; padding: 6px; font-family: Sora, sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--muted); }
.ls-track { position: relative; flex: none; width: 84px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); transition: background 0.3s, border-color 0.3s; }
.ls-knob { position: absolute; top: 4px; left: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform 0.45s var(--spring); }
.layer-switch[aria-checked="true"] .ls-track { background: var(--hl); border-color: var(--hl); }
.layer-switch[aria-checked="true"] .ls-knob { transform: translateX(40px); background: #F4EFFF; }
.layer-switch[aria-checked="false"] .ls-label.off, .layer-switch[aria-checked="true"] .ls-label.on { color: var(--text); }
.switch-hint { font-size: 0.8rem; color: var(--muted); }
.flip { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; perspective: 1100px; }
.flip-inner { display: grid; transform-style: preserve-3d; transition: transform 0.7s var(--ease); transition-delay: var(--f, 0s); }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip-face.back { transform: rotateY(180deg); background: var(--flip-back); border-color: var(--hl); }
.flip-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.back .flip-tag { color: var(--hl); }
.flip .icon-chip { margin: 6px 0 4px; }
.back .icon-chip { background: var(--hl); border-color: var(--hl); color: var(--bg); }
.flip strong { font-family: Sora, sans-serif; font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.flip-text { color: var(--muted); font-size: 0.94rem; }
.back .flip-text { color: var(--text); }

/* ---------- Free business check ---------- */
.check-wrap { max-width: 760px; margin: 0 auto; }
.check { min-height: 330px; padding: 26px 22px; }
.check-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.check-count { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.check-back, .check-again { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 0.9rem; padding: 6px 0; }
.check-back svg { width: 16px; height: 16px; }
.check-back:hover, .check-again:hover { color: var(--text); }
.check-bar { height: 4px; border-radius: 4px; background: var(--surface-2); margin: 12px 0 26px; overflow: hidden; }
.check-bar i { display: block; height: 100%; background: var(--hl); border-radius: 4px; transition: width 0.35s var(--ease); }
.check-q { font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; min-height: 3.9em; }
.check-q:focus, .check-verdict:focus { outline: none; }
.check-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.check-answers button { min-height: 54px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface-2); font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.check-answers button:hover { border-color: var(--text); }
.check-result { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.score { position: relative; flex: none; width: 92px; height: 92px; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 7; }
.score-bg { stroke: var(--surface-2); }
.score-fg { stroke: var(--hl); stroke-linecap: round; transition: stroke-dashoffset 0.8s var(--ease); }
.score b { position: absolute; inset: 0; display: grid; place-items: center; font-family: Sora, sans-serif; font-weight: 600; font-size: 1.7rem; }
.score b small { font-size: 0.9rem; color: var(--muted); margin-left: 1px; }
.score b { display: flex; align-items: center; justify-content: center; }
.check-verdict { font-size: clamp(1.2rem, 4.4vw, 1.55rem); margin-top: 4px; }
.check-sub { font-weight: 600; margin: 4px 0 12px; }
.gap-list { display: grid; gap: 10px; }
.gap-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.95rem; }
.gap-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--coral); }
.gap-list small { display: block; color: var(--hl); font-weight: 600; margin-top: 3px; }
.estimate { margin-top: 16px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line-strong); }
.estimate b { display: block; font-family: Sora, sans-serif; font-weight: 600; font-size: 1.9rem; line-height: 1.25; }
.estimate small { color: var(--muted); font-size: 0.85rem; }
.check-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; align-items: stretch; }

/* ---------- Industry selector ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.industry-panel { margin-top: 8px; padding: 0; display: grid; overflow: hidden; }
.ind-photo { border-radius: 0; aspect-ratio: 16 / 10; }
.ind-body { padding: 24px; }
.industry-panel h3 { font-size: clamp(1.3rem, 4.4vw, 1.9rem); margin-bottom: 18px; }
.suggest { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.suggest small { color: var(--muted); display: block; font-size: 0.8rem; }
.suggest strong { font-family: Sora, sans-serif; font-weight: 600; }
.suggest .btn { white-space: normal; }

/* ---------- Service cards: swipe rail on phones, grid on desktop ---------- */
.svc-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.svc-rail::-webkit-scrollbar { display: none; }
.service-card { flex: 0 0 82%; max-width: 340px; scroll-snap-align: center; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .photo { border-radius: 0; }
.sc-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.sc-body .outcome { color: var(--muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }
.sc-body p { margin: 8px 0 16px; color: var(--muted); font-size: 0.95rem; }
.foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.from { font-size: 0.82rem; color: var(--muted); }
.from b { display: block; font-family: Sora, sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--text); }
.swipe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.swipe-hint svg { width: 16px; height: 16px; }

/* ---------- Service detail ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 10px); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-visual { position: relative; margin-bottom: 18px; }
.svc-photo { box-shadow: var(--shadow); }
/* Front layer: a small piece of the result, overlapping the photo's edge. */
.front { position: absolute; z-index: 2; }
.chip-front { right: 12px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); max-width: 82%; }
.chip-front b { display: block; font-size: 0.92rem; }
.chip-front small { display: block; color: var(--muted); font-size: 0.78rem; }
.note-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--hl); color: #160F2A; flex: none; }
.note-icon svg { width: 18px; height: 18px; }
.nfc-front { right: -6px; bottom: -40px; width: min(62%, 280px); }
.svc-num { font-family: Sora, sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--muted); }
.svc-body h2 { font-size: clamp(1.6rem, 5.6vw, 2.5rem); margin: 6px 0 10px; }
.svc-body .outcome { font-family: Sora, sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--hl); margin-bottom: 10px; }
.svc-body .desc { color: var(--muted); margin-bottom: 22px; }
.detail-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

/* ---------- Realistic Google review NFC card ---------- */
.nfc-real { width: 100%; aspect-ratio: 1.586; perspective: 900px; }
.nfc-face {
  position: relative; height: 100%; border-radius: 14px; padding: 7% 7.5%; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #26262c 0%, #111114 48%, #050506 100%);
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex; flex-direction: column; container-type: inline-size;
}
.nfc-face::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%); pointer-events: none; }
.nfc-real.tilt .nfc-face { transform: rotateY(-12deg) rotateX(9deg) rotateZ(-3deg); }
.nfc-top { display: flex; align-items: center; justify-content: space-between; }
.g-logo { width: 13cqw; height: 13cqw; padding: 2.2cqw; background: #fff; border-radius: 50%; }
.nfc-tap { width: 9cqw; height: 9cqw; color: rgba(255, 255, 255, 0.85); }
.nfc-tap svg { width: 100%; height: 100%; }
.nfc-title { margin-top: auto; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 8.2cqw; line-height: 1.1; letter-spacing: -0.02em; }
.nfc-stars { color: #FBBC05; font-size: 6.4cqw; letter-spacing: 0.08em; line-height: 1.3; }
.nfc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw; margin-top: 3cqw; }
.nfc-foot span { font-size: 4.2cqw; font-weight: 600; line-height: 1.25; }
.nfc-foot small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.nfc-qr { width: 19cqw; height: 19cqw; border-radius: 3px; flex: none; }
.nfc-demo { display: block; width: min(100%, 320px); margin: 6px auto 0; cursor: pointer; position: relative; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.nfc-demo::after { content: "Tap the card"; display: block; text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.nfc-demo.tapped::after { content: "Review page opened. One tap, no searching."; color: var(--text); font-weight: 600; }
.nfc-demo .nfc-face::after { content: ""; position: absolute; right: 8%; top: 8%; width: 14%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.nfc-demo.tapped .nfc-face::after { animation: tapRing 0.9s ease-out; }
@keyframes tapRing { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(2.4); } }

/* ---------- Demos ---------- */
.demo-grid { display: grid; gap: 20px; }
.demo-card { padding: 26px 22px; }
.demo-card h3 { margin-bottom: 8px; }
.demo-card > p { color: var(--muted); margin-bottom: 22px; font-size: 0.96rem; }
.tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.phone { width: min(100%, 290px); margin: 0 auto; border-radius: 34px; border: 1px solid rgba(230, 210, 255, 0.25); background: #0f0a1e; padding: 10px; box-shadow: var(--shadow); color: #F4EFFF; }
.phone-screen { border-radius: 26px; background: linear-gradient(180deg, #1d1436, #130d25); height: 450px; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid rgba(230, 210, 255, 0.12); font-weight: 500; font-size: 0.9rem; }
.chat-head i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #6A3FD1, #C06BD8); flex: none; }
.chat-head small { display: block; color: #A79BC4; font-weight: 400; font-size: 0.72rem; }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.chat-body::-webkit-scrollbar { display: none; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 0.86rem; line-height: 1.45; }
.bubble.them { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 5px; }
.bubble.us { align-self: flex-end; background: linear-gradient(140deg, #5a35b8, #8a4fc9); border-bottom-right-radius: 5px; }
.bubble.typing { display: flex; gap: 4px; padding: 13px 14px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: #F4EFFF; animation: dot 1s ease-in-out infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 14px; border-top: 1px solid rgba(230, 210, 255, 0.12); min-height: 58px; }
.chat-chips button { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(231, 176, 245, 0.5); background: rgba(231, 176, 245, 0.1); color: #E7B0F5; font-size: 0.8rem; font-weight: 500; cursor: pointer; }
.chat-chips button:hover { background: #E7B0F5; color: #160F2A; }
.gbp { border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); padding: 16px; margin-bottom: 26px; }
.gbp-search { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px; background: var(--surface); font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.gbp-search svg { width: 16px; height: 16px; flex: none; }
.gbp-result { border-radius: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--hl); }
.gbp-result b { font-family: Sora, sans-serif; font-weight: 600; }
.gbp-result .meta { font-size: 0.8rem; color: var(--muted); margin: 2px 0 12px; }
.gbp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gbp-chips span { font-size: 0.74rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

/* ---------- How it works: line that fills as you read ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 58px; --fill: 0; }
.tl-line { position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tl-line i { position: absolute; inset: 0; background: var(--hl); transform-origin: top; transform: scaleY(var(--fill)); }
.tl-step { position: relative; opacity: 0.45; transition: opacity 0.4s; }
.tl-step.on { opacity: 1; }
.tl-dot { position: absolute; left: -58px; top: -6px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: Sora, sans-serif; font-weight: 600; background: var(--surface); border: 1px solid var(--line-strong); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.tl-step.on .tl-dot { background: var(--hl); border-color: var(--hl); color: var(--bg); }
.tl-step p { color: var(--muted); margin-top: 6px; font-size: 0.96rem; }
.delivery { display: flex; gap: 8px; justify-content: center; align-items: flex-start; margin-top: 26px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.delivery svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* ---------- Pricing ---------- */
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); margin-bottom: 26px; font-size: 0.95rem; }
.banner svg { width: 18px; height: 18px; color: var(--hl); flex: none; margin-top: 3px; }
.region { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.region button { position: relative; z-index: 1; min-height: 42px; padding: 0 20px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.region button[aria-pressed="true"] { color: var(--bg); }
.region .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--text); transition: transform 0.3s var(--ease), width 0.3s var(--ease); }
.region-sub { margin-top: 10px; font-size: 0.85rem; color: var(--muted); min-height: 1.4em; }
.region-wrap { margin-bottom: 30px; }
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 22px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.plan-num { font-family: Sora, sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.plan h3 { font-size: 1.35rem; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 16px 0 12px; }
.plan .price small { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.plan .price b { font-family: Sora, sans-serif; font-weight: 600; font-size: 2.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.per { color: var(--muted); font-size: 0.9rem; }
.plan .best { color: var(--muted); font-size: 0.95rem; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.inc-title { font-family: Sora, sans-serif; font-weight: 600; font-size: 0.95rem; margin: 20px 0 14px; }
.inc { display: grid; gap: 11px; margin-bottom: 22px; }
.inc li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.inc svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--hl); }
.best-for { font-size: 0.9rem; color: var(--muted); padding: 14px 16px; border-radius: 14px; background: var(--surface-2); margin-bottom: 22px; }
.best-for b { color: var(--text); font-weight: 600; }
.plan .btn { margin-top: auto; }
.price-tiles { display: grid; gap: 14px; }
.price-tile { display: flex; flex-direction: column; }
.price-tile h3 { margin-bottom: 6px; }
.price-tile p { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.price-tile .from { margin: auto 0 14px; }
.notes-card { margin-top: 28px; }
.notes-card h3 { margin-bottom: 14px; }
.notes { display: grid; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.notes li { padding-left: 18px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: Sora, sans-serif; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--text); transition: transform 0.25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding: 0 0 22px 2.6em; max-width: 680px; }
.faq-n { display: inline-block; width: 2.6em; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }

/* ---------- Coming soon ---------- */
.soon { text-align: center; overflow: hidden; }
.soon-word { font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(3.4rem, 19vw, 13rem); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; }
.soon-word .o { display: block; color: var(--hl); opacity: 0.4; }
.soon-word .f { display: block; color: var(--text); }
.soon p { max-width: 560px; margin: 26px auto 0; color: var(--muted); font-size: 1.05rem; }
.soon .hero-actions { align-items: center; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hl); margin-right: 4px; }

/* ---------- CTA band (overlaps the footer edge) ---------- */
.cta-section { padding-bottom: 0; margin-bottom: -70px; z-index: 2; }
.cta-band { position: relative; text-align: center; padding: 48px 24px; border-radius: 28px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 90% at 50% 0%, var(--orb-a), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 760px; margin: 14px auto 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 26px; }
.cta-alt { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 0.92rem; color: var(--muted); }
.cta-alt a { display: inline-flex; align-items: center; gap: 7px; word-break: break-word; }
.cta-alt a:hover { color: var(--text); }
.cta-alt svg { width: 16px; height: 16px; flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 52px) 0 28px; }
.page-hero h1 { font-size: clamp(2rem, 7.2vw, 3.8rem); margin: 14px 0 16px; max-width: 900px; }
.page-hero p { color: var(--muted); font-size: 1.06rem; max-width: 660px; }
.page-hero .hero-actions { margin-top: 24px; }

/* ---------- About ---------- */
.layers { position: relative; height: 320px; display: grid; place-items: center; perspective: 1300px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.layers::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, var(--orb-a), transparent 70%); }
.layers-inner { position: relative; width: 190px; height: 190px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.layer { position: absolute; inset: 0; border-radius: 34px; display: grid; place-items: center; font-family: "Archivo Black", Sora, sans-serif; font-size: 2.6rem; color: #160F2A; transition: transform 0.9s var(--spring); }
.layer.one { background: #F4EFFF; transform: translateZ(26px); box-shadow: 0 0 0 1px rgba(22, 15, 42, 0.1) inset; }
.layer.two { background: #E7B0F5; transform: translateZ(-26px); }
.layers.apart .layer.one { transform: translateZ(84px); }
.layers.apart .layer.two { transform: translateZ(-64px); }
.layer-tag { position: absolute; padding: 8px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: Sora, sans-serif; font-weight: 600; font-size: 0.82rem; opacity: 0; transition: opacity 0.4s 0.3s; white-space: nowrap; }
.layer-tag small { display: block; font-family: Inter, sans-serif; font-weight: 400; font-size: 0.72rem; color: var(--muted); }
.layer-tag.t1 { top: 14px; right: 4%; }
.layer-tag.t2 { bottom: 14px; left: 4%; }
.layers.apart .layer-tag { opacity: 1; }
.story { display: grid; gap: 22px; }
.story .big, p.big { font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(1.25rem, 4.6vw, 1.9rem); line-height: 1.35; letter-spacing: -0.015em; }
.big em { font-style: normal; color: var(--hl); }
.gaps { display: grid; gap: 10px; }
.gap-chip { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; box-shadow: var(--shadow); }
.gap-chip .icon-chip { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.people { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.person { text-align: center; padding: 24px 14px; }
.avatar { width: 78px; height: 92px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; font-family: "Archivo Black", Sora, sans-serif; font-size: 2.3rem; color: #160F2A; background: #F4EFFF; border: 1px solid var(--line); }
.person:nth-child(2) .avatar { background: #E7B0F5; }
.person h3 { font-size: 1.2rem; }
.person p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.x-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
.x-list li::before, .x-list li::after { content: ""; position: absolute; left: 2px; top: 0.72em; width: 13px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }
.do h3 { margin-bottom: 16px; }
.proof { text-align: center; padding: 40px 22px; }
.proof .big { max-width: 760px; margin: 14px auto 22px; font-size: clamp(1.5rem, 6vw, 2.6rem); line-height: 1.2; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field label, .field legend { display: block; font-size: 0.84rem; font-weight: 500; margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 1rem; transition: border-color 0.2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hl); }
.field.bad input, .field.bad select { border-color: var(--coral); }
.field .err { display: none; color: var(--coral); font-size: 0.8rem; margin-top: 5px; }
.field.bad .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.choices span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.9rem; font-weight: 500; }
.choices input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.choices input:focus-visible + span { outline: 2px solid var(--hl); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; }
.form-status { display: none; padding: 12px 14px; border-radius: 12px; font-size: 0.9rem; background: var(--surface-2); border: 1px solid var(--line-strong); }
.form-status.show { display: block; }
.two { display: grid; gap: 14px; }
.contact-grid { display: grid; gap: 20px; }
.contact-way { display: flex; align-items: center; gap: 16px; padding: 20px; }
.contact-way .icon-chip { margin: 0; }
.contact-way small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact-way b { font-weight: 500; word-break: break-word; }

/* ---------- Audit popup ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: end center; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 6, 22, 0.66); opacity: 0; transition: opacity 0.3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-shell { position: relative; width: 100%; max-width: 480px; padding: 1.5px; border-radius: 28px 28px 0 0; background: linear-gradient(135deg, #6A3FD1, #E7B0F5 50%, #3A2A8F); transform: translateY(100%); transition: transform 0.45s var(--spring); max-height: 94svh; display: flex; }
.modal.open .modal-shell { transform: none; }
.modal-card { position: relative; width: 100%; border-radius: 27px 27px 0 0; background: var(--surface); padding: 26px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal-close svg { width: 16px; height: 16px; }
.modal-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-right: 44px; }
.modal-art { flex: none; width: 60px; height: 60px; }
.modal-art svg { width: 100%; height: 100%; overflow: visible; }
.modal.open .modal-art .tile-l { animation: slideout 0.8s 0.25s var(--spring) both; }
@keyframes slideout { from { transform: translateX(-110px); opacity: 0; } }
.modal-card h2 { font-size: clamp(1.35rem, 5.4vw, 1.75rem); }
.modal-card .sub { color: var(--muted); font-size: 0.94rem; margin: 8px 0 18px; }
body.locked { overflow: hidden; }

/* ---------- Phone dock ---------- */
.dock { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; height: 64px; padding: 0 4px; border-radius: 22px; background: var(--nav-bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dock-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 0.68rem; color: var(--muted); }
.dock-item svg { width: 20px; height: 20px; color: var(--text); }
.dock-item[aria-current="page"], .dock-item[aria-current="page"] svg { color: var(--hl); }
.dock-main { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 0 0 9px; border: 0; background: none; cursor: pointer; color: var(--text); font-size: 0.68rem; font-weight: 600; }
.dock-main svg { box-sizing: border-box; width: 54px; height: 54px; padding: 15px; margin-top: -28px; border-radius: 50%; background: var(--coral); color: var(--on-coral); box-shadow: 0 0 0 5px var(--bg), var(--shadow-front); }
.wa-float { position: fixed; right: 16px; bottom: 84px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 120px 0 100px; background: var(--bg-2); }
.foot-top { display: flex; flex-direction: column; gap: 24px; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-top .brand { margin-bottom: 18px; }
.foot-top .wordmark { font-size: 1rem; }
.foot-tag { font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(1.4rem, 5.4vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 520px; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.92rem; word-break: break-word; }
.pill-link:hover { border-color: var(--text); }
.pill-link svg { width: 17px; height: 17px; flex: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.94rem; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-base { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--muted); }
.foot-switches { display: inline-flex; align-items: center; gap: 18px; }

/* ---------- Legal / thank you ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.thanks img { width: 110px; margin: 0 auto 26px; }
.thanks p { color: var(--muted); max-width: 480px; margin: 16px auto 28px; }

/* ================= Tablet and up ================= */
@media (min-width: 400px) {
  .wordmark { font-size: 0.85rem; }
}
@media (min-width: 640px) {
  .hero-actions .btn { width: auto; }
  .two { grid-template-columns: 1fr 1fr; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; }
  .plans, .price-tiles { grid-template-columns: 1fr 1fr; }
  .service-card { flex-basis: 46%; }
  .gaps { grid-template-columns: repeat(3, 1fr); }
  .gap-chip { flex-direction: column; align-items: flex-start; }
  .check { padding: 34px 34px 30px; }
  .check-actions { flex-direction: row; align-items: center; }
  .modal { place-items: center; padding: 20px; }
  .modal-shell { border-radius: 28px; transform: translateY(30px) scale(0.95); opacity: 0; transition: transform 0.4s var(--spring), opacity 0.25s; }
  .modal.open .modal-shell { opacity: 1; }
  .modal-card { border-radius: 27px; padding: 32px 30px 26px; }
  .cta-band { padding: 64px 40px; }
  .detail-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ================= Desktop ================= */
@media (min-width: 960px) {
  :root { --nav-h: 76px; }
  .container { padding: 0 32px; }
  .section { padding: 108px 0; }
  .section-head { margin-bottom: 50px; }
  .nav-toggle { display: none; }
  .nav-links { position: static; flex-direction: row; gap: 2px; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; margin-right: 10px; max-height: none; overflow: visible; }
  .nav-links a { padding: 8px 12px; font-size: 0.93rem; font-family: Inter, sans-serif; font-weight: 500; border: 0; border-radius: 999px; color: var(--muted); }
  .nav-links a:hover { color: var(--text); }
  .nav-links a[aria-current="page"] { color: var(--text); }
  .nav-contact { display: none; }
  .nav-icons, .nav-audit { display: flex; }
  .wordmark { font-size: 1rem; }
  .hero-stage { justify-content: center; }
  .hero-copy { padding-top: var(--nav-h); padding-bottom: 0; }
  .hero-a { max-width: 600px; }
  .hero-a .lead { font-size: 1.12rem; }
  .hero-fallback { left: auto; right: 9%; bottom: auto; top: 50%; width: min(30vw, 360px); transform: translateY(-50%); }
  .has-3d .hero-b { left: 32px; right: auto; top: 50%; margin-top: -90px; max-width: 520px; }
  .has-3d .scroll-hint { display: flex; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--p) * 6); }
  .stack-label { font-size: 0.95rem; padding: 10px 18px; }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .tabs { justify-content: center; overflow: visible; flex-wrap: wrap; }
  .industry-panel { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .ind-photo { aspect-ratio: auto; height: 100%; min-height: 380px; }
  .ind-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
  .suggest { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .demo-card { padding: 36px; }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding: 90px 0; align-items: center; }
  .svc:nth-child(even) .svc-visual { order: 2; }
  .svc-photo { aspect-ratio: 4 / 4.4; }
  .chip-front { right: -24px; bottom: 36px; }
  .nfc-front { right: -36px; bottom: -36px; width: 300px; }
  .timeline { grid-template-columns: repeat(4, 1fr); padding: 66px 0 0; gap: 30px; }
  .tl-line { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .tl-line i { transform-origin: left; transform: scaleX(var(--fill)); }
  .tl-dot { left: 0; top: -66px; }
  .price-tiles { grid-template-columns: repeat(4, 1fr); }
  .plan { padding: 34px 30px; }
  .foot-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .story { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
  .story.flip-side > :first-child { order: 2; }
  .layers { height: 420px; }
  .layers-inner { width: 240px; height: 240px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
  .proof { padding: 72px 48px; }
  .cta-band { padding: 84px 56px; }
  .dock { display: none; }
  .site-footer { padding-bottom: 32px; }
  .wa-float { bottom: 18px; }
}
@media (min-width: 1120px) {
  .svc-rail { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .service-card { max-width: none; }
  .swipe-hint { display: none; }
}
/* Very short phones: keep the hero copy clear of the static logo. */
@media (max-width: 959px) and (max-height: 700px) {
  .hero-fallback { display: none; }
}

/* ---------- Motion off switch (also set automatically for reduced-motion users) ---------- */
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
.motion-off { scroll-behavior: auto; }
