/* =====================================================================
   Luminaweb · marketing + docs stylesheet
   Protocol: Premium Utilitarian Minimalism
   Palette: Warm Monochrome · Accent: Muted Pastels
   Type: Instrument Serif (display) · Geist (body) · Geist Mono (code)
   ===================================================================== */

/* -- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Geist', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  background: #FBFBFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
del { text-decoration-color: #AAAAAA; }
::selection { background: #111111; color: #FBFBFA; }

/* -- Tokens ----------------------------------------------------------- */
:root {
  --canvas:        #FBFBFA;
  --surface:       #FFFFFF;
  --border:        #EAEAEA;
  --border-hover:  rgba(0,0,0,0.14);
  --text:          #111111;
  --text-2:        #787774;
  --code-bg:       #F7F6F3;
  --sans:    'Geist', 'Helvetica Neue', -apple-system, sans-serif;
  --serif:   'Instrument Serif', 'Newsreader', Georgia, serif;
  --mono:    'Geist Mono', 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --r-sm:  4px;
  --r:     8px;
  --r-lg:  12px;
  /* Muted pastels */
  --green-bg:  #EDF3EC; --green-tx:  #346538;
  --yellow-bg: #FBF3DB; --yellow-tx: #956400;
  --blue-bg:   #E1F3FE; --blue-tx:   #1F6C9F;
  --red-bg:    #FDEBEC; --red-tx:    #9F2F2D;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* -- Layout ---------------------------------------------------------- */
.main {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
  padding-bottom: 120px;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: #111; color: #FBFBFA;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* -- Nav ------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,251,250,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
  height: 56px;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--yellow-bg);
  color: var(--yellow-tx);
  border-radius: 9999px;
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav__links a {
  padding: 6px 12px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav__links a:hover { color: var(--text); background: var(--border); }
.nav__links a[data-current="true"] { color: var(--text); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--text);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.nav__cta:hover { background: #333; }
.nav__cta:active { transform: scale(0.98); }

/* -- Scroll animations ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }
.reveal-d5 { transition-delay: 400ms; }
.reveal-d6 { transition-delay: 480ms; }

/* -- Tags / Badges ---------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
}
.tag--green  { background: var(--green-bg);  color: var(--green-tx); }
.tag--yellow { background: var(--yellow-bg); color: var(--yellow-tx); }
.tag--blue   { background: var(--blue-bg);   color: var(--blue-tx); }
.tag--red    { background: var(--red-bg);    color: var(--red-tx); }
.tag__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* -- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
}
/* Ambient gradient blob — very subtle, slow drift */
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.024) 0%, transparent 65%);
  animation: blob-drift 28s ease-in-out infinite;
  will-change: transform;
}
@keyframes blob-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(-2%, 3%) scale(1.03); }
  66%  { transform: translate(1.5%,-2%) scale(0.97); }
}
.hero__content { position: relative; z-index: 1; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.hero__meta-text {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(60px, 9vw, 128px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 13ch;
  margin-bottom: 32px;
}
.hero__title em {
  font-style: italic;
  color: var(--text-2);
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__sub del { color: var(--text-2); opacity: 0.55; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

/* -- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn--primary { background: var(--text); color: #fff; border-color: var(--text); }
.btn--primary:hover { background: #333; border-color: #333; }
.btn--primary:active { transform: scale(0.98); }
.btn--ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn--ghost:hover { border-color: #AAAAAA; color: var(--text); }
.btn--ghost:active { transform: scale(0.98); }
.btn--lg { padding: 13px 22px; font-size: 15px; }

/* -- Terminal (macOS chrome) ----------------------------------------- */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--code-bg);
}
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.terminal__dot:nth-child(1) { background: #FF5F57; }
.terminal__dot:nth-child(2) { background: #FFBD2E; }
.terminal__dot:nth-child(3) { background: #28CA41; }
.terminal__body {
  padding: 18px 22px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-2);
}
.terminal__body code { font-family: inherit; white-space: pre-wrap; }
.t-prompt { color: #AAAAAA; margin-right: 8px; user-select: none; }
.t-cmd { color: var(--text); }
.t-out { color: var(--text-2); }

/* -- What is it ------------------------------------------------------ */
.band {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.band__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.band__title em { font-style: italic; color: var(--text-2); }
.band__body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 18px;
}
.band__body p:last-child { margin-bottom: 0; }
.band__body code {
  font-family: var(--mono); font-size: 13px;
  padding: 2px 6px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

/* -- Split ----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.split__copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.split__copy h2 em { font-style: italic; color: var(--text-2); }
.split__copy p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.72;
  max-width: 46ch;
}
.split__copy p code {
  font-family: var(--mono); font-size: 13px;
  padding: 2px 6px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

/* -- Tree ------------------------------------------------------------ */
.tree {
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.0;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.tree code { font-family: inherit; white-space: pre; }
.tree .dim { color: var(--text-2); }

/* -- Code block (OS chrome) ------------------------------------------ */
.code {
  margin: 80px 0 120px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.code__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--code-bg);
}
.code__circles { display: flex; gap: 6px; }
.code__circle { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.code__circle:nth-child(1) { background: #FF5F57; }
.code__circle:nth-child(2) { background: #FFBD2E; }
.code__circle:nth-child(3) { background: #28CA41; }
.code__file { font-family: var(--mono); font-size: 12px; color: var(--text-2); margin-left: 4px; }
.code__lang { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.code__body {
  padding: 22px 26px 28px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text);
}
.code__body code { font-family: inherit; white-space: pre; }
.kw  { color: var(--red-tx); }
.typ { color: var(--green-tx); }
.str { color: var(--yellow-tx); }
.sym { color: var(--text-2); }
.fn  { color: var(--blue-tx); }

/* -- Features bento -------------------------------------------------- */
.features { padding: 120px 0; border-top: 1px solid var(--border); }
.features__intro { max-width: 640px; margin-bottom: 56px; }
.features__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 18px;
}
.features__intro h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.features__intro h2 em { font-style: italic; color: var(--text-2); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.feat {
  grid-column: span 6;
  padding: 28px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.feat:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.04); border-color: var(--border-hover); }
.feat:nth-child(1) { grid-column: span 7; }
.feat:nth-child(2) { grid-column: span 5; }
.feat:nth-child(3) { grid-column: span 5; }
.feat:nth-child(4) { grid-column: span 7; }
.feat__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.feat h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.feat p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.68;
  max-width: 52ch;
}
.feat code {
  font-family: var(--mono); font-size: 12.5px;
  padding: 2px 5px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
}

/* -- Deploy steps ---------------------------------------------------- */
.deploy { padding: 120px 0; border-top: 1px solid var(--border); }
.deploy__inner { max-width: 820px; }
.deploy__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 20px;
}
.deploy h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 56px;
}
.deploy h2 em { font-style: italic; color: var(--text-2); }
.deploy h2 code {
  font-family: var(--mono);
  font-size: 0.52em;
  padding: 4px 10px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  vertical-align: middle;
  color: var(--text);
  font-style: normal;
  letter-spacing: 0;
}
.deploy__steps li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease-out);
}
.deploy__steps li:last-child { border-bottom: 1px solid var(--border); }
.deploy__steps li:hover { padding-left: 8px; }
.deploy__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-2); text-transform: uppercase; }
.deploy__cmd code { font-family: var(--mono); font-size: 16px; color: var(--text); font-weight: 500; }
.deploy__note { font-size: 13px; color: var(--text-2); text-align: right; }
.deploy__url {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 13px;
}
.deploy__url-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-right: 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.deploy__url code { color: var(--text); font-weight: 500; }

/* -- CTA ------------------------------------------------------------- */
.cta {
  padding: 160px 0 200px;
  border-top: 1px solid var(--border);
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 16ch;
  margin-bottom: 40px;
}
.cta h2 em { font-style: italic; color: var(--text-2); }

/* -- Footer ---------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  background: var(--canvas);
}
.foot__inner {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  align-items: start;
}
.foot__brand { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.foot__sub { color: var(--text-2); font-size: 13px; font-family: var(--sans); font-weight: 400; max-width: 32ch; line-height: 1.6; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot__cols h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot__cols a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--text-2); transition: color 0.2s var(--ease-out); }
.foot__cols a:hover { color: var(--text); }
.foot__base {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* -- Docs ------------------------------------------------------------ */
.doc { padding: 64px 0 96px; }
.doc__head { max-width: 680px; margin-bottom: 48px; }
.doc__head h1 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.doc__lede { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 56ch; }
.docs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: max-content;
  max-width: 100%;
  margin-bottom: 48px;
  background: var(--code-bg);
}
.docs__nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  border-radius: 6px;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.docs__nav a:hover { color: var(--text); }
.docs__nav a[data-current="true"] {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.prose { max-width: 720px; }
.prose h2 {
  margin-top: 52px; margin-bottom: 14px;
  font-size: 22px; font-weight: 500; letter-spacing: -0.015em;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.prose p { margin: 14px 0; font-size: 15.5px; line-height: 1.72; color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 500; }
.prose code { font-family: var(--mono); font-size: 13px; padding: 2px 6px; background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; color: var(--text); }
.prose pre { margin: 18px 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--text); overflow-x: auto; }
.prose pre code { background: transparent; border: 0; padding: 0; font-size: inherit; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.prose li::marker { color: #CCCCCC; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--text); }

/* -- Examples -------------------------------------------------------- */
.examples { padding: 64px 0 96px; }
.examples__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.ex {
  grid-column: span 6;
  padding: 24px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ex:nth-child(odd)  { grid-column: span 7; }
.ex:nth-child(even) { grid-column: span 5; }
.ex:hover { border-color: var(--border-hover); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transform: translateY(-1px); }
.ex__num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.ex h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.ex p { font-size: 13.5px; color: var(--text-2); line-height: 1.62; }
.ex pre { padding: 10px 12px; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--mono); font-size: 12px; color: var(--text); }

/* -- Playground ------------------------------------------------------ */
.play { padding: 64px 0 96px; }
.play__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 540px;
}
.play__frame {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.play__titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--code-bg);
}
.play__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.play__dot--a { background: #FF5F57; }
.play__dot--b { background: #FFBD2E; }
.play__dot--c { background: #28CA41; }
.play__url {
  margin-left: 10px;
  padding: 3px 10px;
  background: var(--surface);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.play__body { flex: 1; padding: 24px; display: flex; align-items: center; justify-content: center; }
.play__loading { font-family: var(--mono); color: var(--text-2); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.play__src { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.play__tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--code-bg); }
.play__tab { padding: 10px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); border-right: 1px solid var(--border); cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.play__tab:hover { color: var(--text); }
.play__tab--active { color: var(--text); background: var(--surface); }
.play__code { flex: 1; margin: 0; padding: 20px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: var(--text); overflow: auto; }
.play__code code { font-family: inherit; white-space: pre; }

/* -- Responsive ------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero { padding: 80px 0 64px; }
  .band__inner { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; padding: 80px 0; }
  .play__grid { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .main { width: calc(100vw - 28px); padding-bottom: 80px; }
  .nav__links a { display: none; }
  .nav__cta { display: none; }
  .nav__tag { display: none; }
  .hero { padding: 48px 0 48px; }
  .hero__title { font-size: clamp(48px, 13vw, 72px); }
  .hero__sub { font-size: 15px; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; }
  .feat, .feat:nth-child(1), .feat:nth-child(2), .feat:nth-child(3), .feat:nth-child(4) { grid-column: span 1; }
  .features, .band, .split, .deploy { padding: 72px 0; }
  .deploy__steps li { grid-template-columns: 40px 1fr; gap: 12px; }
  .deploy__note { display: none; }
  .deploy__url { flex-direction: column; align-items: flex-start; gap: 8px; }
  .deploy__url-label { border-right: 0; padding-right: 0; }
  .cta { padding: 80px 0 100px; }
  .examples__grid { grid-template-columns: 1fr; }
  .ex, .ex:nth-child(odd), .ex:nth-child(even) { grid-column: span 1; }
  .foot__cols { grid-template-columns: 1fr; gap: 20px; }
  .foot__base { flex-direction: column; gap: 4px; }
  .doc__head h1 { font-size: clamp(36px, 10vw, 56px); }
  .docs__nav { flex-wrap: wrap; }
  .prose h2 { font-size: 20px; }
}
