:root {
  --ink: #0c0c0a; --ink-2: #141412; --ink-3: #1c1c19; --line: #2a2a25; --paper: #f2efe6; --dim: #a19d90; --faint: #6b685e;
  --lime: #d4ff3a; --violet: #8b6cff;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Geist", -apple-system, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; }
code { font-family: var(--mono); font-size: .86em; background: rgba(242,239,230,.07); border: 1px solid rgba(242,239,230,.08); padding: 1px 6px; border-radius: 5px; }
.mono { font-family: var(--mono); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--lime); }
.muted { color: var(--dim); }
.hidden { display: none !important; }

#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
main, footer, .nav { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 28px)); z-index: 30;
  display: flex; align-items: center; gap: 22px; padding: 9px 10px 9px 18px; border: 1px solid transparent; border-radius: 14px;
  transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(12,12,10,.72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.3px; text-decoration: none; font-size: 17px; }
.logo img { width: 26px; height: 26px; border-radius: 7px; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.links a { color: var(--dim); text-decoration: none; transition: color .2s; }
.links a:hover { color: var(--paper); }
.auth { display: flex; align-items: center; gap: 10px; }
.auth img { width: 28px; height: 28px; border-radius: 50%; }
.pill-btn { border: 1px solid var(--line); background: var(--ink-2); color: var(--paper); border-radius: 10px; padding: 7px 14px; font: 500 14px var(--sans);
  cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.pill-btn:hover { border-color: var(--lime); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 1120px; margin: 0 auto; padding: 140px 28px 60px; }
.ticker { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 12.5px; color: var(--dim);
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; background: rgba(12,12,10,.6); backdrop-filter: blur(6px); }
.ticker b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; min-width: 13ch; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 12vw, 172px); line-height: .9; letter-spacing: -.035em; margin: 28px 0 30px; }
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.display .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.display .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }
.display.small { font-size: clamp(48px, 7vw, 104px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 620px; margin: 0 0 40px; }

.installer { max-width: 760px; border: 1px solid var(--line); background: rgba(20,20,18,.82); backdrop-filter: blur(10px); border-radius: 16px; overflow: hidden; }
.os-tabs { display: flex; border-bottom: 1px solid var(--line); }
.os-tabs button { flex: none; border: 0; background: none; color: var(--faint); font: 500 13px var(--sans); padding: 11px 18px; cursor: pointer; position: relative; transition: color .2s; }
.os-tabs button.on { color: var(--paper); }
.os-tabs button.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--lime); }
.cmd-row { display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 18px; }
.prompt { color: var(--lime); }
.cmd-row code { flex: 1; background: none; border: 0; padding: 0; font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; color: var(--paper); }
.cmd-row code::after { content: "▍"; color: var(--lime); animation: blink 1s steps(1) infinite; margin-left: 1px; }
.cmd-row code.typed::after { display: none; }
.copy { flex: none; border: 0; background: var(--lime); color: var(--ink); font: 600 13px var(--sans); border-radius: 9px; padding: 9px 16px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s; }
.copy:hover { transform: translateY(-1px); }
.copy:active { transform: scale(.96); }
.copy.done { background: var(--paper); }
.hint { margin: 0; padding: 0 18px 14px; font-size: 13px; color: var(--faint); }
.scroll-cue { margin-top: 70px; font-size: 12px; color: var(--faint); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

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

/* ---------- grow story ---------- */
.grow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1120px; margin: 0 auto; padding: 80px 28px; }
.grow-sticky { position: sticky; top: 15vh; height: 70vh; display: flex; align-items: center; }
.term { width: 100%; border: 1px solid var(--line); background: rgba(16,16,14,.92); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.term-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); }
.term-top span { margin-left: auto; font-size: 12px; color: var(--faint); }
.term-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.term-stats div { padding: 14px 16px; border-right: 1px solid var(--line); }
.term-stats div:last-child { border: 0; }
.term-stats span { display: block; font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.term-stats b { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; transition: color .3s; }
.spark { width: 100%; height: 70px; display: block; border-bottom: 1px solid var(--line); }
.spark path { fill: none; stroke: var(--lime); stroke-width: 2; vector-effect: non-scaling-stroke; transition: d .8s var(--ease); }
.term-out { padding: 16px 18px; min-height: 230px; font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; color: var(--dim); }
.term-out .u { color: var(--faint); }
.term-out .a { color: var(--paper); }
.term-out .caret::after { content: "▍"; color: var(--lime); animation: blink 1s steps(1) infinite; }
.chapters { display: flex; flex-direction: column; }
.chapter { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s var(--ease); }
.chapter.on { opacity: 1; }
.kicker { font-size: 12px; color: var(--lime); letter-spacing: .06em; text-transform: uppercase; }
.chapter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 18px; }
.chapter p { color: var(--dim); font-size: 18px; max-width: 440px; margin: 0; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(12,12,10,.7);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 48px; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font-family: var(--serif); font-size: 38px; white-space: nowrap; color: var(--dim); transition: color .2s; }
.track span:hover { color: var(--lime); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.features, .studio, .hardware, .plugins, .faq, .cta { max-width: 1120px; margin: 0 auto; padding: 130px 28px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 80px); line-height: .98; letter-spacing: -.025em; margin: 12px 0 44px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .hw { position: relative; border: 1px solid var(--line); background: rgba(20,20,18,.85); border-radius: 18px; padding: 26px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s; }
.card::before, .hw::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212,255,58,.11), transparent 45%); }
.card:hover, .hw:hover { border-color: #3d3d34; transform: translateY(-3px); }
.card:hover::before, .hw:hover::before { opacity: 1; }
.card.big { grid-row: span 2; display: flex; flex-direction: column; }
.card.wide { grid-column: span 2; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.4px; margin: 10px 0 8px; }
.card.big h3 { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -.02em; line-height: 1; }
.card p { color: var(--dim); margin: 0; font-size: 15px; }
.sliders { margin-top: auto; padding-top: 30px; display: grid; gap: 14px; }
.sliders div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; font: 12px var(--mono); color: var(--faint); }
.sliders i { height: 4px; border-radius: 9px; background: var(--ink-3); position: relative; }
.sliders i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); background: var(--lime); border-radius: 9px;
  animation: knob 4s var(--ease) infinite alternate; }
