/* ==========================================================================
   anaphrodisiac.com: Sound Mind
   The page runs from warm ash at the top to cool ink at the bottom, so it
   cools as you read, but the ember accent never goes out.
   ========================================================================== */

/* Fonts: self-hosted, SIL Open Font License (see fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Young Serif";
  src: url("/assets/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-italic-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* Tokens ------------------------------------------------------------------ */
:root {
  color-scheme: dark;

  --ash-950: #0c0a09;
  --ash-900: #14100e;
  --ink-900: #091317;

  --bone: #f3ebe1;
  --bone-2: #c8bfb4;
  --smoke: #958b81;
  --ember: #ff7a3c;
  --ember-hot: #ffb36b;
  --ember-deep: #c9431a;
  --ice: #a3d3df;

  --line: rgb(243 235 225 / 0.11);
  --line-2: rgb(243 235 225 / 0.2);
  --surface: rgb(243 235 225 / 0.035);

  --font-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --section-y: clamp(72px, 9vw, 124px);
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.62;
  color: var(--bone-2);
  background-color: var(--ash-900);
  background-image: linear-gradient(
    180deg,
    var(--ash-900) 0%,
    #17120f 14%,
    #141314 40%,
    #0f171b 68%,
    var(--ink-900) 100%
  );
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain over everything; purely decorative. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: rgb(255 122 60 / 0.55);
  text-underline-offset: 3px;
}

cite {
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgb(255 122 60 / 0.35);
  color: var(--bone);
}

/* Utilities ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Not display:none, or some browsers drop the gradients it defines. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Pre-launch vs. live copy; config.js sets data-mode before first paint. */
[data-mode="waitlist"] .live-only,
html:not([data-mode="waitlist"]) .waitlist-only {
  display: none !important;
}

.hot {
  color: var(--ember);
  text-shadow: 0 0 24px rgb(255 122 60 / 0.38), 0 0 72px rgb(255 90 30 / 0.2);
}

.skip {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bone);
  color: var(--ash-950);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(17 14 13 / 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(14 13 13 / 0.82);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bone);
  text-decoration: none;
}

.ember-dot {
  flex: none;
  width: 0.48em;
  height: 0.48em;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffe2b8 0 12%, var(--ember-hot) 32%, var(--ember) 62%, var(--ember-deep));
  box-shadow: 0 0 10px 2px rgb(255 122 60 / 0.55), 0 0 26px 6px rgb(255 100 40 / 0.18);
  animation: breathe 5.5s ease-in-out infinite;
}

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  margin-left: auto;
}

.nav a {
  color: var(--bone-2);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--bone);
}

/* Buttons & links ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.45em;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff9257 0%, var(--ember) 48%, #f2652a 100%);
  color: #1f0e05;
  font: 700 1rem/1.1 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.38),
    0 0 0 1px rgb(255 122 60 / 0.45),
    0 12px 36px -12px rgb(255 105 45 / 0.7);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 0 0 1px rgb(255 150 90 / 0.7),
    0 18px 48px -12px rgb(255 105 45 / 0.85);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.62em 1em;
  border-radius: 10px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.08em 1.7em;
  font-size: 1.06rem;
}

.btn-block {
  width: 100%;
}

.header-inner .btn {
  margin-left: 4px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 0.1em;
  color: var(--bone);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Section scaffolding -------------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.25rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}

.label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px 2px rgb(255 122 60 / 0.6);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section-title {
  font-size: clamp(2.05rem, 1.35rem + 3vw, 3.75rem);
  line-height: 1.04;
}

.section-intro {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  font-size: clamp(1.04rem, 1rem + 0.3vw, 1.18rem);
}

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(150px, 18vw, 240px);
}

/* Warm ambient light behind the book. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -25%;
  right: -15%;
  width: min(80vw, 980px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 110 45 / 0.13), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-title {
  margin: 0;
}

.kicker {
  display: block;
  margin-bottom: 1.3rem;
  font-family: var(--font-body);
  font-size: clamp(0.74rem, 0.7rem + 0.2vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ember);
}

.headline {
  display: block;
  font-family: var(--font-display);
  color: var(--bone);
  font-size: clamp(2.9rem, 5.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

.lede {
  max-width: 38ch;
  margin: 1.8rem 0 2.2rem;
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.27rem);
  line-height: 1.55;
}

.lede cite {
  color: var(--bone);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--smoke);
}

.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.assurances li::before {
  content: "";
  width: 0.55em;
  height: 0.3em;
  margin-top: -0.2em;
  border-left: 2px solid var(--ember);
  border-bottom: 2px solid var(--ember);
  transform: rotate(-45deg);
}

.hero-book {
  display: grid;
  place-items: center;
}

/* The heat along the bottom edge of the hero. */
.embers {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(150px, 17vw, 240px);
  pointer-events: none;
}

