/* Estilo Estudio: luz cálida de atardecer sobre fondo oscuro, halo, polvo en el aire, grano de película y el
   marcador amarillo inclinado de los subtítulos. Los mismos valores que src/estudio/kit.tsx del kit. */
:root {
  --bg: #110d0a;
  --bg-2: #18120e;
  --surface: rgba(255, 236, 210, 0.035);
  --surface-2: rgba(255, 236, 210, 0.06);
  --line: rgba(255, 231, 191, 0.12);
  --line-2: rgba(255, 231, 191, 0.22);
  --text: #f6efe6;
  --muted: #b8a48e;
  --faint: #8a7a68;
  --label: #ffe7bf;
  --accent: #ffc531;
  --ink: #1a1206;
  --warm: 255, 178, 92;
  --green: #2fb36b;
  --radius: 22px;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* ---------- light, dust and grain ---------- */
.studio-light {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 8%, rgba(var(--warm), 0.30) 0%, rgba(var(--warm), 0.10) 38%, transparent 72%),
    linear-gradient(116deg, transparent 36%, rgba(var(--warm), 0.05) 50%, transparent 64%),
    var(--bg);
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes breathe { from { filter: brightness(0.94); } to { filter: brightness(1.06); } }
#dust { position: fixed; inset: 0; z-index: -2; pointer-events: none; width: 100%; height: 100%; }
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
.vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 85% 70% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); max-width: var(--max); margin: 0 auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(38px, 4.6vw, 62px); }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 40ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font: 800 13px/1 var(--display); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--label); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 197, 49, 0.18); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 18px; }
.mark { position: relative; color: var(--ink); z-index: 0; padding: 0 0.06em; }
.mark::before {
  content: ""; position: absolute; z-index: -1; left: -0.12em; right: -0.12em; top: 0.08em; bottom: 0.02em;
  background: var(--accent); border-radius: 0.1em; transform: rotate(-1.5deg);
}
.mono { font-family: var(--mono); }
code, .cmd { font-family: var(--mono); font-size: 0.92em; padding: 0.12em 0.45em; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--label); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 14px; font: 700 16px/1 var(--display); text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px rgba(255, 197, 49, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 197, 49, 0.32), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 236, 210, 0.1); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 17px; border-radius: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); background: rgba(17, 13, 10, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, #ffd56a, #e5961f); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 14px rgba(var(--warm), 0.35); }
.brand-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 11px; }
.brand { white-space: nowrap; }
.nav .btn { white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand { font-size: 15px; gap: 9px; } .nav .btn { padding: 0 14px; font-size: 14px; min-height: 40px; } .nav .wrap { gap: 12px; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* phones */
.phones { position: relative; height: clamp(440px, 52vw, 620px); display: flex; justify-content: center; align-items: center; }
.phones::before { content: ""; position: absolute; width: 80%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--warm), 0.32), transparent); filter: blur(30px); }
.phone {
  position: absolute; width: clamp(170px, 18vw, 236px); aspect-ratio: 9 / 19.2; border-radius: 34px; padding: 8px;
  background: linear-gradient(160deg, #3a332c, #14100d 60%); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 231, 191, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: #000; }
.phone::after { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); border-radius: 10px; background: #050403; }
.phone.left { transform: translateX(-62%) rotate(-7deg) scale(0.88); z-index: 1; filter: brightness(0.82); }
.phone.right { transform: translateX(62%) rotate(7deg) scale(0.88); z-index: 1; filter: brightness(0.82); }
.phone.center { transform: none; z-index: 2; }
.phone { transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, box-shadow 0.4s ease; }
/* al pasar el mouse, ese teléfono queda delante de los otros */
.phone.lift { z-index: 5; filter: none; box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7), 0 0 0 2px var(--accent), 0 0 60px rgba(255, 197, 49, 0.25); }
.phone.left.lift { transform: translateX(-56%) rotate(-3deg) scale(1.02); }
.phone.right.lift { transform: translateX(56%) rotate(3deg) scale(1.02); }
.phone.center.lift { transform: translateY(-10px) scale(1.03); }
.sound-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(17, 13, 10, 0.85); border: 1px solid var(--line-2); font-size: 13px; color: var(--label); white-space: nowrap; }
.phone .muted-badge { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); display: grid; place-items: center; font-size: 13px; z-index: 2; }

