/* Scribberty — shared tokens and marketing/auth styles. */
:root {
  --paper: #fbfaf7;
  --paper-2: #f4f1ea;
  --card: #ffffff;
  --ink: #14161a;
  --ink-2: #3d424b;
  --muted: #6b7079;
  --line: #e7e3da;
  --line-2: #d9d4c8;
  --accent: #3b4fd8;
  --accent-2: #4f5bd5;
  --accent-soft: #eceefd;
  --amber: #b7791f;
  --amber-soft: #fdf3dc;
  --green: #1f9d74;
  --green-soft: #e3f5ee;
  --red: #c2413a;
  --red-soft: #fbe9e7;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 4px 16px rgba(20, 22, 26, .06);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .04), 0 18px 48px rgba(20, 22, 26, .12);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #2a3bb8; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2d34; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(59, 79, 216, .28); }
.btn-accent:hover { background: #2f42c4; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 26px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .signin { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 0 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav, .site-header.open .header-cta { display: flex; }
  .site-header.open .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 18px; }
  .site-header.open .nav { flex-direction: column; flex-basis: 100%; gap: 14px; order: 3; }
  .site-header.open .header-cta { flex-basis: 100%; order: 4; }
}

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -200px -10% auto; height: 640px; background: radial-gradient(ellipse at 70% 30%, rgba(79, 91, 213, .14), transparent 60%), radial-gradient(ellipse at 15% 10%, rgba(224, 112, 58, .08), transparent 55%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

/* Hero demo: a miniature editor that types itself */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14.5px; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fdfcfa; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3ded3; }
.demo-title { font-weight: 600; font-size: 13px; color: var(--ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.demo-wave { display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); position: relative; }
.demo-wave b { flex: 1; border-radius: 2px; background: #d6d9f5; min-height: 3px; transition: background .2s; }
.demo-wave b.played { background: var(--accent-2); }
.demo-wave b.s2 { background: #f3d2c0; }
.demo-wave b.s2.played { background: #e0703a; }
.demo-body { padding: 14px 18px 18px; min-height: 300px; }
.demo-turn { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.demo-turn.in { opacity: 1; transform: none; }
.demo-who { font-weight: 600; font-size: 13px; }
.demo-who small { display: block; font-weight: 500; color: var(--muted); font-family: var(--mono); font-size: 11.5px; margin-top: 2px; }
.demo-text { color: var(--ink); line-height: 1.65; }
.demo-text .w { transition: background .2s, color .2s; border-radius: 3px; }
.demo-text .w.now { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-soft); }
.demo-text .u { background: var(--amber-soft); border-bottom: 2px solid #e2b35a; padding: 0 2px; position: relative; }
.demo-text .u.fixed { background: var(--green-soft); border-bottom-color: var(--green); }
.demo-pop { position: absolute; left: 0; top: calc(100% + 8px); background: var(--ink); color: #fff; font-size: 12.5px; border-radius: 8px; padding: 6px; display: flex; gap: 4px; white-space: nowrap; box-shadow: var(--shadow-lg); z-index: 3; animation: pop .2s ease-out; }
.demo-pop span { padding: 3px 8px; border-radius: 5px; }
.demo-pop span.pick { background: var(--accent); }
.demo-pop kbd { font: 600 10.5px var(--mono); opacity: .6; margin-right: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.demo-foot { display: flex; gap: 14px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); background: #fdfcfa; font-size: 12.5px; color: var(--muted); }
.demo-foot kbd, kbd.k { font: 600 11px var(--mono); padding: 2px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .demo-turn { opacity: 1; transform: none; transition: none; } }

/* Logos / proof strip */
.proof { padding: 28px 0 8px; }
.proof p { text-align: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.proof-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; color: #9a9ea6; font-weight: 600; font-size: 15px; }

/* Sections */
section.block { padding: 96px 0; }
section.block.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head p { font-size: 18px; color: var(--ink-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.feature h3 { font-size: 19px; margin-top: 18px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
.icon.amber { background: var(--amber-soft); color: var(--amber); }
.icon.green { background: var(--green-soft); color: var(--green); }
.icon.rose { background: #fbe8f0; color: #c2417a; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip > :first-child { order: 2; }
.split h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); }
.split p { color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231f9d74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }

/* Keyboard panel */
.keys { display: grid; gap: 8px; font-size: 14.5px; }
.keys div { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--paper); }
.keys div span:last-child { display: flex; gap: 4px; }

/* Export chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 13px var(--mono); padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 24px; left: 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/28px var(--sans); text-align: center; }
.steps h3 { font-size: 19px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 91, 213, .55), transparent 70%); }
.price-card .amount { font-family: var(--serif); font-size: 84px; line-height: 1; letter-spacing: -.03em; }
.price-card .amount small { font-family: var(--sans); font-size: 18px; color: #b9bcc4; margin-left: 6px; letter-spacing: 0; }
.price-card p { color: #cfd2d9; }
.price-card .ticks li { color: #e7e8ec; }
.price-card .ticks li::before { background-color: rgba(31, 157, 116, .25); }
.price-card .btn-accent { margin-top: 24px; }
.calc label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc .out { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc .out strong { font-family: var(--serif); font-size: 44px; font-weight: 400; }
.compare { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.5px; }
.compare th, .compare td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compare td:last-child, .compare th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.compare tr.us td { font-weight: 700; color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }
.callout { border-radius: var(--radius); padding: 16px 18px; background: var(--amber-soft); border: 1px solid #efd9a6; color: #6b4a10; font-size: 15px; }
.callout strong { color: #4f360a; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(79, 91, 213, .45), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(224, 112, 58, .25), transparent 50%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); }
.cta-band p { color: #cfd2d9; font-size: 18px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Footer */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 96px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* Long-form legal / docs pages */
.page-head { padding: 64px 0 32px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 60px); }
.prose { font-size: 16.5px; color: var(--ink-2); }
.prose h2 { font-size: 24px; color: var(--ink); margin-top: 44px; }
.prose h3 { font-size: 18px; color: var(--ink); margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code { font: 14px var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--ink); color: #e7e8ec; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font: 13.5px/1.6 var(--mono); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.draft-flag { background: var(--amber-soft); border: 1px solid #efd9a6; color: #6b4a10; border-radius: var(--radius); padding: 12px 16px; font-size: 14.5px; margin-bottom: 24px; }

/* Auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 10% 0%, rgba(79, 91, 213, .5), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(224, 112, 58, .22), transparent 50%); }
.auth-side > * { position: relative; }
.auth-side .brand { color: #fff; }
.auth-side blockquote { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.2; max-width: 480px; }
.auth-side .quote-by { margin-top: 18px; color: #b9bcc4; font-size: 15px; }
.auth-side .mini-lines { display: grid; gap: 10px; max-width: 460px; font-size: 14.5px; }
.auth-side .mini-lines div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 12px 14px; color: #dfe1e6; }
.auth-side .mini-lines b { color: #fff; margin-right: 8px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin-bottom: 8px; }
.auth-box .sub { color: var(--muted); margin-bottom: 28px; }
.auth-mobile-brand { display: none; margin-bottom: 32px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-mobile-brand { display: inline-flex; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font: 15px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 79, 216, .12); }
.input[aria-invalid="true"] { border-color: var(--red); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 8px; top: 8px; height: 30px; padding: 0 10px; border: 0; background: var(--paper-2); border-radius: 6px; font: 600 12px var(--sans); color: var(--ink-2); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.5; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.check.phi { background: var(--amber-soft); border: 1px solid #efd9a6; border-radius: var(--radius); padding: 12px 14px; color: #5b3f0d; }
.form-error { display: none; background: var(--red-soft); color: #8f2a24; border: 1px solid #f1c6c1; padding: 10px 14px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 16px; }
.form-error.show { display: block; }
.form-ok { background: var(--green-soft); color: #136b4f; border: 1px solid #bfe6d6; padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
.strength { height: 4px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s, background .2s; }
.invite-note { background: var(--accent-soft); color: #26359c; border-radius: var(--radius); padding: 12px 14px; font-size: 14.5px; margin-bottom: 20px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 24px; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 110px); line-height: 1; }
.notfound .strike { text-decoration: line-through; text-decoration-color: var(--amber); color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Secondary pages */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pack-amt { font-size: 52px; line-height: 1; margin: 10px 0 4px; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .packs { grid-template-columns: 1fr; } }
.faq-group { font-size: 20px; margin: 48px 0 12px; }
.faq-group:first-child { margin-top: 0; }
.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; padding: 32px 0 96px; }
.docs-nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.docs-nav a { color: var(--muted); padding: 5px 10px; border-radius: 6px; text-decoration: none; }
.docs-nav a:hover { color: var(--ink); background: var(--paper-2); }
.docs-nav b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 14px 10px 4px; }
.docs .prose h2 { scroll-margin-top: 90px; }
.method { display: inline-block; font: 600 12px var(--mono); padding: 2px 7px; border-radius: 5px; background: var(--accent); color: #fff; margin-right: 6px; vertical-align: 2px; }
.method.get { background: #1f9d74; } .method.put { background: #b7791f; } .method.del { background: #c2413a; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; gap: 16px; } .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; } .docs-nav b { display: none; } }