.embers::before {
  content: "";
  position: absolute;
  inset: 0 -10%;
  background: radial-gradient(55% 36% at 50% 60%, rgb(255 96 32 / 0.24), transparent 72%);
  filter: blur(10px);
}

.embers-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: breathe 7s ease-in-out infinite;
}

.spark {
  position: absolute;
  bottom: 40%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd29a;
  box-shadow: 0 0 6px 2px rgb(255 140 60 / 0.75);
  opacity: 0;
  animation: rise 9s linear infinite;
}

.spark:nth-of-type(1) { left: 9%;  --drift: 24px;  animation-duration: 10s;   animation-delay: -1s; }
.spark:nth-of-type(2) { left: 22%; --drift: -18px; animation-duration: 8s;    animation-delay: -6s; }
.spark:nth-of-type(3) { left: 34%; --drift: 30px;  animation-duration: 11s;   animation-delay: -3s; }
.spark:nth-of-type(4) { left: 47%; --drift: -26px; animation-duration: 9s;    animation-delay: -8s; }
.spark:nth-of-type(5) { left: 58%; --drift: 16px;  animation-duration: 12s;   animation-delay: -2s; }
.spark:nth-of-type(6) { left: 69%; --drift: -20px; animation-duration: 8.5s;  animation-delay: -5s; }
.spark:nth-of-type(7) { left: 81%; --drift: 22px;  animation-duration: 10.5s; animation-delay: -7s; }
.spark:nth-of-type(8) { left: 92%; --drift: -14px; animation-duration: 9.5s;  animation-delay: -4s; }

/* The book --------------------------------------------------------------- */
.book-stage {
  --w: clamp(210px, 24vw, 300px);
  position: relative;
  display: grid;
  place-items: center;
  padding: 6% 0 14%;
  perspective: 1600px;
}

/* Glow and contact shadow beneath the book. */
.book-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 3%;
  left: 50%;
  width: calc(var(--w) * 1.6);
  height: calc(var(--w) * 0.36);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 105 40 / 0.36), rgb(255 105 40 / 0.09) 55%, transparent);
  filter: blur(8px);
}

.book-float {
  animation: float 8s ease-in-out infinite;
}

.book {
  --h: calc(var(--w) * 1.5);
  --d: calc(var(--w) * 0.1);
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  transform: rotateY(-26deg) rotateX(5deg);
  transition: transform 1s var(--ease-out);
}

.book:hover {
  transform: rotateY(-12deg) rotateX(3deg);
}

.book-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12% 10% 8%;
  overflow: hidden;
  border-radius: 3px 7px 7px 3px;
  text-align: center;
  color: var(--bone);
  background:
    radial-gradient(85% 48% at 20% 106%, rgb(255 110 40 / 0.3), transparent 64%),
    radial-gradient(70% 40% at 92% 106%, rgb(163 211 223 / 0.1), transparent 64%),
    linear-gradient(155deg, #2c241f 0%, #1b1613 46%, #100d0b 100%);
  transform: translateZ(calc(var(--d) / 2));
  box-shadow:
    inset 2px 0 0 rgb(255 255 255 / 0.07),
    inset 12px 0 16px -12px rgb(0 0 0 / 0.9);
}

/* A faint sheen across the cover. */
.book-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.055) 50%, transparent 62%);
  pointer-events: none;
}

.book-pages {
  position: absolute;
  top: 1.5%;
  left: calc((var(--w) - var(--d)) / 2);
  width: var(--d);
  height: 97%;
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.5)),
    repeating-linear-gradient(90deg, #bdb1a0 0 1px, #a3978a 1px 2px);
}

.cover-kicker {
  font-size: calc(var(--w) * 0.036);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember-hot);
}

