/* The home page, fourth test copy (/home-v4.html, 21.10): a full redesign in
   the manner of YC-backed product sites. White, one sans family set tight, a
   soft glow behind a product frame, bento tiles, dark bands for developers
   and the final call. The product's own screens (the 3D plate, the shop page)
   keep their look; their tokens are set here because this page loads nothing
   of picker.html. */

:root {
  --bg: #ffffff; --bg-2: #f7f7f5; --ink: #0a0a0a; --ink-2: #3f3f46; --ink-3: #71717a; --ink-4: #a1a1aa;
  --line: #e9e9e7; --line-2: #dcdcd8;
  --lime: #c4dc7c; --green: #2f7a1f; --teal: #0f8f7f;
  --grad: linear-gradient(92deg, #0f5c2e 0%, #2f7a1f 30%, #6aa41a 55%, #0f8f7f 100%);
  --r: 16px; --r-lg: 22px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 650; }
.kicker { display: inline-block; font: 500 13px/1 var(--sans); color: var(--green); margin-bottom: 14px; letter-spacing: 0; }

/* the dark product screens keep their own tokens (picker-next.css reads these) */
.frame-body, .sell-vis, .term {
  --ink-mid: rgba(255, 255, 255, 0.66); --ink-dim: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(255, 255, 255, 0.18); --accent: #c4dc7c;
  --serif: "Playfair Display", Georgia, serif; }
.frame-body { --ink: rgba(255, 255, 255, 0.95); color: var(--ink); }

/* buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 10px; font: 500 14.5px var(--sans); border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s var(--ease), box-shadow .15s; }
.b:active { transform: scale(0.97); }
.b-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.b-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.b-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 6px 18px -8px rgba(0, 0, 0, 0.5); }
.b-dark:hover { background: #27272a; }
.b-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.b-ghost:hover { border-color: var(--ink-4); }
.b-light { background: #fff; color: var(--ink); }
.b-light:hover { background: #f4f4f5; }
.b-ghost-dark { border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.b-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.5); }
.tag { display: inline-block; vertical-align: 2px; margin-left: 4px; font: 600 10.5px/1 var(--sans); letter-spacing: .02em;
  padding: 4px 7px; border-radius: 999px; background: #ecf5dc; color: #3d6b10; white-space: nowrap; }
.tag.t-early { background: #e7f0ff; color: #2952a3; }
.tag.t-soon { background: #f1f1ef; color: var(--ink-3); }

/* ---------------------------------------------------------------- nav */
.nv { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.nv.scrolled { border-color: var(--line); }
.nv-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.nv-logo { font: 700 19px var(--sans); letter-spacing: -0.04em; }
.nv-links { display: flex; gap: 24px; flex: 1; }
.nv-links a { font-size: 14px; color: var(--ink-3); transition: color .15s; }
.nv-links a:hover { color: var(--ink); }
.nv-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nv-signin { font-size: 14px; color: var(--ink-2); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 75%); opacity: .7; }
.hero-in { position: relative; text-align: center; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: border-color .15s; }
.pill:hover { border-color: var(--ink-4); }
.pill-tag { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.pill i { font-style: normal; color: var(--ink-3); }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 6.4vw, 84px); max-width: 980px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 24px 0 0; max-width: 640px; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta.left { justify-content: flex-start; }
.fine { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }

.frame { position: relative; margin-top: 56px; border-radius: 20px; padding: 8px; background: rgba(10, 10, 10, 0.04);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(47, 122, 31, 0.45), 0 20px 50px -30px rgba(0, 0, 0, 0.35); }
.frame::before { content: ""; position: absolute; inset: -80px -10% auto; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 50%, rgba(196, 220, 124, 0.55), rgba(15, 143, 127, 0.18) 55%, transparent 75%);
  filter: blur(30px); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px 10px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.frame-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--ink-3); }
