/* Layout: machined-aluminium hero with the product in a metal bezel and floating notices; a module strip;
   a Monday-to-Friday timeline where each day carries a live product frame and caption bar; hairline list
   of everything else; quiet deployment facts; plain demo request. Rust wing is the only colour. */
:root {
  --bg: #F6F7F8;
  --metal: #E6E9EC;
  --paper: #FBFBFC;
  --ink: #161B21;
  --ink-2: #3E4C5A;
  --muted: #69737E;
  --line: #DADEE3;
  --wing: #B4532A;
  --wing-text: #A24A25;
  --button: #1C2127;
  --button-text: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.82);
  --bezel-a: #FDFDFE;
  --bezel-b: #D5DAE0;
  --shadow: 0 50px 100px -40px rgba(28, 33, 39, 0.45), 0 18px 40px -24px rgba(28, 33, 39, 0.3);
  --app-bg: #14181D;
  --app-panel: #1C2228;
  --app-line: #2A323B;
  --app-text: #CCD4DC;
  --app-dim: #7F8B97;
  --ok: #6CC79B;
  --amber: #E3B451;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --metal: #171B20; --paper: #13161A; --ink: #E9EDF0; --ink-2: #C9D2DB; --muted: #8E99A5; --line: #262C33;
    --wing-text: #E07B4E; --button: #E9EDF0; --button-text: #14181D; --glass: rgba(28, 33, 39, 0.82);
    --bezel-a: #3A424B; --bezel-b: #1D2228; --shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101317; --metal: #171B20; --paper: #13161A; --ink: #E9EDF0; --ink-2: #C9D2DB; --muted: #8E99A5; --line: #262C33;
  --wing-text: #E07B4E; --button: #E9EDF0; --button-text: #14181D; --glass: rgba(28, 33, 39, 0.82);
  --bezel-a: #3A424B; --bezel-b: #1D2228; --shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--wing); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.028em; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--metal); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; background: color-mix(in srgb, var(--metal) 80%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: 0.14em; font-size: 13px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--body); padding: 11px 18px; border-radius: 8px; border: 0; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--button); color: var(--button-text); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 16px -8px rgba(28,33,39,0.6); }
.btn-dark:hover { filter: brightness(1.15); }
.btn-quiet { color: var(--ink); background: transparent; padding-inline: 4px; }
.btn-quiet .ring { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); }
.btn-quiet .ring svg { width: 10px; height: 10px; margin-left: 2px; }
.btn-quiet small { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; }

/* Hero */
.hero { position: relative; overflow: hidden; background-color: var(--metal); border-bottom: 1px solid var(--line); }
.hero-tex { position: absolute; inset: 0; background-size: 600px 600px; opacity: 0.9; pointer-events: none; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 70% 45%, color-mix(in srgb, var(--paper) 85%, transparent), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-block: 96px 104px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.04; margin-block: 22px 22px; }
.hero h1 .mark { background: linear-gradient(transparent 82%, color-mix(in srgb, var(--wing) 55%, transparent) 82%, color-mix(in srgb, var(--wing) 55%, transparent) 94%, transparent 94%); padding-inline: 2px; }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }

.stage { position: relative; perspective: 1800px; min-width: 0; }
.bezel { position: relative; padding: 9px; border-radius: 20px; background: linear-gradient(155deg, var(--bezel-a), var(--bezel-b)); box-shadow: var(--shadow), 0 1px 0 rgba(255,255,255,0.7) inset; transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.bezel::after { content: ""; position: absolute; inset: 9px; border-radius: 12px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 32%, transparent 33%); }
.chip { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 16px 30px -18px rgba(28,33,39,0.45); font-size: 13px; color: var(--ink); max-width: 260px; }
.chip .label { font-size: 10px; letter-spacing: 0.12em; display: flex; align-items: center; gap: 6px; }
.chip .label i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.chip-a { left: -34px; bottom: 54px; }
.chip-b { right: -22px; top: -22px; }
.play-dot { position: absolute; right: 22px; bottom: 22px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.5); }
.play-dot svg { width: 12px; height: 12px; margin-left: 2px; }

