/* Core Plan Studio — design system
   Type: Geist (SIL Open Font License, self-hosted) with system fallbacks.
   Palette: warm-neutral greys, near-black ink, one restrained cobalt accent. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin.woff2) format('woff2'); }

:root {
  --bg: #fbfbfa;
  --bg-2: #f3f3f1;
  --surface: #ffffff;
  --ink: #18181a;
  --ink-2: #3a3a3e;
  --muted: #6c6c72;
  --faint: #707076;
  --line: #e4e4e1;
  --line-2: #d4d4d0;
  --accent: #2f54c9;
  --accent-soft: #e9eefb;
  --ok: #1f7a4d;
  --warn: #9a5b00;
  --danger: #b3261e;
  --night: #0c0c0d;
  --night-2: #161618;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.display { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; max-width: 18ch; }
.h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.028em; max-width: 24ch; }
.h3 { font-size: 1.3rem; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 58ch; margin: 18px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--mono); }
.text-grad { background: linear-gradient(90deg, var(--ink) 0%, #5b5b62 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 0; max-width: 46ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.dark { background: var(--night); color: #f2f2f0; }
.dark .lead, .dark .muted, .dark .small { color: #a2a2a8; }
.dark .eyebrow { color: #8c8c93; }
.alt-bg { background: var(--bg-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; background: rgba(251, 251, 250, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.brand span b { font-weight: 400; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(0, 0, 0, .045); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(0, 0, 0, .06); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav .nav-start { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-child { top: 16px; } .menu-btn i:last-child { top: 23px; }
.menu-open .menu-btn i:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: -.01em; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { background: #2c2c30; transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); }
.btn:active { transform: translateY(0); }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: #ececea; }
.btn.full { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn svg, .link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.btn:hover svg, .link:hover svg { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); font-size: 15px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(24px, 3.5vw, 44px) 0 clamp(48px, 6vw, 80px); overflow: clip; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(50% 50% at 70% 30%, rgba(47, 84, 201, .09), transparent 70%), radial-gradient(40% 40% at 20% 10%, rgba(0, 0, 0, .04), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero-copy .lead { margin-top: 0; }
.hero-device { position: relative; width: min(100%, 1240px, max(640px, calc((100svh - 326px) * 1.68))); margin: clamp(20px, 3vw, 32px) auto 0; }
/* Cinematic 16:9 frame for the homepage preview (bigger for the same height). */
.hero-screen .mk-canvas { aspect-ratio: 16 / 9; }
.hero-screen { position: relative; }
.hero-screen .browser, .hero-phone .phone { box-shadow: 0 40px 80px -30px rgba(10, 10, 20, .35), 0 0 0 1px rgba(0, 0, 0, .06); }
.hero-phone { position: absolute; right: -4%; bottom: -8%; width: 16%; z-index: 3; }
.hero-screen > .video-toggle { right: 14%; bottom: 16px; }

/* ---------- Showcase (sticky scrollytelling) ---------- */
.showcase { position: relative; }
.showcase-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); }
.showcase-list { padding: 10vh 0 30vh; }
.showcase-item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
/* Inactive items are dimmed with colors that still meet WCAG contrast (not with opacity). */
.showcase-item h3 { transition: color .5s var(--ease); }
.showcase-item:not(.active) h3 { color: var(--muted); }
.showcase-item:not(.active) .facts b { color: var(--muted); }
.showcase-item .num { font: 500 13px var(--mono); color: var(--faint); }
.showcase-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 10px 0 10px; letter-spacing: -.025em; }
.showcase-item p { color: var(--muted); margin: 0 0 18px; max-width: 40ch; }
.showcase-item .facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.showcase-item .facts b { color: var(--ink); font-weight: 500; }
.showcase-item .mobile-visual { display: none; }
.showcase-stage { position: sticky; top: 13vh; height: 74vh; display: flex; align-items: center; }
.showcase-stage .slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.showcase-stage .slide.active { opacity: 1; transform: none; }
.showcase-stage .slide:not(.active):not(.leaving) { content-visibility: hidden; }
/* Off-screen mockups are not laid out until scrolled near (big speed win on phones). */
.screen, .example, .plan-visual, .showcase-item .mobile-visual { content-visibility: auto; contain-intrinsic-block-size: auto 420px; }
.showcase-stage .slide > * { width: 100%; }
.slide-mock, .ex-hero { position: relative; }
.showcase-stage .browser { box-shadow: 0 30px 70px -30px rgba(10, 10, 20, .3), 0 0 0 1px rgba(0, 0, 0, .06); }

