/* Landing Suvilabs — "Ruang Tenun": logo 3D logam di atas alas, teks di tengah, tema gelap & terang.
   Emas hanya dipakai di logo 3D dan aksen kecil; tombol utama putih tulang (gelap) / hitam (terang). */
:root {
  --bg: #08080a; --bg2: #0c0c0f; --panel: #101013; --panel2: #15151a;
  --line: rgba(255,255,255,.065); --line2: rgba(255,255,255,.11); --line3: rgba(255,255,255,.22);
  --ink: #efece4; --ink2: #a9a59b; --ink3: #75716a;
  --gold: #dcb771; --ok: #8acaa6; --run: #dcb771;
  --ov: rgba(239,236,228,.28); --nav: rgba(8,8,10,.82); --solid: #efece4; --solid-ink: #0a0a0c;
  --f: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f2ec; --bg2: #efece5; --panel: #fbfaf7; --panel2: #ffffff;
  --line: rgba(30,25,15,.075); --line2: rgba(30,25,15,.13); --line3: rgba(30,25,15,.26);
  --ink: #16140f; --ink2: #57534a; --ink3: #847f74;
  --gold: #a5772a; --ok: #2b8257; --run: #b5852f;
  --ov: rgba(30,25,15,.3); --nav: rgba(244,242,236,.86); --solid: #16140f; --solid-ink: #f7f5f0;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .25s, color .25s; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - 56px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--solid); color: var(--solid-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.mono { font-family: var(--m); font-size: 11px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }

/* Merek & tombol */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; min-width: 0; }
.brand [data-brand-logo] { display: inline-flex; }
.brand .mk, .brand img { width: 26px; height: 26px; flex: none; object-fit: contain; border-radius: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 14.5px/1 var(--f); letter-spacing: -.005em; cursor: pointer; white-space: nowrap; background: none; color: var(--ink); transition: filter .15s, border-color .15s, background .15s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.solid { background: var(--solid); color: var(--solid-ink); }
.btn.solid:hover { filter: brightness(.93); }
.btn.line { border-color: var(--line2); }
.btn.line:hover { border-color: var(--line3); }
.btn.quiet { color: var(--ink2); padding: 0 12px; }
.btn.quiet:hover { color: var(--ink); }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn.block { width: 100%; }
.tt { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); background: none; cursor: pointer; flex: none; }
.tt:hover { color: var(--ink); border-color: var(--line3); }
.tt svg { width: 16px; height: 16px; }
.tt .sun { display: none; }
:root[data-theme="light"] .tt .sun { display: block; }
:root[data-theme="light"] .tt .moon { display: none; }