.sliders div:nth-child(2) i::after { animation-delay: -1.3s; } .sliders div:nth-child(3) i::after { animation-delay: -2.6s; }
@keyframes knob { from { width: calc(var(--v) * 60%); } to { width: calc(var(--v) * 100% + 10%); } }
.platforms { display: flex; gap: 8px; margin-top: 18px; }
.platforms span { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 12px; color: var(--paper); }

.studio-head { max-width: 760px; }
.studio-head .section-title { margin-bottom: 18px; }
.studio-head p { font-size: 18px; margin: 0 0 40px; }
.studio-rows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 120px repeat(3, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.srow > span { color: var(--lime); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.srow b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -.2px; }
.srow small { color: var(--faint); font: 12.5px var(--mono); }
.srow .soon b { color: var(--faint); }
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hw b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.hw span { color: var(--dim); font-size: 14.5px; }

.plugins { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.plugins .section-title { margin-bottom: 18px; }
.code { border: 1px solid var(--line); background: rgba(16,16,14,.92); border-radius: 18px; padding: 26px; font-size: 14.5px; line-height: 1.75; margin: 0;
  min-height: 210px; overflow-x: auto; color: var(--paper); }
.code .c { color: var(--faint); } .code .k { color: var(--violet); } .code .s { color: var(--lime); }

.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 21px; letter-spacing: -.3px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--lime); font-size: 22px; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
details[open] > div { grid-template-rows: 1fr; }
details > div > p { overflow: hidden; margin: 0; color: var(--dim); font-size: 17px; }
details[open] > div > p { padding-bottom: 26px; }

.cta { text-align: center; padding-bottom: 160px; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.big-btn { border: 0; background: var(--lime); color: var(--ink); font: 600 16px var(--sans); padding: 16px 28px; border-radius: 12px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 0 0 rgba(212,255,58,0); }
.big-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(212,255,58,.25); }
.ghost-btn { border: 1px solid var(--line); background: transparent; color: var(--paper); font: 500 16px var(--sans); padding: 16px 26px; border-radius: 12px; cursor: pointer; transition: border-color .2s; }
.ghost-btn:hover { border-color: var(--paper); }

footer { max-width: 1120px; margin: 0 auto; padding: 50px 28px 60px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.made { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); letter-spacing: -.02em; color: var(--dim); }
.made b { font-weight: 400; color: var(--paper); }
.foot { display: flex; gap: 22px; font-size: 13px; color: var(--faint); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--lime); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 16px); z-index: 50; background: var(--paper); color: var(--ink);
  font: 500 14px var(--sans); padding: 11px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .links { display: none; } .auth { margin-left: auto; }
  .grow { grid-template-columns: 1fr; gap: 0; }
  .grow-sticky { position: sticky; top: 70px; height: auto; z-index: 3; }
  .term-out { min-height: 150px; font-size: 12.5px; }
  .chapter { min-height: 70vh; padding-top: 30vh; }
  .bento, .hw-grid { grid-template-columns: 1fr 1fr; } .card.wide { grid-column: span 2; }
  .plugins { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr 1fr; } .srow > span { grid-column: span 2; }
}
@media (max-width: 560px) {
  .hero, .features, .studio, .hardware, .plugins, .faq, .cta, .grow { padding-left: 16px; padding-right: 16px; }
  .bento, .hw-grid { grid-template-columns: 1fr; } .card.wide, .card.big { grid-column: auto; grid-row: auto; }
  .srow { grid-template-columns: 1fr; } .srow > span { grid-column: auto; }
  .term-stats b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .display .line > span { transform: none; }
}

