:root {
  --night: #08111f;
  --deep: #101d2d;
  --paper: #f5f1e8;
  --ink: #172331;
  --muted: #6b7880;
  --cyan: #087f88;
  --mint: #7ee6d3;
  --copper: #d17a46;
  --sun: #f5c66b;
  --line: rgba(184, 210, 207, .24);
  --container: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.55; }
body, button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.playground-container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.playground-header { height: 70px; position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--container)) / 2)); color: #f7f5eb; border-bottom: 1px solid rgba(126,230,211,.18); background: rgba(8,17,31,.84); backdrop-filter: blur(20px); }
.playground-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border: 1px solid rgba(245,198,107,.55); border-radius: 7px; box-shadow: 0 0 0 1px rgba(126,230,211,.1); }
.playground-brand strong, .playground-brand small { display: block; }
.playground-brand strong { font-size: 14px; line-height: 1.1; }
.playground-brand small { margin-top: 4px; color: #90a7ae; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.playground-header nav { display: flex; gap: 26px; margin: 0 auto; }
.playground-header nav a, .portal-link { color: #bfd0cf; font-size: 11px; }
.playground-header nav a:hover, .portal-link:hover { color: var(--sun); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-button { min-width: 34px; height: 30px; border: 1px solid rgba(220,239,233,.34); border-radius: 999px; color: #eef6ef; background: rgba(225,242,237,.08); font-size: 10px; font-weight: 800; cursor: pointer; }
.language-button:hover { border-color: var(--sun); color: #fff7de; }

.playground-hero { min-height: 810px; position: relative; overflow: hidden; color: #fff; background: var(--night); }
.hero-grid { position: absolute; inset: 0; opacity: .62; background-image: linear-gradient(rgba(126,230,211,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(126,230,211,.08) 1px, transparent 1px); background-size: 72px 72px; transform: perspective(560px) rotateX(57deg) scale(1.5) translateY(30%); transform-origin: center bottom; }
.hero-grid::after { content: "SOL / LIVE"; position: absolute; top: 21%; right: 7%; color: rgba(245,198,107,.16); font: 9px monospace; letter-spacing: .16em; }
.hero-orbit { position: absolute; border: 1px solid rgba(245,198,107,.28); border-radius: 50%; transform: rotate(-24deg) scaleY(.34); }
.orbit-one { width: 820px; height: 820px; right: -130px; top: 58px; }
.orbit-two { width: 570px; height: 570px; right: 30px; top: 180px; border-color: rgba(126,230,211,.26); }
.hero-inner { min-height: 810px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(440px, 1fr); gap: 86px; align-items: center; padding-top: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,198,107,.14); }
.hero-copy h1 { margin: 22px 0 22px; color: #fff4d6; font: 700 clamp(52px, 6.6vw, 88px)/.93 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.hero-copy h1 em { color: var(--sun); font-style: normal; }
.hero-copy p { max-width: 390px; margin: 0; color: #b8cbd0; font-size: 18px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-notes span { padding: 5px 8px; border: 1px solid rgba(126,230,211,.22); color: #b8ceca; background: rgba(255,255,255,.04); font: 9px monospace; }

.playground-shell { border: 1px solid rgba(245,198,107,.46); background: rgba(10,25,38,.84); box-shadow: 20px 24px 0 rgba(126,230,211,.08), 0 32px 90px rgba(0,0,0,.36); backdrop-filter: blur(18px); }
.shell-top, .response-top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: #cbd9d5; font: 9px monospace; letter-spacing: .1em; }
.shell-top > div { display: inline-flex; align-items: center; gap: 9px; }
.shell-top small { color: #90a7ae; font-size: 9px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,198,107,.13); }
#playgroundForm { padding: 22px; }
.model-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; color: #a9bdbc; font-size: 11px; }
.model-row strong { color: #fff4d6; font: 11px monospace; }
.prompt-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #a9bdbc; font-size: 11px; }
.prompt-label span { color: #7f999a; font: 9px monospace; }
textarea { width: 100%; min-height: 146px; resize: vertical; padding: 14px; border: 1px solid rgba(126,230,211,.34); border-radius: 4px; outline: 0; color: #e6efeb; background: rgba(4,14,25,.72); font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
textarea::placeholder { color: #769095; }
textarea:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(245,198,107,.12); }
.examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.examples button { min-width: 66px; min-height: 30px; padding: 0 10px; border: 1px solid rgba(126,230,211,.25); border-radius: 3px; color: #c0d6d3; background: rgba(126,230,211,.06); font-size: 10px; cursor: pointer; }
.examples button:hover { color: #fff6dc; border-color: var(--sun); background: rgba(245,198,107,.1); }
.run-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
#runStatus { color: #90a7ae; font-size: 10px; }
#runStatus a { color: #fff4d6; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#runStatus a:hover { color: var(--sun); }
.run-button { min-width: 116px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--sun); border-radius: 3px; color: #102131; background: var(--sun); font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.run-button:not(:disabled):hover { transform: translateY(-2px); background: #fff5d9; }
.run-button:disabled { opacity: .58; cursor: wait; }
.response-panel { border-top: 1px solid var(--line); }
.response-top { border-bottom-color: rgba(126,230,211,.14); color: #9fc0bb; }
#responseState { color: var(--sun); }
#responseText { min-height: 124px; max-height: 350px; margin: 0; padding: 18px 22px; overflow: auto; white-space: pre-wrap; color: #e6efeb; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.metrics div { min-height: 58px; display: grid; align-content: center; gap: 2px; padding: 9px 14px; border-right: 1px solid rgba(126,230,211,.14); }
.metrics div:nth-child(3n) { border-right: 0; }
.metrics span { color: #8aa3a3; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.metrics strong { overflow: hidden; color: #fff4d6; font: 10px monospace; text-overflow: ellipsis; white-space: nowrap; }

.proof-band { border-bottom: 1px solid #cbc4b7; background: #e8e2d7; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { min-height: 170px; padding: 32px; border-right: 1px solid #d0c8bb; }
.proof-grid > div:last-child { border: 0; }
.proof-index { display: block; margin-bottom: 13px; color: var(--copper); font: 10px monospace; }
.proof-grid strong { display: block; color: var(--ink); font: 700 19px/1.13 Georgia, serif; }
.proof-grid p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.conversion-section { padding: 130px 0; position: relative; overflow: hidden; background: var(--paper); }
.conversion-section::after { content: "110M"; position: absolute; right: -6%; bottom: -27%; z-index: 0; color: rgba(209,122,70,.055); font: 700 clamp(420px, 39vw, 720px)/.72 Georgia, serif; letter-spacing: 0; pointer-events: none; user-select: none; }
.conversion-inner { position: relative; z-index: 1; }
.eyebrow.dark { color: var(--cyan); }
.conversion-inner h2 { max-width: 800px; margin: 18px 0; color: var(--ink); font: 700 clamp(40px, 5vw, 68px)/.97 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.conversion-inner p { max-width: 610px; margin: 0; color: var(--muted); font-size: 15px; }
.conversion-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.primary-action, .secondary-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; }
.primary-action { color: #102131; border-color: var(--sun); background: var(--sun); }
.primary-action:hover { background: #fff5d9; }
.secondary-action { color: var(--ink); border-color: #bcb7ac; background: rgba(255,253,248,.72); }
.secondary-action:hover { border-color: var(--copper); }
.playground-footer { color: #9bb0b3; border-top: 1px solid rgba(126,230,211,.15); background: #070f1b; }
.playground-footer > div { min-height: 72px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 10px; }
.playground-footer span:first-child { margin-right: auto; color: #d4e4e1; }
.playground-footer a:hover { color: var(--sun); }

@media (max-width: 900px) { .playground-header nav { display: none; }.header-actions { margin-left: auto; }.hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 122px 0 70px; }.playground-hero, .hero-inner { min-height: auto; }.hero-copy h1 { font-size: 64px; }.playground-shell { width: min(640px, 100%); justify-self: center; }.orbit-one { right: -420px; }.orbit-two { right: -230px; }.proof-grid > div { padding: 26px 20px; } }
@media (max-width: 620px) { .playground-container { width: min(100% - 28px, var(--container)); }.playground-header { height: 62px; padding-inline: 14px; }.playground-brand small, .portal-link { display: none; }.hero-inner { padding-top: 104px; }.hero-copy h1 { font-size: 52px; }.hero-copy p { font-size: 16px; }.playground-shell { box-shadow: 10px 12px 0 rgba(126,230,211,.08); }.shell-top { padding-inline: 14px; }.shell-top small { display: none; } #playgroundForm { padding: 16px; } textarea { min-height: 134px; padding: 12px; font-size: 12px; }.run-row { align-items: stretch; flex-direction: column; }.run-button { width: 100%; min-height: 46px; }.metrics { grid-template-columns: repeat(2, 1fr); }.metrics div:nth-child(3n) { border-right: 1px solid rgba(126,230,211,.14); }.metrics div:nth-child(2n) { border-right: 0; }.proof-grid { grid-template-columns: 1fr; }.proof-grid > div { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid #d0c8bb; }.proof-grid > div:last-child { border-bottom: 0; }.conversion-section { padding: 88px 0; }.conversion-section::after { right: -30%; bottom: -17%; font-size: 420px; }.conversion-inner h2 { font-size: 42px; }.conversion-actions { display: grid; }.primary-action, .secondary-action { min-height: 48px; }.playground-footer > div { min-height: 108px; align-content: center; gap: 10px 16px; }.playground-footer span:first-child { width: 100%; margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