.cover-title {
  margin-top: 14%;
  font-family: var(--font-display);
  font-size: calc(var(--w) * 0.2);
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.cover-rule {
  width: 24%;
  height: 1px;
  margin: 9% 0 7%;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}

.cover-sub {
  font-size: calc(var(--w) * 0.047);
  line-height: 1.35;
  color: var(--bone-2);
}

.cover-art {
  display: block;
  width: 116%;
  margin: auto -8% 0;
}

.cover-imprint {
  margin-top: 5%;
  font-size: calc(var(--w) * 0.03);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* The idea ------------------------------------------------------------------ */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 3vw, 40px);
}

.idea .label {
  grid-column: 1 / -1;
  justify-self: start;
}

.idea-statement {
  grid-column: 1 / span 11;
  font-size: clamp(2.2rem, 1.1rem + 4.4vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.idea-body {
  position: relative;
  grid-column: 6 / -1;
  margin-top: clamp(36px, 5vw, 64px);
  padding-left: 28px;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.idea-body::before {
  content: "";
  position: absolute;
  top: 0.4em;
  bottom: 0.4em;
  left: 0;
  width: 1px;
  background: linear-gradient(var(--ember), transparent);
}

.idea-body em {
  color: var(--bone);
}

/* Audience ------------------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.card {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  box-shadow: 0 0 12px rgb(255 122 60 / 0.7);
  transition: width 0.7s var(--ease-out);
}

.card:hover::before {
  width: 100%;
}

.card-num {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
}

.card p {
  font-size: 0.98rem;
}

.fineprint {
  max-width: 72ch;
  margin: clamp(44px, 5vw, 68px) 0 0;
  font-size: 0.9rem;
  color: var(--smoke);
}

/* The loop: four steps around a ring, with where the book breaks each one --- */
.loop-head {
  margin-inline: auto;
  text-align: center;
}

.loop-head .section-intro {
  margin-inline: auto;
}

.loop-diagram {
  --ring: clamp(260px, 28vw, 400px);
  position: relative;
}

.loop-figure {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ring);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.loop-ring {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loop-track,
.loop-glow {
  fill: none;
  stroke: var(--ember);
  stroke-dasharray: 742;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.2s var(--ease-out);
}

.loop-track {
  stroke-width: 1.6;
}

.loop-glow {
  stroke-width: 6;
  opacity: 0.4;
}

.js-reveal .loop-diagram:not(.is-visible) .loop-track,
.js-reveal .loop-diagram:not(.is-visible) .loop-glow {
  stroke-dashoffset: 742;
}

.loop-arrows path {
  fill: none;
  stroke: var(--ember-hot);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop-nodes circle {
  fill: #1b1411;
  stroke: var(--ember);
  stroke-width: 1.5;
}

.loop-nums text {
  fill: var(--bone);
  font-family: var(--font-display);
  font-size: 15px;
  text-anchor: middle;
}

.loop-center {
  fill: var(--ice);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-anchor: middle;
}

/* One ember that keeps going round: the loop, running. */
.loop-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: orbit 14s linear infinite;
}

.loop-orbit::before {
  content: "";
  position: absolute;
  top: 13.125%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #ffe2b8;
  box-shadow: 0 0 10px 3px rgb(255 140 60 / 0.8), 0 0 28px 8px rgb(255 100 40 / 0.3);
  transition: opacity 0.8s 1.6s;
}

.js-reveal .loop-diagram:not(.is-visible) .loop-orbit::before {
  opacity: 0;
}

.loop-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ring) minmax(0, 1fr);
  align-content: space-between;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 32px;
  min-height: var(--ring);
  margin: 0;
  padding: 0;
  list-style: none;
}

.loop-step {
  max-width: 34ch;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.loop-step:nth-child(1) { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; transition-delay: 0.2s; }
.loop-step:nth-child(2) { grid-column: 3; grid-row: 1; transition-delay: 0.6s; }
.loop-step:nth-child(3) { grid-column: 3; grid-row: 2; align-self: end; transition-delay: 1s; }
.loop-step:nth-child(4) { grid-column: 1; grid-row: 2; align-self: end; justify-self: end; text-align: right; transition-delay: 1.4s; }

.js-reveal .loop-diagram:not(.is-visible) .loop-step {
  opacity: 0;
  transform: translateY(12px);
}

.loop-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.55rem;
}

/* Left-hand steps read toward the ring: number on the inside edge. */
.loop-step:nth-child(1) .loop-step-head,
.loop-step:nth-child(4) .loop-step-head {
  flex-direction: row-reverse;
}

.loop-n {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgb(255 122 60 / 0.55);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ember);
}

.loop-step h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
}

