/* ---------- Tokens (light-only, industrial) ---------- */
:root {
  color-scheme: light;
  --bg: #F4F4F2;
  --bg-2: #ECECEA;
  --panel: #FFFFFF;
  --dark: #121314;
  --dark-2: #1B1C1E;
  --ink: #111214;
  --ink-2: #45474D;
  --muted: #7A7D84;
  --line: #DCDCD8;
  --line-2: #C9C9C4;
  --ember: #E4572E;
  --green: #17865C;
  --green-bright: #3DD68C;
  --amber: #D9910A;
  --red: #D14343;
  --focus: #1D4ED8;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-size: 18px; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.label { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.idx { font-family: var(--mono); font-size: 12px; color: var(--ember); letter-spacing: .04em; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 60ch; margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .carousel-track, .w-eyes, .is-working .w-led, .dot { animation: none !important; }
  .w-pupil { transition: none; }
}

/* ---------- Worker mascot ---------- */
.worker { display: inline-block; overflow: visible; }
.worker-xs { width: 20px; height: 20px; }
.worker-sm { width: 40px; height: 40px; }
.worker-lg { width: 88px; height: 88px; }
.worker-xl { width: 120px; height: 120px; }
.w-body { fill: var(--dark); }
.w-white { fill: #F4F4F2; }
.w-pupil { fill: var(--dark); transition: transform .12s ease-out; }
.w-led { fill: var(--muted); }
.is-working .w-led { fill: var(--green-bright); animation: led 1.1s ease-in-out infinite; }
.is-done .w-led { fill: var(--green-bright); }
.w-eyes { transform-origin: 48px 50px; animation: blink 5.5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Mono buttons (Factory-style) ---------- */
.mbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.mbtn:hover { border-color: var(--ink); }
.mbtn-dark { background: var(--ink); color: #F4F4F2; border-color: var(--ink); }
.mbtn-dark:hover { background: #000; }
.mbtn-lg { padding: 14px 20px; font-size: 13px; }
.mbtn.block { width: 100%; }
.mbtn + .mbtn.block { margin-top: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--mono); letter-spacing: .08em; text-decoration: none; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.lang button { font: 500 11px/1 var(--mono); letter-spacing: .06em; padding: 9px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Load-in choreography ---------- */
.hero-mark { width: 64px; height: 64px; margin-bottom: 6px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.18)); }
.hero-title { width: 100%; text-wrap: initial; overflow: hidden; }
.hero-title .line { display: flex; flex-wrap: wrap; justify-content: center; }
.hero-title .wd { display: inline-flex; white-space: nowrap; }
.hero-title .ch { display: inline-block; }
.hero-title .ch.sp { width: .28em; }
body[data-worker] .hero-title { font-size: clamp(28px, 4.6vw, 58px); }
.hero-title .ch.scr { color: var(--muted); }
.rise { opacity: 0; transform: translateY(10px); animation: rise .8s cubic-bezier(.2,.7,.1,1) forwards; }
.hero-mark.rise { animation-delay: 0s; }
.hero-sub.rise { animation-delay: .9s; }
.hero-actions.rise { animation-delay: 1.0s; }
.hero-cmd.rise { animation-delay: 1.1s; }
.rise-late { opacity: 0; transform: translateY(18px) scale(.985); animation: rise 1.1s cubic-bezier(.2,.7,.1,1) .7s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-late { animation: none; transform: none; opacity: 1; }
}

/* ---------- Dark hero on the flow background ---------- */
.hero-dark { position: relative; isolation: isolate; color: #F4F4F2; background: #0A0F11; }
.flow-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; background: radial-gradient(80% 60% at 30% 40%, #22363A 0%, #0A0F11 60%, #1C160C 100%); }
.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 28%, rgba(4,8,10,.55), transparent 70%), linear-gradient(180deg, rgba(4,8,10,.35), transparent 30%, transparent 85%, rgba(4,8,10,.5)); }
.hero-dark .hero-sub, .hero-dark .hero-cmd { color: #C9D1D0; }
.hero-dark .hero-cmd .muted { color: #8A9694; }
.hero-dark .hero-title .ch.scr { color: #7E8C8B; }
.hero-dark .hero-mark .w-body { fill: #F4F4F2; }
.hero-dark .hero-mark .w-white { fill: #0A0F11; }
.hero-dark .hero-mark .w-pupil { fill: #F4F4F2; }
.hero-dark .hero-mark { filter: drop-shadow(0 12px 24px rgba(0,0,0,.5)); }
.hero-dark .mbtn { color: #F4F4F2; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.hero-dark .mbtn:hover { border-color: #F4F4F2; }
.hero-dark .mbtn-dark { background: #F4F4F2; color: #0A0F11; border-color: #F4F4F2; }
.hero-dark .mbtn-dark:hover { background: #fff; }
.hero-dark .media { border-color: rgba(255,255,255,.14); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.5); }
.hero-dark .final-inner .worker-lg .w-body { fill: #F4F4F2; }
.hero-dark .final-inner .worker-lg .w-white { fill: #0A0F11; }
.hero-dark .final-inner .worker-lg .w-pupil { fill: #F4F4F2; }

/* nav goes dark while the hero is under it */
body.on-hero .nav { background: rgba(8,12,14,.55); border-bottom-color: rgba(255,255,255,.1); color: #F4F4F2; }
body.on-hero .nav-links { color: #C9D1D0; }
body.on-hero .nav-links a:hover { color: #fff; }
body.on-hero .lang { border-color: rgba(255,255,255,.28); }
body.on-hero .lang button { color: #C9D1D0; }
body.on-hero .lang button[aria-pressed="true"] { background: #F4F4F2; color: #0A0F11; }
body.on-hero .nav .mbtn-dark { background: #F4F4F2; color: #0A0F11; border-color: #F4F4F2; }
body.on-hero .brand .w-body { fill: #F4F4F2; }
body.on-hero .brand .w-white { fill: #0A0F11; }
body.on-hero .brand .w-pupil { fill: #F4F4F2; }
.nav { transition: background .3s ease, color .3s ease, border-color .3s ease; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 6vw, 80px); display: grid; gap: clamp(40px, 6vw, 80px); }
.hero-inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.hero-title { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(30px, 5.2vw, 64px); line-height: 1; }
.hero-sub { font-size: clamp(12px, 1.2vw, 14px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.hero-cmd { font-size: 12px; color: var(--ink-2); margin-top: 6px; letter-spacing: .02em; }

/* ---------- Hero chips ---------- */
.hero-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #DCE3E2; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.hero-chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); }
.hero-dark .hero-chips li { color: #DCE3E2; }

/* ---------- Pilot strip ---------- */
.pilot { padding-block: clamp(48px, 6vw, 80px); }
.pilot-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 32px; }
.pilot-head { max-width: 720px; }
.pilot-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pilot-steps li { border-top: 1px solid var(--line-2); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.pilot-steps h3 { font-size: 18px; }
.pilot-steps p { color: var(--ink-2); font-size: 15px; }
.pilot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pilot-cta span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Workers (job cards) ---------- */
.wk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.wk { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.wk:hover { border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); transform: translateY(-2px); }
.wk-head { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.wk-head .worker { width: 40px; height: 40px; }
.wk-role { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.wk-reports { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.wk-reports i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.wk-duties { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.wk-duties li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: baseline; }
.wk-duties li::before { content: "✓"; font-family: var(--mono); font-size: 11px; color: var(--green); }
.wk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.wk-stats div { display: grid; gap: 2px; }
.wk-stats b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.wk-stats b.green { color: var(--green); }
.wk-stats span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wk .mbtn { justify-self: start; }
.wk.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

@media (max-width: 900px) {
  .pilot-steps { grid-template-columns: 1fr; }
}

/* ---------- Media panel: mission-control app demo ---------- */
.media {
  position: relative; height: clamp(360px, 42vw, 540px); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  background: #101214;
}
.app { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; color: #E6E6E2; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8D9098; border-bottom: 1px solid rgba(255,255,255,.07); background: #0D0F11; }
.app-bar .crumb { color: #C4C6CC; }
.app-bar .pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.app-bar .app-region { color: #6E7178; }
.app-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 0; }
.app-side { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; border-right: 1px solid rgba(255,255,255,.07); background: #0D0F11; }
.side-head { display: flex; justify-content: space-between; padding: 12px 14px 8px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #6E7178; }
.side-list { list-style: none; margin: 0; padding: 4px 8px; display: grid; gap: 2px; align-content: start; }
.side-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 6px; font-size: 12px; color: #A9ACB3; transition: background .25s ease, color .25s ease; position: relative; }
.side-row .worker { width: 18px; height: 18px; }
.side-row .w-body { fill: #2A2D33; } .side-row .w-white { fill: #C4C6CC; } .side-row .w-pupil { fill: #0D0F11; } .side-row .w-led { fill: #3DD68C; }
.side-row.active { background: rgba(255,255,255,.07); color: #F2F2EE; }
.side-row.active .w-body { fill: #F2F2EE; } .side-row.active .w-white { fill: #0D0F11; } .side-row.active .w-pupil { fill: #F2F2EE; }
.side-row.hover:not(.active) { background: rgba(255,255,255,.04); }
.side-row .side-n { font-family: var(--mono); font-size: 11px; color: #6E7178; transition: color .2s ease, transform .2s ease; }
.side-row.active .side-n { color: #B9BCC2; }
.side-row .side-n.bump { color: var(--green-bright); transform: translateY(-2px); }
.side-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #6E7178; border-top: 1px solid rgba(255,255,255,.07); }
.app-main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.dw-cmd { padding: 12px 16px 6px; font-size: 12px; color: #F2F2EE; white-space: nowrap; overflow: hidden; }
.dw-cmd .muted { color: #6E7178; }
.caret { display: inline-block; width: 7px; height: 13px; background: #F2F2EE; vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
.caret.off { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.app-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); min-height: 0; }
.dw-log { list-style: none; margin: 0; padding: 10px 16px 12px; display: grid; gap: 9px; align-content: start; font-size: 12px; line-height: 1.5; overflow-y: auto; scrollbar-width: none; min-height: 0; }
.dw-log::-webkit-scrollbar { display: none; }
.dw-log li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; color: #B9BCC2; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.dw-log li.in { opacity: 1; transform: none; }
.dw-log time { color: #6E7178; }
.dw-log b { color: #F2F2EE; font-weight: 500; }
.dw-log .ok { color: var(--green-bright); } .dw-log .warn { color: var(--amber); }
.dw-log li.result b { color: var(--green-bright); }
.dw-right { padding: 8px 14px 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; min-height: 0; overflow: hidden; }
.dw-field { display: grid; gap: 3px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; background: rgba(255,255,255,.02); }
.dw-field small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8D9098; }
.dw-field b { font-size: 12px; font-weight: 500; color: #4A4D55; transition: color .25s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-field.set b { color: #F2F2EE; }
.dw-field.set.ok b { color: var(--green-bright); }
.dw-score { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 10px; border-radius: 6px; background: rgba(255,255,255,.04); }
.dw-score small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8D9098; }
.dw-score b { font-size: 24px; font-weight: 500; color: #F2F2EE; line-height: 1; }
.dw-score .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.dw-score .bar i { display: block; height: 100%; width: 0; background: var(--green-bright); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.app-status { display: flex; gap: 22px; padding: 8px 16px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #6E7178; border-top: 1px solid rgba(255,255,255,.07); }
.dw-toast { position: absolute; left: 240px; bottom: 44px; z-index: 2; font-size: 11px; color: #0F1012; background: #F2F2EE; padding: 9px 12px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(16px); opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.2,1), opacity .3s ease; }
.dw-toast.on { transform: none; opacity: 1; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; transform: translate(85%, 90%); transition: transform .9s cubic-bezier(.3,.6,.2,1); filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); pointer-events: none; }
.cursor.click svg { transform: scale(.85); }
.cursor svg { transition: transform .12s ease; }

@media (max-width: 760px) {
  .app-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .app-side { grid-template-rows: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .side-head, .side-foot { display: none; }
  .side-list { display: flex; gap: 4px; padding: 6px 8px; overflow-x: auto; scrollbar-width: none; }
  .side-row { grid-template-columns: 16px auto; gap: 6px; padding: 7px 9px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
  .side-row .side-n { display: none; }
  .app-cols { grid-template-columns: 1fr; }
  .dw-right { display: none; }
  .dw-toast { left: 12px; right: 12px; bottom: 40px; }
  .app-bar .app-region, .app-bar .crumb { display: none; }
  .cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .side-row, .cursor, .dw-log li, .dw-toast, .dw-score .bar i { transition: none !important; }
  .caret { animation: none; }
}

/* ---------- Tools marquee ---------- */
.tools { padding-block: 8px 24px; }
.tools .label { margin-bottom: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 8px; width: max-content; animation: marquee 60s linear infinite; padding-inline: 8px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 500 12px/1 var(--mono); letter-spacing: .04em; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head.center .sub { margin-inline: auto; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }

/* ---------- Foundation cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.card .idx { margin-bottom: 8px; }
.mono-h { font: 500 22px/1.1 var(--mono); letter-spacing: -0.01em; text-transform: uppercase; }
.card .strong { font-weight: 500; color: var(--ink); }
.card p:not(.strong) { color: var(--ink-2); font-size: 15px; }

/* ---------- Scroll word reveal ---------- */
.words .w { transition: opacity .45s ease; opacity: .22; }
.words .w.on { opacity: 1; }

/* ---------- Worker unit (3D) ---------- */
.render.wide { margin-bottom: 40px; }
.device-shot { aspect-ratio: 21 / 9; background: #0B0C0E; }
.device-shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.device-shot::before { display: none; }
.device-shot::after { opacity: .35; }
.device-hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8D9098; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.device-hud > span { display: inline-flex; align-items: center; gap: 8px; }
.device-hud .dot { background: var(--green-bright); }
.device-shot[hidden] { display: none; }

/* ---------- Product renders ---------- */
.renders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.render { margin: 0; display: grid; gap: 14px; }
.shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, #2A2C30 0%, #17181B 45%, #0E0F11 100%);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  transform-style: preserve-3d; transition: transform .25s ease; will-change: transform;
}
.shot::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.shot::after { content: ""; position: absolute; inset: 0; filter: url(#grain); opacity: .5; mix-blend-mode: soft-light; pointer-events: none; }
.ui {
  position: absolute; left: 8%; right: 8%; top: 12%; bottom: -6%;
  background: #141518; border: 1px solid rgba(255,255,255,.08); border-radius: 8px 8px 0 0;
  color: #E6E6E2; box-shadow: 0 40px 60px -20px rgba(0,0,0,.8); display: grid; grid-template-rows: auto 1fr; overflow: hidden;
}
.ui-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8D9098; border-bottom: 1px solid rgba(255,255,255,.07); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #2B2D31; }
.pill { margin-left: auto; padding: 3px 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; color: #B9BCC2; letter-spacing: .08em; }
.ui-log { list-style: none; margin: 0; padding: 12px; display: grid; gap: 7px; align-content: start; font-size: 11px; line-height: 1.45; }
.ui-log li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; color: #C4C6CC; opacity: 0; transform: translateY(3px); }
.ui-log li.in { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.ui-log time { color: #6E7178; }
.ui-log b { color: #F2F2EE; font-weight: 500; }
.ui-log .ok { color: var(--green-bright); }
.ui-log .warn { color: var(--amber); }
.ui-log li.result b { color: var(--green-bright); }

.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.ui-kpis > div { background: #141518; padding: 14px 12px; display: grid; gap: 6px; }
.ui-kpis small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8D9098; }
.ui-kpis b { font-size: 26px; font-weight: 500; color: #F2F2EE; line-height: 1; }
.ui-kpis b span { font-size: 14px; color: #8D9098; }
.ui-kpis > div:first-child b { color: var(--green-bright); }
.ui-bars { padding: 14px 12px 6px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px 1fr 28px; align-items: center; gap: 10px; font-size: 10px; color: #B9BCC2; }
.bar i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--green-bright); border-radius: 3px; }
.bar.amber i::after { background: var(--amber); }
.bar.red i::after { background: var(--red); }
.bar em { font-style: normal; text-align: right; color: #F2F2EE; }
.ui-note { padding: 8px 12px 12px; font-size: 10px; color: #8D9098; letter-spacing: .04em; }

.ui-thresh { padding: 16px 12px 8px; display: grid; gap: 8px; }
.ui-thresh .row { display: flex; justify-content: space-between; font-size: 11px; color: #B9BCC2; text-transform: uppercase; letter-spacing: .06em; }
.ui-thresh .row b { color: #F2F2EE; font-weight: 500; }
.ui-thresh .row.muted { color: #6E7178; font-size: 9px; }
.track { position: relative; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--x); background: var(--green-bright); border-radius: 2px; }
.track i::after { content: ""; position: absolute; right: -6px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #F2F2EE; box-shadow: 0 0 0 3px #141518; }
.ui-queues { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 12px 12px; }
.q { border: 1px solid rgba(255,255,255,.09); border-radius: 6px; padding: 12px; display: grid; gap: 4px; }
.q span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8D9098; }
.q b { font-size: 26px; font-weight: 500; color: var(--green-bright); line-height: 1; }
.q.amber b { color: var(--amber); }
.q small { font-size: 10px; color: #B9BCC2; }

.ui-ledger { padding: 12px 12px 4px; display: grid; }
.ui-ledger .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 11px; color: #B9BCC2; }
.ui-ledger .row b { color: #F2F2EE; font-weight: 500; }
.ui-ledger .row.total { border-bottom: 0; color: #F2F2EE; }
.ui-ledger .green { color: var(--green-bright) !important; font-size: 14px; }
.ui-spark { width: 100%; height: 48px; color: var(--green-bright); padding: 0 12px; display: block; }

.render figcaption { display: grid; gap: 4px; }
.render figcaption strong { font-weight: 500; font-size: 17px; }
.render figcaption span { color: var(--ink-2); font-size: 15px; max-width: 52ch; }

/* ---------- Estimate / diagnosis ---------- */
.estimate { background: var(--bg-2); border-block: 1px solid var(--line); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.est-form { display: grid; gap: 36px; }
.step { display: grid; gap: 16px; }
.step-head { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.step-n { font-size: 12px; color: var(--ember); letter-spacing: .06em; padding-top: 5px; }
.step-head h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.step-hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
.step > :not(.step-head) { margin-left: 48px; }

.wf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wf { position: relative; }
.wf input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wf-card { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; position: relative; }
.wf-card svg { grid-row: 1 / 3; width: 24px; height: 24px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wf-card b { font-weight: 500; font-size: 14px; color: var(--ink); }
.wf-card small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.wf-card::after { content: ""; position: absolute; right: 12px; top: 12px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); transition: background .15s ease, border-color .15s ease; }
.wf input:hover + .wf-card { border-color: var(--ink); }
.wf input:checked + .wf-card { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 12px 30px -18px rgba(0,0,0,.35); }
.wf input:checked + .wf-card::after { background: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F4F4F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wf input:checked + .wf-card svg { stroke: var(--ink); }
.wf input:focus-visible + .wf-card { outline: 2px solid var(--focus); outline-offset: 2px; }

.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.num-field { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 14px 12px; display: grid; gap: 10px; }
.num-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); min-height: 22px; }
.stepper { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 6px; }
.stepper button { height: 34px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 6px; font: 400 18px/1 var(--mono); color: var(--ink); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.stepper button:hover { border-color: var(--ink); }
.stepper button:active { background: var(--bg-2); }
.stepper output { display: block; text-align: center; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.cur { display: inline-flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: var(--panel); }
.cur button { font: 500 11px/1 var(--mono); padding: 5px 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.calc-line { font-size: 13px; color: var(--ink-2); letter-spacing: .01em; padding-top: 2px; }
.calc-line b { color: var(--ink); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 12px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; user-select: none; transition: background .12s, color .12s, border-color .12s; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field.oneline { display: grid; gap: 8px; }
.field.oneline > span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input[type="text"] { width: 100%; font: 400 15px/1.4 var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 14px; }
.field input[type="text"]:focus { border-color: var(--ink); outline: none; }
.field input[type="text"]::placeholder { color: var(--muted); }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--ink); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--ink); }

/* result card */
.est-result { position: sticky; top: 80px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.verdict { padding: 18px 22px 16px; border-bottom: 1px solid var(--line); border-top: 4px solid var(--green); display: grid; gap: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--green) 7%, transparent), transparent); }
.verdict[data-level="mid"] { border-top-color: var(--amber); background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 8%, transparent), transparent); }
.verdict-k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.verdict strong { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--green); }
.verdict[data-level="mid"] strong { color: var(--amber); }
.verdict-why { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.verdict-why li { display: flex; gap: 8px; align-items: baseline; }
.verdict-why li::before { content: "✓"; color: var(--green); font-family: var(--mono); font-size: 12px; }
.verdict[data-level="mid"] .verdict-why li::before { content: "·"; color: var(--amber); }
.gain-block { padding: 20px 22px 18px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.gain-block .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gain-big { font-size: clamp(38px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.bars { display: grid; gap: 8px; margin-top: 12px; }
.barrow { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.barrow i { height: 10px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.barrow i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink-2); border-radius: 3px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.barrow.after i::after { background: var(--green); }
.barrow b { font-weight: 500; color: var(--ink); font-size: 13px; }
.replace { display: grid; grid-template-columns: auto auto auto 1px 1fr; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.replace > div { display: grid; gap: 2px; }
.replace b { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.replace span { font-size: 11px; color: var(--muted); }
.replace .arrow { font-size: 20px; color: var(--muted); }
.replace .sep { height: 34px; background: var(--line); }
.est-result .mbtn.block { width: calc(100% - 44px); margin: 16px 22px 0; }
.est-result .mbtn + .mbtn.block { margin-top: 8px; }
.fine { font-size: 12px; color: var(--muted); padding: 12px 22px 0; text-align: center; }
.assump { margin: 12px 22px 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.assump summary { cursor: pointer; list-style: none; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.assump summary::-webkit-details-marker { display: none; }
.assump summary::after { content: "+"; }
.assump[open] summary::after { content: "−"; }
.assump p { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.assump .range { display: grid; gap: 6px; margin-top: 10px; }
.assump .range > span { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.fine-left { font-size: 12px; color: var(--muted); margin-top: 24px; }

/* ---------- Scenarios carousel (dark glass on the flow) ---------- */
.scenarios .label { color: #A9B4B2; }
.scenarios .label::before { background: var(--green-bright); }
.scenarios h2 { color: #F4F4F2; }
.scenarios .mbtn { color: #F4F4F2; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.scenarios .mbtn:hover { border-color: #F4F4F2; }
.scenarios .fine-left { color: #8A9694; }
.carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); padding-block: 8px; }
.carousel-track { display: flex; gap: 16px; width: max-content; padding-inline: var(--gutter); animation: marquee 70s linear infinite; }
.carousel-track.paused { animation-play-state: paused; }
.sc {
  width: 380px; flex-shrink: 0; padding: 22px; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; color: #E6E6E2;
  background: linear-gradient(160deg, rgba(14,20,22,.62), rgba(8,12,14,.78));
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.sc:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.sc-tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9FB3B5; }
.sc h3 { font-size: 20px; color: #F4F4F2; }
.ledger { margin: 8px 0 0; display: grid; align-self: end; }
.ledger > div { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.ledger dt { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8A9694; line-height: 1.8; }
.ledger dd { margin: 0; color: #C9D1D0; }
.ledger .gain { border-top: 1px solid rgba(255,255,255,.35); }
.ledger .gain dt { color: var(--green-bright); }
.ledger .gain dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: #F4F4F2; }
.ledger .gain b { font-size: 26px; font-weight: 500; color: var(--green-bright); }

/* ---------- Dark industries panel ---------- */
.dark-panel { background: radial-gradient(90% 80% at 80% 0%, #2A2C30 0%, var(--dark) 55%); color: #E6E6E2; border-radius: 14px; padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.dark-panel::after { content: ""; position: absolute; inset: 0; filter: url(#grain); opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.dark-panel > * { position: relative; z-index: 1; }
.dark-panel .label { color: #8D9098; }
.dark-panel .sub { color: #B9BCC2; }
.gradient-h { background: linear-gradient(90deg, currentColor 0%, currentColor 55%, #B58A6A 100%); -webkit-background-clip: text; background-clip: text; color: #F2F2EE; -webkit-text-fill-color: transparent; }
.gradient-h.center { display: block; text-align: center; }
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 36px; }
.ind-grid > div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; }
.ind-grid h3 { font-size: 17px; color: #F2F2EE; }
.ind-grid p { font-size: 14px; color: #A9ACB3; }

/* ---------- Trust panel ---------- */
.trust-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 56px); display: grid; justify-items: center; }
.trust-panel .gradient-h { color: var(--ink); background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 60%, #B58A6A 100%); -webkit-background-clip: text; background-clip: text; }
.trust-panel .sub { text-align: center; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 48px; margin-top: 36px; }
.badge { display: grid; justify-items: center; gap: 8px; color: var(--ink); }
.badge svg { width: 48px; height: 48px; }
.badge span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.chips-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.chips-static span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); }

/* ---------- Use cases ---------- */
.uc { list-style: none; margin: 0; padding: 0; }
.uc li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.uc li:last-child { border-bottom: 1px solid var(--line); }
.uc h3 { font-size: 18px; }
.uc p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.uc a { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.uc a:hover { color: var(--ink); }

/* ---------- Pricing + FAQ ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.price-list { display: grid; margin-top: 28px; }
.price-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 1px solid var(--line); }
.price-list p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.faq { display: grid; margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 20px/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; max-width: 60ch; }

/* ---------- Final ---------- */
.final { border-top: 0; }
.final-inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.final .worker-lg { margin-bottom: 8px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 24px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer a { text-decoration: none; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
@media (min-width: 901px) { .sticky-cta { display: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .renders { gap: 32px 20px; }
  .bar { grid-template-columns: 120px 1fr 24px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards3, .renders, .estimate-grid, .two-col, .ind-grid { grid-template-columns: 1fr; }
  .est-result { position: static; }
  .nums { grid-template-columns: 1fr; }
  .step > :not(.step-head) { margin-left: 0; }
  .row-head { flex-direction: column; align-items: start; }
  .uc li { grid-template-columns: 32px 1fr; }
  .uc li a { grid-column: 2; }
  body { padding-bottom: 72px; }
  .media { height: clamp(380px, 110vw, 520px); }
}
@media (max-width: 480px) {
  .wf-grid { grid-template-columns: 1fr; }
  .replace { grid-template-columns: auto auto auto; }
  .replace .sep { display: none; }
  .replace > div:last-child { grid-column: 1 / -1; }
  .device-shot { aspect-ratio: 4 / 3; }
  .nav { gap: 12px; }
  .nav .mbtn { display: none; }
  .hero-actions .mbtn { width: 100%; }
  .sc { width: 300px; }
  .ui { left: 5%; right: 5%; top: 10%; }
}