/* Navigasi */
.nav { position: sticky; top: 0; z-index: 20; height: 68px; border-bottom: 1px solid var(--line); background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; color: var(--ink2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-drawer { border-top: 1px solid var(--line); background: var(--bg); padding: 10px 18px 18px; display: grid; gap: 2px; }
.nav-drawer a:not(.btn) { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
.nav-drawer .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }

/* Hero */
.hero { padding: 40px 0 0; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
h1 { margin: 18px auto; font-size: clamp(44px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
h1 span, h2 span { color: var(--ink3); }
.lead { margin: 0 auto; max-width: 590px; font-size: 18px; line-height: 1.6; color: var(--ink2); }
.cta { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }
.fine { margin-top: 14px; font-size: 13px; color: var(--ink3); display: flex; justify-content: center; }
.fine span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink3); margin: 0 14px 3px; }

/* Viewport 3D */
.vp { position: relative; height: 486px; margin-top: 4px; text-align: left; }
.vp .cn { position: absolute; width: 14px; height: 14px; border: 0 solid var(--line3); pointer-events: none; }
.vp .cn.tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.vp .cn.tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.vp .cn.bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.vp .cn.br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.vp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.vp canvas:active { cursor: grabbing; }
.vp .grid { 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: 56px 56px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 55%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 55%, #000 10%, transparent 75%); opacity: .7; }
.vp .hud { position: absolute; z-index: 2; pointer-events: none; }
.hud-tl { left: 18px; top: 16px; } .hud-br { right: 18px; bottom: 16px; display: flex; gap: 8px; align-items: center; }
.vp svg.ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.vp svg.ov path { fill: none; stroke: var(--ov); stroke-width: 1; }
.vp svg.ov circle { fill: var(--bg); stroke: var(--gold); stroke-width: 1.5; }
.vp-fallback { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%, -50%); }
.co { position: absolute; z-index: 2; width: 200px; pointer-events: none; }
.co .row { display: flex; align-items: baseline; gap: 10px; }
.co[data-side="left"] { text-align: right; } .co[data-side="left"] .row { justify-content: flex-end; }
.co b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.co small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink3); line-height: 1.45; }
.co .fmt { display: inline-flex; gap: 4px; margin-top: 6px; }
.co .fmt span, .tag { font-family: var(--m); font-size: 10.5px; border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; color: var(--ink2); white-space: nowrap; }
.co-1 { left: 12%; top: 70px; } .co-2 { right: 12%; top: 150px; } .co-3 { left: 12%; top: 330px; } .co-4 { right: 12%; top: 330px; }
.hero-chips { display: none; }

/* Contoh tugas Cowork yang sedang berjalan */
.run { margin-top: 14px; display: grid; grid-template-columns: 360px 1fr auto; gap: 28px; align-items: center; padding: 20px 24px; border: 1px solid var(--line2); border-radius: 18px; background: linear-gradient(180deg, var(--panel), var(--bg2)); text-align: left; }
.run-l b { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--run); margin-right: 8px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--run) 18%, transparent); animation: lp-pulse 2s ease-in-out infinite; }
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--run) 6%, transparent); } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 14px; font-size: 13px; color: var(--ink3); }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line2); }
.steps li.done { color: var(--ink2); } .steps li.done::before { background: var(--ink2); }
.steps li.now { color: var(--ink); } .steps li.now::before { background: linear-gradient(90deg, var(--gold) 62%, var(--line2) 62%); }
.steps li i { font-style: normal; font-family: var(--m); font-size: 10.5px; color: var(--ink3); margin-right: 6px; }

/* Bagian */
.sec { padding: 128px 0 0; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: 52px; }
h2 { margin: 0; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }

.spec { border-top: 1px solid var(--line2); }
.spec-row { display: grid; grid-template-columns: 220px 1fr 520px; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.spec-row h3 { margin: 6px 0 10px; font-size: 22px; letter-spacing: -.025em; font-weight: 650; }
.spec-row p { margin: 0; color: var(--ink2); font-size: 15.5px; max-width: 400px; }
.frag { border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); overflow: hidden; font-size: 13.5px; }
.frag-h { display: flex; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.kv:last-child { border-bottom: 0; }
.kv .mono { font-size: 10.5px; }
.tag.g { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.plan-list { list-style: none; margin: 0; padding: 6px 0; }
.plan-list li { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--ink2); }
.plan-list .st { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line3); flex: none; display: grid; place-items: center; }
.plan-list .done .st { background: var(--ink2); border-color: var(--ink2); }
.plan-list .done .st::after { content: ""; width: 6px; height: 3px; border: 1.6px solid var(--panel); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.plan-list .now { color: var(--ink); } .plan-list .now .st { border-color: var(--gold); border-top-color: transparent; animation: lp-spin 1s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.plan-list .t { margin-left: auto; font-family: var(--m); font-size: 11px; color: var(--ink3); }
.file { display: flex; gap: 14px; padding: 16px; align-items: center; }
.file .ic { width: 42px; height: 52px; border-radius: 8px; background: #ebe7dc; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; flex: none; }
.file .ic::before { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 22px; background: repeating-linear-gradient(#b8b2a4 0 2px, transparent 2px 6px); }
.file .ic::after { content: "DOCX"; position: absolute; left: 0; right: 0; bottom: -1px; font: 600 8px/14px var(--m); text-align: center; color: #fff; background: #2f5aa8; border-radius: 0 0 8px 8px; }
.file b { display: block; font-size: 14.5px; font-weight: 600; }
.file small { color: var(--ink3); font-size: 12.5px; }
.file .acts { margin-left: auto; display: flex; gap: 6px; }
.vers { display: flex; gap: 6px; padding: 0 16px 16px; }
.ask { padding: 16px; }
.ask p { margin: 8px 0 4px; color: var(--ink); font-size: 14.5px; max-width: none; }
.ask small { color: var(--ink3); font-size: 12.5px; }
.ask .bt { display: flex; gap: 8px; margin-top: 14px; }
.ask .btn { height: 36px; font-size: 13.5px; padding: 0 16px; cursor: default; }

/* Harga */
.bill { display: inline-flex; padding: 4px; border: 1px solid var(--line2); border-radius: 999px; gap: 2px; }
.bill button { padding: 7px 14px; border-radius: 999px; border: 0; background: none; font: 500 13.5px/1.2 var(--f); color: var(--ink2); cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--panel2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.bill em { font-style: normal; color: var(--gold); font-size: 12px; margin-left: 6px; }
.price { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border: 1px solid var(--line2); border-radius: 20px; overflow: hidden; background: var(--bg); }
.tier { padding: 28px 26px 30px; border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; min-height: 360px; }
.tier:first-child { border-left: 0; }
.tier.hi { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 9%, transparent), transparent 55%); }
.tier.hi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); }
.tier .nm { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; }
.tier .amt { margin: 26px 0 4px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.tier .amt small { font-size: 14px; font-weight: 500; color: var(--ink3); letter-spacing: 0; margin-left: 4px; }
.tier .cr { font-family: var(--m); font-size: 11.5px; color: var(--ink2); margin: 10px 0 18px; }
.tier p { margin: 0 0 24px; color: var(--ink2); font-size: 14px; line-height: 1.55; }
.tier .btn { margin-top: auto; }
.plans-note, .plans-foot { text-align: center; color: var(--ink3); font-size: 13.5px; }
.plans-foot { margin-top: 18px; }

/* Tanya jawab */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 16.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink3); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--ink2); font-size: 15px; max-width: 540px; }

/* Penutup & kaki */
.end { margin-top: 128px; border-top: 1px solid var(--line); padding: 96px 0 104px; text-align: center; }
.end h2 { font-size: clamp(38px, 4.4vw, 60px); }
.end p { color: var(--ink2); margin: 18px 0 32px; font-size: 17px; }
.end .cta { margin: 0; }
footer { border-top: 1px solid var(--line); padding: 44px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: 14px; color: var(--ink2); }
.foot h4 { margin: 0 0 14px; font: 400 11px/1.4 var(--m); letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }
.foot a { display: block; margin: 8px 0; }
.foot a:hover { color: var(--ink); }
.foot p { margin: 12px 0 0; color: var(--ink3); }
.base { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink3); }