/* ---------- Cards / features ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; }
.feature .icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.feature h3 { font-size: 17px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.dark .card { background: var(--night-2); border-color: #26262a; }
.dark .feature .icon { background: #222226; }
.dark .feature .icon svg { stroke: #f2f2f0; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.steps::after { content: ''; position: absolute; top: 15px; left: 0; height: 1px; width: calc(var(--progress, 0) * 100%); background: var(--ink); transition: width .2s linear; }
.dark .steps::before { background: #2c2c30; } .dark .steps::after { background: #f2f2f0; }
.step { position: relative; padding-right: 24px; }
.step .dot { width: 31px; height: 31px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 12px var(--mono); position: relative; z-index: 1; }
.dark .step .dot { background: var(--night); border-color: #3a3a3e; }
.step h3 { font-size: 17px; margin: 22px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--faint); }

/* ---------- Plans ---------- */
.plan-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.plan-row:nth-child(even) > [data-video-scope] { order: 2; }
.plan-visual { display: block; transition: transform .6s var(--ease); }
.plan-visual:hover { transform: translateY(-4px); }
.plan-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.028em; }
.plan-info .tag { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.facts-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-row div { display: flex; flex-direction: column; gap: 2px; }
.facts-row span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.facts-row b { font-weight: 500; font-size: 16px; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-pending { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--warn); background: #fbf3e6; border-radius: 999px; padding: 6px 12px; font-weight: 500; }
.price-pending::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.draft-badge { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; background: #fbf3e6; color: var(--warn); border-radius: 6px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok); transform: rotate(-45deg); }
.ticks.no li::before { width: 12px; height: 12px; top: 6px; border: 0; transform: none; background: linear-gradient(45deg, transparent 45%, var(--faint) 45%, var(--faint) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--faint) 45%, var(--faint) 55%, transparent 55%); }
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.compare th, table.compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-weight: 600; font-size: 15px; background: var(--bg-2); }
table.compare tbody th { font-weight: 400; color: var(--muted); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
table.compare .num { font-variant-numeric: tabular-nums; }

/* ---------- Plan detail ---------- */
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.quickfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.quickfacts div { background: var(--surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.quickfacts span { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.quickfacts b { font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.main-preview { margin-top: clamp(40px, 6vw, 72px); }
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.screens.phones { grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); }
.screen { display: flex; flex-direction: column; gap: 14px; background: none; border: 0; padding: 0; text-align: left; cursor: zoom-in; }
.screen .browser, .screen .phone { transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 12px 30px -18px rgba(0, 0, 0, .25); }
.screen:hover .browser, .screen:hover .phone { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 22px 40px -20px rgba(0, 0, 0, .35); }
.screen .screen-cap b { display: block; font-size: 15px; font-weight: 600; }
.screen .screen-cap b span { font: 500 12px var(--mono); color: var(--faint); margin-right: 8px; }
.screen .screen-cap p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-layout > aside { position: sticky; top: 88px; }
.block { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; margin-bottom: 20px; }
.block > p.small { margin-top: -8px; margin-bottom: 20px; }
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px -35px rgba(0, 0, 0, .25); }
.summary-card h3 { font-size: 18px; }
.summary-card dl { margin: 18px 0; display: grid; gap: 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; font-weight: 500; text-align: right; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.total td { font-weight: 600; border-bottom: 0; }
.bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.in .bar i { transform: scaleX(var(--w)); }
.addon-table td:nth-child(2) { color: var(--muted); font-size: 14px; }
.schedule-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.schedule-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; background: var(--surface); }
.schedule-card h3 { font-size: 16px; margin-bottom: 12px; }
.schedule-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.schedule-card li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.schedule-card li b { font-variant-numeric: tabular-nums; }
.schedule-card li span { grid-column: 2; color: var(--muted); font-size: 13px; }

/* ---------- Examples ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); margin-bottom: 40px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.example { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.example[hidden] { display: none; }
.example .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.example .thumbs.phones { grid-template-columns: repeat(4, 1fr); }
.example-meta { display: grid; gap: 14px; margin: 22px 0; }
.example-meta dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.example-meta dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.concept-note { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); padding: 14px 18px; border-radius: 12px; background: var(--bg-2); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > label, .q-label { font-size: 15px; font-weight: 500; }
.field .help, .q-help { font-size: 13.5px; color: var(--muted); margin-top: -4px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], input[type=password], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(24, 24, 26, .08); }
.invalid input, .invalid textarea, .invalid .options { border-color: var(--danger) !important; }
.error-text { color: var(--danger); font-size: 13.5px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 14px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; transition: all .2s var(--ease); }
.option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.option:hover span { border-color: var(--ink); }
.options.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.options.cards .option span { border-radius: 14px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px; height: 100%; min-height: 0; }
.options.cards .option span small { color: var(--muted); font-size: 13px; }
.options.cards .option input:checked + span small { color: #c9c9cf; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.notice { border-radius: 14px; padding: 16px 18px; background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
.notice.warn { background: #fbf3e6; color: #5d3a00; }
.notice.ok { background: #e7f4ec; color: #134a2f; }
.notice.err { background: #fbeaea; color: #6f1712; }
.notice b { font-weight: 600; }

/* Questionnaire */
#wizard, #orderApp { min-height: 640px; }
.wizard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wizard-steps { position: sticky; top: 96px; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wizard-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.wizard-steps li i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 11px var(--mono); font-style: normal; flex: none; }
.wizard-steps li.current { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.wizard-steps li.current i { background: var(--ink); color: #fff; border-color: var(--ink); }
.wizard-steps li.done i { background: var(--bg-2); color: var(--ink); }
.wizard-panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; }
.wizard-panel > p.lead { margin: 10px 0 36px; }
.question { padding: 26px 0; border-top: 1px solid var(--line); }
.question:first-of-type { border-top: 0; padding-top: 0; }
.question .q-label { display: block; margin-bottom: 4px; font-size: 16.5px; }
.question .q-help { display: block; margin: 0 0 14px; }
.question .options { margin-top: 12px; }
.question .other { margin-top: 12px; }
.question .other textarea { min-height: 64px; }
.question .req { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 36px; }
.progress i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.addon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.addon-row b { font-weight: 500; }
.addon-row p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.addon-row .addon-price { font-variant-numeric: tabular-nums; font-size: 14.5px; color: var(--ink-2); text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; }
.qty button:hover { background: var(--bg-2); }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .25s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.review-list { display: grid; gap: 0; margin: 0; }
.review-list div { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; }
.estimate { margin-top: 24px; }

/* Order pages */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.order-grid > aside { position: sticky; top: 88px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status-pill.ok::before { background: var(--ok); } .status-pill.warn::before { background: #d38b1c; } .status-pill.accent::before { background: var(--accent); }
.plan-choice { display: grid; gap: 12px; }
.plan-choice label { display: block; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 20px; cursor: pointer; transition: border-color .2s, box-shadow .2s; background: var(--surface); }
.plan-choice label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-choice .pc-head { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.plan-choice .pc-head input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.plan-choice table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.plan-choice td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.plan-choice td:first-child { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; padding-right: 16px; }
.plan-choice td:last-child { text-align: right; color: var(--muted); white-space: nowrap; padding-left: 12px; }
.agreement-doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-height: 70vh; overflow-y: auto; font-size: 15px; line-height: 1.65; }
.agreement-doc h2 { font-size: 22px; letter-spacing: 0; }
.agreement-doc h3 { font-size: 16px; margin: 28px 0 8px; letter-spacing: 0; }
.agreement-doc p { margin: 0 0 10px; }
.agreement-doc ul { margin: 0 0 12px; padding-left: 20px; }
.agreement-doc li { margin: 4px 0; }
.sig-preview { font: italic 500 28px/1.2 var(--font); letter-spacing: -.01em; min-height: 40px; border-bottom: 1px solid var(--ink); padding: 8px 0; margin-top: 8px; }
.pay-methods { display: grid; gap: 12px; }
.pay-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); text-align: left; transition: border-color .2s, transform .2s; }
.pay-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.pay-btn b { display: block; font-weight: 600; }
.pay-btn span { font-size: 13.5px; color: var(--muted); }
.pay-btn[disabled] { opacity: .5; pointer-events: none; }
.loading { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, #ebebe8 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; min-height: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* FAQ / legal */
.faq-group h2 { font-size: 20px; margin: 48px 0 8px; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
details.qa .answer p { margin: 0 0 10px; }
.prose { max-width: 72ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 22px; color: var(--ink); margin: 48px 0 12px; letter-spacing: -.015em; }
.prose h3 { font-size: 17px; color: var(--ink); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 96px; font-size: 14px; display: grid; gap: 8px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; color: var(--muted); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- CTA band ---------- */
.cta { border-radius: 28px; padding: clamp(40px, 7vw, 88px); background: var(--night); color: #f2f2f0; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
.cta::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(47, 84, 201, .35), transparent); pointer-events: none; }
.cta .lead { color: #a2a2a8; }
.cta > * { position: relative; z-index: 1; }
.cta > .band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; z-index: 0; }
/* Pause/play control for background video (WCAG 2.2.2). */
.video-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(12, 12, 13, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: .85; transition: opacity .2s, transform .2s; }
.video-toggle:hover { opacity: 1; transform: scale(1.05); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }

/* Studio photo band */
.photo-band { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(360px, 48vw, 560px); display: flex; align-items: flex-end; color: #fff; }
.photo-band img, .photo-band video { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--py, 0) * -1px)); }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .15)); }
.photo-band > div { position: relative; z-index: 1; padding: clamp(28px, 5vw, 56px); max-width: 640px; }
.photo-band .lead { color: rgba(255, 255, 255, .8); }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(12, 12, 13, .82); backdrop-filter: blur(6px); }
dialog.lightbox .lb-body { display: flex; justify-content: center; }
dialog.lightbox .lb-body > .phone { width: min(360px, 80vw); }
dialog.lightbox .lb-body > .browser { width: 100%; }
dialog.lightbox .lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; }
dialog.lightbox .lb-caption { color: #e8e8e6; text-align: center; margin-top: 16px; font-size: 15px; }
dialog.lightbox .lb-body { position: relative; }
dialog.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 30px; line-height: 1; z-index: 2; }
dialog.lightbox .lb-nav:hover { background: rgba(255, 255, 255, .28); }
dialog.lightbox .lb-prev { left: 16px; } dialog.lightbox .lb-next { right: 16px; }
dialog.lightbox .lb-body > .mk-phoneflow { width: 100%; }
dialog.lightbox .lb-body > .work-phone { width: min(360px, 78vw); max-height: 82vh; }
dialog.lightbox .lb-body > .work-phone img { max-height: 82vh; width: auto; margin: 0 auto; }
[data-zoom], [data-href] { cursor: zoom-in; }
[data-href] { cursor: pointer; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  /* The header's backdrop-filter would make it the containing block of the fixed menu (0 px tall). */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menu-open .nav { display: flex; position: fixed; inset: 64px 0 0 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 16px var(--gutter); overflow-y: auto; }
  .menu-open .nav a { font-size: 22px; font-weight: 500; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .menu-open .nav .nav-start { display: inline-flex; margin-top: 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 17px; padding: 0 22px; }
  .detail-layout, .order-grid { grid-template-columns: 1fr; }
  .detail-layout > aside, .order-grid > aside { position: static; }
  .quickfacts { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { display: none; }
  .step { display: grid; grid-template-columns: 31px 1fr; gap: 0 18px; padding: 0; }
  .step h3 { margin: 4px 0 6px; }
  .step p { grid-column: 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
}
@media (max-width: 860px) {
  .hero-copy, .grid-2, .grid-3, .plan-row, .example, .cta, .wizard, .detail-hero { grid-template-columns: 1fr; }
  .plan-row:nth-child(even) > [data-video-scope] { order: 0; }
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-stage { display: none; }
  .showcase-list { padding: 0; }
  .showcase-item { min-height: 0; opacity: 1; padding: 32px 0; border-top: 1px solid var(--line); }
  .showcase-item:not(.active) h3, .showcase-item:not(.active) .facts b { color: var(--ink); }
  .showcase-item .mobile-visual { display: block; margin-bottom: 22px; }
  .wizard-steps { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .wizard-steps li { white-space: nowrap; padding: 8px 10px; }
  .wizard-steps li:not(.current) span { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer .brand { white-space: normal; flex-wrap: wrap; }
  .facts-row { grid-template-columns: repeat(2, auto); }
  .ticks.cols { grid-template-columns: 1fr; }
  .hero-device { width: 100%; }
  .hero-phone { right: -2%; bottom: -10%; width: 28%; }
  .hero-screen > .video-toggle { right: 29%; bottom: 10px; width: 32px; height: 32px; }
  .review-list div { grid-template-columns: 1fr; gap: 2px; }
  .addon-row { grid-template-columns: 1fr auto; }
  .addon-row .addon-price { grid-column: 1; text-align: left; }
}
@media (max-width: 1280px) {
  .site-header .brand span b { display: none; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 520px) {
  .quickfacts { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn { display: none; }
  .example .thumbs.phones { grid-template-columns: repeat(2, 1fr); }
  .actions .btn { width: 100%; }
}

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  .agreement-doc { max-height: none; overflow: visible; border: 0; padding: 0; }
  body { background: #fff; }
}

/* Checkout */
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: 0 20px 50px -35px rgba(0, 0, 0, .25); }
.checkout-amount { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.checkout-for { color: var(--muted); margin: 0 0 22px; }
.pay-now { min-height: 54px; font-size: 16px; gap: 10px; }
.pay-now svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pay-accepts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-accepts li { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.checkout-card .error-text { margin-top: 12px; }

/* Homepage: full-screen cinematic video hero */
.hero-cinema { position: relative; min-height: max(540px, calc(100svh - 64px)); max-height: 1000px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: #10131a; isolation: isolate; }
.hero-cinema .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 45%, rgba(8, 10, 14, .25), rgba(8, 10, 14, .62)), linear-gradient(to bottom, rgba(8, 10, 14, .35), rgba(8, 10, 14, 0) 30%, rgba(8, 10, 14, .55)); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 24px; padding-bottom: 64px; }
.hero-inner .eyebrow { color: rgba(255, 255, 255, .78); justify-content: center; }
.hero-inner .display { margin: 0 auto; max-width: 17ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-inner .lead { color: rgba(255, 255, 255, .86); margin: 20px auto 0; max-width: 46ch; }
.hero-inner .actions { justify-content: center; margin-top: 32px; }
.btn.ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }
.hero-note { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 13px; color: rgba(255, 255, 255, .78); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.hero-note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-note:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-cinema > .video-toggle { right: 20px; bottom: 18px; }
@media (max-width: 520px) {
  .hero-note { white-space: normal; text-align: left; width: calc(100% - 96px); left: 16px; transform: none; justify-content: flex-start; }
  .hero-inner .actions .btn { width: 100%; }
}

/* Our work */
.work-phone { border-radius: 28px; overflow: hidden; background: #0b1020; box-shadow: 0 30px 60px -30px rgba(10, 10, 20, .45), 0 0 0 6px #111, 0 0 0 7px #2a2a2e; }
.work-phone img { width: 100%; height: auto; display: block; }
.work-case { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.work-shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.work-shot { margin: 0; }
.work-shot figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.4; }
.work-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; background: linear-gradient(135deg, #0b1020, #141c33); color: #f2f2f0; border-radius: 28px; padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.work-feature .eyebrow { color: #8f9ab3; }
.work-feature .lead { color: #b8c0d4; }
.work-feature .btn { background: #fff; color: var(--ink); border-color: #fff; }
.work-feature .link { color: #c3cdf5; }
.work-feature-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.work-feature-shots .work-phone:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 1080px) { .work-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .work-case, .work-feature { grid-template-columns: 1fr; } .work-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.work-browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(10, 10, 20, .45), 0 0 0 1px rgba(0, 0, 0, .08); }
.work-browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #ececea; border-bottom: 1px solid #dcdcd8; }
.work-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcfcb; }
.work-browser-bar span { margin: 0 auto; font: 11px var(--mono); color: #6a6a6a; background: #fff; border-radius: 5px; padding: 2px 18px; }
.work-browser img { width: 100%; height: auto; display: block; }
.work-shots.mixed { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.work-shots.mixed .work-shot.is-browser { grid-column: span 3; }
.work-shots.mixed .work-shot.is-phone { grid-column: span 2; }
.work-feature.single .work-feature-shots { grid-template-columns: 1fr; }
.work-feature.single .work-feature-shots .work-browser { transform: none; }
dialog.lightbox .lb-body > .work-browser { width: 100%; }
@media (max-width: 860px) { .work-shots.mixed .work-shot.is-browser, .work-shots.mixed .work-shot.is-phone { grid-column: span 6; } .work-shots.mixed .work-shot.is-phone { max-width: 260px; } }
.work-shots.mixed { align-items: start; }
.work-shots.mixed .work-shot.is-phone .work-phone { max-width: 240px; }
@media (max-width: 860px) { .work-shots.mixed .work-shot.is-phone { justify-self: center; } }

/* Help me choose */
.choose-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.choose-form .question { margin: 0 0 30px; }
.choose-form .question:last-child { margin-bottom: 0; }
.choose-result { position: sticky; top: 96px; }
.choose-price { font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; margin: 6px 0 0; display: flex; flex-direction: column; }
.choose-price small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.choose-sub { margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.choose-example { background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; min-height: 32px; }
.choose-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; margin: 0 0 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: border-color .2s var(--ease); }
.choose-banner:hover { border-color: var(--ink); }
.choose-banner-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.choose-banner-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 860px) { .choose-grid { grid-template-columns: 1fr; } .choose-result { position: static; } }
.cta .cta-link { color: #fff; }

/* About: founder */
.founder { max-width: 760px; margin: 0 auto; }
.founder .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; margin: 10px 0 28px; }
.founder-text p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.65; margin: 0 0 1.1em; color: var(--ink); }
.founder-text a { color: inherit; }
.founder-sign { margin-top: 2em !important; font-weight: 600; }
.founder-sign span { font-weight: 400; font-size: .85em; color: var(--muted); }
.founder-text a.link { font-size: inherit; font-weight: 600; }
.founder-lead { font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important; line-height: 1.45 !important; font-weight: 500; letter-spacing: -.01em; }
.founder-sub { font-size: 1.25rem; margin: 1.8em 0 .8em; }
.founder-list { list-style: none; margin: 0 0 1.6em; padding: 0; }
.founder-list li { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; padding: .9em 0 .9em 1.6em; border-top: 1px solid var(--line); position: relative; }
.founder-list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: .55em; height: .55em; border-radius: 50%; background: var(--ink); }
.founder-thanks { margin-top: 1.6em !important; font-weight: 500; }
.founder-sign-block { margin-top: 2.4em; width: min(320px, 100%); }
.founder-sign-space { height: 72px; }
.founder-sign-space img { display: block; height: 100%; width: auto; margin-bottom: -10px; }
.founder-sign-line { border-top: 1.5px solid var(--ink); }
.founder-sign-name { margin: .7em 0 0 !important; font-size: 1rem !important; font-weight: 600; letter-spacing: .01em; }
.founder-sign-role { margin: .15em 0 0 !important; font-size: .9rem !important; color: var(--muted) !important; }
/* Signature: Ephesis (Google Fonts, SIL OFL), subset to the letters of "Sandra" */
@font-face { font-family: 'Signature'; src: url(/assets/fonts/signature.woff2) format('woff2'); font-display: swap; }
.founder-signature { font-family: 'Signature', 'Snell Roundhand', cursive !important; font-size: clamp(2.3rem, 3.6vw, 2.8rem) !important; line-height: 1.1 !important; color: #1c2340 !important; margin: .4em 0 0 !important; -webkit-text-stroke: .3px var(--bg); }

/* Contact form: align the select arrow within the control, not against its border. */
#contactForm select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

/* Contact intro link must match the surrounding sentence exactly. */
.contact-inline-link { color: var(--accent); font: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-decoration: none; }
.contact-inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
