@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@700;800&family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");
:root, [data-theme="night"] {--brand-night:#0A0F1A;--brand-hull:#141C2B;--brand-rigging:#263248;--brand-fog:#8C97AB;--brand-foam:#EEF2F7;--brand-flare:#E8FF59;--ground:#0A0F1A;--surface:#141C2B;--surface-sunk:#1B2538;--line:#263248;--line-strong:#56647E;--ink:#EEF2F7;--ink-soft:#B7C0CF;--ink-muted:#8C97AB;--flare:#E8FF59;--on-flare:#0A0F1A;--flare-ink:#E8FF59;--flare-soft:#1D2410;--mark:#E8FF59;--focus:#E8FF59;--danger:#FF8A7A;}
[data-theme="day"] {--brand-night:#0A0F1A;--brand-hull:#141C2B;--brand-rigging:#263248;--brand-fog:#8C97AB;--brand-foam:#EEF2F7;--brand-flare:#E8FF59;--ground:#F3F5F8;--surface:#FFFFFF;--surface-sunk:#E6EAF0;--line:#D3DAE4;--line-strong:#7D889A;--ink:#0A0F1A;--ink-soft:#3A4558;--ink-muted:#5A6578;--flare:#E8FF59;--on-flare:#0A0F1A;--flare-ink:#4F5C00;--flare-soft:#F4FFC2;--mark:#0A0F1A;--focus:#0A0F1A;--danger:#B42318;}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;--space-10:128px;--radius-sm:8px;--radius-md:14px;--radius-lg:20px;--radius-pill:999px;--content-max:1200px;--measure:640px;--tap-min:44px;--font-display:"Schibsted Grotesk", "Arial Narrow", system-ui, sans-serif;--font-body:"Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:"JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;}



body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 26px; background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }
.sw-pad { padding: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }
.sw-stack { display: flex; flex-direction: column; gap: var(--space-4); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Logo */
.sw-logo { display: inline-flex; align-items: center; gap: 0.38em; color: var(--ink); text-decoration: none; line-height: 1; }
.sw-logo-word { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; }
.sw-mark { display: block; flex: none; }
.sw-mark path { fill: none; stroke: var(--mark); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.sw-logo-mono .sw-mark path { stroke: currentColor; }

/* Button */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap-min); padding: 0 var(--space-5); border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.sw-btn-lg { min-height: 56px; padding: 0 var(--space-6); font-size: 17px; }
.sw-btn-primary { background: var(--flare); color: var(--on-flare); }
.sw-btn-primary:hover { transform: translateY(-1px); }
.sw-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sw-btn-ghost:hover { border-color: var(--ink); }
.sw-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .sw-btn { transition: none; } .sw-btn-primary:hover { transform: none; } }

/* Eyebrow */
.sw-eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.sw-eyebrow-flare { color: var(--flare-ink); }

/* PathStep */
.sw-step { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.sw-step-store { border: 1px dashed var(--flare-ink); background: var(--flare-soft); }
.sw-step-top { display: flex; justify-content: space-between; gap: var(--space-3); font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sw-step-store .sw-step-top { color: var(--flare-ink); }
.sw-step-title { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.sw-step-body { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.sw-step-get { margin: 0; padding: var(--space-3) 0 0; list-style: none; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; line-height: 22px; color: var(--ink); }
.sw-step-store .sw-step-get { border-top-color: var(--flare-ink); }

/* LaunchPath */
.sw-path { display: grid; grid-template-columns: minmax(88px, 140px) 1fr; gap: var(--space-2) var(--space-4); align-items: center; font-variant-numeric: tabular-nums; }
.sw-path-weeks { display: grid; grid-template-columns: repeat(var(--sw-weeks, 8), 1fr); gap: var(--space-1); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; color: var(--ink-muted); }
.sw-path-label { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-path-label b { color: var(--ink); font-weight: 500; }
.sw-path-track { display: grid; grid-template-columns: repeat(var(--sw-weeks, 8), 1fr); gap: var(--space-1); }
.sw-path-bar { height: 40px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface); display: flex; align-items: center; padding: 0 var(--space-3); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-muted); overflow: hidden; white-space: nowrap; }
.sw-path-bar-store { border: 1px dashed var(--flare-ink); background: var(--flare-soft); color: var(--flare-ink); }
.sw-path-bar-launch { border-color: var(--flare); background: var(--flare); color: var(--on-flare); font-weight: 500; }
.sw-path-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; color: var(--ink-muted); text-transform: uppercase; }

/* PriceCard */
.sw-price { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.sw-price-featured { border-color: var(--flare-ink); }
.sw-price-amount { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.sw-price-unit { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sw-price-note { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.sw-price-items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.sw-price-items li { padding: var(--space-2) 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 22px; color: var(--ink); }

/* LogEntry (Captain's Log) */
.sw-log { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); max-width: 520px; min-width: 0; }
.sw-log-head { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.sw-log-head b { color: var(--flare-ink); font-weight: 500; }
.sw-log-block { display: flex; flex-direction: column; gap: var(--space-2); }
.sw-log-block ul { margin: 0; padding: 0 0 0 var(--space-4); font-size: 15px; line-height: 24px; color: var(--ink); }
.sw-log-needs ul { color: var(--flare-ink); }

/* WorkCard */
.sw-work { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.sw-work-frame { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); background: var(--surface-sunk); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.sw-work-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-work-cap { display: flex; flex-direction: column; gap: var(--space-1); }
.sw-work-name { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.sw-work-line { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-soft); }

/* Section */
.sw-section { background: var(--ground); color: var(--ink); padding-block: var(--space-8); }
.sw-section-inner { max-width: var(--content-max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: var(--space-5); }
.sw-section-title { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.sw-section-lead { margin: 0; max-width: var(--measure); font-size: 19px; line-height: 30px; color: var(--ink-soft); }
@media (min-width: 900px) { .sw-section { padding-block: var(--space-9); } .sw-section-title { font-size: 64px; line-height: 1; } }

/* Field */
.sw-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; max-width: 480px; }
.sw-field label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.sw-field input, .sw-field textarea { font: inherit; font-size: 16px; line-height: 24px; color: var(--ink); background: var(--surface-sunk); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px var(--space-3); min-height: var(--tap-min); box-sizing: border-box; width: 100%; }
.sw-field textarea { min-height: 120px; resize: vertical; }
.sw-field input::placeholder, .sw-field textarea::placeholder { color: var(--ink-muted); }
.sw-field-hint { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sw-field-error input, .sw-field-error textarea { border-color: var(--danger); }
.sw-field-error .sw-field-hint { color: var(--danger); }

/* Shipward home: page layout on top of the design system (tokens.css + components/bundle.css). */
.s-page { background: var(--ground); color: var(--ink); font-family: var(--font-body); min-width: 0; }
.s-wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: 16px; }
.s-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Night texture: stars and a faint chart grid, fading out from the top. overflow: clip keeps sticky children working. */
.s-sky { position: relative; isolation: isolate; overflow: clip; }
.s-sky::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 40px 60px, rgba(238,242,247,.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 210px 140px, rgba(238,242,247,.5) 50%, transparent 52%),
    radial-gradient(1px 1px at 330px 40px, rgba(238,242,247,.45) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 420px 260px, rgba(232,255,89,.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 120px 330px, rgba(238,242,247,.4) 50%, transparent 52%),
    radial-gradient(1px 1px at 280px 420px, rgba(238,242,247,.55) 50%, transparent 52%),
    linear-gradient(rgba(38,50,72,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,50,72,.32) 1px, transparent 1px);
  background-size: 480px 480px, 480px 480px, 480px 480px, 480px 480px, 480px 480px, 480px 480px, 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 20%, transparent 80%); }

/* Header */
.s-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); }
.s-nav-links { display: none; gap: var(--space-5); font-size: 15px; }
.s-nav-links a { color: var(--ink-soft); text-decoration: none; }
.s-nav-links a:hover { color: var(--ink); }
.s-nav-cta { display: none; }

/* Type */
.s-h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.s-h1 em { font-style: normal; color: var(--flare-ink); }
.s-lead { margin: 0; max-width: var(--measure); font-size: 19px; line-height: 30px; color: var(--ink-soft); }
.s-lead b { color: var(--ink); font-weight: 600; }
.s-p { margin: 0; max-width: var(--measure); font-size: 17px; line-height: 28px; color: var(--ink-soft); }
.s-p b { color: var(--ink); font-weight: 600; }
.s-small { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.s-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
/* Section CTA: every fold leads to the form. Night keeps the flare button; day gets the night hull with flare text,
   so it stands out on the light ground without a yellow block. */
.s-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.s-cta .s-small { max-width: 42ch; }
[data-theme="day"] .sw-btn-primary.s-cta-btn { background: var(--brand-night); color: var(--brand-flare); }
[data-theme="day"] .sw-btn-primary.s-cta-btn:hover { background: var(--brand-hull); }
.s-bridge { margin: 0; padding-top: var(--space-5); border-top: 1px solid var(--line); max-width: 760px; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.s-bridge em { font-style: normal; color: var(--flare-ink); }

/* Hero */
.s-heroband { position: relative; }
.s-glow { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(520px 420px at 78% 42%, rgba(232,255,89,.13), transparent 70%), radial-gradient(700px 500px at 20% 100%, rgba(86,100,126,.25), transparent 70%); }
.s-hero { display: grid; gap: var(--space-7); align-items: center; padding-block: var(--space-6) var(--space-8); }
.s-hero-copy { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.s-hero-art { position: relative; width: 100%; max-width: 480px; aspect-ratio: 4 / 5; margin-inline: auto; }
.s-ring, .s-ring::after { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.s-ring { inset: 10% 0 6%; }
.s-ring::after { content: ""; inset: 16%; border-style: dashed; }
.s-trail { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line-strong); }
.s-hero-art .s-phone { position: absolute; }
.s-hero-art .s-ph-back { left: 4%; top: 13%; width: 44%; transform: rotate(-7deg); opacity: .9; }
.s-hero-art .s-ph-front { right: 6%; top: 2%; width: 52%; transform: rotate(4deg); box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(232,255,89,.12); }
.s-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: rgba(20,28,43,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.s-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--flare); box-shadow: 0 0 10px var(--flare); }
.s-float-1 { left: 0; top: 64%; border-color: var(--flare-ink); }
.s-float-2 { right: 0; top: 86%; }
.s-float-3 { left: 8%; top: 4%; }

/* Marquee of what the apps carry */
.s-marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.s-marquee-track { display: flex; width: max-content; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.01em; color: var(--ink-muted); }
.s-marquee-track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; }
.s-marquee-track span::after { content: ""; width: 7px; height: 7px; background: var(--flare); transform: rotate(45deg); opacity: .8; }

/* Phone frame (holds a real app screen) */
.s-phone { width: 260px; aspect-ratio: 9 / 19.5; border-radius: 40px; padding: 9px; background: #05080F; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); box-sizing: border-box; flex: none; }
.s-phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--surface-sunk); position: relative; }
.s-phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.s-phone-tag { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: var(--flare); color: var(--on-flare); font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }

/* Mock screens (wireframe, redlines, store panel) */
.q-box { background: var(--line); border-radius: 8px; }
.q-wire { position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-sunk); }
.q-ann { position: absolute; font-family: var(--font-mono); font-size: 10px; line-height: 14px; letter-spacing: .06em; color: var(--flare-ink); background: var(--ground); border: 1px dashed var(--flare-ink); border-radius: 6px; padding: 2px 6px; }
.q-red { position: absolute; border: 1px solid var(--flare); pointer-events: none; }
.q-sw { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); }
.q-panel { position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); color: var(--ink); font-size: 13px; line-height: 18px; }
.q-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* Villain */
.s-split { display: grid; gap: var(--space-6); }
.s-pains { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.s-pains li { padding: var(--space-4) 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 26px; color: var(--ink); }
.s-stat { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.s-stat-n { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.05em; color: var(--flare-ink); }
.s-four { display: flex; gap: 8px; }
.s-four span { position: relative; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface-sunk); }
.s-four .s-four-x { border-color: var(--danger); background: rgba(255,138,122,.12); }
.s-four .s-four-x::before, .s-four .s-four-x::after { content: ""; position: absolute; left: 7px; right: 7px; top: 14px; height: 1.5px; background: var(--danger); transform: rotate(45deg); }
.s-four .s-four-x::after { transform: rotate(-45deg); }

/* The handoff chain against one line of command */
.s-hand { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-hand-row { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.s-hand-good { border-color: var(--flare-ink); }
.s-hand-k b { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--ink); }
.s-hand-bad .s-hand-k b { color: var(--danger); }
.s-hand-k span { display: block; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.s-chain { position: relative; display: flex; flex-direction: column; }
.s-node { position: relative; z-index: 1; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-sunk); font-family: var(--font-mono); font-size: 12px; line-height: 16px; text-align: center; color: var(--ink-soft); }
.s-hand-good .s-node { border-color: var(--flare-ink); color: var(--ink); }
.s-chain i { align-self: center; width: 2px; height: 28px; }
.s-hand-bad .s-chain i { background: repeating-linear-gradient(to bottom, var(--danger) 0 4px, transparent 4px 8px);
  -webkit-mask-image: linear-gradient(#000 0 30%, transparent 30% 70%, #000 70%); mask-image: linear-gradient(#000 0 30%, transparent 30% 70%, #000 70%); }
.s-hand-good .s-chain i { background: var(--flare); }
.s-hand-good .s-chain::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--flare); box-shadow: 0 0 14px 3px rgba(232,255,89,.6); opacity: 0; }

/* Launch Path: steps scroll, the phone stays and assembles the app */
.s-path-body { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr) 132px; align-items: start; }
.s-steps { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
.s-steps .sw-step { padding: var(--space-4); }
.s-path-phone { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); position: sticky; top: var(--space-5); }
.s-path-phone .s-phone { --k: .474; width: 132px; border-radius: 24px; padding: 5px; }
.s-path-phone .s-phone-screen { border-radius: 19px; }
.s-scr { position: absolute; left: 0; top: 0; width: 260px; height: 600px; transform: scale(var(--k)); transform-origin: 0 0; opacity: 0; }
.s-scr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.s-scr-3 { opacity: 1; }
.s-dots { display: flex; gap: 6px; }
.s-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.s-dots .s-dot-3 { background: var(--flare); }
.s-store { display: grid; gap: var(--space-3); padding: var(--space-5); border: 1px dashed var(--flare-ink); border-radius: var(--radius-lg); background: var(--flare-soft); }
.s-store h3 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; color: var(--flare-ink); }
.s-path-box { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow-x: auto; }
.s-path-box > * { min-width: 560px; }

/* Work */
.s-cards { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.s-card { position: relative; }
.s-card .sw-work-frame { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.s-card:hover .sw-work-frame { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,15,26,.45); }
.s-live { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(10,15,26,.85); color: #EEF2F7; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; }
.s-live i { width: 7px; height: 7px; border-radius: 50%; background: #E8FF59; }

/* Captain's Log: the email it arrives in */
.s-two { display: grid; gap: var(--space-6); align-items: start; }
.s-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.s-checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.s-checks b { display: block; color: var(--ink); }
.s-checks svg { margin-top: 3px; color: var(--flare-ink); }
.s-quote { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.s-mail { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 40px 70px -40px rgba(10,15,26,.35); overflow: hidden; min-width: 0; }
.s-mail-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-sunk); border-bottom: 1px solid var(--line); }
.s-mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.s-mail-bar span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.s-mail-from { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.s-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #0A0F1A; color: #E8FF59; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.s-mail-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.s-mail-who b { font-size: 15px; line-height: 20px; color: var(--ink); }
.s-mail-who span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.s-mail .sw-log { border: 0; border-radius: 0; background: transparent; max-width: none; }
.s-video { position: relative; margin: 0 var(--space-5) var(--space-5); aspect-ratio: 16 / 8; border-radius: var(--radius-md); overflow: hidden; background: #0A0F1A; }
.s-video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; opacity: .55; }
.s-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #E8FF59; color: #0A0F1A; box-shadow: 0 0 0 10px rgba(232,255,89,.18); }
.s-video::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(10,15,26,.9)); }
.s-video-cap { z-index: 1; position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #EEF2F7; }

/* Captain */
.s-photo-wrap { position: relative; max-width: 440px; }
.s-photo-wrap::before { content: ""; position: absolute; inset: 12px -10px -12px 10px; border: 1px solid var(--flare-ink); border-radius: var(--radius-lg); }
.s-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; }
.s-photo-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-pill); background: #0A0F1A; color: #EEF2F7; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; }
.s-photo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E8FF59; }
.s-facts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.s-fact { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; color: var(--ink-soft); }

/* Offer */
.s-anchor { display: grid; gap: var(--space-4); }
.s-prices { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.s-credit { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--flare); color: var(--on-flare); }
.s-credit strong { font-family: var(--font-display); font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.s-credit span { font-size: 16px; line-height: 24px; }

/* Grow catalog */
.s-grow { display: grid; gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--ground)); }
.s-grow-head { display: grid; gap: var(--space-3); }
.s-grow-head h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.s-mods { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
.s-mod { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: border-color .3s, transform .3s; }
.s-mod:hover { border-color: var(--flare-ink); transform: translateY(-3px); }
.s-mod svg { grid-row: span 2; width: 24px; height: 24px; fill: none; stroke: var(--flare-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-mod h4 { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.s-mod p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.s-grow-foot { margin: 0; padding-top: var(--space-4); border-top: 1px dashed var(--line-strong); max-width: 760px; font-size: 17px; line-height: 28px; color: var(--ink-soft); }
.s-grow-foot b { color: var(--ink); font-weight: 600; }

/* FAQ */
.s-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 880px; }
.s-faq details { border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
.s-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink); min-height: var(--tap-min); align-items: center; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--flare-ink); }
.s-faq details[open] summary::after { content: "–"; }
.s-faq p { margin: var(--space-2) 0 0; max-width: 720px; font-size: 16px; line-height: 26px; color: var(--ink-soft); }

/* Form */
.s-form { display: grid; gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.s-form-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
.s-form .sw-field { max-width: none; }
.s-choice { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.s-choice legend { padding: 0 0 var(--space-2); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.s-choice-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.s-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 15px; color: var(--ink); cursor: pointer; }
.s-chip input { accent-color: #E8FF59; margin: 0; }

/* Close: a horizon and the name, very large */
.s-close::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -260px; width: 1200px; height: 520px; margin-left: -600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,255,89,.16), transparent); pointer-events: none; }
.s-bigword { margin: var(--space-4) 0 calc(-1 * var(--space-8)); font-family: var(--font-display); font-weight: 800; font-size: 21vw; line-height: 1; padding-top: .06em; letter-spacing: -0.065em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(238,242,247,.16), rgba(238,242,247,0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Footer */
.s-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-6) 0; border-top: 1px solid var(--line); }
.s-foot nav { display: flex; gap: var(--space-4); font-size: 14px; }
.s-foot a { color: var(--ink-muted); }
.s-source { max-width: 560px; }

@media (min-width: 900px) {
  .s-wrap { padding-inline: 32px; }
  .s-nav-links, .s-nav-cta { display: flex; }
  .s-h1 { font-size: 88px; line-height: .96; }
  .s-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-block: var(--space-8) var(--space-9); }
  .s-phone { width: 300px; }
  .s-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .s-hand { grid-template-columns: minmax(0, 1fr); }
  .s-hand-row { flex-direction: row; align-items: center; gap: var(--space-6); padding: var(--space-5) var(--space-6); }
  .s-hand-k { flex: none; width: 260px; }
  .s-chain { flex-direction: row; align-items: center; flex: 1; }
  .s-node { flex: none; padding: 12px 18px; font-size: 13px; }
  .s-chain i { align-self: auto; flex: 1; width: auto; height: 2px; }
  .s-hand-bad .s-chain i { background: repeating-linear-gradient(to right, var(--danger) 0 5px, transparent 5px 10px);
    -webkit-mask-image: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65%); mask-image: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65%); }
  .s-hand-good .s-chain::after { top: 50%; left: 0; margin: -5px 0 0; }
  .s-path-body { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-9); }
  .s-steps { gap: var(--space-8); max-width: 560px; padding-block: var(--space-7); }
  .s-steps .sw-step { padding: var(--space-5); }
  .s-path-phone { top: var(--space-8); }
  .s-path-phone .s-phone { --k: 1.0846; width: 300px; border-radius: 40px; padding: 9px; }
  .s-path-phone .s-phone-screen { border-radius: 32px; }
  .s-dots { gap: 8px; }
  .s-dots i { width: 8px; height: 8px; }
  .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .s-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-grow { padding: var(--space-7); gap: var(--space-6); }
  .s-grow-head h3 { font-size: 40px; }
  .s-mods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s-mod { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); }
  .s-mod svg { margin-bottom: var(--space-2); }
  .s-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-form-wide { grid-column: 1 / -1; }
  .s-bridge { font-size: 32px; }
  .s-quote { font-size: 44px; }
  .s-bigword { font-size: 250px; }
}