/* Muncul halus saat digulir */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .co-1, .co-3 { left: 3%; } .co-2, .co-4 { right: 3%; }
  .spec-row { grid-template-columns: 160px 1fr 440px; }
  .price { grid-template-columns: repeat(2, 1fr); }
  .tier:nth-child(3) { border-left: 0; } .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-links { display: none; } .nav-in { grid-template-columns: 1fr auto; }
  .run { grid-template-columns: 1fr; gap: 14px; }
  .spec-row { grid-template-columns: 1fr; gap: 14px; }
  .co, .vp svg.ov { display: none; }
  .hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
  .hero-chips span { font-size: 12.5px; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 11px; }
  .faq { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .nav { height: 60px; }
  .nav-cta .btn.solid, .nav-cta .btn.quiet { display: none; } .nav-toggle { display: inline-flex; }
  .hero { padding-top: 30px; }
  h1 { font-size: 44px; margin: 14px 0; }
  .lead { font-size: 16px; }
  .cta { margin-top: 22px; } .cta .btn { flex: 1; padding: 0 14px; font-size: 14.5px; }
  .fine { font-size: 12.5px; }
  .vp { height: 280px; margin: 8px -18px 0; }
  .vp .hud, .vp .cn { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .sec { padding-top: 88px; }
  .price { grid-template-columns: 1fr; }
  .tier { border-left: 0; min-height: 0; } .tier + .tier { border-top: 1px solid var(--line); }
  .frag .kv { grid-template-columns: 90px 1fr auto; }
  .end { margin-top: 88px; padding: 72px 0 80px; }
  .end .cta { flex-direction: column; }
  .foot { grid-template-columns: 1fr; }
  .base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .plan-list .now .st { animation: none; }
}

/* ───────── Studio Game & Studio kode ───────── */
.sec-head .sub { margin: 0; max-width: 640px; color: var(--ink2); font-size: 17px; line-height: 1.6; text-wrap: balance; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.badges span { font-family: var(--m); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 10px; }
.ggrid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 268px 268px; gap: 14px; }
.gcard { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: #0b0b0e; isolation: isolate; display: flex; flex-direction: column; }
.gcard.feat { grid-row: span 2; }
.gcard .scr { position: relative; flex: 1; min-height: 0; background: #07070a; }
.gcard canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ginfo { position: relative; padding: 11px 60px 13px 16px; background: #0b0b0e; border-top: 1px solid rgba(255,255,255,.07); color: #fff; display: grid; gap: 3px; }
.gtag { font-family: var(--m); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #f1d39a; }
.ginfo b { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.ginfo p { margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.76); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.feat .ginfo { padding: 18px 24px 20px; gap: 6px; }
.feat .ginfo b { font-size: 26px; letter-spacing: -.03em; }
.feat .ginfo p { -webkit-line-clamp: 2; font-size: 14.5px; max-width: 520px; }
.ginfo .row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.gbtn { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #f4efe4; color: #121216; font-weight: 600; font-size: 14px; }
.gbtn:hover { filter: brightness(.93); }
.gmeta { font-family: var(--m); font-size: 10.5px; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.live { position: absolute; z-index: 2; right: 14px; top: 13px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--m); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.feat .live { top: 20px; right: 22px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 3px rgba(255,90,90,.2); animation: lp-live 1.6s infinite; }
@keyframes lp-live { 50% { opacity: .35; } }
.gpipe { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; }
.gpipe li { padding: 18px 20px; border-left: 1px solid var(--line); }
.gpipe li:first-child { border-left: 0; }
.gpipe .mono { display: block; margin-bottom: 8px; color: var(--gold); }
.gpipe b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.gpipe p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.code-head { margin-top: 96px; scroll-margin-top: 90px; }
.ide { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0c0c10; color: #d9d6cf; box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.ide-top { height: 46px; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ide-top .dots { display: flex; gap: 7px; } .ide-top .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a42; }
.ide-top .ttl { justify-self: center; font: 500 12px/1 var(--m); color: #8f8b84; letter-spacing: .04em; }
.ide-status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--m); color: #a9a59b; }
.ide-status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3a3a42; border-top-color: #dcb771; animation: lp-spin .8s linear infinite; box-sizing: border-box; }
.ide-status.done::before { animation: none; border: 0; background: #8acaa6; width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(138,202,166,.2); }
.ide-status.done { color: #8acaa6; }
.ide-prompt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); background: #111116; }
.ide-prompt .av { width: 28px; height: 28px; border-radius: 50%; background: #2a2a33; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #e9e5dc; flex: none; }
.ide-prompt p { margin: 0; font-size: 14px; color: #eceae4; }
.ide-prompt .mono { margin-left: auto; color: #7b776f; }
.ide-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 430px; height: 470px; }
.ide-tree { border-right: 1px solid rgba(255,255,255,.07); padding: 14px 10px; font: 400 12.5px/1 var(--m); color: #9a968d; display: grid; align-content: start; gap: 2px; }
.ide-tree div { padding: 7px 8px; border-radius: 6px; white-space: nowrap; }
.ide-tree div.on { background: rgba(220,183,113,.1); color: #f1d39a; }
.ide-tree .in { padding-left: 22px; } .ide-tree .in2 { padding-left: 36px; } .ide-tree .fold { color: #cfcbc2; }
.ide-code { padding: 14px 0; overflow: hidden; font: 400 12.8px/20px var(--m); }
.ide-code .ln { display: none; white-space: pre; padding: 0 16px 0 56px; position: relative; }
.ide-code .ln.on { display: block; }
.ide-code .ln::before { content: attr(data-n); position: absolute; left: 0; width: 40px; text-align: right; color: #4c4a52; }
.ide-code .ch { opacity: 0; } .ide-code .ch.on { opacity: 1; }
.ide-code .caret { display: inline-block; width: 2px; height: 15px; background: #dcb771; vertical-align: -3px; margin-left: 1px; animation: lp-live 1s steps(2) infinite; }
.t-k { color: #e7b56a; } .t-s { color: #9fd8a8; } .t-n { color: #f29e74; } .t-f { color: #8fc3ff; } .t-p { color: #e8a0c8; } .t-c { color: #6f6b78; font-style: italic; } .t-o { color: #d9d6cf; }
.ide-prev { border-left: 1px solid rgba(255,255,255,.07); display: grid; grid-template-rows: 40px 1fr auto; background: #0a0a0d; min-width: 0; }
.ide-prev .bar { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); font: 400 11.5px/1 var(--m); color: #8f8b84; }
.ide-prev .bar .url { flex: 1; background: #16161b; border-radius: 6px; padding: 6px 10px; }
.ide-prev .screen { position: relative; margin: 14px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #111; }
.ide-prev .screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform: scale(.98); transition: opacity .5s, transform .5s; }
.ide-prev.on .screen canvas { opacity: 1; transform: none; }
.ide-prev .wait { position: absolute; inset: 0; display: grid; place-items: center; font: 400 12px/1 var(--m); color: #5f5c64; background: repeating-linear-gradient(45deg, #101014 0 10px, #0d0d11 10px 20px); transition: opacity .4s; }
.ide-prev.on .wait { opacity: 0; }
.ide-term { margin: 0 14px 14px; border-radius: 10px; background: #131318; border: 1px solid rgba(255,255,255,.06); padding: 10px 12px; min-height: 84px; font: 400 12px/20px var(--m); }
.ide-term .t-run { color: #a9a59b; } .ide-term .t-ok { color: #8acaa6; }
.ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.ctile { border: 1px solid var(--line2); border-radius: 16px; padding: 18px; background: var(--panel); display: grid; gap: 8px; align-content: start; min-width: 0; }
.ctile .mono { color: var(--gold); }
.ctile b { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.ctile p { margin: 0; font-size: 13.5px; color: var(--ink2); line-height: 1.55; }
.ctile code { font-family: var(--m); font-size: 11.5px; color: var(--ink); background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta2 { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
@media (max-width: 1180px) { .ide-body { grid-template-columns: 170px minmax(0, 1fr) 360px; } .ctiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .ggrid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 190px 190px; gap: 10px; }
  .gcard.feat { grid-column: span 2; grid-row: auto; }
  .gcard:not(.feat) .ginfo { padding: 9px 12px 11px; } .gcard:not(.feat) .ginfo p, .gcard:not(.feat) .live { display: none; }
  .gcard:not(.feat) .ginfo b { font-size: 14.5px; }
  .feat .ginfo { padding: 14px 16px 16px; } .feat .ginfo b { font-size: 21px; } .feat .ginfo p { font-size: 13.5px; } .feat .ginfo .gmeta { display: none; }
  .gpipe { grid-template-columns: 1fr 1fr; } .gpipe li:nth-child(3) { border-left: 0; } .gpipe li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ide-top { grid-template-columns: 60px 1fr; } .ide-top .ttl { display: none; } .ide-status { justify-self: end; }
  .ide-prompt .mono { display: none; } .ide-prompt p { font-size: 13px; }
  .ide-body { grid-template-columns: 1fr; height: auto; }
  .ide-tree { display: none; }
  .ide-code { height: 300px; font-size: 10.4px; line-height: 17px; } .ide-code .ln { padding-left: 40px; } .ide-code .ln::before { width: 28px; }
  .ide-prev { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); grid-template-rows: 36px 220px auto; }
}
@media (max-width: 640px) {
  .sec-head .sub { font-size: 15.5px; }
  .code-head { margin-top: 64px; }
  .ctiles { grid-template-columns: 1fr; }
  .cta2 { flex-direction: column; } .cta2 .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .live i, .ide-code .caret, .ide-status::before { animation: none; } }