@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #08090b; --p: #111316; --p2: #181b1f; --p3: #20242a;
  --line: rgba(255, 255, 255, 0.075); --line2: rgba(255, 255, 255, 0.045);
  --ink: #f1efe9; --ink2: #a3a7ae; --ink3: #6b7078;
  --go: #3bd685; --go-bg: rgba(59, 214, 133, 0.12);
  --wait: #f6a723; --wait-bg: rgba(246, 167, 35, 0.12);
  --stop: #ff6257; --stop-bg: rgba(255, 98, 87, 0.12);
  --r: 10px; --R: 18px;
  --disp: "Bricolage", "Geist", system-ui, sans-serif;
  font-family: "Geist", "Segoe UI Variable Text", system-ui, sans-serif;
  font-size: 15px; line-height: 1.52; color: var(--ink);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scrollbar-color: #2a2e34 transparent; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #f1efe9; color: #08090b; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4, p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
#app { min-height: 100vh; display: flex; flex-direction: column; }

/* top bar */
#rail { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px; height: 62px; padding: 0 36px; background: rgba(8, 9, 11, 0.78); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--disp); font-stretch: 86%; letter-spacing: -0.01em; margin-right: 18px; cursor: pointer; background: none; border: 0; padding: 0; }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--go); box-shadow: 0 0 14px var(--go), 0 0 2px #fff inset; }
.pick { position: relative; }
.pick > button { display: flex; align-items: center; gap: 9px; background: none; border: 1px solid transparent; border-radius: 9px; padding: 7px 11px; cursor: pointer; color: var(--ink2); max-width: 300px; }
.pick > button:hover, .pick.open > button { background: var(--p2); color: var(--ink); }
.pick > button b { font-weight: 550; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.7; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #14171b; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 9px; cursor: pointer; color: var(--ink2); }
.menu button:hover { background: var(--p3); color: var(--ink); }
.menu button.on { color: var(--ink); }
.menu button span.t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3f46; flex: none; display: inline-block; }
.dot.green { background: var(--go); box-shadow: 0 0 10px rgba(59, 214, 133, 0.6); } .dot.amber { background: var(--wait); box-shadow: 0 0 10px rgba(246, 167, 35, 0.55); } .dot.red { background: var(--stop); box-shadow: 0 0 10px rgba(255, 98, 87, 0.55); }
.dot.working { background: transparent; border: 2px solid #4a4f57; border-top-color: var(--ink); animation: spin 0.9s linear infinite; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tabs { display: flex; gap: 2px; margin-left: 14px; }
.tab { background: none; border: 0; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--ink2); font-weight: 520; transition: background 0.15s, color 0.15s; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--p2); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.tab .n { color: var(--ink3); font-weight: 450; margin-left: 6px; font-variant-numeric: tabular-nums; }
.right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.right .tab { font-weight: 450; }
.right .spent { color: var(--ink3); font-size: 13px; margin: 0 10px; font-variant-numeric: tabular-nums; }