/* ---------- 1-minute tour ---------- */
.tour { margin-top: 56px; max-width: 1040px; outline: none; }
.tour-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); cursor: pointer;
  background: radial-gradient(120% 90% at 50% 0%, #1d1a2e, #0e0e10 60%); box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(212,255,58,.04); font-size: 16px; }
.tour-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.tour-scene > .enter { animation: tin .5s var(--ease); }
@keyframes tin { from { opacity: 0; transform: scale(.985); } }
.tour-cap { position: absolute; left: 50%; bottom: 4.2%; transform: translateX(-50%); max-width: 86%; text-align: center; z-index: 5;
  background: rgba(8,8,8,.82); color: #fff; font: 500 max(12px, 1.05em)/1.35 var(--sans); padding: .45em .9em; border-radius: .5em; backdrop-filter: blur(6px); }
.tour-cap.show { animation: capin .35s var(--ease); }
@keyframes capin { from { opacity: 0; transform: translate(-50%, 8px); } }
.tour-big { position: absolute; inset: 0; margin: auto; width: 4.2em; height: 4.2em; border-radius: 50%; border: 0; z-index: 6; cursor: pointer;
  background: var(--lime); color: var(--ink); font-size: 1.6em; box-shadow: 0 10px 40px rgba(212,255,58,.35); transition: transform .2s var(--ease), opacity .3s; }
.tour-big:hover { transform: scale(1.06); }
.tour-big.hide { opacity: 0; pointer-events: none; }
.tour-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 12.5px var(--mono); color: var(--dim); }
.tour-ctrl button { border: 1px solid var(--line); background: var(--ink-2); color: var(--paper); border-radius: 8px; padding: 6px 11px; cursor: pointer; font: inherit; }
.tour-ctrl button:hover { border-color: var(--lime); }
.tour-bar { flex: 1; height: 6px; background: var(--ink-3); border-radius: 9px; position: relative; cursor: pointer; }
.tour-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--lime); border-radius: 9px; }
.tour-bar b { position: absolute; top: -2px; width: 2px; height: 10px; background: var(--ink); }
.tour-time { min-width: 86px; text-align: right; }

