:root {
  color-scheme: dark;
  --bg: #070b18;
  --bg-soft: #0d1326;
  --panel: #111936;
  --panel-2: #151f42;
  --text: #f7f9ff;
  --muted: #a9b2ca;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1683ff;
  --violet: #7b5cff;
  --cyan: #5edbff;
  --gold: #ffd60a;
  --green: #30d158;
  --paper: #f4f7ff;
  --ink: #141a2e;
  --ink-muted: #56607a;
  --paper-line: #dce2f1;
  --radius: 24px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 850px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 10px 14px; background: white; color: #070b18; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -0.025em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 22px rgba(86, 54, 190, 0.28); }
.brand b { color: var(--cyan); }
nav { display: flex; gap: 30px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover, .footer-links a:hover { color: var(--text); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; text-decoration: none; font-weight: 750;
  box-shadow: 0 12px 30px rgba(30, 105, 255, 0.24);
}
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.button-secondary { background: transparent; border: 1px solid var(--line); box-shadow: none; }

/* Type */
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 800; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.04em; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(44px, 6.3vw, 80px); }
h1 span { color: transparent; background: linear-gradient(90deg, #62dcff, #8a6aff 58%, #ff75b6); -webkit-background-clip: text; background-clip: text; }
.section-title { margin-bottom: 20px; font-size: clamp(34px, 4.8vw, 56px); }
.section-lede { max-width: 760px; color: var(--muted); font-size: 19px; }

/* Hero */
.hero { overflow: hidden; padding: 76px 0 96px; background:
  radial-gradient(circle at 79% 30%, rgba(76, 76, 255, 0.22), transparent 31%),
  radial-gradient(circle at 8% 10%, rgba(0, 153, 255, 0.12), transparent 29%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
.hero-lede { max-width: 640px; margin: 0 0 30px; color: #c4cbe0; font-size: 20px; }

/* Waitlist form (shared by home, journal and articles) */
.waitlist-form { max-width: 620px; }
.waitlist-form .form-title { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--text); }
.waitlist-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
input[type="email"] { width: 100%; min-height: 54px; padding: 0 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: var(--text); outline: none; }
input[type="email"]::placeholder { color: #828da8; }
input[type="email"]:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(94, 219, 255, 0.16); }
.subscribe-form button[type="submit"] { min-height: 54px; padding: 0 22px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: white; font-weight: 800; white-space: nowrap; }
.subscribe-form button:disabled { cursor: wait; opacity: 0.65; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 4px; border: 0; padding: 0; }
.platforms legend { float: left; margin-right: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 700; }
.chip input:checked + span { border-color: var(--cyan); color: var(--text); background: rgba(94, 219, 255, 0.12); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check input { margin-top: 3px; flex-shrink: 0; }
.form-note { color: #7e89a4; font-size: 13px; margin: 12px 0 0; }
.form-message { min-height: 1.4em; margin: 10px 0 0; color: var(--cyan); font-size: 14px; font-weight: 600; }
.form-message.is-error { color: #ff8a8a; }
.honeypot { display: none !important; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border: 1px solid rgba(48, 209, 88, .35); border-radius: 999px; color: #9df0b3; font-size: 13px; font-weight: 700; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* Hero demo: the product mechanic, a dream picture revealed square by square */
.dream-demo { position: relative; width: min(430px, 100%); margin-inline: auto; padding: 22px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(160deg, rgba(21, 31, 66, .92), rgba(10, 15, 34, .96)); box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 70px rgba(43, 112, 255, .2); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.demo-head span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.demo-head b { font-size: 20px; letter-spacing: -0.02em; }
.demo-board { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.demo-board img { width: 100%; height: 100%; object-fit: cover; }
.demo-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; padding: 3px; }
.demo-cells i { border-radius: 5px; background: rgba(9, 12, 26, .93); border: 1px solid rgba(94, 219, 255, .28); transition: opacity .45s ease, transform .45s ease; }
.demo-cells i.open { opacity: 0; transform: scale(.6); }
.demo-progress { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.demo-amount b { color: var(--green); font-size: 30px; letter-spacing: -0.03em; }
.demo-amount span { color: var(--muted); font-size: 18px; }
.demo-pct { color: #4aa3ff; font-size: 24px; font-weight: 800; }
.demo-bar { height: 7px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.demo-bar i { display: block; width: 0; height: 100%; background: var(--blue); transition: width .45s ease; }
.demo-caption { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* Principle + five skills */
.principle { padding: 104px 0 40px; text-align: center; }
.principle .section-title { max-width: 900px; margin-inline: auto; }
.principle p:last-child { margin: 0 auto; max-width: 780px; color: var(--muted); font-size: 20px; }
.skills { padding: 36px 0 104px; }
.skills-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, rgba(21,31,66,.8), rgba(13,19,38,.75)); }
.skills-grid article { display: flex; flex-direction: column; min-height: 300px; padding: 28px 24px; }
.skills-grid article + article { border-left: 1px solid var(--line); }
.step { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.skills-grid h3 { margin: 38px 0 10px; font-size: 23px; }
.skills-grid p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.skills-grid a { margin-top: auto; color: var(--cyan); font-size: 14px; font-weight: 750; text-decoration: none; }
.skills-grid a:hover { text-decoration: underline; }

/* Stance */
.stance { padding: 0 0 104px; }
.stance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.stance-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.stance-card h3 { margin-bottom: 18px; font-size: 24px; }
.stance-card ul { list-style: none; margin: 0; padding: 0; }
.stance-card li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); color: #c4cbe0; }
.stance-card li::before { position: absolute; left: 0; top: 11px; font-weight: 900; }
.stance-do li::before { content: "✓"; color: var(--green); }
.stance-dont li::before { content: "✕"; color: #ff8a8a; }

/* Journal (light) */
.journal { padding: 100px 0; background: var(--paper); color: var(--ink); }
.journal .section-kicker { color: #2e58da; }
.journal .section-lede { color: var(--ink-muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-heading .section-title { margin-bottom: 0; }
.text-link { color: #294fd0; text-decoration: none; font-weight: 800; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 22px; background: white; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 30, 70, .12); }
.card img { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; background: #0d1326; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #65708b; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 850; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.18; letter-spacing: -0.025em; }
.card p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.card-featured { grid-column: span 2; grid-row: span 2; background: linear-gradient(145deg, #111831, #1d2f6d); border-color: transparent; color: white; }
.card-featured img { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; height: 100%; }
.card-featured .card-body { flex: 0 0 auto; }
.card-wide { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1.35fr 1fr; }
.card-wide img { height: 100%; aspect-ratio: 40 / 21; }
.card-wide .card-body { justify-content: center; padding: 34px; }
.card-featured .card-meta { color: #91dfff; }
.card-featured h3 { font-size: clamp(26px, 3.2vw, 38px); }
.card-featured p { color: #bdc7df; font-size: 17px; }

/* App section */
.app-section { padding: 110px 0; background: radial-gradient(circle at 77% 48%, rgba(54, 89, 255, .15), transparent 28%); }
.app-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 80px; }
.app-grid > *, .hero-grid > *, .subscribe-card > *, .post-grid > * { min-width: 0; }
.app-section p { color: var(--muted); font-size: 19px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 34px; }
.steps-list li { counter-increment: s; position: relative; padding: 12px 0 12px 50px; border-top: 1px solid var(--line); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 11px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(22, 131, 255, .18); color: var(--cyan); font-weight: 900; font-size: 15px; }
.steps-list b { display: block; }
.steps-list span { color: var(--muted); font-size: 15px; }
.app-shot { position: relative; justify-self: center; width: min(330px, 80vw); margin: 0; }
.app-shot img { border-radius: 44px; box-shadow: 0 42px 100px rgba(0,0,0,.55), 0 0 60px rgba(43, 112, 255, .22); }
.app-shot figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }

/* How we write */
.standard { padding: 0 0 104px; }
.standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.standard-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.03); }
.standard-grid h3 { margin: 14px 0 8px; font-size: 21px; }
.standard-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tag-evidence { background: rgba(94, 219, 255, .14); color: var(--cyan); }
.tag-read { background: rgba(123, 92, 255, .18); color: #b9a9ff; }
.tag-try { background: rgba(48, 209, 88, .15); color: #8fe9a8; }

/* Waitlist block */
.subscribe-section { padding: 30px 0 120px; }
.subscribe-card { display: grid; grid-template-columns: 1fr .95fr; gap: 64px; align-items: center; padding: 54px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, rgba(20,31,70,.95), rgba(34,23,72,.92)); }
.subscribe-card h2 { margin-bottom: 15px; font-size: clamp(32px, 4.4vw, 52px); }
.subscribe-card p { margin-bottom: 0; color: var(--muted); }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.5fr auto; align-items: center; gap: 28px; }
.footer-grid p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.copyright { grid-column: 1 / -1; margin: 15px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }

.cookie-banner { position: fixed; z-index: 50; left: 20px; right: 20px; bottom: 20px; width: min(720px, calc(100% - 40px)); margin: auto; padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,19,38,.97); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; }
.cookie-banner > div { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner .button { min-height: 42px; padding-inline: 14px; font-size: 13px; }

/* Journal index page */
.page-hero { padding: 88px 0 50px; }
.page-hero h1 { max-width: 920px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 20px; }
.journal-page { padding: 70px 0 100px; }
.pillar-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pillar-list span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 700; }

.legal { max-width: 820px; padding: 80px 0 110px; }
.legal h1 { font-size: 52px; }
.legal h2 { margin-top: 46px; font-size: 28px; }
.legal p, .legal li { color: var(--muted); }

/* Article */
.post-cover { padding: 44px 0 0; background: radial-gradient(circle at 80% 10%, rgba(76, 76, 255, 0.2), transparent 35%); }
.post-cover-inner { max-width: 1000px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }
.post-cover h1 { max-width: 900px; font-size: clamp(38px, 5.4vw, 64px); }
.post-dek { max-width: 780px; margin: 0 0 26px; color: #c4cbe0; font-size: 20px; }
.byline { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; }
.byline b { color: var(--text); }
.post-hero { margin: 0; transform: translateY(40px); }
.post-hero img { width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.post-body { padding: 96px 0 90px; background: var(--paper); color: var(--ink); }
.post-grid { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 56px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc p { margin: 0 0 10px; color: #65708b; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 850; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--paper-line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: #294fd0; }
.prose { font-size: 18px; line-height: 1.72; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 52px 0 18px; font-size: clamp(28px, 3.4vw, 36px); scroll-margin-top: 100px; }
.prose h3 { margin: 32px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.prose a { color: #294fd0; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #0e1326; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); color: #333b55; font-style: italic; }
.answer-box, .evidence, .our-read, .experiment, .takeaways, .note { margin: 30px 0; padding: 24px 26px; border-radius: 18px; }
.answer-box { border: 1px solid #c9d6ff; background: #eaf0ff; }
.evidence { border: 1px solid #c3ecfa; background: #edfaff; }
.our-read { border: 1px solid #ddd3ff; background: #f3efff; }
.experiment { border: 1px solid #c8f0d4; background: #eefcf2; }
.takeaways { background: #111936; color: #e8ecfa; }
.takeaways h2 { margin-top: 0; color: white; font-size: 26px; }
.takeaways li { color: #c4cbe0; }
.note { border: 1px dashed #c9cfdf; color: var(--ink-muted); font-size: 15px; }
.box-label { display: inline-flex; margin: 0 0 12px !important; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.answer-box .box-label { background: #d5e0ff; color: #2446b8; }
.evidence .box-label { background: #cdeffb; color: #0f6b8a; }
.our-read .box-label { background: #e3dbff; color: #5438c4; }
.experiment .box-label { background: #cff3da; color: #1b7a3a; }
.answer-box p:last-child, .evidence p:last-child, .our-read p:last-child, .experiment p:last-child, .note p:last-child { margin-bottom: 0; }
.table-wrap { margin: 28px 0; overflow-x: auto; border: 1px solid var(--paper-line); border-radius: 16px; background: white; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.data-table caption { padding: 14px 16px 0; text-align: left; font-weight: 800; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid #e8ecf6; text-align: left; vertical-align: top; }
.data-table th { background: #f0f3fb; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #4b5570; }
.data-table tr:last-child td { border-bottom: 0; }
.faq h3 { margin-top: 26px; }
.sources ol { font-size: 15px; color: var(--ink-muted); }
.sources a { word-break: break-word; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: 24px; border: 1px solid var(--paper-line); border-radius: 18px; background: white; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-box p { margin: 0; font-size: 15px; color: var(--ink-muted); }
.author-box b { color: var(--ink); }

/* In-article waitlist (dark card on paper) */
.launch-inline { margin: 40px 0; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, #111a3d, #231850); color: var(--text); }
.launch-inline h2, .launch-inline .launch-title { margin: 0 0 8px; color: white; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.launch-inline > p { margin: 0 0 18px; color: #c4cbe0; font-size: 16px; }
.launch-inline .check a { color: #9fdcff; }

.related { padding: 90px 0; }
.related .card-grid { margin-top: 36px; }
.related .card { border-color: var(--line); background: var(--panel); color: var(--text); }
.related .card p { color: var(--muted); }
.related .card-meta { color: #91dfff; }

@media (max-width: 1080px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid article + article { border-left: 0; }
  .skills-grid article { border-top: 1px solid var(--line); min-height: auto; }
  .skills-grid article:nth-child(-n+2) { border-top: 0; }
  .skills-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .skills-grid h3 { margin-top: 22px; }
  .post-grid { grid-template-columns: minmax(0, 720px); }
  .toc { display: none; }
}

@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid, .app-grid, .subscribe-card, .stance-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .card-grid, .standard-grid { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: span 2; grid-row: auto; }
  .card-wide { grid-template-columns: 1fr; }
  .card-featured img { flex: none; height: auto; aspect-ratio: 40 / 21; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
  .app-grid { gap: 50px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 16px; }
  .header-inner { min-height: 66px; }
  .header-inner .button-small { min-height: 38px; padding-inline: 12px; font-size: 13px; }
  .brand span { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 40px 0 64px; }
  h1 { font-size: 42px; }
  .hero-lede { font-size: 18px; }
  .waitlist-row { grid-template-columns: 1fr; }
  .dream-demo { padding: 16px; border-radius: 24px; }
  .skills-grid, .card-grid, .standard-grid { grid-template-columns: 1fr; }
  .skills-grid article:nth-child(even) { border-left: 0; }
  .skills-grid article:nth-child(2) { border-top: 1px solid var(--line); }
  .card-featured { grid-column: auto; }
  .principle, .journal, .app-section { padding: 72px 0; }
  .principle p:last-child { font-size: 18px; }
  .section-heading { display: block; }
  .text-link { display: inline-block; margin-top: 12px; }
  .stance-card, .subscribe-card { padding: 26px 20px; }
  .subscribe-section { padding-bottom: 80px; }
  .subscribe-card { gap: 28px; }
  .cookie-banner { display: block; }
  .cookie-banner > div { margin-top: 12px; }
  .post-cover h1 { font-size: 36px; }
  .post-dek { font-size: 18px; }
  .post-hero { transform: translateY(28px); }
  .post-hero img { border-radius: 18px; }
  .post-body { padding: 64px 0 70px; }
  .prose { font-size: 17px; }
  .answer-box, .evidence, .our-read, .experiment, .takeaways, .note, .launch-inline { padding: 20px 18px; }
  .author-box { flex-direction: column; }
  .data-table { font-size: 13.5px; }
  .data-table td, .data-table th { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .data-table th, .data-table td { padding: 10px 9px; }
  .data-table th { font-size: 11px; letter-spacing: .03em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