/* controls */
.btn { border: 1px solid var(--line); background: var(--p2); border-radius: var(--r); padding: 8px 14px; cursor: pointer; font-weight: 560; white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.btn:hover { background: var(--p3); border-color: rgba(255, 255, 255, 0.14); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #0b0c0e; }
.btn.primary:hover { background: #fff; }
.btn.go { background: var(--go); border-color: var(--go); color: #04220f; font-weight: 650; }
.btn.go:hover { background: #55e79b; }
.btn.sm { padding: 6px 11px; font-size: 13.5px; border-radius: 8px; }
.btn.ghost { background: none; border-color: transparent; color: var(--ink2); }
.btn.ghost:hover { background: var(--p2); color: var(--ink); }
.btn:disabled { opacity: 0.4; cursor: default; }
select.btn { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, #a3a7ae 50%), linear-gradient(135deg, #a3a7ae 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input[type=text], input[type=url], input[type=password], textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px; background: var(--p); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
input::placeholder, textarea::placeholder { color: var(--ink3); }
input:focus, textarea:focus { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
textarea { resize: vertical; }
.muted { color: var(--ink2); } .dim { color: var(--ink3); } .small { font-size: 13.5px; }

/* layout */
#main { flex: 1; min-width: 0; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 28px 40px 120px; }
.phead { display: flex; align-items: flex-start; gap: 16px; }
.phead h1 { font: 600 15px "Geist"; color: var(--ink2); }
.phead .sub { color: var(--ink3); margin-top: 2px; max-width: 86ch; font-size: 14px; }
.page-title h1 { font: 700 40px/1.05 var(--disp); font-stretch: 82%; letter-spacing: -0.022em; color: var(--ink); }
.page-title .sub { font-size: 16px; color: var(--ink2); margin-top: 10px; }
.levels { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--p); flex: none; }
.levels button { border: 0; background: none; padding: 6px 11px; cursor: pointer; font-size: 13px; color: var(--ink2); }
.levels button.on { background: var(--p3); color: var(--ink); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; padding: 30px 0 40px; align-items: center; }
.hero::before { content: ""; position: absolute; left: -12%; top: -80px; width: 62%; height: 460px; background: radial-gradient(closest-side, var(--glow, rgba(246, 167, 35, 0.11)), transparent); pointer-events: none; z-index: -1; }
.hero.green { --glow: rgba(59, 214, 133, 0.11); } .hero.red { --glow: rgba(255, 98, 87, 0.12); }
.signal { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; color: var(--wait); margin-bottom: 22px; }
.signal i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 16%, transparent), 0 0 22px currentColor; }
.signal.green { color: var(--go); } .signal.red { color: var(--stop); }
.hero h1 { font: 700 58px/0.99 var(--disp); font-stretch: 79%; letter-spacing: -0.028em; text-wrap: balance; }
.lead { font: 540 21px/1.38 "Geist"; margin-top: 24px; max-width: 33em; text-wrap: pretty; }
.standing { color: var(--ink2); font-size: 15.5px; margin-top: 14px; max-width: 62ch; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px; max-width: 600px; border-top: 1px solid var(--line); }
.kpi { padding: 18px 18px 0 0; }
.kpi b { display: block; font: 700 38px/1 var(--disp); font-stretch: 80%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--ink2); font-size: 13.5px; display: block; margin-top: 8px; }
.kpi em { font-style: normal; color: var(--ink3); font-size: 12.5px; }
.reasons { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 62ch; }
.reasons li { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--ink2); }
.reasons .dot { position: relative; top: 0; width: 7px; height: 7px; box-shadow: none; }
.reel { display: flex; gap: 12px; align-items: flex-end; flex: none; }
.clip { position: relative; border-radius: 14px; overflow: hidden; background: var(--p2); flex: none; aspect-ratio: 9/16; display: block; text-decoration: none; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0, 0, 0, 0.8); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.clip:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 70px -20px #000; }
.clip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.clip:hover img { transform: scale(1.06); }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0, transparent 24%, transparent 52%, rgba(0, 0, 0, 0.86) 100%); pointer-events: none; }
.clip .x { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--go); color: #04220f; font: 700 13px "Geist"; padding: 3px 8px; border-radius: 7px; font-variant-numeric: tabular-nums; }
.clip .m { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2; font-size: 12.5px; line-height: 1.3; }
.clip .m b { display: block; font: 700 20px var(--disp); font-stretch: 84%; }
.clip .m span { color: #d6d8d2; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel .clip:nth-child(1) { width: 226px; } .reel .clip:nth-child(2) { width: 170px; } .reel .clip:nth-child(3) { width: 130px; } .reel .clip:nth-child(4) { width: 100px; opacity: 0.82; }

/* sections */
.sec { font: 620 13.5px "Geist"; color: var(--ink2); margin: 50px 0 16px; display: flex; align-items: baseline; gap: 12px; }
.sec small { margin-left: auto; font-weight: 400; color: var(--ink3); font-size: 13px; }
.card { background: var(--p); border: 1px solid var(--line); border-radius: var(--R); padding: 24px 26px; margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); }
.card > h2, .making h2 { font: 620 13.5px "Geist"; color: var(--ink2); margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.card > h2 .note { font-weight: 400; margin-left: auto; text-align: right; color: var(--ink3); font-size: 13px; }
.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.move { background: var(--p); border: 1px solid var(--line); border-radius: var(--R); padding: 26px; display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); transition: border-color 0.2s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.move:hover { border-color: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.move .n { font: 750 14px "Geist"; color: #0b0c0e; background: var(--ink); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; flex: none; }
.move h3 { font: 650 21px/1.24 var(--disp); font-stretch: 87%; letter-spacing: -0.006em; text-wrap: pretty; }
.move p { color: var(--ink2); margin-top: 11px; font-size: 14.5px; }
.move .effort { font-size: 12px; color: var(--ink3); margin-left: auto; }
.move .top { display: flex; align-items: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chip { background: var(--p2); border-radius: 11px; padding: 10px 13px; min-width: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.chip b { font: 700 20px var(--disp); font-stretch: 82%; display: block; line-height: 1.05; font-variant-numeric: tabular-nums; }
.chip.down b { color: var(--stop); } .chip.up b { color: var(--go); }
.chip span { font-size: 12px; color: var(--ink2); display: block; margin-top: 4px; }
.rest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.rest .move { flex-direction: row; gap: 16px; padding: 20px 24px; }
.rest .move .n { margin: 0; background: var(--p3); color: var(--ink); }
.rest .move h3 { font-size: 17px; } .rest .move p { font-size: 13.5px; margin-top: 6px; }
.ev { margin-top: 12px; display: grid; gap: 3px; }
.ev div { font-size: 12.5px; color: var(--ink3); padding-left: 11px; border-left: 2px solid var(--line); }
details > summary { cursor: pointer; color: var(--ink2); font-size: 13.5px; list-style: none; display: inline-flex; align-items: center; gap: 7px; }
details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--p3); font-size: 12px; color: var(--ink2); }
details[open] > summary::before { content: "–"; }
details > summary::-webkit-details-marker { display: none; }
details.ev > summary { font-size: 12.5px; color: var(--ink3); }
.more { margin-top: 14px; } .more > *:not(summary) { margin-top: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink2); font-size: 13px; margin-bottom: 4px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.lanes svg { display: block; } .lanes text { font-family: "Geist", sans-serif; }
.pt { cursor: pointer; transition: r 0.15s; } .pt:hover { stroke: #fff; stroke-width: 2; }
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.wall figure { margin: 0; } .wall .clip { width: 100%; }
.wall figcaption { margin-top: 11px; font-size: 13.5px; color: #cdd0ca; line-height: 1.4; }
.wall figcaption span { display: block; color: var(--ink3); font-size: 12.5px; margin-top: 3px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.two .card { margin-bottom: 0; }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.points li { font-size: 15px; }
.test { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.test dt { color: var(--ink3); font-size: 13.5px; } .test dd { margin: 0; }
.keep { color: var(--go) !important; font-weight: 600; } .stopc { color: var(--stop) !important; font-weight: 600; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line2); border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); }
.stat { padding: 16px 18px; background: var(--p); }
.stat b { display: block; font: 700 28px/1.05 var(--disp); font-stretch: 82%; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--ink2); display: block; margin-top: 6px; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--ink3); display: block; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink3); padding: 7px 12px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; padding-left: 12px; }
tr.you td { color: var(--ink); font-weight: 600; background: linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent); }
tr.you td:first-child { box-shadow: inset 2px 0 0 var(--ink); padding-left: 12px; }
.bar { height: 6px; border-radius: 3px; background: var(--p3); position: relative; min-width: 110px; margin-top: 9px; }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.bar i.up { background: var(--go); } .bar i.down { background: var(--stop); } .bar i.flat { background: #4d525a; }
.bar::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: #5b6068; }
.tag { display: inline-block; font-size: 12px; border-radius: 6px; padding: 2px 8px; white-space: nowrap; border: 1px solid var(--line); color: var(--ink2); }
.tag.go { background: var(--go-bg); color: var(--go); border-color: transparent; }
.tag.stop { background: var(--stop-bg); color: var(--stop); border-color: transparent; }
.tag.wait { background: var(--wait-bg); color: var(--wait); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.cost div { background: var(--p2); border-radius: 14px; padding: 16px 18px; }
.cost b { display: block; font: 700 28px/1.1 var(--disp); font-stretch: 82%; font-variant-numeric: tabular-nums; }
ol.steps { margin: 0; padding-left: 20px; color: var(--ink2); }
.rule { border-top: 1px solid var(--line2); padding: 15px 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; }
.rule:first-of-type { border-top: 0; padding-top: 0; }
.rule .meta { font-size: 12.5px; color: var(--ink3); margin-top: 5px; }
.rule .plat { font-weight: 620; text-transform: capitalize; margin-bottom: 5px; }

/* progress */
.progress { max-width: 720px; margin: 40px auto; padding: 34px 36px; }
.progress > h2 { font: 700 30px var(--disp); font-stretch: 84%; color: var(--ink); margin-bottom: 20px; }
.pstep { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 13px; padding: 11px 0; border-top: 1px solid var(--line2); }
.pstep .dot { margin-top: 7px; }
.pstep.done .dot { background: var(--go); } .pstep.failed .dot { background: var(--stop); }
.pstep .note { color: var(--ink3); font-size: 13.5px; margin-top: 2px; }
.pstep.waiting { color: var(--ink3); }
.err { background: var(--stop-bg); color: #ff9189; border-radius: var(--r); padding: 11px 14px; margin: 14px 0; }

/* start */
.start { max-width: 800px; margin: 0 auto; padding: 9vh 40px 120px; position: relative; }
.start::before { content: ""; position: absolute; left: 50%; top: -40px; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59, 214, 133, 0.09), transparent); pointer-events: none; z-index: -1; }
.start h1 { font: 700 68px/0.98 var(--disp); font-stretch: 79%; letter-spacing: -0.03em; }
.start .lede { margin: 20px 0 32px; color: var(--ink2); font-size: 18px; max-width: 56ch; }
.start textarea { font-size: 19px; line-height: 1.4; padding: 18px 20px; min-height: 112px; border-radius: 16px; background: var(--p); }
.examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.examples button { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 5px 12px; color: var(--ink2); cursor: pointer; font-size: 13.5px; transition: all 0.15s; }
.examples button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.22); background: var(--p2); }
.q { margin-top: 34px; }
.q > label { display: block; font: 650 18px var(--disp); font-stretch: 88%; margin-bottom: 12px; }
.q .help { font: 400 14px "Geist"; color: var(--ink3); margin-left: 10px; }
.seg { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.opt { text-align: left; border: 1px solid var(--line); background: var(--p); border-radius: 14px; padding: 15px 16px; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.2s; }
.opt:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.opt b { display: block; font-weight: 600; }
.opt span { display: block; color: var(--ink3); font-size: 13.5px; margin-top: 3px; }
.opt.on { border-color: var(--ink); background: var(--p2); box-shadow: 0 0 0 1px var(--ink), 0 14px 30px -14px rgba(0, 0, 0, 0.7); }
.opt.on span { color: var(--ink2); }
.start .go-row { margin-top: 38px; display: flex; align-items: center; gap: 18px; }
.start .go-row .btn { padding: 14px 28px; font-size: 17px; border-radius: 13px; box-shadow: 0 0 34px -6px rgba(59, 214, 133, 0.55); }

/* ideas */
.making { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.making textarea { font-size: 15px; min-height: 104px; background: var(--p2); }
.making .opt { background: var(--p2); } .making .opt:disabled { opacity: 0.55; cursor: default; transform: none; }
.mk-foot { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 10px; } .mk-foot .btn { flex: none; }
@media (max-width: 900px) { .making { grid-template-columns: 1fr; gap: 22px; } }
.ask-row { display: flex; gap: 8px; margin: 24px 0 14px; }
.ask-row input { flex: 1; }
.idea { padding: 28px 30px; }
.idea h3 { font: 680 26px/1.14 var(--disp); font-stretch: 85%; letter-spacing: -0.012em; text-wrap: balance; }
.idea .reach { font-size: 13px; color: var(--ink2); margin: 12px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.idea > p { font-size: 16px; color: #d9dad4; max-width: 86ch; }
.idea .row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 18px; margin: 14px 0 0; padding: 16px 18px; background: var(--p2); border-radius: 14px; }
.idea .more { margin-top: 18px; }
.idea .row dt { color: var(--ink3); font-size: 13.5px; } .idea .row dd { margin: 0; color: var(--ink2); }
.idea ol { margin: 0; padding-left: 18px; }
.idea .acts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; align-items: center; }
.pack { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.pack h4 { margin: 20px 0 8px; font: 620 13px "Geist"; color: var(--ink3); }
.pack h4:first-child { margin-top: 0; }
.pack .prompt { font-size: 12.5px; color: var(--ink2); background: var(--p2); border-radius: 9px; padding: 10px 12px; margin-top: 8px; white-space: pre-wrap; line-height: 1.5; }
.pack ul { margin: 0; padding-left: 18px; color: var(--ink2); }

/* chat */
.chat { display: flex; flex-direction: column; gap: 22px; max-width: 820px; margin: 30px auto 0; }
.msg { max-width: 88%; font-size: 15.5px; }
.msg.user { align-self: flex-end; background: var(--p3); border-radius: 18px 18px 4px 18px; padding: 11px 16px; white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; max-width: 100%; }
.msg.assistant .body p { margin: 0 0 11px; } .msg.assistant .body ul, .msg.assistant .body ol { margin: 0 0 11px; padding-left: 22px; } .msg.assistant .body li { margin-bottom: 4px; }
.msg .did { font-size: 12.5px; color: var(--ink3); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.msg .did::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.composer { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 34px 0 22px; max-width: 820px; margin: 0 auto; }
.composer .box { display: flex; gap: 8px; background: var(--p); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 20px 50px -20px #000, inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.composer .box:focus-within { border-color: rgba(255, 255, 255, 0.24); }
.composer textarea { border: 0; padding: 8px 10px; resize: none; min-height: 48px; background: none; box-shadow: none !important; }
.suggest { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.suggest button { border: 1px solid var(--line); background: var(--p); border-radius: 999px; padding: 7px 13px; cursor: pointer; font-size: 13.5px; color: var(--ink2); transition: all 0.15s; }
.suggest button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); }

/* settings */
.mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.krow { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line2); }
.krow:first-of-type { border-top: 0; }
#toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #0b0c0e; font-weight: 550; padding: 10px 17px; border-radius: 11px; z-index: 60; max-width: 80vw; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
#toast.bad { background: var(--stop); color: #fff; }
#tip { position: fixed; display: none; gap: 11px; background: #000; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; padding: 8px; z-index: 50; width: 290px; pointer-events: none; box-shadow: 0 24px 60px #000; }
#tip img { width: 66px; aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; flex: none; background: var(--p2); } #tip b { display: block; } #tip span { font-size: 12.5px; color: var(--ink2); }

/* first paint of a screen: things rise into place once, not on every refresh */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .fresh .hero > div:first-child > *, .fresh .card, .fresh .move, .fresh .wall figure, .fresh .start > *, .fresh .idea, .fresh .sec { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .fresh .reel .clip { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .fresh .reel .clip:nth-child(1) { animation-delay: 0.1s; } .fresh .reel .clip:nth-child(2) { animation-delay: 0.18s; } .fresh .reel .clip:nth-child(3) { animation-delay: 0.26s; } .fresh .reel .clip:nth-child(4) { animation-delay: 0.34s; }
  .fresh .hero > div:first-child > *:nth-child(2) { animation-delay: 0.05s; } .fresh .hero > div:first-child > *:nth-child(3) { animation-delay: 0.1s; } .fresh .hero > div:first-child > *:nth-child(4) { animation-delay: 0.15s; } .fresh .hero > div:first-child > *:nth-child(5) { animation-delay: 0.2s; }
  .fresh .moves .move:nth-child(2), .fresh .wall figure:nth-child(2) { animation-delay: 0.06s; } .fresh .moves .move:nth-child(3), .fresh .wall figure:nth-child(3) { animation-delay: 0.12s; } .fresh .wall figure:nth-child(4) { animation-delay: 0.18s; } .fresh .wall figure:nth-child(5) { animation-delay: 0.24s; } .fresh .wall figure:nth-child(6) { animation-delay: 0.3s; }
  .fresh .start > *:nth-child(2) { animation-delay: 0.05s; } .fresh .start > *:nth-child(3) { animation-delay: 0.1s; } .fresh .start > *:nth-child(n+4) { animation-delay: 0.16s; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 34px; } .hero h1 { font-size: 46px; }
  .reel { overflow-x: auto; padding-bottom: 6px; } .reel .clip:nth-child(n) { width: 150px; opacity: 1; }
  .moves { grid-template-columns: 1fr; } .rest { grid-template-columns: 1fr; } .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #rail { padding: 0 14px; height: auto; flex-wrap: wrap; row-gap: 4px; padding-top: 8px; padding-bottom: 8px; } .tabs { margin-left: 0; order: 3; width: 100%; } .right .spent { display: none; }
  .wrap { padding: 18px 16px 90px; } .start { padding: 30px 16px 80px; } .start h1 { font-size: 42px; }
  .two, .seg, .seg.two, .cost, .mode { grid-template-columns: 1fr; } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .krow, .rule, .idea .row, .test { grid-template-columns: 1fr; gap: 6px; } .hide-s { display: none; } .hero h1 { font-size: 38px; }
}
