/* The AI Craze website. Ink, warm paper and one loud lime; same tokens as the dashboard. */

:root {
  --paper: #F4F3EE;
  --surface: #FFFFFF;
  --surface-2: #ECEAE3;
  --ink: #0E0D12;
  --ink-2: #44424E;
  --ink-3: #686673;
  --line: rgba(14, 13, 18, .11);
  --line-strong: rgba(14, 13, 18, .22);
  --lime: #C8F31D;
  --lime-ink: #1B2400;
  --ok: #2F7A1B;
  --focus: #5B3DF5;
  --night: #0E0D12;
  --night-fg: #F4F3EE;
  --night-2: rgba(244, 243, 238, .74);
  --night-line: rgba(255, 255, 255, .12);
  --btn-bg: #0E0D12;
  --btn-fg: #F4F3EE;
  --code-bg: #15141D;
  --code-fg: #E9E7F2;
  --todo-bg: #FCEFC7;
  --todo-fg: #6B4E00;
  --shadow: 0 1px 2px rgba(14, 13, 18, .04), 0 12px 32px rgba(14, 13, 18, .06);
  --font-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --font-ui: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0A0F; --surface: #15141C; --surface-2: #111017;
    --ink: #F2F1EC; --ink-2: #BDBBC8; --ink-3: #918F9D;
    --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .22);
    --ok: #C8F31D; --focus: #A99BFF; --night: #121118;
    --btn-bg: #C8F31D; --btn-fg: #1B2400; --code-bg: #0F0E15;
    --todo-bg: rgba(255, 200, 60, .16); --todo-fg: #FFD772; --shadow: none;
  }
}
:root[data-theme="dark"] {
  --paper: #0B0A0F; --surface: #15141C; --surface-2: #111017;
  --ink: #F2F1EC; --ink-2: #BDBBC8; --ink-3: #918F9D;
  --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .22);
  --ok: #C8F31D; --focus: #A99BFF; --night: #121118;
  --btn-bg: #C8F31D; --btn-fg: #1B2400; --code-bg: #0F0E15;
  --todo-bg: rgba(255, 200, 60, .16); --todo-fg: #FFD772; --shadow: none;
}

/* Base */
*, *::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: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.wrap.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 76ch; }
.more { margin-top: 22px; font-weight: 600; }
.todo { padding: 1px 6px; border-radius: 5px; background: var(--todo-bg); color: var(--todo-fg); font: 500 .86em/1.4 var(--font-mono); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .12s ease, opacity .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.is-lime { background: var(--lime); color: var(--lime-ink); }
.btn.is-solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn.is-ink { background: #0E0D12; color: #F4F3EE; }
.btn.is-outline { border-color: rgba(255, 255, 255, .28); color: var(--night-fg); }
.btn.is-ghost { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: var(--code-fg); }
.btn.is-small { min-height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; }
.btn.is-off { border: 1px dashed var(--line-strong); color: var(--ink-3); font-weight: 500; cursor: default; }
.btn.is-off:hover { transform: none; }
html:not(.js) [data-copy], html:not(.js) .tabs, html:not(.js) #theme-toggle, html:not(.js) .menu-btn { display: none; }

/* Header */
.top { background: var(--night); color: var(--night-fg); }
.top :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .foot :focus-visible, .prompt-card :focus-visible { outline-color: #fff; }
.top-in { display: flex; align-items: center; gap: 12px 28px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--font-display); letter-spacing: -.02em; color: var(--night-fg); }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); color: var(--lime-ink); }
.brand-mark svg { width: 17px; height: 17px; fill: currentColor; }
.brand-name span { font-weight: 500; opacity: .7; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--night-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-actions .btn { min-height: 40px; padding: 0 16px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: transparent; color: var(--night-fg); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.menu-btn { display: none; }

/* Hero */
.hero { background: var(--night); color: var(--night-fg); padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--lime); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; font: 800 clamp(48px, 8.4vw, 104px)/.94 var(--font-display); letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--night-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.is-center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--night-line); font: 400 14px/1.5 var(--font-mono); color: var(--night-2); }
.hero-facts strong { color: var(--lime); font-weight: 600; }
.hero-card { border: 1px solid var(--night-line); border-radius: 20px; background: #17161F; box-shadow: 0 40px 90px -40px rgba(200, 243, 29, .38); overflow: hidden; rotate: 1.4deg; }
.hero-card figcaption { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--night-line); font: 400 12px/1 var(--font-mono); color: rgba(244, 243, 238, .55); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.dots i:first-child { background: var(--lime); }
.hero-card pre { padding: 20px 20px 24px; font: 400 13px/1.75 var(--font-mono); color: var(--code-fg); white-space: pre-wrap; overflow-wrap: anywhere; }
.hero-card .fade { color: rgba(233, 231, 242, .4); }

/* Inner page heading */
.page-hero { background: var(--night); color: var(--night-fg); padding: clamp(44px, 6vw, 80px) 0 clamp(44px, 6vw, 76px); }
.page-hero h1 { margin-top: 14px; max-width: 20ch; font: 800 clamp(36px, 5.6vw, 68px)/1 var(--font-display); letter-spacing: -.04em; }
.page-hero .lede { margin-top: 20px; color: var(--night-2); }
.page-hero .lede a, .page-hero .todo { color: inherit; }
.page-hero .todo { background: rgba(255, 200, 60, .18); color: #FFD772; }
.page-hero .fine { color: rgba(244, 243, 238, .55); }
.page-hero.is-center { text-align: center; }
.page-hero.is-center h1, .page-hero.is-center .lede { margin-inline: auto; }
.page-hero.is-tall { padding-block: clamp(80px, 14vw, 160px); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 5px 9px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 700; }
.badge .i { width: 14px; height: 14px; stroke-width: 3; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.is-tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-top: 12px; max-width: 22ch; font: 700 clamp(30px, 4.2vw, 48px)/1.04 var(--font-display); letter-spacing: -.035em; }
.section-head .lede { margin-top: 16px; }

/* Packs */
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pack-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .12s ease, transform .12s ease; }
.pack-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.pack-meta { display: flex; justify-content: space-between; gap: 8px; font: 500 12px/1.3 var(--font-mono); color: var(--ink-3); }
.pack-card h3 { font: 700 20px/1.15 var(--font-display); letter-spacing: -.02em; }
.pack-card h3 a { text-decoration: none; }
.pack-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.pack-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.steps.is-stacked { grid-template-columns: minmax(0, 1fr); }
.step-n { display: inline-block; padding: 3px 9px; border-radius: 7px; background: var(--lime); color: var(--lime-ink); font: 600 12px/1.5 var(--font-mono); }
.steps :is(h2, h3) { margin-top: 16px; font: 700 22px/1.15 var(--font-display); letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--ink-2); }