.frame-body { border-radius: 14px; overflow: hidden; }
.frame-body .agentmock#agentDemo { min-height: 520px; border-radius: 14px; border: 0; }
.frame-cap { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------------------------------------------------------------- works with */
.works { padding: 28px 0 8px; }
.works-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.works span { font-size: 13px; color: var(--ink-4); }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; }
.works li { font: 600 16px var(--sans); letter-spacing: -0.02em; color: var(--ink-4); }

/* ---------------------------------------------------------------- sections */
.sec { padding: 112px 0 0; scroll-margin-top: 70px; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec h2 { font-size: clamp(32px, 4vw, 52px); }
.sec-head p, .sell-copy > p, .dev p, .ship-in > div > p, .faq-in > div > p { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* problem */
.problem .statement { margin: 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.22; letter-spacing: -0.03em;
  font-weight: 600; color: var(--ink-4); max-width: 1000px; }
.problem .statement span { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stats div { padding: 26px 24px 0 0; }
.stats b { display: block; font-size: 44px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-3); max-width: 260px; }

/* how */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 26px; background: #fff; }
.step-vis { height: 180px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 22px;
  display: grid; align-content: center; gap: 10px; padding: 18px; font-size: 13px; }
.step-n { display: block; padding: 0 10px; font: 500 12px var(--mono); color: var(--ink-4); }
.step h3, .step p { padding: 0 10px; }
.step h3 { margin-top: 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.v-ask .vq { justify-self: end; max-width: 88%; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 12px 12px 4px 12px; }
.v-ask .va { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 9px 12px; border-radius: 12px; }
.v-ask .dot { width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(130% 115% at 50% 118%, #ffc778 10%, #e5772b 40%, #2a0f05 80%); }
.v-check { justify-items: start; }
.v-check .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.v-check .ok::before { content: "\2713"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; background: #e3f2d6; color: var(--green); }
.v-file { justify-items: center; }
.v-file .vf { display: grid; gap: 2px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font: 12px var(--mono); color: var(--ink-3); text-align: center; }
.v-file .vf b { font-size: 15px; color: var(--ink); }
.v-file .vs { display: flex; gap: 6px; }
.v-file .vs i { width: 22px; height: 22px; border-radius: 6px; background: var(--c); border: 1px solid var(--line-2); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden;
  display: flex; flex-direction: column; min-height: 320px; transition: box-shadow .2s, border-color .2s; }
.tile:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.25); }
.t-wide { grid-column: span 2; flex-direction: row; }
.t-copy { padding: 26px 26px 0; }
.t-wide .t-copy { flex: 1; padding: 30px; align-self: center; }
.t-copy h3 { font-size: 20px; letter-spacing: -0.02em; }
.t-copy p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-3); }
.t-vis { margin: auto 16px 16px; height: 150px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden; }
.t-wide .t-vis { flex: 1.1; height: auto; min-height: 260px; margin: 16px; background: #0d0d0e; border-color: #1f1f22; }
.tvb-plate { position: relative; width: 82%; height: 64%; border-radius: 10px; border: 1px solid #2a2a2e;
  background-image: linear-gradient(#232326 1px, transparent 1px), linear-gradient(90deg, #232326 1px, transparent 1px);
  background-size: 16px 16px; transform: perspective(600px) rotateX(30deg); }
.tvb { position: absolute; display: grid; place-items: center; font: 800 12px var(--sans); border-radius: 8px; }
.tvb.p1 { left: 8%; top: 14%; width: 74px; height: 30px; border-radius: 15px; background: #0086d6; color: #fff; }
.tvb.p2 { left: 40%; top: 55%; width: 104px; height: 38px; background: #1d1d1f; color: #555; border: 1px solid #3a3a3e; }
.tvb.p3 { left: 74%; top: 10%; width: 58px; height: 58px; border-radius: 50%; background: #161616; border: 1px solid #3a3a3e; }
.tvb.p3 i { width: 22px; height: 22px; border: 3px solid #fff; border-radius: 4px; }
.tvb-gizmo { position: absolute; left: 8%; top: 14%; width: 74px; height: 30px; }
.tvb-gizmo .gx, .tvb-gizmo .gy { position: absolute; left: 50%; top: 50%; }
.tvb-gizmo .gx { width: 40px; height: 2px; background: #f06a5a; }
.tvb-gizmo .gy { width: 2px; height: 40px; transform: translateY(-100%); background: #3ccf7a; }
.tvb-gizmo .gr { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; border: 2px solid rgba(143, 179, 255, 0.75); }
.run .tvb.p1, .run .tvb-gizmo { animation: v4-move 6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes v4-move { 0%, 15% { transform: none; } 40%, 55% { transform: translate(70px, 46px); }
  75%, 85% { transform: translate(70px, 46px) rotate(90deg); } 100% { transform: none; } }
.tv-check svg { width: 80%; }
.tv-check rect { fill: #0086d6; } .tv-check circle { fill: var(--bg-2); }
.tv-check text { font: 800 30px var(--sans); fill: #fff; }
.tv-check .thin { stroke: #fff; stroke-width: 1.5; }
.run .tv-check .thin, .tile.run .thin { animation: v4-flash 2.4s ease-in-out infinite; }
@keyframes v4-flash { 0%, 30% { stroke: #fff; stroke-width: 1.5; } 50%, 85% { stroke: #e5484d; stroke-width: 3; } }
.tv-check .warn { position: absolute; bottom: 10px; font-size: 11.5px; color: #c53030; background: #fdecec; padding: 3px 8px; border-radius: 999px; }
.tv-batch { grid-template-columns: 1fr auto; gap: 14px; padding: 0 18px; place-items: center stretch; }
.tvl { display: grid; gap: 5px; }
.tvl span { font: 11.5px var(--mono); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink-3); }
.tile.run .tvl span { animation: v4-fly 4.8s ease-in-out infinite; }
.tile.run .tvl span:nth-child(2) { animation-delay: .15s; } .tile.run .tvl span:nth-child(3) { animation-delay: .3s; }
.tile.run .tvl span:nth-child(4) { animation-delay: .45s; }
@keyframes v4-fly { 0%, 20% { transform: none; opacity: 1; } 45% { transform: translateX(80%); opacity: 0; }
  46% { transform: translateX(-20%); opacity: 0; } 70%, 100% { transform: none; opacity: 1; } }
.tvf { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #ecf5dc; font: 12px var(--mono); color: #3d6b10; }
.tvf b { font-weight: 600; }
.tv-ams { display: flex; gap: 10px; }
.tv-ams i { width: 40px; height: 40px; border-radius: 10px; background: var(--c); border: 1px solid var(--line-2);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4); }
.tile.run .tv-ams i { animation: v4-pop 3.6s var(--ease) infinite; }
.tile.run .tv-ams i:nth-child(2) { animation-delay: .12s; } .tile.run .tv-ams i:nth-child(3) { animation-delay: .24s; }
.tile.run .tv-ams i:nth-child(4) { animation-delay: .36s; }
@keyframes v4-pop { 0%, 10% { transform: translateY(16px); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.tv-drop { border-style: dashed; border-color: var(--line-2); gap: 6px; align-content: center; }
.tv-drop span { font: 600 13px var(--mono); padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.35); }
.tile.run .tv-drop span { animation: v4-drop 3.6s var(--ease) infinite; }
@keyframes v4-drop { 0% { transform: translate(-30px, -30px) rotate(-6deg); opacity: 0; } 30%, 80% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.tv-drop i { font-style: normal; font-size: 12px; color: var(--ink-4); }

/* sell */
.sell-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: "\2713"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; background: #e3f2d6; color: var(--green); margin-top: 2px; }
.sell-vis { position: relative; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, #eef6e2, #e4f1f0); }
.sell-vis .ev-browser { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.sell-vis .frame-cap { color: #52635a; }
.toast { position: absolute; right: -14px; bottom: 54px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px;
  background: #0a0a0a; color: #fff; font-size: 13px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); }
.toast em { font-style: normal; font-size: 12px; color: #9fe39f; }
.toast.on { opacity: 1; transform: none; }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who article { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--bg-2); }
.who h3 { font-size: 19px; letter-spacing: -0.02em; }
.who p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-3); }

/* developers: a dark band */
.dev { margin-top: 112px; padding: 96px 0; background: #0a0a0a; color: #fff; }
.dev-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.dev .kicker { color: var(--lime); }
.dev p { color: #a1a1aa !important; }
.term { border-radius: 16px; background: #111113; border: 1px solid #27272a; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(196, 220, 124, 0.25); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #1f1f22; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.term-bar span { margin-left: 8px; font: 12px var(--mono); color: #71717a; }
.term pre { margin: 0; padding: 16px 18px 6px; font: 13px/1.7 var(--mono); color: #e4e4e7; white-space: pre-wrap; word-break: break-word; }
.term .c { color: var(--lime); }
.calls { list-style: none; margin: 0; padding: 4px 18px 18px; display: grid; gap: 6px; font: 12.5px var(--mono); }
.calls li { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 7px 10px; border-radius: 8px; background: #18181b;
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.calls li.on { opacity: 1; transform: none; }
.calls b { font-weight: 500; color: #fff; }
.calls span { color: #86efac; }
.calls span::before { content: "\2713  "; }

/* shipped */
.ship-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.next-h { margin-top: 34px; font-size: 15px; letter-spacing: 0; color: var(--ink-3); font-weight: 600; }
.next { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.next li { font-size: 15px; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); }
.log { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.log li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0 14px 22px; }
.log li::before { content: ""; position: absolute; left: -5px; top: 21px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 4px #fff; }
.log li:first-child::before { background: var(--green); box-shadow: 0 0 0 4px #e3f2d6; }
.log time { font: 12px/1.9 var(--mono); color: var(--ink-4); }
.log b { font-weight: 550; font-size: 15.5px; }

/* generators */
.gens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gen { display: grid; gap: 10px; padding: 10px 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, transform .2s var(--ease), box-shadow .2s; }
.gen:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.4); }
.gen .im { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--bg-2) center / cover no-repeat; }
.gen b { padding: 0 4px; font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: #fff; }
.plan.hi { border-color: var(--ink); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.45); }
.ribbon { position: absolute; top: -11px; left: 24px; font-size: 11.5px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--ink); color: #fff; }
.plan h3 { font-size: 18px; letter-spacing: -0.02em; }
.pr { margin: 14px 0 0; font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.pr small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pd { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.plan li::before { content: "\2713"; color: var(--green); font-size: 12px; margin-top: 2px; }
.plan .b { width: 100%; }

/* faq */
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq-in a { text-decoration: underline; text-underline-offset: 3px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 550; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-3); font-size: 15px; max-width: 620px; }

/* final */
.final { margin-top: 120px; padding: 110px 0; background: #0a0a0a; color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 100%; width: 900px; height: 500px; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(196, 220, 124, 0.35), transparent); pointer-events: none; }
.final-in { position: relative; }
.final h2 { font-size: clamp(40px, 6vw, 76px); }
.final p { margin: 18px 0 0; color: #a1a1aa; font-size: 18px; }
.ft { padding: 32px 0; border-top: 1px solid var(--line); }
.ft-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.ft nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.ft nav a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .nv-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-wide { grid-column: span 2; flex-direction: column; }
  .t-wide .t-vis { min-height: 220px; }
  .steps, .who, .plans { grid-template-columns: 1fr 1fr; }
  .gens { grid-template-columns: repeat(3, 1fr); }
  .sell-in, .dev-in, .ship-in, .faq-in { grid-template-columns: 1fr; gap: 36px; }
  .toast { right: 10px; }
}
@media (max-width: 600px) {
  .nv-signin { display: none; }
  .hero { padding-top: 44px; }
  .frame-body .agentmock#agentDemo { min-height: 430px; }
  .bento, .steps, .who, .plans, .stats { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .gens { grid-template-columns: 1fr 1fr; }
  .sec { padding-top: 84px; }
  .works ul { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .run .tvb.p1, .run .tvb-gizmo, .tile.run *, .toast { animation: none !important; }
  .calls li, .toast { opacity: 1; transform: none; }
}
