/* Hearth · Ember: warm dark, a glow rising from below, frosted glass. */
:root {
  color-scheme: dark;
  --bg: #120e0c;
  --bg-2: #17120f;
  --stone: #2a221d;
  --glass: rgb(255 255 255 / 0.045);
  --glass-2: rgb(255 255 255 / 0.08);
  --line: rgb(255 255 255 / 0.09);
  --text: #f3e9e1;
  --muted: #a8998f;
  --ember: #f07a40;
  --deep: #c2361f;
  --gold: #ffd27a;
  --gold-2: #ffe2a0;
  --ok: #5cc58a;
  --fire: linear-gradient(100deg, #ffd27a 0%, #f07a40 48%, #c2361f 100%);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 16px;
  --w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-color: rgb(255 210 122 / 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
code { font: 0.86em var(--mono); background: rgb(255 255 255 / 0.06); border: 1px solid var(--line); border-radius: 6px; padding: 0.08em 0.38em; color: var(--gold-2); }
.mono { font-family: var(--mono); }
::selection { background: rgb(240 122 64 / 0.38); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ember); color: #1a1310; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .foot, .top { position: relative; z-index: 1; }

/* The glow rising from the bottom of the window, as in the app. */
body::before {
  content: ''; position: fixed; inset: auto -20% -40% -20%; height: 80vh; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgb(240 122 64 / 0.20), rgb(194 54 31 / 0.08) 40%, transparent 70%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.65; } }

/* ── Header ── */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--w)) / 2));
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: rgb(18 14 12 / 0.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.15s; }
.nav a:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 500 16px var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.btn-fire { background: linear-gradient(180deg, #f6935c, #e0622f); color: #1a1310; box-shadow: 0 8px 30px -8px rgb(240 122 64 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn-fire:hover { box-shadow: 0 12px 40px -8px rgb(240 122 64 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn-glass { background: var(--glass-2); color: var(--text); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-glass:hover:not(:disabled) { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.16); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-radius: var(--r); }

/* ── Type ── */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(46px, 6.2vw, 86px); }
h2 { font-size: clamp(38px, 5vw, 66px); }
h2.big { font-size: clamp(46px, 6.4vw, 88px); }
/* Bottom padding keeps descenders (g, y) inside the clipped gradient. */
em.fire { font-style: italic; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.08em 0.16em 0.1em; margin: 0 0 -0.16em -0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h-code { font-size: 0.8em; padding: 0 0.2em; vertical-align: 0.06em; }
.eyebrow { color: var(--ember); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 18px; }
.say { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 22px 0 0; }
.say.dim { font-size: 16px; opacity: 0.85; }
.sec-head > .btn { margin-top: 30px; }
.kicker { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; margin: 0 0 22px; }
.kicker #greet { color: var(--gold); }

/* ── Hero: the house ── */
.hero {
  min-height: 100vh; max-width: var(--w); margin: 0 auto;
  padding: 110px 20px 60px;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 24px;
}
.lede { color: var(--muted); font-size: 19px; max-width: 34em; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { color: var(--muted); font-size: 12.5px; margin: 22px 0 0; opacity: 0.8; }

.house-stage { position: relative; }
.house { position: relative; aspect-ratio: 1400 / 930; width: 150%; margin: -6% 0 -10% -40%; }
.house::before { /* the bottom glow the house stands on */
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 2%; height: 40%;
  background: radial-gradient(ellipse at 50% 70%, rgb(240 122 64 / 0.30), transparent 65%); filter: blur(10px);
  opacity: calc(0.35 + var(--heat, 0) * 0.65); transition: opacity 0.8s;
}
.house img { position: absolute; inset: 0; width: 100%; height: 100%; }
.house .lit { opacity: 0; transition: opacity 0.45s var(--ease); }
.house .lit.on { opacity: 1; }
.house .lit[data-win='terminal'] { clip-path: inset(64.8% 39.5% 18.4% 50.5%); }
.house .lit[data-win='dormer'] { clip-path: inset(46.8% 58.2% 45.6% 37.8%); }
.house .lit[data-win='left'] { clip-path: inset(62.5% 62% 24.9% 33%); }
.house .lit[data-win='door'] { clip-path: inset(70.6% 53.8% 22.4% 39.2%); }
.house .lit[data-win='rack-top'] { clip-path: inset(44.5% 29.5% 36% 50%); }
.house .lit[data-win='rack-side'] { clip-path: inset(59% 29.5% 7% 61%); }
.house .lit[data-win='rack-bottom'] { clip-path: inset(81.6% 38.8% 6.4% 50%); }

.tray { position: absolute; right: -10px; bottom: 6%; width: 236px; padding: 14px; font-size: 14px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.7); background: rgb(30 24 20 / 0.72); }
.tray-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tray-head img { border-radius: 6px; }
.tray-head span { display: flex; flex-direction: column; line-height: 1.25; }
.tray-head small { color: var(--muted); font-size: 12px; }
.tray-label { margin: 12px 0 4px; font: 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tray-foot { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; cursor: pointer; }
.sw span { display: flex; align-items: center; gap: 9px; }
.sw .dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / 0.2); transition: background 0.3s, box-shadow 0.3s; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw b { width: 34px; height: 20px; border-radius: 99px; background: rgb(255 255 255 / 0.12); position: relative; flex: none; transition: background 0.2s; }
.sw b::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #d9cbc1; transition: transform 0.2s var(--ease), background 0.2s; }
.sw input:checked + b { background: var(--ember); }
.sw input:checked + b::after { transform: translateX(14px); background: #fff7ef; }
.sw:has(input:checked) .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.sw input:focus-visible + b { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Sections ── */
.sec { max-width: var(--w); margin: 0 auto; padding: 130px 20px; }
.sec-head.center { text-align: center; }
.sec-head.center .say { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, var(--gold), var(--ember) 55%, transparent 72%); box-shadow: 0 0 12px rgb(240 122 64 / 0.6); }

/* window frame for screenshots */
.win { margin: 56px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.1); background: #0f0b09; box-shadow: 0 50px 120px -40px rgb(240 122 64 / 0.35), 0 30px 60px -30px rgb(0 0 0 / 0.8); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgb(255 255 255 / 0.04); border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 255 255 / 0.14); }
.win-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--muted); }
.win img { width: 100%; }

/* Addresses */
.addr { margin-top: 54px; }
.addr-tabs, .view-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.addr-tabs button, .view-tabs button { font: 500 15px var(--sans); color: var(--muted); background: none; border: 0; padding: 9px 16px; border-radius: 9px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.addr-tabs button:hover, .view-tabs button:hover { color: var(--text); }
.addr-tabs button[aria-selected='true'], .view-tabs button[aria-selected='true'] { background: linear-gradient(180deg, rgb(240 122 64 / 0.28), rgb(194 54 31 / 0.2)); color: var(--text); box-shadow: inset 0 0 0 1px rgb(240 122 64 / 0.45); }
.addr-flow { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 26px; }
.addr-src { padding: 18px 20px; font: 14px/1.9 var(--mono); color: var(--muted); min-height: 150px; }
.addr-src .f { color: var(--text); }
.addr-src .f::before { content: '▸ '; color: var(--ember); }
.addr-src .sub { padding-left: 22px; }
.addr-src .sub::before { content: '└ '; color: rgb(255 255 255 / 0.25); }
.addr-wire { width: 100%; height: 40px; overflow: visible; }
.addr-wire path { stroke: rgb(240 122 64 / 0.4); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.addr-wire .spark { fill: var(--gold); filter: drop-shadow(0 0 6px var(--ember)); animation: travel 1.8s var(--ease) infinite; }
@keyframes travel { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(116px); opacity: 0; } }
.addr-dst { display: grid; gap: 10px; }
.url { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid var(--line); font: 15px var(--mono); color: var(--text); opacity: 0; transform: translateX(-12px); animation: urlIn 0.5s var(--ease) forwards; }
.url svg { width: 15px; height: 15px; flex: none; fill: var(--ok); }
.url .s { color: var(--ok); }
.url small { margin-left: auto; font: 12px var(--sans); color: var(--muted); }
@keyframes urlIn { to { opacity: 1; transform: none; } }
.addr-cmd { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.addr-cmd b { color: var(--gold-2); font-weight: 400; }

.facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts li { padding: 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.facts b { font-weight: 600; }
.facts span { color: var(--muted); font-size: 15px; }

/* Rack */
.rack { padding: 18px; border-radius: 20px; background: linear-gradient(180deg, #1c1613, #110d0b); border: 1px solid rgb(255 255 255 / 0.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 40px 90px -40px rgb(240 122 64 / 0.35); display: grid; gap: 8px; }
.rack-unit { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 76px; align-items: center; gap: 4px 14px; padding: 12px 14px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 6px), rgb(255 255 255 / 0.03); border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.rack-unit b { font-weight: 600; font-size: 15px; display: flex; align-items: baseline; gap: 10px; }
.rack-unit small { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 12.5px; }
.rack-unit code { grid-column: 3; grid-row: 1 / span 2; background: none; border: 0; color: var(--muted); font-size: 13px; }
.rack-unit button { grid-column: 4; grid-row: 1 / span 2; font: 500 13px var(--sans); padding: 8px 0; border-radius: 8px; border: 1px solid var(--line); background: var(--glass-2); color: var(--text); cursor: pointer; transition: background 0.15s; }
.rack-unit button:hover { background: rgb(255 255 255 / 0.13); }
.rack-unit .led { grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: #3a2e27; box-shadow: inset 0 0 2px #000; transition: background 0.3s, box-shadow 0.3s; }
.rack-unit.on { border-color: rgb(92 197 138 / 0.3); }
.rack-unit.on .led { background: var(--ok); box-shadow: 0 0 10px var(--ok), 0 0 2px #fff inset; animation: blink 2.4s steps(1) infinite; }
.rack-unit.on button { background: rgb(240 122 64 / 0.18); border-color: rgb(240 122 64 / 0.45); }
.rack-unit.on code { color: var(--ok); }
.rack-unit.warn small { color: #f08a73; }
@keyframes blink { 0%, 92% { opacity: 1; } 94% { opacity: 0.4; } 96% { opacity: 1; } }
.env { margin: 8px 0 0; padding: 14px 16px; min-height: 122px; border-radius: 10px; background: #0b0807; border: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--gold-2); white-space: pre-wrap; overflow: hidden; }
.env .c { color: #6f625a; }
.env .k { color: var(--ember); }

/* Views */
.views { margin-top: 50px; text-align: center; }
.views .win { margin-top: 26px; text-align: left; }
.views .win img { transition: opacity 0.25s; }
.views .win img.fade { opacity: 0.2; }
.view-cap { color: var(--muted); max-width: 64ch; margin: 22px auto 0; min-height: 3.2em; }

/* Branches */
.tree { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.tree svg { width: 100%; height: 100%; overflow: visible; }
.tree .root { fill: url(#flameG); filter: drop-shadow(0 0 18px rgb(240 122 64 / 0.9)); }
.tree path.br { fill: none; stroke: url(#flameG); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.2s var(--ease); }
.tree path.br.grow { stroke-dashoffset: 0; }
.tree circle.tip { fill: var(--gold-2); opacity: 0; transition: opacity 0.4s 1s; }
.tree circle.tip.grow { opacity: 1; animation: flick 2.6s ease-in-out infinite 1.4s; }
@keyframes flick { 50% { r: 13; } }
.tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; transform: translate(-50%, calc(-100% - 22px)); padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.35; white-space: nowrap; background: rgb(30 24 20 / 0.85); border: 1px solid var(--line); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.5s 1.1s, transform 0.5s 1.1s var(--ease); }
.tag.grow { opacity: 1; }
.tag b { display: block; font: 13px var(--mono); color: var(--gold-2); font-weight: 400; }
.tag small { color: var(--muted); font-size: 12px; }

/* Terminal and chat */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 54px; }
.term, .chat { overflow: hidden; background: rgb(12 9 8 / 0.75); min-height: 420px; display: flex; flex-direction: column; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 255 255 / 0.14); }
.term-bar span { margin-left: 10px; }
.term pre { margin: 0; padding: 18px 20px; font-size: 14px; line-height: 1.75; color: var(--text); white-space: pre-wrap; flex: 1; }
.term .p { color: var(--ember); }
.term .o { color: var(--muted); }
.term .ok { color: var(--ok); }
.term .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.18em; background: var(--gold); animation: cur 1s steps(1) infinite; }
@keyframes cur { 50% { opacity: 0; } }
.chat-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; flex: 1; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; opacity: 0; transform: translateY(6px); animation: urlIn 0.4s var(--ease) forwards; }
.msg.me { align-self: flex-end; background: rgb(240 122 64 / 0.16); border: 1px solid rgb(240 122 64 / 0.3); }
.msg.ai { align-self: flex-start; background: rgb(255 255 255 / 0.05); border: 1px solid var(--line); }
.msg.tool { align-self: flex-start; font: 12.5px var(--mono); color: var(--muted); padding: 6px 10px; border-radius: 8px; background: none; border: 1px dashed rgb(255 255 255 / 0.15); }
.msg.tool b { color: var(--gold); font-weight: 400; }
.tools { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.tools span { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); color: var(--gold-2); }

/* Move */
.move { margin: 54px auto 0; max-width: 940px; padding: 28px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; counter-reset: s; font-size: 13.5px; color: var(--muted); }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.steps li.on { color: var(--text); }
.steps li.on::before { background: var(--ember); border-color: var(--ember); color: #1a1310; }
.steps li.done::before { content: '✓'; background: rgb(92 197 138 / 0.18); border-color: rgb(92 197 138 / 0.5); color: var(--ok); }
.move-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col { padding: 16px; border-radius: 14px; border: 1px solid var(--line); min-height: 380px; }
.col h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.col-herd { background: rgb(255 255 255 / 0.02); }
.col-hearth { background: linear-gradient(180deg, rgb(240 122 64 / 0.06), rgb(194 54 31 / 0.03)); border-color: rgb(240 122 64 / 0.18); }
.col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 9px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line); font-size: 14px; }
.item small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.item.check small { color: var(--ok); }
.item.stay { opacity: 0.55; }
.move-msg { margin: 20px 0 0; color: var(--muted); min-height: 1.6em; }
.move-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Tray panel */
.panel { margin: 0; justify-self: center; max-width: 340px; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgb(240 122 64 / 0.45), 0 20px 40px -20px #000; border: 1px solid rgb(255 255 255 / 0.1); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 50px; }
.card { padding: 26px 22px; }
.card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 46px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: border-color 0.2s; }
.faq details[open] { border-color: rgb(240 122 64 / 0.3); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ember); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Get */
.get { position: relative; padding: 150px 20px 120px; text-align: center; overflow: hidden; }
.get-in { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.get .say { margin-left: auto; margin-right: auto; }
.app-icon { margin: 0 auto 30px; filter: drop-shadow(0 20px 50px rgb(240 122 64 / 0.5)); }
.get-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.btn-dl, .btn-coffee { min-height: 64px; padding: 0 22px; background: var(--glass-2); border-color: var(--line); color: var(--text); text-align: left; backdrop-filter: blur(10px); }
.btn-dl svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.btn-dl span, .btn-coffee span { display: flex; flex-direction: column; line-height: 1.25; }
.btn-dl small, .btn-coffee small { color: var(--muted); font-size: 12.5px; }
.btn-dl:hover, .btn-coffee:hover { background: rgb(255 255 255 / 0.12); }
.btn-dl.mine { background: linear-gradient(180deg, #f6935c, #e0622f); color: #1a1310; border-color: transparent; box-shadow: 0 10px 36px -8px rgb(240 122 64 / 0.7); }
.btn-dl.mine small { color: rgb(26 19 16 / 0.7); }
.cup { font-size: 22px; }
.get-note { color: var(--muted); font-size: 14px; max-width: 62ch; margin: 28px auto 0; }
.get-foot { color: var(--muted); font-size: 12.5px; margin: 22px 0 0; line-height: 2; }
.get-house { position: absolute; z-index: 1; left: 50%; bottom: -8%; width: min(900px, 110vw); transform: translateX(-50%); opacity: 0.16; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); }

.foot { max-width: var(--w); margin: 0 auto; padding: 30px 20px 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot-links { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .facts, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: 0; }
  .house-stage { margin-top: 10px; }
  .house-stage { overflow: clip; overflow-clip-margin: 0; }
  .house { margin: -4% 0 -8% -25%; }
  .tray { position: relative; right: auto; bottom: auto; width: 100%; max-width: 360px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-rev > :first-child { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .addr-flow { grid-template-columns: 1fr; }
  .addr-wire { transform: rotate(90deg); width: 60px; height: 40px; justify-self: center; }
  .sec { padding: 96px 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .facts, .cards { grid-template-columns: 1fr; }
  .move { padding: 16px; }
  .move-cols { grid-template-columns: 1fr; }
  .col { min-height: 0; }
  .rack-unit { grid-template-columns: 12px minmax(0, 1fr) 64px; }
  .rack-unit code { grid-column: 2; grid-row: 3; }
  .rack-unit button { grid-column: 3; grid-row: 1 / span 3; }
  .item { flex-wrap: wrap; }
  .view-tabs, .addr-tabs { flex-wrap: wrap; justify-content: center; }
  .tag { padding: 5px 9px; transform: translate(-50%, calc(-100% - 16px)); }
  .tag b { font-size: 11px; }
  .tag small { display: none; }
  .term pre { font-size: 12.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