/* Sample prompts */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs button { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.panel + .panel { margin-top: 28px; }
.panel-title { margin-bottom: 12px; font: 700 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.panel-title span { margin-left: 8px; font: 400 14px/1.2 var(--font-ui); letter-spacing: 0; color: var(--ink-3); }
.prompt-card { border-radius: 18px; background: var(--code-bg); color: var(--code-fg); overflow: hidden; box-shadow: var(--shadow); }
.prompt-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 14px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.prompt-file { font: 400 12px/1.3 var(--font-mono); color: rgba(233, 231, 242, .6); overflow-wrap: anywhere; }
.prompt-card pre { padding: 22px 20px 26px; font: 400 14px/1.75 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Package ladder */
.ladder { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.rung { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) auto; align-items: center; gap: 12px 32px; padding: 22px 26px; scroll-margin-top: 24px; }
.rung + .rung { border-top: 1px solid var(--line); }
.rung:target { background: color-mix(in srgb, var(--lime) 18%, transparent); }
.rung-name h3 { font: 700 26px/1.1 var(--font-display); letter-spacing: -.03em; }
.rung-name p, .rung-what p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rung-name p { margin-top: 4px; }
.rung-what .rung-count { margin-bottom: 4px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.rung-what strong { color: var(--ink); font-weight: 600; }
.rung-buy { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.price { font: 700 26px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { display: block; margin-top: 5px; font: 400 12px/1 var(--font-mono); letter-spacing: 0; color: var(--ink-3); }
.rung-buy .btn { min-width: 168px; }

/* Ways to buy (home) and shelf navigation (packages) */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kind-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .12s ease, transform .12s ease; }
.kind-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.kind-from, .kind-n { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.kind-card h3 { font: 700 26px/1.1 var(--font-display); letter-spacing: -.03em; }
.kind-card h3 a { text-decoration: none; }
.kind-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.kind-card p:not(.kind-from):not(.kind-n) { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.kind-n { margin-top: auto; padding-top: 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; color: var(--night-fg); font-size: 14px; font-weight: 600; text-decoration: none; }
.jump a:hover { background: rgba(255, 255, 255, .08); }
.section[id] { scroll-margin-top: 12px; }
.sub-head { margin: 40px 0 16px; font: 700 22px/1.2 var(--font-display); letter-spacing: -.02em; }
.section-head.is-spaced { margin-top: 48px; }
.rung-what a { color: var(--ink); font-weight: 600; }

/* Comparison table */
/* position: relative keeps the visually hidden labels inside the scroller, so they cannot widen the page. */
.matrix-wrap { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow-x: auto; }
.matrix { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { font: 600 13px/1.2 var(--font-ui); color: var(--ink-2); }
.matrix th[scope="row"], .matrix thead th:first-child { padding-left: 20px; text-align: left; font-weight: 500; }
.matrix th[scope="row"] a { text-decoration: none; }
.matrix th[scope="row"] a:hover { text-decoration: underline; }
.matrix .yes { color: var(--ok); }
.matrix .yes .i { width: 16px; height: 16px; stroke-width: 3; vertical-align: middle; }
.matrix .no { color: var(--ink-3); }
.matrix tfoot th, .matrix tfoot td { border-bottom: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font: 600 19px/1.3 var(--font-display); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font: 400 20px/1 var(--font-ui); }
.faq details[open] summary::after { content: '–'; background: var(--lime); border-color: transparent; color: var(--lime-ink); }
.faq-a { padding: 0 50px 22px 0; color: var(--ink-2); }
.faq-a p + p { margin-top: 10px; }

/* Call to action */
.cta-band { background: var(--lime); color: var(--lime-ink); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: clamp(40px, 6vw, 72px); }
.cta-band h2 { max-width: 20ch; font: 800 clamp(28px, 4vw, 46px)/1.04 var(--font-display); letter-spacing: -.035em; }
.cta-band p { margin-top: 10px; font-size: 17px; color: rgba(27, 36, 0, .78); }
.cta-band :focus-visible { outline-color: var(--lime-ink); }

/* Long-form text */
.prose h2 { margin: 44px 0 12px; font: 700 26px/1.15 var(--font-display); letter-spacing: -.025em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul:not(.principles) { padding-left: 20px; list-style: disc; }
.prose ul:not(.principles) li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.principles li { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.principles h3 { font: 700 18px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.principles p { margin-top: 6px; font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal-links { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }

/* Library */
.library { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.library-index { position: sticky; top: 24px; }
.library-index a { display: flex; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.library-index a:hover { background: var(--surface); color: var(--ink); }
.library-index a span { font: 400 12px/1.9 var(--font-mono); color: var(--ink-3); }
.library-pack { scroll-margin-top: 24px; }
.library-pack + .library-pack { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.library-pack h2 { margin-top: 10px; font: 700 clamp(28px, 3.6vw, 40px)/1.05 var(--font-display); letter-spacing: -.035em; }
.library-pack .lede { margin-top: 12px; }
.included { margin: 12px 0 28px; font-size: 15px; color: var(--ink-3); }
.included a { color: var(--ink); font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.contact-email { margin: 12px 0 10px; font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-card p:last-child { color: var(--ink-3); font-size: 15px; }

/* Footer */
.foot { background: var(--night); color: var(--night-2); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(44px, 6vw, 72px) 36px; }
.foot-brand p { margin-top: 14px; max-width: 30ch; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot h2 { margin-bottom: 4px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: rgba(244, 243, 238, .5); }
.foot nav a { color: var(--night-fg); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--night-line); font-size: 14px; }
.foot-base a { color: var(--night-fg); }
.foot .todo { background: rgba(255, 200, 60, .18); color: #FFD772; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; translate: -50% 12px; opacity: 0; pointer-events: none; transition: opacity .18s ease, translate .18s ease; }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* Responsive */
@media (max-width: 1040px) {
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rung { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .rung-buy { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 900px) {
  /* The menu opens under the top row in source order (links, then theme and "Get access"),
     so keyboard focus follows what is on screen. */
  .top-in { flex-wrap: wrap; }
  .menu-btn { display: grid; margin-left: auto; }
  .nav { flex-basis: 100%; flex-direction: column; margin: 0; padding-top: 8px; border-top: 1px solid var(--night-line); }
  .top-actions { flex-basis: 100%; padding: 6px 0 10px; }
  .top-actions .btn { flex: 1 1 auto; }
  .js .nav:not(.is-open), .js .nav:not(.is-open) + .top-actions { display: none; }
  .nav a { padding: 12px 8px; font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--lime); }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-card { rotate: none; }
  .steps, .kinds { grid-template-columns: minmax(0, 1fr); }
  .library, .contact { grid-template-columns: minmax(0, 1fr); }
  .library-index { position: static; }
  .library-index ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .library-index a { border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; font-size: 14px; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pack-grid, .principles { grid-template-columns: minmax(0, 1fr); }
  .rung { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .rung-buy { flex-wrap: wrap; }
  .rung-buy .btn { flex: 1 1 auto; min-width: 0; }
  .faq summary { font-size: 17px; }
  .faq-a { padding-right: 0; }
  .prompt-card pre { font-size: 13px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pack-card, .toast { transition: none; }
  .btn:hover, .pack-card:hover { transform: none; }
}