/* mock app inside the tour (matches the real app's look) */
.tour-scene { --a: #7c5cff; --a2: #a48bff; --bg: #1c1c1f; --sd: #151517; --sf: #26262b; --ln: #2f2f36; --tx: #ececf1; --mu: #9a9aa6; color: var(--tx); font-family: -apple-system, system-ui, sans-serif; }
.t-title, .t-end { text-align: center; }
.t-title img, .t-end img { width: 5.5em; height: 5.5em; filter: drop-shadow(0 1em 2.5em rgba(124,92,255,.5)); }
.t-title h3, .t-end h3 { font: 400 4.4em/1 var(--serif); margin: .25em 0 .1em; letter-spacing: -.02em; color: var(--paper); }
.t-title p { font: 1.2em var(--mono); color: var(--lime); margin: 0; }
.t-end code { display: inline-block; font: 1.05em var(--mono); background: #000; border: 1px solid #333; padding: .6em 1em; border-radius: .6em; margin: .6em 0; color: var(--paper); }
.t-end p { color: var(--dim); margin: .4em 0 0; }
.t-win { position: absolute; inset: 5% 5% 15%; background: var(--bg); border: 1px solid var(--ln); border-radius: .8em; display: flex; overflow: hidden;
  box-shadow: 0 1.5em 4em rgba(0,0,0,.5); font-size: .78em; }
.t-side { width: 22%; background: var(--sd); padding: 1.2em .8em .8em; display: flex; flex-direction: column; gap: .15em; border-right: 1px solid var(--ln); }
.t-brand { display: flex; align-items: center; gap: .5em; font-weight: 650; margin-bottom: .8em; } .t-brand img { width: 1.5em; border-radius: .35em; }
.t-nav { padding: .45em .6em; border-radius: .45em; color: #c8c8d0; } .t-nav.on { background: rgba(255,255,255,.09); color: var(--tx); }
.t-recents { margin-top: 1em; color: #c8c8d0; display: grid; gap: .45em; padding: 0 .6em; } .t-recents small { color: var(--mu); }
.t-brain { margin-top: auto; display: flex; gap: .6em; align-items: center; border: 1px solid var(--ln); border-radius: .7em; padding: .55em .7em; background: var(--sf); }
.t-brain i { width: .5em; height: .5em; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 .5em #3ecf8e; }
.t-brain b { display: block; font-size: .95em; } .t-brain small { color: var(--mu); }
.t-main { flex: 1; padding: 1.4em 1.8em; position: relative; min-width: 0; }
.t-main.center { display: grid; place-items: center; }
.t-main h4 { margin: 0 0 1em; font-size: 1.5em; font-weight: 650; display: flex; gap: 1em; align-items: center; }
.t-wiz { width: 70%; background: var(--sf); border: 1px solid var(--ln); border-radius: 1em; padding: 1.4em 1.6em; position: relative; }
.t-wiz label { display: flex; justify-content: space-between; margin: 1em 0 .4em; color: #c8c8d0; } .t-wiz b { color: var(--a2); font-family: var(--mono); }
.t-steps { display: flex; gap: .4em; } .t-steps i { flex: 1; height: .25em; border-radius: 9em; background: var(--ln); } .t-steps i.on { background: var(--a); }
.t-range { height: .35em; background: var(--ln); border-radius: 9em; position: relative; } .t-range i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--a); border-radius: 9em; }
.t-range i::after { content: ""; position: absolute; right: -.5em; top: -.35em; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.t-est { margin-top: 1.2em; background: #131315; border-radius: .6em; padding: .7em .9em; color: #c8c8d0; }
.t-cursor { position: absolute; width: 1.2em; height: 1.2em; border-radius: 50%; background: rgba(255,255,255,.9); border: 2px solid #000; box-shadow: 0 0 0 .4em rgba(255,255,255,.15);
  transition: left .5s var(--ease), top .5s var(--ease), opacity .3s; z-index: 4; }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; } .t-stats small { color: var(--mu); display: block; } .t-stats b { font: 600 1.6em var(--mono); }
.t-chart { width: 100%; height: 35%; margin: 1em 0; background: #131315; border-radius: .7em; }
.t-chart path { fill: none; stroke: var(--a); stroke-width: 2.5; vector-effect: non-scaling-stroke; } .t-chart line { stroke: #3ecf8e; stroke-width: 2; vector-effect: non-scaling-stroke; transition: opacity .3s; }
.t-sample { font: .95em var(--mono); color: #c8c8d0; background: #131315; border-radius: .6em; padding: .7em .9em; }
.t-main.chat { display: flex; flex-direction: column; } .t-main.chat.narrow { flex: 0 0 45%; }
.t-thread { flex: 1; display: flex; flex-direction: column; gap: .9em; padding: 0 6%; overflow: hidden; }
.t-msg { display: flex; gap: .7em; line-height: 1.5; font-size: 1.1em; } .t-msg img { width: 1.6em; height: 1.6em; border-radius: .4em; }
.t-msg.u { align-self: flex-end; } .t-msg.u span { background: #2c2c32; border: 1px solid var(--ln); padding: .45em .9em; border-radius: 1em; }
.t-composer { margin: 0 6%; border: 1px solid var(--ln); background: var(--sf); border-radius: 1.2em; padding: .9em 1.1em; display: flex; justify-content: space-between; font-size: 1.05em; }
.t-composer .ph { color: var(--mu); } .t-send { width: 1.7em; height: 1.7em; border-radius: .5em; background: var(--a); }
.t-tool { color: #c8c8d0; border-left: 2px solid var(--a); padding-left: .8em; }
.t-browser { flex: 1; border-left: 1px solid var(--ln); background: var(--sd); display: flex; flex-direction: column; padding: .7em; }
.t-url { background: var(--sf); border: 1px solid var(--ln); border-radius: 9em; padding: .35em .9em; color: #c8c8d0; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-page { flex: 1; background: #fafafa; border-radius: .6em; margin-top: .6em; padding: 1em; color: #222; position: relative; overflow: hidden; }
.t-page h5 { margin: 0 0 .7em; font: 400 1.6em var(--serif); } .t-page i { display: block; height: .55em; background: #e5e5e5; border-radius: 9em; margin: .5em 0; width: calc(100% - var(--w, 0%)); }
.t-page i:nth-child(odd) { --w: 18%; }
.fly { position: absolute; right: 1em; bottom: calc(1em + var(--i) * 1.7em); background: var(--a); color: #fff; font-size: .85em; padding: .25em .6em; border-radius: .4em; animation: fly .5s var(--ease); }
@keyframes fly { from { transform: translateX(-40%); opacity: 0; } }
.t-main.tcode { display: flex; flex-direction: column; padding: 1em 1.2em; }
.t-codebar { display: flex; gap: .8em; align-items: center; margin-bottom: .8em; }
.t-codebar .chip { border: 1px solid var(--ln); background: var(--sf); border-radius: 9em; padding: .3em .8em; }
.seg { display: inline-flex; border: 1px solid var(--ln); border-radius: .5em; overflow: hidden; font-size: .9em; } .seg i { font-style: normal; padding: .3em .8em; color: #c8c8d0; } .seg i.on { background: var(--a); color: #fff; }
.seg.mini { font-size: .55em; font-weight: 400; }
.t-codebody { flex: 1; display: grid; grid-template-columns: 22% 1fr; gap: 1em; min-height: 0; }
.t-tree { background: var(--sd); border-radius: .6em; padding: .6em; display: grid; align-content: start; gap: .35em; color: #c8c8d0; }
.newf { opacity: 0; transform: translateX(-.5em); transition: .4s var(--ease); } .newf.in { opacity: 1; transform: none; color: #3ecf8e; }
.t-codemain { display: flex; flex-direction: column; gap: .6em; overflow: hidden; justify-content: flex-end; }
.t-think { border-left: 2px solid var(--a); padding-left: .8em; } .t-think b { color: var(--mu); } .t-think p { margin: .2em 0 0; font-style: italic; color: #c8c8d0; }
.shim { background: linear-gradient(90deg, var(--mu) 20%, #fff 50%, var(--mu) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tshim 1.4s linear infinite; }
@keyframes tshim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.t-card { background: var(--sf); border: 1px solid var(--ln); border-radius: .7em; overflow: hidden; }
.t-card.wait { border-color: var(--a); box-shadow: 0 0 0 .25em rgba(124,92,255,.2); } .t-card.ok { border-color: rgba(62,207,142,.45); }
.t-ch { display: flex; gap: .6em; align-items: center; padding: .5em .8em; } .t-ch em { font: 600 .75em var(--mono); text-transform: uppercase; padding: .15em .5em; border-radius: .35em; background: rgba(124,92,255,.22); color: var(--a2); font-style: normal; }
.t-ch em.run { background: rgba(245,165,36,.2); color: #f5a524; } .t-ch span { font: .85em var(--mono); color: #3ecf8e; } .t-ch s { margin-left: auto; text-decoration: none; color: #3ecf8e; }
.t-card pre { margin: 0; padding: .5em .8em; background: #131315; font: .9em var(--mono); white-space: pre; } .t-card .add { color: #3ecf8e; }
.t-btns { display: flex; gap: .5em; padding: .6em .8em; border-top: 1px solid var(--ln); } .t-btns u { text-decoration: none; border: 1px solid var(--ln); border-radius: .4em; padding: .3em .7em; }
.t-btns u:first-child { background: var(--a); border-color: var(--a); color: #fff; } .t-btns u.press { transform: scale(.94); filter: brightness(1.2); }
.t-done { padding: .6em .8em; border: 1px solid rgba(62,207,142,.45); border-radius: .6em; background: var(--sf); } .t-done span { float: right; color: var(--a2); }
.t-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.g { border-radius: .7em; overflow: hidden; background: var(--sf); border: 1px solid var(--ln); } .g b { display: block; aspect-ratio: 16 / 10; }
.g small { display: block; padding: .4em .6em; color: #c8c8d0; font-size: .85em; }
.g0 b { background: radial-gradient(circle at 70% 30%, #ffcf6b, #e2574c 40%, #3b1f5e); } .g1 b { background: linear-gradient(160deg, #7ee8fa, #80ff72); }
.g2 b { background: conic-gradient(from 90deg, #1e3c72, #2a5298, #f7797d, #1e3c72); } .g3 b { background: radial-gradient(circle at 50% 55%, #a48bff 0 18%, #2a2440 19% 60%, #151517 61%); }
.g4 b { background: linear-gradient(135deg, #0f2027, #2c5364 50%, #f4d03f); } .g5 b { background: radial-gradient(circle at 30% 70%, #ff9a9e, #fad0c4 30%, #a18cd1 70%); }
@media (max-width: 560px) { .tour-ctrl { font-size: 11px; gap: 8px; } .tour-time { display: none; } }
.made a { text-decoration: none; }
.made a:hover b { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