.loop-step p {
  font-size: 0.98rem;
}

.loop-step .loop-break {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(163 211 223 / 0.18);
  color: var(--ice);
}

/* A short cut mark: where the loop gets broken. */
.loop-break::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin: 0 0.6em 0.28em 0;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--ice);
  box-shadow: 0 0 8px rgb(163 211 223 / 0.7);
  transform: rotate(-60deg);
}

.loop-ch {
  margin-left: 0.35em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--smoke);
  white-space: nowrap;
}

.loop-foot {
  max-width: 58ch;
  margin: clamp(48px, 6vw, 84px) auto 0;
  font-size: clamp(1.02rem, 1rem + 0.25vw, 1.15rem);
  text-align: center;
}

/* Table of contents ------------------------------------------------------------- */
.toc {
  border-top: 1px solid var(--line-2);
}

.toc-part,
.toc-plus {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}

.toc-part-head {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.toc-numeral {
  min-width: 1.7em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem);
  line-height: 1;
  color: var(--ember);
}

.toc-part-head h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
}

.toc-list li:first-child {
  padding-top: 4px;
}

.toc-list li + li {
  border-top: 1px solid var(--line);
}

.toc-n {
  padding-top: 0.3em;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
}

.toc-title {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--bone);
}

.toc-list p,
.toc-plus p {
  font-size: 0.96rem;
}

.toc-plus {
  align-items: center;
  border-bottom: 0;
}

.toc-plus .toc-part-head {
  position: static;
  align-self: center;
}

.toc-plus-card {
  padding: 22px 24px;
  border: 1px solid rgb(255 122 60 / 0.35);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgb(255 122 60 / 0.1), rgb(255 122 60 / 0.02));
}

/* Safety -------------------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.safety-col {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.safety-head {
  margin-bottom: 1.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}

.nots,
.keeps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nots li + li {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.nots s {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
  color: var(--bone);
  text-decoration: line-through;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
}

.nots p {
  font-size: 0.97rem;
}

.keeps li {
  position: relative;
  padding: 1.3rem 0 1.3rem 42px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
}

.keeps li:first-child {
  padding-top: 0;
  border-top: 0;
}

/* Check mark in a cool circle */
.keeps li::before,
.keeps li::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(1.3rem + 0.1em);
}

.keeps li::before {
  width: 26px;
  height: 26px;
  border: 1px solid rgb(163 211 223 / 0.5);
  border-radius: 50%;
  background: rgb(163 211 223 / 0.08);
}

.keeps li::after {
  left: 8px;
  width: 10px;
  height: 5px;
  margin-top: 9px;
  border-left: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
  transform: rotate(-45deg);
}

.keeps li:first-child::before,
.keeps li:first-child::after {
  top: 0.1em;
}

.keeps strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--bone);
}

/* Offer ---------------------------------------------------------------------- */
.offer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(70% 60% at 22% 100%, rgb(255 110 45 / 0.13), transparent 70%),
    linear-gradient(180deg, rgb(243 235 225 / 0.05), rgb(243 235 225 / 0.015));
  box-shadow: 0 40px 120px -40px rgb(0 0 0 / 0.8);
}

/* An ember seam along the top edge. */
.offer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  box-shadow: 0 0 18px 1px rgb(255 122 60 / 0.6);
}

.offer-book {
  display: grid;
  place-items: center;
}

.book-stage-sm {
  --w: clamp(170px, 17vw, 230px);
}

.offer-title {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.7rem);
  line-height: 1;
}

.offer-title cite {
  font-style: normal;
}

.offer-sub {
  margin: 0.7rem 0 1.6rem;
  font-size: 1.1rem;
}

.offer-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.offer-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-top: 1px solid var(--line);
}

.offer-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-list li::before {
  content: "";
  position: absolute;
  top: 1.12rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px rgb(255 122 60 / 0.7);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 1.2rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  line-height: 1;
  color: var(--bone);
}

.price-soon {
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
}

.price-note {
  font-size: 0.92rem;
  color: var(--smoke);
}

.offer-fine {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--smoke);
  text-align: center;
}

.offer-soon {
  margin-bottom: 1.4rem;
}

