/* Homepage sections. Each section has its own composition, density and rhythm. */
.s-hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden;
  background: radial-gradient(120% 90% at 72% 38%, #1D1F23 0%, #111214 55%, #0B0C0D 100%); }
.s-hero canvas, .s-final canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-hero .poster, .s-final .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .8s var(--ease); }
.gl-ready .poster { opacity: 0; }
.s-hero canvas, .s-final canvas { opacity: 0; transition: opacity .8s var(--ease); }
.gl-ready canvas { opacity: 1; }
.no-webgl .poster { opacity: 1 !important; }
.s-hero .scrim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 12% 78%, rgba(11, 12, 13, .92) 0%, rgba(11, 12, 13, .55) 45%, transparent 75%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); }
.hero-copy .wrap > div { max-width: 700px; }
.hero-copy h1 { font-size: clamp(54px, 8.2vw, 132px); font-weight: 300; line-height: .9; letter-spacing: -.06em; margin: 20px 0 26px; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span:last-child { padding-bottom: .12em; margin-bottom: -.12em; color: transparent; background: linear-gradient(100deg, #F4F3EF 0%, #BFE9DB 45%, #9FB0FF 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy p { font-size: clamp(17px, 1.45vw, 20px); color: #D2D0CA; max-width: 44ch; line-height: 1.5; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.field-tags { position: absolute; inset: 0; pointer-events: none; }
.field-tag { position: absolute; transform: translate(-50%, 0); text-align: center; font: 12px/1.4 var(--mono); white-space: nowrap; color: var(--ink); text-shadow: 0 2px 12px #000; transition: opacity .4s; }
.field-tag i { display: block; font-style: normal; color: var(--faint); }
.field-tag.hot i { color: var(--mint); }
.hero-scroll { position: absolute; right: var(--g); bottom: 32px; font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); writing-mode: vertical-rl; }

/* 02 · Problem: bone, editorial, scroll-driven depletion */
.on-bone { background: var(--bone); color: var(--carbon); }
.on-bone .kicker { color: var(--carbon-dim); }
.s-problem { padding: 140px 0 120px; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.s-problem h2 { font-size: clamp(44px, 6.4vw, 104px); font-weight: 300; line-height: .93; letter-spacing: -.055em; margin-top: 18px; }
.s-problem h2 em { font-style: normal; color: var(--carbon-dim); }
.s-problem .lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 40ch; margin-top: 32px; color: #2B2A27; }
.needs { margin-top: 56px; border-top: 1px solid rgba(18, 18, 20, .25); }
.needs li { display: grid; grid-template-columns: 64px 180px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(18, 18, 20, .14); }
.needs li span { font: 12px var(--mono); color: var(--carbon-dim); }
.needs li b { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.needs li p { color: #3A3936; font-size: 15.5px; line-height: 1.5; }
.depletion { position: sticky; top: 110px; border-radius: 28px; background: #121315; color: var(--ink); padding: 22px; overflow: hidden; }
.depletion .frame { position: relative; aspect-ratio: 1; }
.depletion .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease), filter .5s; }
.depletion .meter { margin-top: 18px; }
.depletion .meter-row { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--dim); }
.depletion .bar { height: 6px; margin-top: 10px; background: rgba(236, 235, 231, .1); border-radius: 6px; overflow: hidden; }
.depletion .bar i { display: block; height: 100%; width: 100%; background: var(--mint); border-radius: 6px; transform-origin: left; transition: background .4s; }
.depletion .bar i.low { background: var(--amber); }
.depletion .bar i.empty { background: var(--coral); }
.depletion .state { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-top: 18px; }
.depletion .note { margin-top: 6px; }

/* 03 · Operating economy: pinned interactive scene */
.s-economy { position: relative; height: 420vh; background: radial-gradient(100% 80% at 50% 50%, #17191C 0%, #0D0E10 70%); }
.economy-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.economy-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.economy-ui { position: absolute; inset: 96px var(--g) 40px; display: grid; grid-template-columns: 360px 1fr 340px; gap: 24px; pointer-events: none; }
.economy-ui > * { pointer-events: auto; }
.economy-head h2 { font-size: clamp(36px, 4vw, 64px); font-weight: 300; letter-spacing: -.05em; line-height: .95; margin-top: 16px; }
.stage-list { margin-top: 32px; }
.stage-list button { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 14px 0; cursor: pointer; color: var(--faint); transition: color .3s; }
.stage-list button b { font-size: 22px; font-weight: 400; letter-spacing: -.03em; }
.stage-list button span { font: 12px var(--mono); }
.stage-list button[aria-selected="true"] { color: var(--ink); }
.stage-list button[aria-selected="true"] span { color: var(--mint); }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow .node rect { fill: rgba(21, 22, 26, .86); stroke: var(--line-2); }
.flow .node text { fill: var(--dim); font: 12px var(--mono); }
.flow .node.on rect { stroke: var(--mint); }
.flow .node.on text { fill: var(--ink); }
.flow path { fill: none; stroke: rgba(236, 235, 231, .18); stroke-width: 1.2; }
.flow path.on { stroke: var(--mint); stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.inspector { align-self: end; background: rgba(21, 22, 26, .82); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.inspector h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 10px 0 8px; }
.inspector p { color: var(--dim); font-size: 15px; line-height: 1.55; }
.inspector dl { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; }
.inspector dt { font: 11px/1.9 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.inspector dd { margin: 0; color: var(--ink); }
.economy-progress { position: absolute; left: var(--g); right: var(--g); bottom: 24px; height: 1px; background: var(--line); }
.economy-progress i { display: block; height: 1px; background: var(--mint); width: 0; }

/* 04 · Discover: horizontal gallery and detail drawer */
.s-discover { padding: 140px 0 120px; overflow: hidden; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; }
.section-intro h2 { font-size: clamp(40px, 5.6vw, 92px); font-weight: 300; line-height: .93; letter-spacing: -.055em; margin-top: 16px; }
.section-intro p { color: var(--dim); font-size: 17px; line-height: 1.55; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 400px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 48px var(--g) 18px;
  margin: 0 calc(-1 * var(--g)); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior-x: contain; }
.plate { scroll-snap-align: start; border-radius: 26px; background: linear-gradient(180deg, #1A1B1F 0%, #131417 100%); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; text-align: left; cursor: pointer; transition: border-color .3s, transform .4s var(--ease); min-height: 560px; }
.plate:hover, .plate[aria-expanded="true"] { border-color: var(--line-2); transform: translateY(-4px); }
.plate .art { position: relative; aspect-ratio: 1; margin: -6px -6px 8px; }
.plate .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.plate .art img.run { opacity: 0; }
.plate:hover .art img.run, .plate[aria-expanded="true"] .art img.run { opacity: 1; }
.plate .top-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.plate h3 { font-size: 28px; font-weight: 400; letter-spacing: -.035em; margin-top: 10px; }
.plate p { color: var(--dim); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.plate .caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.plate .caps span { font: 11.5px var(--mono); color: var(--dim); background: var(--raised); padding: 5px 9px; border-radius: 8px; }
.drawer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 18px; border: 1px solid var(--line); border-radius: 26px; padding: 28px; background: var(--surface); }
.drawer[hidden] { display: none; }
.drawer h3 { font-size: 34px; font-weight: 400; letter-spacing: -.04em; }
.drawer .sample { font: 13.5px/1.65 var(--mono); background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 18px; white-space: pre-wrap; color: #D8D6D0; }
.drawer dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.drawer dt { font: 11px/2 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.drawer dd { margin: 0; color: var(--ink); }
.discover-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }

/* 05 · Create: product-grade builder demo */
.s-create { padding: 120px 0; background: linear-gradient(180deg, #0D0E10 0%, #121316 100%); }
.builder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); margin-top: 56px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9); }
.builder-main { padding: 28px; border-right: 1px solid var(--line); }
.steps { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.steps li { font: 12px var(--mono); color: var(--faint); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); transition: all .3s; }
.steps li.done { color: var(--dim); border-color: var(--line-2); }
.steps li.now { color: var(--ground); background: var(--mint); border-color: var(--mint); }
.prompt { width: 100%; min-height: 128px; resize: vertical; font: 400 20px/1.45 var(--ui); letter-spacing: -.01em; color: var(--ink); background: var(--ground); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 20px; }
.prompt:focus { outline: none; border-color: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chips button { font-size: 13.5px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--dim); cursor: pointer; }
.chips button:hover { color: var(--ink); border-color: var(--line-2); }
.config { margin-top: 22px; display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); }
.config dt, .config dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.config dt { font: 11px/2 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.config .in { opacity: 1; transform: none; }
.builder-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.builder-side { position: relative; display: grid; grid-template-rows: 1fr auto; background: radial-gradient(80% 70% at 50% 40%, #1F2125, #141518); }
.builder-side canvas { width: 100%; aspect-ratio: 1; display: block; }
.builder-side .identity { padding: 0 24px 24px; }
.builder-side .identity b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.output { font: 13px/1.6 var(--mono); background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; white-space: pre-wrap; color: #D8D6D0; min-height: 84px; }

/* 06 · Work: porcelain close-up of execution */
.on-porcelain { background: #F2F0EB; color: var(--carbon); }
.on-porcelain .kicker { color: var(--carbon-dim); }
.s-work { padding: 140px 0; }
.s-work .section-intro p { color: #46453F; }
.run-board { display: grid; grid-template-columns: 0.9fr 1.2fr 1fr; gap: 16px; margin-top: 56px; align-items: stretch; }
.card-l { background: #fff; border: 1px solid rgba(18, 18, 20, .1); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -40px rgba(18, 18, 20, .35); }
.card-l h4 { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6D6B65; font-weight: 400; }
.card-l .big { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: 10px; line-height: 1.3; }
.timeline { margin-top: 16px; }
.timeline li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(18, 18, 20, .08); font-size: 15px; color: #6B6963; transition: color .3s; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.timeline li.done { color: var(--carbon); }
.timeline li.done::before { background: #1F9E7A; border-color: #1F9E7A; }
.timeline li.now { color: var(--carbon); }
.timeline li.now::before { border-color: #1F9E7A; animation: ping 1s ease-in-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 5px rgba(31, 158, 122, .18); } }
.timeline li span { font: 12px var(--mono); color: #66645E; }
.result { font: 13px/1.6 var(--mono); background: #F7F6F2; border-radius: 14px; padding: 14px; margin-top: 14px; white-space: pre-wrap; min-height: 170px; color: #222; }
.receipt { font: 12.5px/1.8 var(--mono); margin-top: 14px; }
.receipt div { display: flex; justify-content: space-between; border-bottom: 1px dotted rgba(18, 18, 20, .15); }
.receipt .total { border-top: 1px solid var(--carbon); border-bottom: 0; font-weight: 600; margin-top: 4px; }

/* 07 · Runway simulator */
.s-runway { padding: 140px 0; }
.sim { display: grid; grid-template-columns: 320px minmax(0, 1fr) 260px; gap: 28px; margin-top: 56px; align-items: start; }
.controls label { display: block; margin-bottom: 26px; }
.controls label span { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--dim); }
.controls label output { font-family: var(--mono); color: var(--ink); }
.controls input[type="range"] { width: 100%; margin-top: 12px; accent-color: var(--mint); }
.chart { border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: var(--surface); }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid line { stroke: rgba(236, 235, 231, .07); }
.chart .axis text { fill: var(--faint); font: 11px var(--mono); }
.chart .area { fill: url(#fund-fill); }
.chart .line { fill: none; stroke: var(--mint); stroke-width: 2; }
.chart .zero { stroke: var(--coral); stroke-dasharray: 3 4; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font: 12px var(--mono); color: var(--dim); }
.sim-side img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: filter .5s; }
.sim-side .state { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.sim-side dl { margin-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; color: var(--dim); }
.sim-side dd { margin: 0; font-family: var(--mono); color: var(--ink); }

/* 08 · Paths mosaic */
.s-paths { padding: 120px 0 140px; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; margin-top: 56px; }
.tile { border-radius: 26px; padding: 26px; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.tile:nth-child(1) { grid-column: span 4; grid-row: span 2; background: radial-gradient(90% 90% at 80% 20%, #23262B, #141518); }
.tile:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(3) { grid-column: span 3; }
.tile:nth-child(4) { grid-column: span 3; background: var(--bone); color: var(--carbon); }
.tile h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.045em; line-height: 1; margin-top: 14px; }
.tile p { color: var(--dim); font-size: 15.5px; line-height: 1.55; margin-top: 12px; max-width: 46ch; }
.tile:nth-child(4) p { color: #45443F; }
.tile .tile-art { width: min(360px, 60%); margin: auto 0 0 auto; }
.tile a.more { margin-top: auto; padding-top: 18px; color: inherit; font-weight: 560; text-decoration: none; }
.tile a.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 09 · Finale */
.s-final { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: radial-gradient(90% 70% at 50% 60%, #1C1E22, #0B0C0D 75%); display: grid; place-items: center; text-align: center; }
.final-copy { position: relative; z-index: 2; padding: 0 var(--g); pointer-events: none; }
.final-copy .actions { pointer-events: auto; }
.final-copy h2 { font-size: clamp(52px, 10vw, 168px); font-weight: 250; letter-spacing: -.065em; line-height: .88; }
.final-copy p { color: var(--dim); font-size: 19px; margin: 24px auto 0; max-width: 40ch; }
.final-copy .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 1100px) {
  .problem-grid, .section-intro, .builder, .drawer { grid-template-columns: 1fr; }
  .depletion { position: relative; top: 0; max-width: 460px; }
  .economy-ui { grid-template-columns: 1fr; inset: 84px var(--g) 24px; align-content: space-between; }
  .economy-ui .stage-list { display: flex; gap: 4px; margin-top: 18px; overflow-x: auto; }
  .economy-ui .stage-list button { display: block; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; white-space: nowrap; width: auto; }
  .economy-ui .stage-list button b { font-size: 15px; }
  .economy-ui .stage-list button span { display: none; }
  .flow { display: none; }
  .builder-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .run-board, .sim { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 640px) {
  .s-hero { min-height: 620px; }
  .hero-copy { bottom: 28px; }
  .hero-copy h1 { font-size: clamp(46px, 14vw, 64px); margin: 14px 0 16px; }
  .hero-copy p { font-size: 16px; }
  .hero-copy .actions .btn { flex: 1 1 auto; }
  .s-hero .scrim { background: linear-gradient(180deg, transparent 30%, rgba(11, 12, 13, .85) 62%, #0B0C0D 100%); }
  .hero-scroll { display: none; }
  .needs li { grid-template-columns: 40px 1fr; }
  .needs li p { grid-column: 2; }
  .economy-head h2 { font-size: 32px; }
  .inspector { padding: 16px; }
  .inspector dl { display: none; }
  .gallery { grid-auto-columns: 82vw; }
  .plate { min-height: 500px; }
  .prompt { font-size: 17px; }
  .config { grid-template-columns: 110px 1fr; }
}

.hidden-start { opacity: 0; }
.mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt22 { margin-top: 22px; }
.coral { color: var(--coral); } .ink-soft { color: #6D6B65; }
.no-webgl .field-tags, .no-webgl .s-economy canvas, .no-webgl .builder-side canvas { display: none; }

/* 08 · External integration: code-led composition */
.s-integrate { padding: 140px 0; background: radial-gradient(80% 90% at 85% 40%, #161A1F, #0D0E10 70%); }
.integrate-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.s-integrate h2, .s-launch h2 { font-size: clamp(40px, 5.4vw, 88px); font-weight: 300; line-height: .93; letter-spacing: -.055em; margin-top: 16px; }
.s-integrate .lead, .s-launch .lead { font-size: 18px; line-height: 1.55; color: var(--dim); max-width: 46ch; margin-top: 24px; }
.s-launch .lead { color: #3A3936; }
.int-steps { margin-top: 36px; border-top: 1px solid var(--line); }
.int-steps li { display: grid; grid-template-columns: 52px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.int-steps span { font: 12px/1.9 var(--mono); color: var(--mint); }
.int-steps b { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.int-steps p { color: var(--dim); font-size: 15px; margin-top: 4px; }
.int-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.terminal { position: relative; border-radius: 22px; background: #0A0B0C; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9); overflow: hidden; min-height: 480px; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2C30; }
.term-bar span { margin-left: 10px; }
.terminal pre { margin: 0; padding: 22px; font: 13.5px/1.75 var(--mono); color: #CFCDC7; white-space: pre-wrap; min-height: 400px; position: relative; z-index: 1; }
.terminal pre .c { color: #87918F; } .terminal pre .k { color: var(--mint); } .terminal pre .s { color: #B9C4FF; }
.term-art { position: absolute; right: -40px; bottom: -50px; width: 260px; opacity: .85; pointer-events: none; }

/* 09 · Native launchpad: bone, interactive curve */
.s-launch { padding: 140px 0; }
.launch-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.targets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.targets .kicker { width: 100%; margin-bottom: 4px; }
.targets button { font: 500 15px var(--ui); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(18, 18, 20, .25); background: transparent; color: var(--carbon); cursor: pointer; }
.targets button[aria-checked="true"] { background: var(--carbon); color: var(--bone); border-color: var(--carbon); }
.targets input { width: 100%; accent-color: var(--carbon); margin-top: 8px; }
.grad-line { font: 13px var(--mono); color: #4C4B47; margin-top: 14px; min-height: 20px; }
.fee-flow-viz { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; font-size: 14px; }
.fee-flow-viz span { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(18, 18, 20, .12); }
.fee-flow-viz span.in { background: var(--carbon); color: var(--bone); }
.fee-flow-viz span:nth-of-type(3) { background: #CFEFE3; border-color: #9DD9C3; }
.fee-flow-viz i { width: 18px; height: 1px; background: rgba(18, 18, 20, .4); }
.curve { background: #F6F4EF; border: 1px solid rgba(18, 18, 20, .1); border-radius: 26px; padding: 22px; margin: 0; }
.curve svg { width: 100%; height: auto; display: block; }
.curve figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; font: 12px var(--mono); color: #4C4B47; }
.curve figcaption .note { color: #5E5C56; }
.curve .axis { stroke: rgba(18, 18, 20, .2); } .curve .gridl { stroke: rgba(18, 18, 20, .07); }
.curve .price { fill: none; stroke: var(--carbon); stroke-width: 2.2; }
.curve .fill { fill: rgba(31, 158, 122, .16); }
.curve .grad { stroke: #1F9E7A; stroke-dasharray: 4 5; }
.curve text { font: 12px var(--mono); fill: #4C4B47; }
.curve .dot { fill: #1F9E7A; }

@media (max-width: 1100px) { .integrate-grid, .launch-grid { grid-template-columns: 1fr; } .terminal { min-height: 0; } .terminal pre { min-height: 340px; } }
@media (max-width: 640px) { .terminal pre { font-size: 12px; padding: 16px; } .term-art { width: 160px; } }