/* App window (always the product's dark UI) */
.app { background: var(--app-bg); color: var(--app-text); border-radius: 12px; overflow: hidden; font-size: 12.5px; line-height: 1.4; font-family: var(--body); }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--app-line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--app-line); display: block; }
.app-url { font-family: var(--mono); font-size: 11px; color: var(--app-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-body { display: grid; grid-template-columns: 138px minmax(0, 1fr); min-height: 360px; }
.app-nav { border-right: 1px solid var(--app-line); padding: 12px 8px; display: flex; flex-direction: column; gap: 1px; }
.app-nav .g { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--app-dim); padding: 10px 8px 4px; }
.app-nav span.it { padding: 5px 8px; border-radius: 5px; color: var(--app-dim); }
.app-nav span.on { background: var(--app-panel); color: #fff; box-shadow: inset 2px 0 0 var(--wing); }
.app-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.crumb { font-size: 10.5px; color: var(--app-dim); }
.ttl { font-weight: 600; font-size: 14px; color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: rgba(108, 199, 155, 0.12); color: var(--ok); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.amber { background: rgba(227, 180, 81, 0.12); color: var(--amber); }
.pill.dim { background: rgba(127, 139, 151, 0.14); color: var(--app-dim); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 7px; padding: 9px 11px; min-width: 0; }
.tile .k { font-size: 10.5px; color: var(--app-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .v { font-family: var(--mono); font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.tile .v small { font-size: 11px; color: var(--app-dim); }
.panel { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 7px; padding: 10px 12px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--app-dim); }
.panel svg { width: 100%; height: auto; display: block; }

/* Modules strip */
.modules { background: var(--paper); border-bottom: 1px solid var(--line); }
.modules .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mod { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-block: 26px; padding-inline: 24px; border-left: 1px solid var(--line); }
.mod:first-child { border-left: 0; padding-left: 0; }
.ico { width: 38px; height: 38px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset; }
.ico svg { width: 18px; height: 18px; stroke: var(--ink-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mod b { display: block; font-weight: 600; font-size: 15px; }
.mod span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; }

/* Week */
.week { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-block: 104px 28px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-top: 12px; }
.section-head p { color: var(--muted); max-width: 26em; font-size: 15px; }
.days { position: relative; }
.day { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 72px; align-items: center; padding-block: 88px; border-bottom: 1px solid var(--line); }
.day:last-child { border-bottom: 0; }
.when { display: flex; align-items: baseline; gap: 14px; }
.when .d { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.when .t { font-family: var(--mono); font-size: 13px; color: var(--wing-text); font-variant-numeric: tabular-nums; }
.when .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.day h3 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.12; margin-block: 18px 16px; }
.day p { color: var(--muted); }

.frame { position: relative; padding: 8px; border-radius: 16px; background: linear-gradient(155deg, var(--bezel-a), var(--bezel-b)); box-shadow: var(--shadow), 0 1px 0 rgba(255,255,255,0.6) inset; min-width: 0; }
.frame .app-main { min-height: 300px; }
.cap { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 9px 12px; border-radius: 9px; background: var(--paper); font-family: var(--mono); font-size: 12px; color: var(--ink-2); min-height: 44px; }
.cap span { flex: 1; min-width: 0; }
.cap button { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.cap button:hover { color: var(--ink); border-color: var(--muted); }

/* Report */
.bars { display: grid; gap: 11px; margin-top: 4px; }
.bar { display: grid; grid-template-columns: 66px minmax(0, 1fr) 56px; gap: 10px; align-items: center; }
.bar .track { height: 12px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; display: flex; }
.bar .in { background: #8D9BA8; }
.bar .out { background: var(--wing); }
.bar .num { font-family: var(--mono); font-size: 11.5px; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.axis { display: grid; grid-template-columns: 66px minmax(0, 1fr) 56px; gap: 10px; font-family: var(--mono); font-size: 10px; color: var(--app-dim); margin-top: 4px; }
.axis div:nth-child(2) { display: flex; justify-content: space-between; }
.legend { display: flex; gap: 16px; font-size: 10.5px; color: var(--app-dim); margin-top: 10px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.mail { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 7px; background: var(--app-panel); border: 1px solid var(--app-line); }
.mail .av { width: 28px; height: 28px; border-radius: 50%; background: #2C343D; display: grid; place-items: center; }
.mail .av svg { width: 14px; height: 14px; }
.mail b { color: #fff; font-weight: 600; display: block; }
.mail span { color: var(--app-dim); font-size: 11px; }
.mail .tm { font-family: var(--mono); font-size: 10.5px; color: var(--app-dim); }

/* Phone */
.loop-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: #14181D; object-fit: cover; }
.phone-wrap { background: radial-gradient(80% 90% at 50% 20%, #2A3038, #151A1F); border-radius: 12px; padding: 34px 28px 26px; display: grid; place-items: center; }
.handset { width: 100%; max-width: 470px; border-radius: 22px; padding: 16px 18px 18px; background: linear-gradient(170deg, #3A4048 0%, #22272D 40%, #1A1E23 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 30px 50px -20px rgba(0,0,0,0.7); }
.ph-top { display: grid; grid-template-columns: 22px minmax(0, 1fr) 22px; gap: 10px; align-items: center; }
.lkeys { display: grid; gap: 9px; }
.lkeys i { height: 16px; border-radius: 4px; background: #2C3239; box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset; display: block; }
.lkeys i.lit { background: #2C3239; box-shadow: inset 0 0 0 1px rgba(108,199,155,0.6), 0 0 8px rgba(108,199,155,0.25); }
.screen { aspect-ratio: 5 / 3; max-width: 100%; border-radius: 5px; overflow: hidden; position: relative; color: #fff; font-size: 11px; background: linear-gradient(180deg, rgba(10,14,18,0.25), rgba(10,14,18,0.55)), linear-gradient(160deg, #3E5A73 0%, #6C8197 40%, #B98762 74%, #7F4429 100%); box-shadow: 0 0 0 2px #0C0F12; }
.scr-top { display: flex; justify-content: space-between; gap: 8px; padding: 5px 9px; background: rgba(0,0,0,0.42); font-family: var(--mono); font-size: 10px; }
.scr-fwd { position: absolute; left: 0; right: 0; top: 22px; padding: 4px 9px; background: rgba(227,180,81,0.92); color: #1C2127; font-weight: 600; font-size: 10.5px; transition: opacity 0.4s; }
.scr-lines { position: absolute; left: 7px; top: 48px; display: grid; gap: 5px; width: 50%; }
.scr-lines div { background: rgba(0,0,0,0.45); padding: 4px 8px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-lines div.act { box-shadow: inset 3px 0 0 var(--ok); }
.scr-soft { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(0,0,0,0.55); }
.scr-soft span { text-align: center; padding: 5px 0; border-left: 1px solid rgba(255,255,255,0.12); transition: background 0.2s; }
.scr-soft span:first-child { border-left: 0; }
.scr-soft span.press { background: rgba(180, 83, 42, 0.85); }
.skeys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; padding-inline: 32px; }
.skeys i { height: 10px; border-radius: 5px; background: #2C3239; display: block; transition: background 0.2s; box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset; }
.skeys i.press { background: var(--wing); }
.shot { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.shot.flash { animation: flash 0.45s ease-out; }
@keyframes flash { 0% { opacity: 0.7; } 100% { opacity: 0; } }

/* Tables inside app */
.rows { display: grid; gap: 0; border: 1px solid var(--app-line); border-radius: 7px; overflow: hidden; }
.r { display: grid; gap: 10px; align-items: center; padding: 9px 11px; border-top: 1px solid var(--app-line); background: var(--app-panel); transition: background 0.4s; }
.r:first-child { border-top: 0; }
.r.hd { background: transparent; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--app-dim); }
.r .m { font-family: var(--mono); font-size: 11px; color: var(--app-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.r .s { color: var(--app-dim); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.r .who { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.r.new { background: #232B33; }
.mini-btn { font: 600 10.5px var(--body); color: #fff; background: var(--wing); border-radius: 5px; padding: 4px 9px; justify-self: end; white-space: nowrap; }
.onb .r { grid-template-columns: minmax(0, 1.5fr) 50px minmax(0, 1fr) 74px; }
.patch .r { grid-template-columns: minmax(0, 1fr) repeat(4, 58px); }
.audit .r { grid-template-columns: 46px minmax(0, 0.8fr) minmax(0, 2fr); }
.st { display: grid; place-items: center; height: 18px; border-radius: 4px; font-family: var(--mono); font-size: 9.5px; color: var(--app-dim); background: rgba(255,255,255,0.03); }
.st.done { color: var(--ok); background: rgba(108,199,155,0.1); }
.st.run { color: var(--amber); background: rgba(227,180,81,0.12); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
.scope { display: flex; flex-wrap: wrap; gap: 6px; }
.scope code { font-family: var(--mono); font-size: 10.5px; padding: 2px 7px; border-radius: 4px; background: rgba(180,83,42,0.16); color: #F0A27F; }

/* Everything else */
.more { background: var(--paper); border-top: 1px solid var(--line); }
.list { margin-top: 0; }
.li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 2fr); gap: 32px; padding-block: 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.li h3 { font-size: 20px; font-weight: 540; letter-spacing: -0.015em; }
.li p { color: var(--muted); font-size: 15px; }
.li .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); justify-self: end; text-align: right; }

/* Deployment */
.deploy { background: var(--bg); border-top: 1px solid var(--line); }
.deploy .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; padding-block: 104px; }
.deploy h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-block: 12px 18px; }
.deploy p.lead { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.fact { padding-block: 18px 20px; border-top: 1px solid var(--line); }
.fact b { display: block; font-weight: 600; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 15px; }
.apis { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.apis span { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }

/* Demo */
.demo { background: var(--metal); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.demo .hero-tex { opacity: 0.6; }
.demo .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding-block: 96px; align-items: start; }
.demo h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-block: 12px 16px; }
.demo p { color: var(--muted); max-width: 28em; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 30px 60px -40px rgba(28,33,39,0.4); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select { font: 15px var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
input:focus, select:focus { outline: 2px solid var(--wing); outline-offset: 1px; }
form .btn { grid-column: 1 / -1; justify-content: center; padding-block: 12px; }
.sent { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-family: var(--mono); }

footer { background: var(--metal); border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 26px; }

@media (max-width: 980px) {
  .hero .wrap, .day, .deploy .wrap, .demo .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .bezel { transform: none; }
  .chip-a { left: 10px; bottom: -26px; }
  .chip-b { right: 10px; top: -26px; }
  .modules .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod:nth-child(3) { border-left: 0; padding-left: 0; }
  .mod:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .li .tag { display: none; }
  .day { padding-block: 64px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero .wrap { padding-block: 64px 80px; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-nav { display: none; }
  .modules .wrap { grid-template-columns: minmax(0, 1fr); }
  .mod, .mod:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .mod:last-child { border-bottom: 0; }
  .li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .facts, form { grid-template-columns: minmax(0, 1fr); }
  .chip { max-width: 220px; font-size: 12px; }
  .tiles .tile:nth-child(3) { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patch .r { grid-template-columns: minmax(0, 1fr) repeat(4, 40px); }
  .onb .r { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 70px; }
  .onb .r > :nth-child(2) { display: none; }
  .audit .r { grid-template-columns: 40px minmax(0, 1fr); }
  .audit .r > :nth-child(2) { display: none; }
  .phone-wrap { padding: 20px 12px; }
  .skeys { padding-inline: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Link from a landing day to its full walkthrough */
.walk-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.walk-link span { color: var(--wing-text); transition: transform .2s ease; }
.walk-link:hover { border-color: var(--wing); }
.walk-link:hover span { transform: translateX(3px); }

/* See it in action */
.nav-links a[aria-current="page"] { color: var(--ink); }
.act-hero .wrap { display: block; padding-block: 80px 56px; }
.act-hero h1 { max-width: 16em; }
.act-hero .lede { max-width: 40em; }
.chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.chap { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.chap b { font-family: var(--display); font-weight: 600; font-size: 15px; }
.chap span { font-size: 13.5px; color: var(--muted); }
.chap i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.chap.ready i { color: var(--wing-text); }
.chap.ready:hover { border-color: var(--wing); transform: translateY(-1px); }
.chap.soon { opacity: .72; }
.act-body { background: var(--paper); }
.walk { padding-block: 88px; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.walk:last-child { border-bottom: 0; }
.walk-head { max-width: 46em; }
.walk-head h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-block: 16px 14px; }
.walk-head p { color: var(--muted); }
.walk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
.walk-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: #14181D; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: var(--muted); cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.steps li time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.steps li:hover { background: var(--bg); }
.steps li.past { color: var(--ink-2); }
.steps li.on { color: var(--ink); background: var(--bg); border-color: var(--line); box-shadow: inset 2px 0 0 var(--wing); }
.steps li.on time { color: var(--wing-text); }
.walk-soon { margin-top: 32px; height: 120px; border-radius: 14px; border: 1px dashed var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.act-demo .wrap { align-items: center; }
@media (max-width: 980px) {
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .walk { padding-block: 64px; }
}
@media (max-width: 600px) { .chapters { grid-template-columns: minmax(0, 1fr); } }