/* Free chapter signup --------------------------------------------------------- */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.signup input {
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(0 0 0 / 0.3);
  color: var(--bone);
  font: 500 1rem var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup input::placeholder {
  color: rgb(149 139 129 / 0.85);
}

.signup input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgb(255 122 60 / 0.22);
}

.signup .btn {
  height: 56px;
}

.signup-note,
.signup-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--smoke);
}

.signup-status {
  color: var(--ember-hot);
}

.signup-status:empty {
  display: none;
}

/* FAQ ---------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(24px, 5vw, 80px);
}

.faq-head {
  position: sticky;
  top: 108px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.3;
  color: var(--bone);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ember), var(--ember)) center / 14px 2px no-repeat,
    linear-gradient(var(--ember), var(--ember)) center / 2px 14px no-repeat;
  transition: transform 0.35s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 48px 24px 0;
}

.faq-a p {
  max-width: 62ch;
}

/* Smooth open/close where the browser supports animating to height: auto. */
@supports (interpolate-size: allow-keywords) {
  .faq-list {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }

  .faq-item[open]::details-content {
    height: auto;
  }
}

/* Closing ---------------------------------------------------------------------- */
.final {
  padding-bottom: clamp(100px, 13vw, 180px);
  text-align: center;
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* One ember still burning: a healthy drive, kept. */
.pilot {
  width: 14px;
  height: 14px;
  margin-bottom: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffe6c0, var(--ember-hot) 35%, var(--ember) 65%, var(--ember-deep));
  box-shadow: 0 0 18px 4px rgb(255 122 60 / 0.6), 0 0 64px 20px rgb(255 100 40 / 0.2);
  animation: breathe 4.5s ease-in-out infinite;
}

.final-title {
  margin-bottom: 2.6rem;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Footer --------------------------------------------------------------------- */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px 64px;
}

.footer-note {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--smoke);
}

.footer-nav {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer-nav a {
  color: var(--bone-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--bone);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--smoke);
}

.footer-base p {
  margin: 0;
}

.footer-base-solo {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Text pages: legal, thanks, 404 ---------------------------------------------- */
.doc {
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.doc h1 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1.05;
}

.doc-meta {
  margin: 1rem 0 2.6rem;
  font-size: 0.92rem;
  color: var(--smoke);
}

.doc-lede {
  margin: 1.2rem 0 2.4rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
}

.prose {
  font-size: 1.04rem;
}

.prose h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.prose h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: var(--ember);
}

.prose a {
  color: var(--bone);
}

.prose a:hover {
  text-decoration-color: var(--ember);
}

.prose strong {
  font-weight: 600;
  color: var(--bone);
}

.callout {
  margin: 1.8rem 0;
  padding: 20px 22px;
  border: 1px solid rgb(255 122 60 / 0.35);
  border-radius: 12px;
  background: rgb(255 122 60 / 0.06);
}

/* Placeholders to fill in before launch: deliberately loud. */
mark.todo {
  padding: 0 0.25em;
  border-radius: 4px;
  background: rgb(255 179 107 / 0.18);
  color: var(--ember-hot);
}

.steps {
  margin: 0 0 2.4rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.1rem 0 1.1rem 56px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 122 60 / 0.45);
  border-radius: 50%;
  font-family: var(--font-display);
  color: var(--ember);
}

.steps strong {
  display: block;
  color: var(--bone);
}

/* Motion ---------------------------------------------------------------------- */
@keyframes breathe {
  0%,
  100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
  12% { opacity: 0.95; }
  60% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(var(--drift, 20px), -210px, 0) scale(0.35); }
}