/* ---------- Motion. No JavaScript: every effect is CSS, and without support the page simply shows still. ---------- */
@keyframes s-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes s-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s-marq { to { transform: translateX(-50%); } }
@keyframes s-bob { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
@keyframes s-run-y { 0% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes s-run-x { 0% { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes s-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,255,89,.6); } 50% { box-shadow: 0 0 0 6px rgba(232,255,89,0); } }
@keyframes s-front-in { from { opacity: 0; transform: translateY(60px) rotate(10deg); } to { opacity: 1; transform: rotate(4deg); } }
@keyframes s-back-in { from { opacity: 0; transform: translateY(80px) rotate(-14deg); } to { opacity: .9; transform: rotate(-7deg); } }
@keyframes s-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes s-wipe { from { clip-path: inset(0 100% 0 0 round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes s-zoom { from { transform: scale(1.14); } to { transform: none; } }
@keyframes s-show { 0% { opacity: 0; transform: scale(var(--k)) translateY(24px); } 18%, 82% { opacity: 1; transform: scale(var(--k)); } 100% { opacity: 0; transform: scale(var(--k)) translateY(-24px); } }
@keyframes s-show-first { 0%, 82% { opacity: 1; transform: scale(var(--k)); } 100% { opacity: 0; transform: scale(var(--k)) translateY(-24px); } }
@keyframes s-show-last { 0% { opacity: 0; transform: scale(var(--k)) translateY(24px); } 18%, 100% { opacity: 1; transform: scale(var(--k)); } }
@keyframes s-dot { 0%, 100% { background: var(--line-strong); } 18%, 82% { background: var(--flare); } }
@keyframes s-step-on { 0%, 100% { border-color: var(--line); } 30%, 70% { border-color: var(--flare-ink); } }

@media (prefers-reduced-motion: no-preference) {
  /* Time-based: the hero arrives, the trail draws, the chips bob, the marquee runs, the live dot breathes */
  .s-hero-copy .sw-eyebrow, .s-h1, .s-hero-copy > .s-lead, .s-hero-copy > .s-row, .s-hero-copy > .s-small { animation: s-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .s-h1 { animation-delay: .08s; }
  .s-hero-copy > .s-lead { animation-delay: .18s; }
  .s-hero-copy > .s-row { animation-delay: .28s; }
  .s-hero-copy > .s-small { animation-delay: .36s; }
  .s-ph-front { animation: s-front-in 1.2s .25s cubic-bezier(.2,.7,.2,1) both; }
  .s-ph-back { animation: s-back-in 1.2s .1s cubic-bezier(.2,.7,.2,1) both; }
  .s-trail path { stroke-dasharray: 600; animation: s-draw 2.2s .4s ease-out both; }
  .s-float { animation: s-fade .6s 1.1s both, s-bob 3.2s 1.7s ease-in-out infinite alternate; }
  .s-float-2 { animation-delay: 1.3s, 2.1s; }
  .s-float-3 { animation-delay: 1.5s, 1.9s; }
  .s-marquee-track { animation: s-marq 44s linear infinite; }
  .s-live i, .s-float-1 i { animation: s-pulse 2.4s ease-in-out infinite; }
  .s-hand-good .s-chain::after { animation: s-run-y 3.6s linear infinite; }

  /* Scroll-driven: each block rises as it enters; the phone swaps to the stage in view */
  @supports (animation-timeline: view()) {
    .sw-section-inner > .sw-eyebrow, .sw-section-inner > .sw-section-title, .sw-section-inner > .sw-section-lead,
    .s-bridge, .s-split > *, .s-hand-row, .s-path-box, .s-st, .s-store, .s-card, .s-two > *, .s-anchor, .sw-price,
    .s-credit, .s-grow-head, .s-mod, .s-grow-foot, .s-faq details, .s-form, .s-cta {
      animation: s-rise linear both; animation-timeline: view(); animation-range: entry 5% entry 75%;
    }
    .s-card:nth-child(2), .sw-price:nth-child(2), .s-mod:nth-child(4n+2) { animation-range: entry 15% entry 85%; }
    .s-card:nth-child(3), .s-mod:nth-child(4n+3) { animation-range: entry 25% entry 95%; }
    .s-mod:nth-child(4n+4) { animation-range: entry 35% cover 30%; }

    .s-path-box { view-timeline: --pathbox block; }
    .s-path-box .sw-path-bar { animation: s-wipe linear both; animation-timeline: --pathbox; animation-range: entry 40% cover 55%; }
    .s-card { view-timeline: --card block; }
    .s-card .sw-work-frame img { animation: s-zoom linear both; animation-timeline: --card; animation-range: entry 0% cover 60%; }

    .s-path-body { timeline-scope: --st1, --st2, --st3, --st4, --st5, --st6; }
    .s-st-1 { view-timeline: --st1 block; } .s-st-2 { view-timeline: --st2 block; } .s-st-3 { view-timeline: --st3 block; }
    .s-st-4 { view-timeline: --st4 block; } .s-st-5 { view-timeline: --st5 block; } .s-st-6 { view-timeline: --st6 block; }
    .s-st .sw-step { animation: s-step-on linear both; animation-timeline: view(); animation-range: cover 30% cover 70%; }
    .s-st-4 .sw-step { animation: none; }
    .s-scr { animation: s-show linear both; animation-range: cover 30% cover 70%; }
    .s-scr-1 { animation-name: s-show-first; animation-timeline: --st1; }
    .s-scr-2 { animation-timeline: --st2; } .s-scr-3 { animation-timeline: --st3; } .s-scr-4 { animation-timeline: --st4; } .s-scr-5 { animation-timeline: --st5; }
    .s-scr-6 { animation-name: s-show-last; animation-timeline: --st6; }
    .s-dots i { animation: s-dot linear both; animation-range: cover 30% cover 70%; }
    .s-dots .s-dot-1 { animation-timeline: --st1; } .s-dots .s-dot-2 { animation-timeline: --st2; } .s-dots .s-dot-3 { animation-timeline: --st3; }
    .s-dots .s-dot-4 { animation-timeline: --st4; } .s-dots .s-dot-5 { animation-timeline: --st5; } .s-dots .s-dot-6 { animation-timeline: --st6; }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .s-hand-good .s-chain::after { animation-name: s-run-x; }
}

/* Only on the live site: the form's spam trap, the human check and the reply line. */
html { scroll-behavior: smooth; }
body { margin: 0; background: #0A0F1A; }
section[id] { scroll-margin-top: 16px; }
.s-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.s-form-msg { margin: 0; min-height: 24px; font-size: 16px; line-height: 24px; color: var(--ink-soft); }
.s-form-msg.is-ok { color: var(--flare-ink); font-weight: 600; }
.s-form [type=submit][disabled] { opacity: .6; cursor: progress; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* Language: the picker in the top bar and the one-time line after an automatic switch. */
.s-nav-end { display: flex; align-items: center; gap: var(--space-4); }
.s-lang { position: relative; display: inline-flex; align-items: center; color: var(--ink-soft); }
.s-lang svg { position: absolute; inset-inline-start: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; pointer-events: none; }
.s-lang select { appearance: none; -webkit-appearance: none; min-height: 40px; padding-block: 0; padding-inline: 34px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: 500 14px/1 var(--font-body); cursor: pointer; }
.s-lang select:hover { border-color: var(--ink); }
.s-lang option { color: #0A0F1A; background: #EEF2F7; }
.s-langbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding-block: 10px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); background: var(--flare); color: var(--on-flare); font: 500 14px/20px var(--font-body); }
.s-langbar[hidden] { display: none; }
.s-langbar a { color: inherit; font-weight: 700; }
.s-langbar-x { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
/* Arabic is joined script: any letter-spacing pulls the letters apart. */
[dir="rtl"] * { letter-spacing: 0 !important; }