/* ---------- command strip ---------- */
.flow { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding: 26px 0 0; }
.flow .chip { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.flow .chip b { font-family: var(--mono); color: var(--label); font-weight: 700; }
.flow .arrow { align-self: center; color: var(--faint); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 76px 1fr minmax(0, 380px); gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.step-num { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font: 800 24px/1 var(--display); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--label); }
.step.is-key .step-num { background: var(--accent); color: var(--ink); border: 0; }
.step p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
.step-visual { border-radius: 16px; background: #0c0907; border: 1px solid var(--line); padding: 16px 18px; font-family: var(--mono); font-size: 14px; color: var(--muted); min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.step-visual .prompt { color: var(--label); }
.step-visual .prompt::before { content: "› "; color: var(--accent); }
.step-visual .ok { color: #8fe3b3; }
.step-visual .ok::before { content: "✓ "; }
.step-visual .ask { color: var(--text); font-family: var(--body); font-size: 15px; }
.step-time { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: 0.04em; }
@media (max-width: 900px) { .step { grid-template-columns: 60px 1fr; } .step-visual { grid-column: 1 / -1; } .step-num { width: 52px; height: 52px; font-size: 20px; border-radius: 15px; } }

/* ---------- setup (tutorial) ---------- */
.setup { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.checklist li::before { content: ""; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' stroke='%231a1206' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat; }
.checklist li b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .setup { grid-template-columns: 1fr; } }

/* ---------- includes ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 197, 49, 0.1); border: 1px solid rgba(255, 197, 49, 0.25); margin-bottom: 20px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* ---------- styles gallery ---------- */
.styles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 960px) { .styles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .styles { grid-template-columns: repeat(2, 1fr); } }
.swatch { aspect-ratio: 9 / 13; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.swatch .bars { margin-top: 30px; }
.swatch .bars i { display: block; height: 10px; border-radius: 3px; margin-bottom: 8px; }
.swatch .bars i:first-child { width: 72%; height: 14px; transform: rotate(-2deg); }
.swatch .bars i:nth-child(2) { width: 88%; opacity: 0.75; }
.swatch .bars i:nth-child(3) { width: 60%; opacity: 0.75; }
.swatch strong { font: 800 16px/1.1 var(--display); }
.swatch small { display: block; font-size: 12px; opacity: 0.75; margin-top: 4px; }
.swatch { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease; cursor: default; }
.swatch.main { box-shadow: 0 0 0 3px var(--accent); }
/* al pasar el mouse por un estilo, ese se adelanta y los demás se apagan */
.styles:hover .swatch { opacity: 0.45; transform: scale(0.97); }
.styles:hover .swatch.main { box-shadow: none; }
.styles .swatch:hover { opacity: 1; transform: translateY(-10px) scale(1.06); box-shadow: 0 0 0 3px var(--accent), 0 30px 60px rgba(0, 0, 0, 0.55); z-index: 2; }
.swatch .tag { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 800 10px/1 var(--display); letter-spacing: 0.08em; }

/* ---------- needs / costs ---------- */
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr; } }
.need { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), transparent); }
.need .who { font: 800 12px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.need h3 { margin: 12px 0 10px; }
.need p { color: var(--muted); font-size: 16px; }
.need .cost { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 15px; color: var(--label); }
.note { margin-top: 22px; color: var(--faint); font-size: 14px; max-width: 80ch; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: linear-gradient(170deg, rgba(58, 46, 34, 0.9), rgba(24, 18, 14, 0.95));
  border: 1px solid var(--line-2); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(var(--warm), 0.35); overflow: hidden;
}
.price-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--warm), 0.35), transparent); }
.price-card .name { font: 800 14px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--label); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.price .amount { font: 800 clamp(56px, 7vw, 76px)/1 var(--display); letter-spacing: -0.04em; }
.price .currency { font: 700 22px/1 var(--display); color: var(--muted); }
.price-sub { color: var(--muted); font-size: 15px; }
.price .old { font: 700 24px/1 var(--display); color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(226, 83, 59, 0.9); text-decoration-thickness: 3px; margin-left: 6px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 197, 49, 0.12); border: 1px solid rgba(255, 197, 49, 0.4); color: var(--accent); font: 800 13px/1 var(--display); letter-spacing: 0.04em; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 197, 49, 0.6); } 50% { box-shadow: 0 0 0 7px rgba(255, 197, 49, 0); } }
.deadline { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(226, 83, 59, 0.1); border: 1px solid rgba(226, 83, 59, 0.35); color: #ffd2c6; font-size: 15px; }
.deadline b { color: #fff; }
.promo-bar { position: relative; z-index: 41; text-align: center; padding: 10px var(--gutter); background: var(--accent); color: var(--ink); font: 700 14px/1.35 var(--display); }
.promo-bar s { opacity: 0.6; }
.promo-bar a { color: var(--ink); font-weight: 800; }
.btn s { opacity: 0.55; font-weight: 600; margin-left: 2px; }
.step h3 + p { margin-top: 6px; }
.price-card .checklist { margin: 28px 0 32px; }
.price-card .btn { width: 100%; }
.fine { margin-top: 16px; font-size: 13px; color: var(--faint); text-align: center; }
.fine a { color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 700 19px/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 70ch; }

/* ---------- policy summary + final cta ---------- */
.policy-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
@media (max-width: 900px) { .policy-box { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .policy-box { grid-template-columns: 1fr; } }
.policy-box div { background: var(--bg-2); padding: 26px; }
.policy-box h3 { font-size: 18px; margin-bottom: 8px; }
.policy-box p { color: var(--muted); font-size: 15px; }
.policy-link { margin-top: 26px; }
.final { text-align: center; }
.final h2 { max-width: 16ch; margin: 0 auto 22px; }
.final .lead { margin: 0 auto 36px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; max-width: 90ch; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .studio-light { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- policy page ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.doc .toc { padding: 22px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 48px; }
.doc .toc ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .doc .toc ol { columns: 1; } }
.doc .toc a { text-decoration: none; color: var(--muted); }
.doc .toc a:hover { color: var(--text); }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin: 52px 0 16px; scroll-margin-top: 90px; }
.doc h2 .n { color: var(--accent); margin-right: 10px; }
.doc p, .doc li { color: #d9cbb8; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 14px 0; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--text); }
.doc .callout { margin: 20px 0; padding: 18px 22px; border-radius: 14px; border-left: 4px solid var(--accent); background: var(--surface-2); color: var(--text); }
.back { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 15px; margin-bottom: 30px; }
.back:hover { color: var(--text); }

[hidden] { display: none !important; }