@keyframes orbit {
  to { transform: rotate(1turn); }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(16px); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter 1.1s var(--ease-out) both; }
  [data-enter="2"] { animation-delay: 0.08s; }
  [data-enter="3"] { animation-delay: 0.2s; }
  [data-enter="4"] { animation-delay: 0.32s; }
  [data-enter="5"] { animation-delay: 0.44s; }
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal .card:nth-child(2) { transition-delay: 0.08s; }
.js-reveal .card:nth-child(3) { transition-delay: 0.16s; }
.js-reveal .card:nth-child(4) { transition-delay: 0.24s; }
.js-reveal .safety-col:nth-child(2) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (forced-colors: active) {
  .btn {
    border: 1px solid ButtonText;
  }
}

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .faq-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .headline {
    font-size: clamp(2.7rem, 11vw, 5rem);
  }

  .hero-book {
    margin-top: 8px;
  }

  .book-stage {
    --w: clamp(190px, 50vw, 260px);
  }

  .book-stage-sm {
    --w: clamp(160px, 42vw, 210px);
  }

  .idea-statement,
  .idea-body {
    grid-column: 1 / -1;
  }

  .faq-head {
    position: static;
  }

  .offer {
    grid-template-columns: 1fr;
  }

  .loop-figure {
    position: relative;
    top: auto;
    left: auto;
    width: min(290px, 76vw);
    margin: 0 auto clamp(36px, 8vw, 56px);
    transform: none;
  }

  .loop-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
    max-width: 560px;
    min-height: 0;
    margin-inline: auto;
  }

  .loop-step:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    align-self: start;
    max-width: none;
    text-align: left;
  }

  .loop-step:nth-child(n) .loop-step-head {
    flex-direction: row;
  }
}

@media (max-width: 820px) {
  .toc-part,
  .toc-plus,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .toc-part-head {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .header-inner .btn {
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .signup {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Guides, the free chapter, and about pages ----------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0 0 1.4rem;
  font-size: 0.86rem;
  color: var(--smoke);
}

.crumbs a {
  color: var(--bone-2);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--bone);
  text-decoration: underline;
}

.byline {
  margin: 1.1rem 0 2.4rem;
  font-size: 0.92rem;
  color: var(--smoke);
}

.byline a {
  color: var(--bone-2);
}

.answer {
  margin: 0 0 2.2rem;
  padding: 22px 24px;
  border-left: 3px solid var(--ember);
  border-radius: 0 12px 12px 0;
  background: rgb(255 122 60 / 0.07);
  font-size: 1.1rem;
  color: var(--bone);
}

.answer-label {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.tool {
  margin: 2.2rem 0;
  padding: 22px 24px 18px;
  border: 1px solid rgb(163 211 223 / 0.35);
  border-radius: 12px;
  background: rgb(163 211 223 / 0.06);
}

.prose .tool h3 {
  margin-top: 0;
  color: var(--ice);
}

.prose .tool li::marker {
  color: var(--ice);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 2px solid var(--line-2);
  font-style: italic;
  color: var(--bone);
}

.prose em {
  color: var(--bone);
}

.table-wrap {
  margin: 1.6rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-weight: 600;
  color: var(--bone);
  background: var(--surface);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose sup {
  line-height: 0;
}

.prose .footnote-ref {
  padding: 0 0.15em;
  color: var(--ember-hot);
  font-size: 0.8em;
  text-decoration: none;
}

.note-box {
  margin: 0 0 2.4rem;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.95rem;
}

.note-box p {
  margin-bottom: 0.6em;
}

.cta-box {
  margin: 3.4rem 0 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgb(255 122 60 / 0.35);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 0%, rgb(255 122 60 / 0.14), transparent 60%),
    var(--surface);
}

.cta-box h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.cta-box .btn {
  margin-top: 0.6rem;
}

.cta-box .signup {
  margin-top: 1.2rem;
}

.related {
  margin: 3.2rem 0 0;
}

.related h2,
.sources h2 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.card-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-list a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease-out);
}

.card-list a:hover {
  border-color: rgb(255 122 60 / 0.5);
  transform: translateY(-2px);
}

.card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--bone);
}

.card-desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--bone-2);
}

.sources {
  margin: 3.2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--smoke);
}

.sources ol {
  margin: 0;
  padding-left: 1.4em;
}

.sources li {
  margin-bottom: 0.7em;
}

.sources a {
  color: var(--bone-2);
  word-break: break-word;
}

.sources .footnote-back {
  margin-left: 0.3em;
  text-decoration: none;
}

.doc-fine {
  margin-top: 2rem;
  font-size: 0.86rem;
  color: var(--smoke);
}

.guides-home {
  padding-top: 0;
}

.guides-home .card-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.footer-nav {
  grid-template-columns: repeat(2, auto);
  column-gap: 40px;
}

@media (max-width: 760px) {
  .nav {
    display: flex;
  }

  .nav a:not(.nav-keep) {
    display: none;
  }

  .header-inner .btn {
    margin-left: 4px;
  }
}

.signup-lede {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--bone);
}

.chapter-one-link {
  margin-top: 1.4rem;
}
