/* Sigil South · Preview v20 · HANDSET
   Strata's near-black world. One hero moment: the phone beside the headline. Then a calm page. */

:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --bg-2: #0e1115;
  --surface: #12151a;
  --surface-2: #171b21;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #eef0f3;
  --text-2: #aab0b9;
  --muted: #737a85;
  --accent: #4f7dff;
  --on-accent: #ffffff;
  --display: "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-body: clamp(17px, 0.25vw + 16px, 18.5px);
  --fs-lede: clamp(18px, 0.4vw + 16.5px, 21px);
  --gutter: clamp(16px, 4vw, 48px);
  --space-section: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); }
h2 { font-weight: 800; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 700; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- Particle field ---------- */
.depth { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .nav, .foot { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(11, 13, 16, 0.55); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand span { font: 800 17px/1 var(--display); letter-spacing: -0.02em; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav nav a { position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color 0.2s; }
.nav nav a:not(.go)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav nav a:not(.go):hover, .nav nav a.here { color: var(--text); }
.nav nav a:not(.go):hover::after, .nav nav a.here::after { transform: scaleX(1); }
.nav .go { color: var(--on-accent); background: var(--accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: background 0.2s; }
.nav .go:hover { background: #fff; }

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font: 700 17px/1 var(--sans); color: var(--on-accent); background: var(--accent); padding: 20px 30px; border-radius: 10px; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateX(-102%); transition: transform 0.5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn span { position: relative; }
.link { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 7px; text-decoration-thickness: 1.5px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--accent); }

/* ---------- Section rhythm ---------- */
.section { padding: var(--space-section) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head p { color: var(--text-2); max-width: 44ch; justify-self: end; font-size: var(--fs-lede); line-height: 1.55; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--text-2); max-width: 34em; }

/* ---------- Entrance reveals: once, 500ms ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.55s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .way:nth-child(2), html.js .spec:nth-child(2) { transition-delay: 0.08s; }
html.js .way:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { display: grid; gap: 32px; justify-items: start; }
h1 { font-weight: 800; font-size: clamp(56px, 9.7vw, 140px); line-height: 0.92; letter-spacing: -0.05em; }
h1 em { font-style: normal; color: var(--accent); }
h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
h1 .line span { display: inline-block; }
h1 .line.sub { margin-top: 0.18em; font-size: 0.34em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-2); }
html.fx h1 .line span { transform: translateY(110%); animation: up 1.1s var(--ease) forwards; }
html.fx h1 .line:nth-child(2) span { animation-delay: 0.1s; }
html.fx h1 .line:nth-child(3) span { animation-delay: 0.2s; }
html.fx .rise { animation: fade 1s var(--ease) 0.55s both; }
@keyframes up { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero-meta { display: flex; gap: 28px; }
.hero-meta span + span::before { content: "·"; margin-right: 28px; color: var(--line-2); }

.hero-stage { position: relative; justify-self: center; display: grid; justify-items: center; gap: 36px; }
.stage-tag { text-align: center; }
html.fx .stage-tag { animation: fade 1s var(--ease) 1s both; }

/* ---------- The phone (CSS 3D) ---------- */
.phone { --rx: 0deg; --ry: 0deg; position: relative; width: 300px; height: 612px; perspective: 1200px; perspective-origin: 50% 40%; }
.device { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(7deg + var(--rx))) rotateY(calc(-20deg + var(--ry))); will-change: transform; }
html.fx .hero-stage .phone { opacity: 0; animation: fadeonly 1.4s var(--ease) 0.35s forwards; }
html.fx .hero-stage .device { animation: float 7s ease-in-out 1.5s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes fadeonly { to { opacity: 1; } }
.back { position: absolute; inset: 0; border-radius: 48px; background: #08090b; transform: translateZ(-12px); box-shadow: 0 0 0 1px #2a2d33; }
.shell { position: absolute; inset: 0; border-radius: 48px; background: linear-gradient(160deg, #2c3037, #14171b 45%, #1c2025); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.06); transform: translateZ(-1px); }
.shell::before { content: ""; position: absolute; right: -4px; top: 150px; width: 4px; height: 62px; border-radius: 0 3px 3px 0; background: #22262b; }
.shell::after { content: ""; position: absolute; left: -4px; top: 120px; width: 4px; height: 30px; border-radius: 3px 0 0 3px; background: #22262b; box-shadow: 0 46px 0 #22262b, 0 92px 0 #22262b; }
.screen { position: absolute; inset: 10px; border-radius: 40px; background: #fff; transform-style: preserve-3d; font-family: var(--sans); color: #111; overflow: hidden; }
.screen::before { content: ""; position: absolute; z-index: 5; top: 10px; left: 50%; width: 68px; height: 20px; margin-left: -34px; border-radius: 12px; background: #111; transform: translateZ(2px); }
.glare { position: absolute; inset: 0; border-radius: 48px; background: linear-gradient(112deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 32%, rgba(255, 255, 255, 0) 55%); pointer-events: none; transform: translateZ(4px); }
.shadow { position: absolute; z-index: -1; left: -6%; right: -6%; bottom: -16%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45) 45%, transparent 72%); filter: blur(16px); pointer-events: none; }

/* screen layers (the after-state site) */
.ly { position: absolute; left: 0; right: 0; }
.ly-head { top: 0; height: 62px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 16px 8px; background: #fff; border-radius: 40px 40px 0 0; }
.s-logo { display: flex; align-items: center; gap: 6px; font: 700 13px/1 var(--sans); letter-spacing: -0.02em; }
.s-logo i { width: 12px; height: 9px; border-top: 4px solid #c2502a; border-bottom: 2px solid #c2502a; border-radius: 5px 5px 1px 1px; }
.ly-hero { top: 62px; height: 258px; padding: 10px 16px 0; background: #fff; }
.s-img { height: 138px; border-radius: 12px; background: #e8a57a url(storefront.svg) center / cover no-repeat; }
.s-h { margin-top: 14px; font: 700 22px/1.02 var(--sans); letter-spacing: -0.035em; }
.ly-hero p { margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: #6a6e75; }
.ly-cards { top: 326px; height: 46px; margin: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ly-cards span { display: grid; align-content: center; gap: 2px; padding: 0 8px; border: 1px solid #e7e0d4; border-radius: 9px; background: #faf8f4; font: 500 8.5px/1.2 var(--sans); color: #6a6e75; white-space: nowrap; overflow: hidden; }
.ly-cards b { font-size: 11px; font-weight: 700; color: #111; letter-spacing: -0.01em; }
.ly-rev { top: 384px; height: 32px; margin: 0 16px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6a6e75; }
.ly-rev .stars { color: #e1a128; letter-spacing: 0.08em; font-size: 12px; }
.ly-rev b { color: #111; }
.ly-text { top: 430px; margin: 0 16px; display: grid; gap: 8px; }
.ly-text span { height: 7px; border-radius: 4px; background: #e6e3dd; }
.ly-text .t1 { width: 92%; } .ly-text .t2 { width: 70%; } .ly-text .t3 { width: 55%; }
.ly-call { bottom: 0; height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--accent); color: var(--on-accent); font: 700 13.5px/1 var(--sans); letter-spacing: -0.01em; border-radius: 0 0 40px 40px; box-shadow: 0 -10px 40px -6px rgba(79, 125, 255, 0.55); }
.ly-call i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--on-accent); }
.ly-call i::before { content: ""; position: absolute; left: 6px; top: 4px; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.ly-call i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--on-accent); opacity: 0; }
html.fx .ly-call i::after { animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
/* the glow leaks off the glass, softly */
.hero-stage .phone::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -4%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse, rgba(79, 125, 255, 0.28), transparent 70%); filter: blur(22px); pointer-events: none; z-index: -1; }

/* ---------- What I do: one sentence, then panels that show the work ---------- */
.points { padding-top: clamp(24px, 4vw, 56px); }
.say { font-size: clamp(38px, 4.9vw, 70px); line-height: 1.06; letter-spacing: -0.04em; color: var(--muted); max-width: 19em; text-wrap: pretty; }
.say a { color: var(--text); text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.15em; text-decoration-color: rgba(255, 255, 255, 0.12); transition: text-decoration-color 0.25s, color 0.25s; }
.say a:hover { text-decoration-color: var(--accent); }
.say a:focus-visible { outline-offset: 4px; border-radius: 4px; }
/* words rise once, in phrase groups; the heading itself does not move */
html.js .say[data-reveal] { opacity: 1; transform: none; }
.say .w { position: relative; }
html.js .say .w { top: 0.5em; opacity: 0; transition: top 0.7s var(--ease), opacity 0.6s var(--ease); }
html.js .say.in .w { top: 0; opacity: 1; }
html.js .say .g2 { transition-delay: 0.07s; }
html.js .say .g3 { transition-delay: 0.14s; }
html.js .say .g4 { transition-delay: 0.21s; }
html.js .say .g5 { transition-delay: 0.28s; }
html.js .say .g6 { transition-delay: 0.35s; }
@media (min-width: 901px) { .say a { white-space: nowrap; } }
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 1.6vw, 24px); margin-top: clamp(56px, 7vw, 104px); }
.way { display: grid; align-content: start; gap: 12px; padding: 0 0 clamp(26px, 2.4vw, 34px); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.way h3 { margin: 22px clamp(20px, 2vw, 28px) 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; }
.way p { margin: 0 clamp(20px, 2vw, 28px); color: var(--text-2); max-width: 30em; font-size: 16.5px; line-height: 1.6; }
/* the phrase links in the sentence land here; the panel that was followed turns blue */
.way { grid-template-rows: auto auto 1fr auto; scroll-margin-top: 120px; transition: border-color 0.4s var(--ease); }
html.js .way[data-reveal] { transition-property: opacity, transform, border-color; transition-duration: 0.5s, 0.55s, 0.4s; }
.way:target { border-color: var(--accent); }
.way .way-note { padding-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* the vignette stage */
.vig { position: relative; height: 212px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%); font-family: var(--sans); }
:where(.vig) span, :where(.vig) b, :where(.vig) i { display: block; }
.in .vig .wf, .in .vf-page *, .in .vm-pin, .in .vb-page * { transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), border-color 0.6s var(--ease), color 0.6s var(--ease), opacity 0.6s var(--ease); }

/* Fix: a squashed fragment with a dead link straightens once */
.vf-page { width: min(78%, 224px); display: grid; gap: 9px; padding: 12px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.vf-bar { display: flex; align-items: center; gap: 6px; }
.vf-bar i { width: 10px; height: 10px; border-radius: 3px; background: var(--text-2); }
.vf-bar b { width: 18px; height: 4px; border-radius: 2px; background: var(--line-2); }
.vf-bar b:first-of-type { margin-left: auto; }
.vf-h { width: 72%; height: 8px; border-radius: 2px; background: var(--text); opacity: 0.85; }
.vf-row { display: grid; grid-template-columns: 42% 1fr; gap: 9px; align-items: start; }
.vf-img { height: 46px; border-radius: 4px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px var(--line); }
.vf-lines { display: grid; gap: 7px; padding-top: 3px; }
.vf-lines b { height: 4px; border-radius: 2px; background: var(--line-2); transform-origin: left; }
.vf-lines b:nth-child(2) { width: 86%; } .vf-lines b:nth-child(3) { width: 58%; }
.vf-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line); }
.vf-txt { font-size: 11px; font-weight: 600; letter-spacing: -0.005em; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.vf-code { display: grid; font: 500 9.5px/1 var(--mono); letter-spacing: 0.04em; }
.vf-code > span { grid-area: 1 / 1; padding: 4px 6px; border-radius: 4px; text-align: center; }
.vf-code .bad { color: #f0616d; box-shadow: inset 0 0 0 1px rgba(240, 97, 109, 0.5); opacity: 0; }
.vf-code .ok { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(79, 125, 255, 0.5); }
/* broken state, only while the panel waits to reveal (JS + motion on) */
html.fx .way-fix:not(.in) .vf-bar b { transform: translateY(5px); }
html.fx .way-fix:not(.in) .vf-h { transform: translate(22px, 2px) rotate(2.5deg) scaleX(0.8); }
html.fx .way-fix:not(.in) .vf-img { transform: translate(8px, 12px) rotate(-7deg) scale(0.86); }
html.fx .way-fix:not(.in) .vf-lines b { transform: translateX(-16px) scaleX(0.62); }
html.fx .way-fix:not(.in) .vf-lines b:nth-child(2) { transform: translate(-6px, 3px) rotate(4deg) scaleX(1.25); }
html.fx .way-fix:not(.in) .vf-txt { color: #f0616d; text-decoration-style: wavy; }
html.fx .way-fix:not(.in) .vf-code .bad { opacity: 1; }
html.fx .way-fix:not(.in) .vf-code .ok { opacity: 0; }
/* straighten after the panel has risen, one 600ms move */
html.fx .way-fix.in .vf-page * { transition-delay: 0.55s; }

/* Find: a map listing for a generic local shop */
.vm-card { width: min(84%, 248px); overflow: hidden; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.vm-map { position: relative; height: 62px; background-color: var(--bg-2);
  background-image:
    linear-gradient(90deg, transparent 41%, rgba(255, 255, 255, 0.09) 41%, rgba(255, 255, 255, 0.09) 44%, transparent 44%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.09) 58%, rgba(255, 255, 255, 0.09) 64%, transparent 64%),
    linear-gradient(24deg, transparent 70%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.05) 73%, transparent 73%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 18px 18px, 18px 18px;
  border-bottom: 1px solid var(--line); }
.vm-pin { position: absolute; left: calc(41% + 10px); top: 13px; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); box-shadow: 0 0 0 2px var(--bg-2); }
.vm-pin::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--on-accent); }
html.fx .way-find:not(.in) .vm-pin { opacity: 0; transform: translateY(-10px) rotate(-45deg); }
html.fx .way-find.in .vm-pin { transition-delay: 0.45s; }
.vm-body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.vm-name { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.vm-rate { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.vm-rate b { color: var(--text-2); font-weight: 600; }
.vm-stars { color: var(--text-2); letter-spacing: 0.06em; font-size: 10px; }
.vm-open { font-size: 10.5px; color: var(--text-2); }
.vm-open em { font-style: normal; font-weight: 600; color: var(--accent); }
.vm-acts { display: flex; gap: 6px; margin-top: 6px; }
.vm-acts > span { padding: 6px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 600; line-height: 1; }
.vm-go { background: var(--accent); color: var(--on-accent); }
.vm-call { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* Build: a browser frame, wireframe boxes that fill in */
.vb-win { width: min(86%, 300px); overflow: hidden; border-radius: 8px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.vb-chrome { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-bottom: 1px solid var(--line); background: var(--surface); }
.vb-chrome i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.vb-url { margin: 0 auto; padding: 2px 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); font: 400 8.5px/1.2 var(--mono); color: var(--muted); }
.vb-page { display: grid; gap: 12px; padding: 10px 10px 14px; }
.vb-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.vb-nav { display: flex; gap: 5px; }
.vb-nav .wf { width: 16px; height: 5px; }
.vb-logo { width: 30px; height: 8px; }
.vb-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px; align-items: start; }
.vb-copy { display: grid; gap: 6px; }
.vb-t1 { height: 10px; } .vb-t2 { height: 10px; width: 72%; } .vb-t3 { height: 5px; width: 90%; margin-top: 3px; }
.vb-btn { width: 54px; height: 15px; margin-top: 6px; }
.vb-pic { height: 72px; }
.wf { border-radius: 3px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.1); }
.vb-t1, .vb-t2, .vb-logo { background: rgba(238, 240, 243, 0.82); }
.vb-pic { position: relative; background-color: rgba(255, 255, 255, 0.08); }
.vb-pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 70%); transition: opacity 0.6s var(--ease) 0.86s; }
html.fx .way-build:not(.in) .vb-pic::after { opacity: 0; transition: none; }
.vb-btn { background: var(--accent); }
html.fx .way-build:not(.in) .wf { background: transparent; border-color: var(--line-2); }
html.fx .way-build.in .vb-head .wf { transition-delay: 0.5s; }
html.fx .way-build.in .vb-t1 { transition-delay: 0.62s; }
html.fx .way-build.in .vb-t2 { transition-delay: 0.7s; }
html.fx .way-build.in .vb-t3 { transition-delay: 0.78s; }
html.fx .way-build.in .vb-pic { transition-delay: 0.86s; }
html.fx .way-build.in .vb-btn { transition-delay: 1s; }

/* ---------- Before/after slider ---------- */
.demo { margin: 0; display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px clamp(28px, 3.5vw, 56px); }
.demo-top { grid-column: 1; display: flex; justify-content: space-between; }
.demo-top .t-after { color: var(--text); }
.demo-top .t-hint { color: var(--text-2); }
.compare { grid-column: 1; --pos: 30%; container: cmp / inline-size; position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 14px;
  background: #000; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 70px 120px -50px rgba(0, 0, 0, 0.95), 0 0 120px -30px rgba(79, 125, 255, 0.14); }
.demo-side { grid-column: 2; grid-row: 2; align-self: center; display: grid; gap: 22px; }
.pane { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.after { clip-path: inset(0 0 0 var(--pos)); }
.chrome { flex: none; height: 3.6cqw; display: flex; align-items: center; gap: 0.8cqw; padding: 0 1.6cqw; background: #e4e6ea; border-bottom: 1px solid #c9ccd2; }
.chrome i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #b7bcc4; }
.chrome span { margin-left: 1.2cqw; flex: 1; max-width: 46cqw; background: #fff; border-radius: 0.6cqw; padding: 0.35cqw 1.2cqw; font: 400 1.2cqw/1.2 system-ui, sans-serif; color: #5b616b; white-space: nowrap; overflow: hidden; }
.after .chrome span { margin-left: auto; margin-right: auto; text-align: center; }

/* before (dated) */
.old { flex: 1; background: #efe9d8; color: #222; font-family: "Times New Roman", Times, serif; display: flex; flex-direction: column; }
.old-banner { padding: 2cqw 3cqw 1.6cqw; background: linear-gradient(180deg, #6b1712, #2a0c0a); border-bottom: 0.4cqw ridge #b88c3a; }
.old-logo { font: 700 3.3cqw/1.1 Georgia, serif; color: #f2cd6e; text-shadow: 0.2cqw 0.2cqw 0 #000; }
.old-tag { font: italic 1.6cqw/1.4 "Times New Roman", serif; color: #fff27a; margin-top: 0.4cqw; }
.old-nav { display: flex; flex-wrap: wrap; gap: 0.3cqw; padding: 0.6cqw 1cqw; background: #8b8b8b; }
.old-nav span { font: 700 1.25cqw/1 Arial, sans-serif; color: #102a8c; padding: 0.6cqw 1cqw; background: linear-gradient(#f4f4f4, #b9b9b9); border: 1px solid; border-color: #fff #666 #666 #fff; }
.old-cols { flex: 1; display: grid; grid-template-columns: 22cqw 1fr; gap: 2.4cqw; padding: 2.2cqw 2.4cqw; }
.old-side { background: #dbe4f3; border: 1px solid #7488b5; font: 1.3cqw/1.5 Arial, sans-serif; align-self: start; }
.old-side b { display: block; background: #2b4c8c; color: #fff; padding: 0.6cqw 1cqw; font-size: 1.35cqw; }
.old-side ul { margin: 0; padding: 0.8cqw 1cqw 0.8cqw 3cqw; color: #1a37c4; text-decoration: underline; list-style: disc; }
.old-badge { margin: 0 1cqw 1cqw; padding: 0.8cqw; border: 1px dashed #7488b5; text-align: center; font: italic 700 1.2cqw/1.3 "Comic Sans MS", "Comic Sans", cursive; color: #8a1d1d; background: #fffbe0; }
.old-h { font: italic 3.4cqw/1.1 "Times New Roman", serif; color: #1f2f6b; text-decoration: underline; text-decoration-color: #c7b88d; margin-bottom: 1.2cqw; }
.old-main p { font-size: 1.45cqw; line-height: 1.5; margin-bottom: 1.4cqw; }
.old-photo { height: 13cqw; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #c9c3b2 0 1cqw, #bfb9a7 1cqw 2cqw); border: 0.3cqw inset #999; margin-bottom: 1.4cqw; }
.old-photo span { font: italic 1.3cqw Arial, sans-serif; color: #6c6656; background: #efe9d8; padding: 0.3cqw 0.8cqw; }
.old-main .old-link { color: #1a37c4; text-decoration: underline; font-weight: 700; }
.old-main .old-small { font: 1.05cqw/1.4 Arial, sans-serif; color: #777; margin: 0; }
.old-counter { font-family: "Courier New", monospace; background: #000; color: #3f0; padding: 0 0.4cqw; letter-spacing: 0.1em; }

/* after (modern) */
.new { position: relative; flex: 1; background: #f7f4ee; color: #17191d; font-family: var(--sans); display: flex; flex-direction: column; }
.new-top { display: flex; align-items: center; gap: 3cqw; padding: 1.6cqw 3.5cqw; border-bottom: 1px solid #e4ddd1; }
.new-logo { display: flex; align-items: center; gap: 1cqw; font-weight: 700; font-size: 1.8cqw; letter-spacing: -0.02em; }
.new-logo i { width: 2.2cqw; height: 2.2cqw; position: relative; }
.new-logo i::before { content: ""; position: absolute; left: 0.2cqw; top: 0.55cqw; width: 1.8cqw; height: 1.3cqw; border-top: 0.6cqw solid #c2502a; border-bottom: 0.3cqw solid #c2502a; border-radius: 0.8cqw 0.8cqw 0.1cqw 0.1cqw; }
.new-links { display: flex; gap: 2.4cqw; margin-left: auto; font-size: 1.4cqw; font-weight: 500; color: #575b63; }
.new-hero { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 4cqw; padding: 3.2cqw 3.5cqw 3cqw; align-items: center; }
.new-img { order: -1; aspect-ratio: 4 / 5; border-radius: 1cqw; background: #e8a57a url(storefront.svg) center / cover no-repeat; box-shadow: 0 1.5cqw 3cqw -1.5cqw rgba(60, 30, 10, 0.35); }
.new-h { text-wrap: balance; font-size: 3.7cqw; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: #121418; }
.new-copy p { font-size: 1.65cqw; color: #565a61; margin: 1.6cqw 0 2.2cqw; line-height: 1.45; }
.new-btns { display: flex; gap: 1cqw; }
.new-btn { background: #c2502a; color: #fff; font-weight: 600; font-size: 1.45cqw; padding: 1.2cqw 2cqw; border-radius: 0.6cqw; box-shadow: 0 0.8cqw 1.6cqw -0.8cqw rgba(194, 80, 42, 0.7); }
.new-ghost { align-self: center; font-weight: 600; font-size: 1.45cqw; padding: 1.2cqw 0.6cqw; color: #2a2d33; text-decoration: underline; text-decoration-color: #c9c1b3; text-underline-offset: 0.4cqw; text-decoration-thickness: 1px; white-space: nowrap; }
.new-rating { display: flex; align-items: center; gap: 0.8cqw; margin-top: 2.4cqw; font-size: 1.35cqw; color: #565a61; }
.new-rating .stars { color: #e1a128; letter-spacing: 0.1em; font-size: 1.5cqw; }
.new-rating b { color: #17191d; }
.new-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; padding: 0 22cqw 0 3.5cqw; }
.new-services span { display: block; background: #fff; border: 1px solid #e7e0d4; border-radius: 0.8cqw; padding: 1.3cqw 1.4cqw; font-size: 1.15cqw; line-height: 1.35; color: #6a6e75; }
.new-services b { display: block; font-size: 1.45cqw; color: #17191d; margin-bottom: 0.3cqw; }
/* Demo phone: a miniature of the hero phone. --u is one unit of the hero phone's 300-unit-wide screen. */
.new-phone { --u: calc(9.9cqw / 300); position: absolute; right: 3.5cqw; bottom: 2.4cqw; width: 11cqw; height: 22cqw; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 0.55cqw solid #17191d; border-radius: 2cqw; box-shadow: 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, 0.45); color: #111; font-family: var(--sans); }
.mp-notch { position: absolute; top: calc(var(--u) * 10); left: 50%; width: calc(var(--u) * 92); height: calc(var(--u) * 24); transform: translateX(-50%); background: #17191d; border-radius: calc(var(--u) * 12); }
.mp-head { flex: none; height: calc(var(--u) * 62); display: flex; align-items: flex-end; justify-content: space-between; padding: 0 calc(var(--u) * 16) calc(var(--u) * 8); }
.mp-logo { display: flex; align-items: center; gap: calc(var(--u) * 6); font-weight: 700; font-size: calc(var(--u) * 13); letter-spacing: -0.02em; white-space: nowrap; }
.mp-logo i { width: calc(var(--u) * 12); height: calc(var(--u) * 9); border-top: calc(var(--u) * 4) solid #c2502a; border-bottom: calc(var(--u) * 2) solid #c2502a; border-radius: calc(var(--u) * 5) calc(var(--u) * 5) calc(var(--u) * 1) calc(var(--u) * 1); }
.mp-img { flex: none; height: calc(var(--u) * 138); margin: calc(var(--u) * 10) calc(var(--u) * 16) 0; border-radius: calc(var(--u) * 12); background: #e8a57a url(storefront.svg) center / cover no-repeat; }
.mp-h { margin: calc(var(--u) * 14) calc(var(--u) * 16) 0; font-weight: 700; font-size: calc(var(--u) * 22); line-height: 1.02; letter-spacing: -0.035em; }
.mp-p { margin: calc(var(--u) * 8) calc(var(--u) * 16) 0; font-size: calc(var(--u) * 11.5); line-height: 1.4; color: #6a6e75; }
.mp-cards { flex: none; height: calc(var(--u) * 46); margin: calc(var(--u) * 14) calc(var(--u) * 16) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 6); }
.mp-cards span { display: grid; align-content: center; gap: calc(var(--u) * 2); padding: 0 calc(var(--u) * 8); border: 1px solid #e7e0d4; border-radius: calc(var(--u) * 9); background: #faf8f4; font-weight: 500; font-size: calc(var(--u) * 8.5); line-height: 1.2; color: #6a6e75; white-space: nowrap; overflow: hidden; }
.mp-cards b { font-size: calc(var(--u) * 11); font-weight: 700; color: #111; }
.mp-rev { flex: none; margin: calc(var(--u) * 12) calc(var(--u) * 16) 0; display: flex; align-items: center; gap: calc(var(--u) * 6); font-size: calc(var(--u) * 11); color: #6a6e75; white-space: nowrap; }
.mp-rev span { color: #e1a128; letter-spacing: 0.08em; font-size: calc(var(--u) * 12); }
.mp-rev b { color: #111; }
.mp-text { margin: calc(var(--u) * 14) calc(var(--u) * 16) 0; display: grid; gap: calc(var(--u) * 8); }
.mp-text i { height: calc(var(--u) * 7); border-radius: calc(var(--u) * 4); background: #e6e3dd; }
.mp-text i:nth-child(1) { width: 92%; } .mp-text i:nth-child(2) { width: 70%; } .mp-text i:nth-child(3) { width: 55%; }
.mp-call { margin-top: auto; flex: none; height: calc(var(--u) * 56); display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 9); background: #c2502a; color: #fff; font-weight: 700; font-size: calc(var(--u) * 13.5); letter-spacing: -0.01em; }
.mp-call i { position: relative; width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-radius: 50%; background: #fff; }
.mp-call i::before { content: ""; position: absolute; left: calc(var(--u) * 6); top: calc(var(--u) * 4); width: calc(var(--u) * 8); height: calc(var(--u) * 8); border: calc(var(--u) * 2) solid #c2502a; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }

.notes { position: absolute; inset: 0; pointer-events: none; }
.note { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 500 max(10px, 1.3cqw)/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); background: rgba(11, 13, 16, 0.92); padding: 6px 10px 6px 6px; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 24px -10px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; }
.note b { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 4px; background: #fff; color: #0b0d10; font-weight: 700; }
.note::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.6); }
.note.on { opacity: 1; transform: none; }
.n1 { top: 36.9%; left: 62%; } .n1::after { height: 1px; width: 12px; right: 100%; top: 50%; }
.n2 { top: 47%; left: 67.5%; } .n2::after { height: 1px; width: 12px; right: 100%; top: 50%; }
.n3 { top: 55.7%; left: 63%; } .n3::after { height: 1px; width: 10px; right: 100%; top: 50%; }
.n4 { bottom: 5.5%; right: 20%; } .n4::after { height: 1px; width: 2.6cqw; left: 100%; top: 50%; }

/* white 2px handle with a soft white glow, round white-ring grip (ported from Lens) */
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 18px rgba(255, 255, 255, 0.45); }
.grip { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--bg); box-shadow: 0 0 0 2px #fff, 0 0 0 9px rgba(255, 255, 255, 0.12), 0 0 44px rgba(255, 255, 255, 0.35), 0 14px 30px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.grip::before, .grip::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.grip::before { left: 14px; transform: rotate(-45deg); } .grip::after { right: 14px; transform: rotate(135deg); }
.compare:hover .grip, .compare.dragging .grip { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 2px #fff, 0 0 0 14px rgba(255, 255, 255, 0.14), 0 0 60px rgba(255, 255, 255, 0.4), 0 14px 30px rgba(0, 0, 0, 0.6); }
.compare:has(input:focus-visible) .grip { outline: 2px solid #fff; outline-offset: 4px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }

figcaption { font-size: 14px; color: var(--muted); letter-spacing: 0.01em; }
.legend { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.legend li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); transition: color 0.3s; }
.legend b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font: 500 13px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); transition: color 0.3s, background 0.3s, border-color 0.3s; }
.legend li.on { color: var(--text); }
.legend li.on b { color: #0b0d10; background: #fff; border-color: #fff; }

/* ---------- Work ---------- */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }
.frame { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(0, 0, 0, 0.9); transition: box-shadow 0.4s var(--ease); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease); }
.frame:hover { box-shadow: 0 0 0 1px var(--line-2), 0 60px 100px -50px rgba(0, 0, 0, 0.95); }
.frame:hover img, .frame:focus-visible img { transform: scale(1.04); }
.frame-veil { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; color: var(--text); background: linear-gradient(180deg, rgba(11, 13, 16, 0), rgba(11, 13, 16, 0.92)); transform: translateY(100%); transition: transform 0.5s var(--ease); }
.frame:hover .frame-veil, .frame:focus-visible .frame-veil { transform: none; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:first-child { border-top: 1px solid var(--line-2); }
.spec-table th { width: 104px; text-align: left; vertical-align: top; padding: 16px 16px 14px 0; font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spec-table td { padding: 12px 0; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.spec-table tr:first-child td { font: 800 24px/1.25 var(--display); letter-spacing: -0.02em; color: var(--text); }
.spec-table a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; overflow-wrap: anywhere; }
.spec-table a:hover { text-decoration-color: var(--accent); }

/* ---------- Pricing: three unequal columns, static ---------- */
.prices { display: block; width: 100%; border-collapse: collapse; }
.prices tbody { display: grid; grid-template-columns: 1fr 1.05fr 1.3fr; }
.prices tbody tr { display: grid; grid-template-rows: auto auto 1fr auto; padding: clamp(28px, 3vw, 44px) clamp(22px, 2.8vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prices tbody tr + tr { border-left: 1px solid var(--line); }
.prices tbody th, .prices tbody td { padding: 0; text-align: left; display: block; }
.prices tbody th { order: 1; font: 700 18px/1.2 var(--sans); color: var(--text-2); }
.prices tbody td.num { order: 2; margin: 18px 0 26px; }
.prices tbody td.what { order: 3; font-size: 16.5px; line-height: 1.55; color: var(--text-2); max-width: 30em; }
.prices tbody td.when { order: 4; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); }
.price { display: inline-block; font: 800 clamp(56px, 6.8vw, 96px)/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.price sup { font-size: 0.4em; font-weight: 700; vertical-align: top; position: relative; top: 0.28em; margin-right: 0.08em; color: var(--text-2); letter-spacing: 0; }
.note-line { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* ---------- Process: four rows, large outlined numerals that fill once in view (ported from Lens) ---------- */
.proc-steps { border-top: 1px solid var(--line-2); }
.proc-step { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0 48px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.proc-num { position: relative; display: block; width: max-content; font: 800 clamp(120px, 15vw, 220px)/0.9 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.proc-outline { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.proc-fill { position: absolute; inset: 0; color: var(--accent); -webkit-text-stroke: 1.5px var(--accent); clip-path: inset(100% 0 0 0); }
html.fx .proc-fill { transition: clip-path 0.7s var(--ease) 0.1s; }
.proc-step.in .proc-fill { clip-path: inset(0 0 0 0); }
html:not(.fx) .proc-fill { clip-path: none; }
.proc-text { max-width: 44ch; }
.proc-text h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.proc-text p { margin-top: 10px; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-copy h2 { margin-bottom: 26px; }
.mail { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mail a { font-size: clamp(20px, 0.6vw + 16px, 24px); font-weight: 700; letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; overflow-wrap: anywhere; }
.mail a:hover { text-decoration-color: var(--accent); }
.qform { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.field small { color: var(--muted); font-size: 12.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field textarea { width: 100%; font: 400 17px/1.5 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 125, 255, 0.25); }
.qform .btn { justify-self: start; margin-top: 4px; }
.form-msg { font-size: 15px; color: var(--text-2); }
.form-msg:empty { display: none; }
.form-msg:not(:empty)::before { content: "Preview: "; font-weight: 700; color: var(--text); }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { font: 800 17px/1 var(--display); letter-spacing: -0.02em; }
.foot p { font-size: 15px; color: var(--text-2); }
.foot a { text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.foot a:hover { text-decoration-color: var(--accent); }
.foot .copy { margin-left: auto; color: var(--muted); font-size: 14px; }
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  h1 { font-size: clamp(56px, 8.6vw, 120px); }
}
@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr; }
  .demo-side { grid-column: 1; grid-row: auto; }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .proc-step { grid-template-columns: 200px minmax(0, 1fr); }
  .proc-num { font-size: 150px; }
}
@media (max-width: 900px) {
  /* The phone sits under the headline as a flat framed screen */
  .hero { min-height: 0; padding: calc(var(--nav-h) + 40px) 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-stage { gap: 24px; }
  .phone { perspective: none; width: 300px; height: 612px; }
  .device { transform: none; }
  .back, .shadow, .glare, .hero-stage .phone::after { display: none; }
  .shell { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 70px -40px rgba(0, 0, 0, 0.9); }
  .shell::before, .shell::after { display: none; }
  html.fx .hero-stage .device { animation: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .specs, .contact-grid { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; gap: 16px; }
  .way h3 { margin-top: 14px; }
  .way .way-note { padding-top: 6px; }
  .foot .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 760px) {
  .prices tbody { grid-template-columns: 1fr; }
  .prices tbody tr + tr { border-top: 0; border-left: 0; }
  .prices tbody tr { grid-template-rows: auto auto auto auto; padding: 28px 0; }
  .prices tbody td.num { margin: 14px 0 18px; }
  .prices tbody td.when { margin-top: 20px; padding-top: 14px; }
  .price { font-size: clamp(48px, 14vw, 64px); }
  .proc-step { grid-template-columns: 1fr; gap: 6px 0; padding: 26px 0; }
  .proc-num { font-size: 110px; }
}
@media (max-width: 700px) {
  .nav .wrap { min-height: 60px; gap: 12px; }
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 14.5px; }
  .nav .go { display: none; }
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 84px; }
  .mobile-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 45; height: 54px; border-radius: 10px;
    background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.8); transition: transform 0.3s, opacity 0.3s; }
  .mobile-cta.hide { transform: translateY(140%); opacity: 0; }
  .hero { padding-top: calc(60px + 32px); }
  .hero-copy { gap: 24px; }
  .hero .cta-row .btn { display: none; }
  .hero .link { font-size: 18px; }
  h1 { font-size: clamp(50px, 15.2vw, 72px); letter-spacing: -0.045em; }
  .hero-meta { display: grid; gap: 6px; }
  .hero-meta span + span::before { display: none; }
  .demo-top .t-hint { display: none; }
  .legend { grid-template-columns: 1fr; }
  .demo-side { margin-top: 8px; }
}
@media (max-width: 400px) {
  .nav nav { gap: 13px; }
  .nav nav a { font-size: 14px; }
  .brand span { font-size: 16px; }
}
@container cmp (max-width: 560px) { .notes { display: none; } .new-links { font-size: 2.2cqw; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  h1 .line span, .rise, .stage-tag { animation: none; transform: none; opacity: 1; }
  h1 .line.sub { margin-top: 0.18em; }
  .hero-stage .phone { animation: none; opacity: 1; }
  .hero-stage .device { animation: none; }
  .ly-call i::after { animation: none; }
  .vig * { transition: none !important; }
  html.js .say .w { top: 0; opacity: 1; }
}
