/* Another World Playbook, V3.1
   Base: Fabrica. Light grey page, black grain panels, white type.
   Green and blue are details only: curve, dots, badge, switch. Never text. */

@font-face {
  font-family: "Inter";
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ececec;
  --paper-2: #e2e2e2;
  --white: #ffffff;
  --black: #000000;
  --ink-2: #6a6a6a;      /* secondary text on paper, 4.6:1 */
  --mist: #8f8f8f;       /* secondary text on black, 6.9:1 */
  --line-l: rgba(0, 0, 0, .12);
  --line-d: rgba(255, 255, 255, .13);
  --green: #74ff3c;      /* grass from the profile picture, pushed */
  --blue: #2a98ff;       /* sky + verified badge, pushed */
  --grid: rgba(0, 0, 0, .04);   /* page frame lines */
  --cross: rgba(0, 0, 0, .16);  /* marks where frame lines meet */

  --gutter: 20px;
  --edge: 8px;           /* gap between a panel and the screen edge */
  --r-panel: 28px;
  --r-card: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --max: 1240px;
  --sec: 72px;          /* space above and below a light section */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font: 400 16px/1.45 "Inter", system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 50;
  background: var(--black); color: var(--white);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

h1, h2 {
  font-weight: 600;
  letter-spacing: -.048em;
  line-height: .94;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 10.8vw, 148px); }
h1 > span { display: block; }
h2 { font-size: clamp(40px, 10.6vw, 104px); }
h2 sup {
  font-size: .3em; font-weight: 500; letter-spacing: -.02em;
  vertical-align: top; position: relative; top: .25em; margin-left: .12em;
  color: var(--ink-2);
}
.lead {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 17px; line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Surfaces ---------- */

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: var(--edge);
  border-radius: var(--r-panel);
  background: radial-gradient(120% 70% at 80% 0%, #1b1b1b 0%, #050505 55%, #000 100%);
  color: var(--white);
}
/* Film grain: one small PNG tile on an oversized layer that jumps
   ~10 times a second. Transform only, so the GPU just moves a texture:
   no repaint, no per-frame JavaScript. Runs only while the panel is on screen. */
.panel::before {
  content: "";
  position: absolute; inset: -120px; z-index: -1;
  background: url("assets/grain.png") repeat;
  background-size: 180px;
  opacity: .26;
  pointer-events: none;
  animation: grain .9s steps(1) infinite paused;
}
.panel.live::before { animation-play-state: running; }
@keyframes grain {
  0%   { transform: translate(0, 0); }
  11%  { transform: translate(-47px, 31px); }
  22%  { transform: translate(63px, -58px); }
  33%  { transform: translate(-22px, -86px); }
  44%  { transform: translate(88px, 12px); }
  55%  { transform: translate(-71px, 67px); }
  66%  { transform: translate(34px, 92px); }
  77%  { transform: translate(-95px, -24px); }
  88%  { transform: translate(15px, -41px); }
}
.panel .lead { color: var(--mist); }
/* .full: runs edge to edge (the hero and the big dark sections); the cards stay inset */
.panel.full { margin-left: 0; margin-right: 0; border-radius: 0; }

.block {
  padding: var(--sec) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}




/* ---------- Page frame ----------
   Not a uniform grid: two vertical lines on the content edges for the whole page,
   one horizontal line above every light section, and a small cross where they meet. */

body::before {
  content: "";
  position: fixed; top: 0; bottom: 0; left: 50%; z-index: -1;
  width: calc(min(100%, var(--max)) - 2 * var(--gutter));
  transform: translateX(-50%);
  border-left: 1px solid var(--grid);
  border-right: 1px solid var(--grid);
  pointer-events: none;
}
.block { position: relative; }
.block::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 100vw; height: 1px;
  transform: translateX(-50%);
  background: var(--grid);
  pointer-events: none;
}
.block::after {
  content: ""; position: absolute; top: -5px;
  left: calc(var(--gutter) - 5px); right: calc(var(--gutter) - 5px);
  height: 11px;
  background:
    linear-gradient(var(--cross), var(--cross)) left 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) left 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 5px top 0 / 1px 11px no-repeat;
  pointer-events: none;
}

/* ---------- Header ---------- */

/* The header floats over the hero (white logo, white button), it does not push it down. */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter) 6px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 24px; width: auto; }
.top-cta {
  height: 40px; padding: 0 18px;
  display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--white); color: var(--black);
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
}

/* ---------- CTA ---------- */

.cta {
  display: flex; align-items: center; gap: 12px;
  width: 100%; height: 64px;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 17px; font-weight: 600; letter-spacing: -.015em;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cta:active { transform: scale(.98); }
.cta-label { white-space: nowrap; }
.cta-meta { margin-left: auto; color: #7b7b7b; font-weight: 500; font-variant-numeric: tabular-nums; }
.cta-label + .cta-knob { margin-left: auto; }
.cta-knob {
  flex: none; position: relative; overflow: hidden;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--white);
  transition: transform .3s var(--ease);
}
.cta-knob svg {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  animation: knob-out 2.8s var(--ease) infinite;
}
.cta-knob svg + svg { animation-name: knob-in; }
@keyframes knob-out { 0%, 60% { transform: translateX(0); } 82%, 100% { transform: translateX(42px); } }
@keyframes knob-in  { 0%, 60% { transform: translateX(-42px); } 82%, 100% { transform: translateX(0); } }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (hover: hover) {
  .cta:hover .cta-knob { transform: scale(1.06); }
}
.cta-dark { background: var(--black); color: var(--white); }
.cta-dark .cta-knob { background: var(--white); color: var(--black); }
.cta-dark .cta-meta { color: #8f8f8f; }
.cta-dark::after { background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); }

/* ---------- Tag: pill + chevron pointing at a point ---------- */

.tag {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, calc(-100% - 7px));
  pointer-events: none;
  opacity: 0; transition: opacity .35s var(--ease);
}
.tag.on { opacity: 1; }
.tag b {
  padding: 4px 9px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.tag svg { width: 12px; height: 12px; margin-top: 2px; color: var(--white); }
.tag.start { align-items: flex-start; transform: translate(-16px, calc(-100% - 7px)); }
.tag.start svg { margin-left: 10px; }
.tag.end { align-items: flex-end; transform: translate(calc(-100% + 16px), calc(-100% - 7px)); }
.tag.end svg { margin-right: 10px; }
.tag-pt {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; z-index: 1;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .35s;
}
.tag-pt.on { opacity: 1; }

/* ---------- 1. Hero ---------- */

/* full screen, edge to edge (.full): the top padding leaves room for the floating header */
.hero {
  margin-top: 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 102px var(--gutter) var(--gutter);
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg img { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 38%, rgba(0,0,0,.34) 60%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
}
/* the grain sits above the photo */
.hero::before { z-index: 0; }
.hero > :not(.hero-bg) { position: relative; z-index: 1; }

.hero h1 { font-size: clamp(44px, 12.6vw, 156px); }
.hero-sub { margin-top: 26px; max-width: 32ch; font-size: 17px; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, .82); text-wrap: pretty; }

/* centred in the free space between the title and the cards */
.hero-topics { margin: auto 0 auto auto; padding: 28px 0; text-align: right; }
.hero-topics p { font-size: 15px; color: rgba(255, 255, 255, .62); margin-bottom: 6px; }
.hero-topics li { font-size: 19px; font-weight: 550; letter-spacing: -.02em; line-height: 1.5; }

.hero-foot { display: grid; gap: 10px; container-type: inline-size; }   /* the buttons adapt to this width */

/* main button + a narrower glass one that jumps to the table of contents */
.hero-ctas { display: flex; gap: 8px; min-width: 0; }
.hero-ctas .cta { flex: 1 1 0; min-width: 0; }
.hero-ctas .cta-label { margin-right: auto; }
.hero-ctas .cta-meta { margin-left: 0; }
.cta-alt {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cta-alt:active { transform: scale(.98); }
@media (hover: hover) { .cta-alt:hover { background: rgba(255, 255, 255, .2); } }
/* The two buttons share the row only when both fit WITH the price (measured: button with
   the longest price 295px + second button 168px). Otherwise the price wins: the second
   button is hidden and the main one takes the whole row. */
@container (max-width: 479px) {
  .cta-alt { display: none; }
}

.creator { display: flex; gap: 6px; }
.creator-photo {
  flex: none; width: 80px; height: 80px;
  padding: 4px; border-radius: 18px; background: var(--white);
}
.creator-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.creator-card {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 16px; border-radius: 18px;
  background: var(--white); color: var(--black);
}
.creator-role, .creator-meta { font-size: 12.5px; color: var(--ink-2); }
.creator-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 21px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2;
}
.verified { width: 17px; height: 17px; flex: none; }

/* ---------- 2. Numbers + posts ---------- */

.numbers h2 { max-width: 9ch; }
.stat-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--grid);
}
.stat-grid li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--grid);
}
.stat-grid li:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--grid); }
.stat-grid li:nth-child(even) { padding-left: 16px; }
.stat-grid strong {
  font-size: clamp(44px, 12.5vw, 96px);
  font-weight: 600; letter-spacing: -.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stat-grid span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }

.posts-wall {
  margin-top: 40px;
  height: 480px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}
.posts-col { display: flex; flex-direction: column; gap: 10px; }
.posts-col.up { animation: col-up 70s linear infinite; }
.posts-col.down { animation: col-down 70s linear infinite; }
.posts-col.mid { animation: col-up 84s linear infinite; }
.posts-wall.paused .posts-col { animation-play-state: paused; }
/* three copies of each column: one period = a third of the column plus one gap */
@keyframes col-up { from { transform: translateY(0); } to { transform: translateY(calc(-100% / 3 - 10px / 3)); } }
@keyframes col-down { from { transform: translateY(calc(-100% / 3 - 10px / 3)); } to { transform: translateY(0); } }

.post { background: var(--white); border-radius: 18px; padding: 5px; }
.post-media {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; border-radius: 13px;
  background: #d9d9d9;
}
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5));
}
.post-media.empty::after { opacity: .3; }
.post-empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 11px; color: #8a8a8a;
}
.post-views {
  position: absolute; right: 8px; bottom: 7px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--white); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.post-views svg { width: 15px; height: 15px; }
.post figcaption {
  display: flex; align-items: center; gap: 5px; min-width: 0;
  padding: 7px 4px 3px;
  font-size: 12px; font-weight: 500;
}
.post figcaption img { flex: none; width: 18px; height: 18px; border-radius: 50%; }
.post-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post figcaption .verified { width: 12px; height: 12px; }

/* ---------- 3. The crowd: concentric arcs ---------- */
/* Arcs, spokes, ticks and dots are drawn on the canvas; the labels are HTML that
   app.js pins on each arc (the line runs behind the pill), caption inside the band below. */

.crowd { height: min(calc((100vw - 2 * var(--edge)) * 1.25), 680px); padding: 24px var(--gutter); }
.crowd-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.crowd h2 { position: relative; z-index: 1; max-width: 16ch; font-size: clamp(30px, 8.2vw, 64px); }
.zone {
  position: absolute; z-index: 1; left: 50%; top: var(--y, 50%);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; white-space: nowrap;
}
.zone strong {
  height: 30px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600;
  background: #070707;
}
.zone span { font-size: 12.5px; color: var(--mist); }
.z1 strong { border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .78); }
.z2 strong { border: 1px solid rgba(42, 152, 255, .85); color: var(--white); box-shadow: 0 0 18px rgba(42, 152, 255, .25); }
.z3 strong { background: var(--white); color: var(--black); box-shadow: 0 0 0 1.5px var(--green), 0 0 26px rgba(116, 255, 60, .5); }
.z3 span { color: rgba(255, 255, 255, .7); white-space: normal; max-width: 14ch; text-wrap: balance; }   /* two short lines: stays inside the core */
.crowd .aim {
  position: absolute; z-index: 1; left: 50%; top: var(--ay, 90%);
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap;
  text-shadow: 0 0 14px rgba(116, 255, 60, .5);
}
.crowd .aim svg { width: 22px; height: 22px; animation: reticle 3s ease-in-out infinite; }
@keyframes reticle { 50% { transform: rotate(45deg) scale(.88); } }
.crowd:not(.live) .aim svg { animation-play-state: paused; }

/* ---------- 4. The pain, and what the guide replaces ---------- */

.pain h2 { max-width: 8ch; }
/* four short cards instead of a paragraph list: one problem per card, the problem in bold */
.pain-cards { margin-top: 32px; display: grid; gap: 8px; }
.pain-card {
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: var(--white);
}
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.pc-n { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pc-x { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--black); color: var(--white); }
.pain-card strong { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.pain-card p { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* what the guide replaces: without / with, and the price at the bottom */
.replaces {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 8px;
  border-radius: 24px;
  padding: 24px 20px 20px;
  background: radial-gradient(120% 70% at 80% 0%, #1b1b1b 0%, #050505 55%, #000 100%);
  color: var(--white);
}
.replaces::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("assets/grain.png") repeat; background-size: 180px; opacity: .26;
}
.rp-title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }

/* two columns: the pain on the left, what you get on the right.
   The right column is highlighted like the recommended plan of a pricing table. */
.rp-table { position: relative; display: grid; }
.rp-table::before {
  content: ""; position: absolute; top: 0; bottom: -6px; right: 0;
  width: calc(50% - 4px);
  border-radius: 16px;
  border: 1px solid rgba(116, 255, 60, .3);
  background: linear-gradient(180deg, rgba(116, 255, 60, .1), rgba(116, 255, 60, .03));
  pointer-events: none;
}
.rp-head, .rp-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.rp-head { padding: 10px 0; }
.rp-head span {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.rp-head svg { flex: none; width: 15px; height: 15px; padding: 2px; border-radius: 50%; }
.rp-without { background: rgba(255, 255, 255, .08); color: var(--mist); }
.rp-without svg { background: rgba(255, 255, 255, .14); color: var(--white); }
.rp-with { margin-left: 10px; background: var(--green); color: var(--black); }
.rp-with svg { background: var(--black); color: var(--green); }
.rp-row { align-items: center; padding: 13px 0; border-top: 1px dashed rgba(255, 255, 255, .13); }
.rp-row span { font-size: 14px; line-height: 1.35; }
.rp-row span:first-child { color: var(--mist); padding-right: 6px; }
.rp-row span:last-child {
  padding-left: 12px;
  font-weight: 600; color: var(--white);
  opacity: .2; transform: translateX(-6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.replaces.lit .rp-row span:last-child { opacity: 1; transform: none; }
.replaces.lit .rp-row:nth-child(3) span:last-child { transition-delay: .15s; }
.replaces.lit .rp-row:nth-child(4) span:last-child { transition-delay: .3s; }
.replaces.lit .rp-row:nth-child(5) span:last-child { transition-delay: .45s; }
.replaces.lit .rp-row:nth-child(6) span:last-child { transition-delay: .6s; }
html:not(.js) .rp-row span:last-child { opacity: 1; transform: none; }
.rp-total {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}
.rp-total span { font-size: 15px; font-weight: 600; padding-bottom: 6px; }
.rp-total strong { display: flex; align-items: baseline; gap: 8px; font-size: 48px; font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.rp-total small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--mist); }

/* ---------- 5. Case studies ---------- */

.cases { padding: 48px var(--gutter) var(--gutter); overflow: hidden; overflow: clip; }
.cases h2 { max-width: 10ch; }
.case-includes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.case-includes li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px; font-weight: 500;
}
.case-includes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.case-list { margin-top: 32px; display: grid; gap: 14px; }
/* each case is its own white card; while scrolling, each one stops near the top
   and the next slides over it, so they read one at a time */
.case {
  position: sticky; top: calc(var(--edge) + 14px + var(--i) * 10px);
  overflow: hidden;
  border-radius: 24px;
  padding: 8px;
  background: var(--white); color: var(--black);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
}
.case figure { position: relative; aspect-ratio: 940 / 440; overflow: hidden; border-radius: 16px; background: var(--paper); }
.case figure img { width: 100%; height: 100%; object-fit: cover; }
/* a hairline, so the white screenshots keep a clear edge inside the white card */
.case figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); pointer-events: none; }
.case-body { padding: 16px 12px 14px; }
.case-top { display: flex; justify-content: space-between; align-items: center; }
.case-n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
/* Difficulty: it warms up with the level (green to red). Colour stays a detail: dots and a
   light tint, never the text. The dots light one by one when the card comes into view,
   and from level 3 the top dot breathes, a little faster and wider at each level. */
.diff[data-lv="1"] { --lv: #2fc25b; }
.diff[data-lv="2"] { --lv: #8fc31f; }
.diff[data-lv="3"] { --lv: #f0b400; --lv-t: 3.2s; --lv-r: 3px; }
.diff[data-lv="4"] { --lv: #ff7a1a; --lv-t: 2.4s; --lv-r: 4px; }
.diff[data-lv="5"] { --lv: #ff3b30; --lv-t: 1.6s; --lv-r: 5px; }
.diff {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px;
  background: var(--paper);
  background: color-mix(in srgb, var(--lv, #000) 11%, var(--paper));
  font-size: 12px; font-weight: 600;
}
.diff span { margin-right: 5px; }
.diff i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, .14); transition: background-color .4s ease, transform .5s var(--ease); }
.diff i.on { background: var(--lv, var(--black)); }
.diff i:nth-of-type(2) { transition-delay: .09s; }
.diff i:nth-of-type(3) { transition-delay: .18s; }
.diff i:nth-of-type(4) { transition-delay: .27s; }
.diff i:nth-of-type(5) { transition-delay: .36s; }
.js .case:not(.seen) .diff i.on { background: rgba(0, 0, 0, .14); transform: scale(.55); }
.case.seen .diff[data-lv="3"] i:nth-of-type(3),
.case.seen .diff[data-lv="4"] i:nth-of-type(4),
.case.seen .diff[data-lv="5"] i:nth-of-type(5) { animation: lv-glow var(--lv-t) ease-in-out .7s infinite; }
@keyframes lv-glow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 var(--lv-r) color-mix(in srgb, var(--lv) 30%, transparent); }
}
.case h3 { margin-top: 14px; font-size: 27px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.case-res { margin-top: 6px; font-size: 14px; font-weight: 600; }
.case-res + p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cases-cta { margin-top: 24px; }

/* ---------- 6. The actual prompts ---------- */

.pd-card {
  margin-top: 36px;
  border-radius: 24px;
  padding: 22px 18px 20px;
  background: var(--white);
  color: var(--black);
}
.pd-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-2); }
.pd-top span:first-child { color: var(--black); font-weight: 600; }
.pd-text {
  margin-top: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.8; color: rgba(0, 0, 0, .82);
}
.pd-text mark {
  padding: 1px 3px; border-radius: 4px;
  background: transparent; color: inherit;
  transition: background .5s var(--ease);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pd-text mark::after {
  content: attr(data-n);
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; margin-left: 4px; vertical-align: 1px;
  border-radius: 50%;
  background: var(--black); color: var(--white);
  font-family: "Inter", sans-serif; font-size: 10px; font-weight: 700;
  opacity: 0; transition: opacity .4s;
}
.pd-text mark.on::after { opacity: 1; }
.pd-text mark.key.on { background: rgba(0, 0, 0, .07); color: var(--black); font-weight: 600; }
html:not(.js) .pd-text mark::after { opacity: 1; }

/* the ending: locked, glowing, giving off particles */
.pd-secret {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  margin-top: 8px; padding: 6px 8px 6px 10px;
  border-radius: 999px;
  background: radial-gradient(120% 140% at 50% 50%, #0f2208 0%, #030503 70%);
  border: 1px solid rgba(116, 255, 60, .65);
  color: var(--green);
  vertical-align: middle;
  animation: halo 2.6s ease-in-out infinite;
}
@keyframes halo {
  0%, 100% { box-shadow: 0 0 10px rgba(116, 255, 60, .35), 0 0 0 0 rgba(116, 255, 60, .0); }
  50% { box-shadow: 0 0 24px rgba(116, 255, 60, .6), 0 0 0 4px rgba(116, 255, 60, .08); }
}
.pd-secret > svg { flex: none; width: 14px; height: 14px; }
.pd-label { flex: none; font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pd-blur { min-width: 0; overflow: hidden; white-space: nowrap; filter: blur(4px); opacity: .85; user-select: none; }
.pd-secret > b {
  flex: none; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: var(--black);
  font-family: "Inter", sans-serif; font-size: 10.5px; font-weight: 700;
}
.pd-p {
  position: absolute; left: var(--x); bottom: 60%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  opacity: 0;
  animation: rise 2.6s ease-out var(--d) infinite;
  pointer-events: none;
}
@keyframes rise {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), -38px) scale(1.1); }
}
.pd-card:not(.live) .pd-secret, .pd-card:not(.live) .pd-p { animation-play-state: paused; }

.pd-notes { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-l); display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.pd-notes li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.pd-notes b { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 10.5px; }
.pd-notes .key { grid-column: 1 / -1; color: var(--black); font-weight: 600; }
.pd-notes .secret {
  grid-column: 1 / -1;
  margin-top: 4px; padding: 12px 14px; border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 50%, #0f2208 0%, #030503 70%);
  color: rgba(255, 255, 255, .8);
}
.pd-notes .secret b { background: var(--green); color: var(--black); }
.pd-notes .secret strong { color: var(--green); font-weight: 600; }
.pd-foot { margin-top: 16px; font-size: 13px; color: var(--ink-2); }

/* ---------- 6. Inside, accordion ---------- */

.inside .lead { margin-bottom: 40px; }
.part { border-top: 1px solid var(--grid); }
.part:last-child { border-bottom: 1px solid var(--grid); }
.part-head {
  width: 100%;
  display: grid; grid-template-columns: 46px 1fr 42px; align-items: center;
  padding: 18px 0;
  text-align: left;
}
.part-num { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.part-title { font-size: 21px; font-weight: 550; letter-spacing: -.03em; line-height: 1.2; }
.pm {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .2);
  display: grid; place-items: center;
  transition: background .25s, color .25s;
}
.pm svg { width: 18px; height: 18px; }
.pm .plus-v, .faq summary .plus-v { transition: transform .3s var(--ease); transform-origin: center; transform-box: fill-box; }
.part.open .pm { background: var(--black); color: var(--white); border-color: var(--black); }
.part.open .pm .plus-v { transform: scaleY(0); }
.part-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.part.open .part-body { grid-template-rows: 1fr; }
.part-body > div { min-height: 0; overflow: hidden; }
.part-inner { padding: 0 0 26px 46px; }
.part-inner > p { font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { padding: 8px 13px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; }
.peek {
  margin-top: 16px;
  height: 150px; max-width: 420px;
  border-radius: 14px 14px 0 0;
  background: var(--white);
  padding: 16px 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.peek-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-2); }
.peek strong { display: block; margin: 18px 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; max-width: 14ch; }
.peek i { display: block; height: 6px; margin-bottom: 7px; border-radius: 3px; background: #e6e6e6; }
.peek i:nth-of-type(2) { width: 88%; }
.peek i:nth-of-type(3) { width: 94%; }
.peek i:nth-of-type(4) { width: 70%; }
.inside .cta { margin-top: 40px; }

/* ---------- 7. Secrets: seven white cards, one chrome object each ---------- */
/* The renders sit on white, so each card is white: the object seems to come out of the card's edge. */

.skills { padding: 48px var(--gutter) var(--gutter); }
.skills h2 { max-width: 9ch; }
.skill-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.skill {
  min-width: 0; overflow: hidden;
  border-radius: 22px;
  background: var(--white); color: var(--black);
}
.skill-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); }
.skill-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .8s var(--ease); }
.skill-body { padding: 6px 20px 22px; }
.skill-part { display: block; font-size: 13px; color: var(--ink-2); }
.skill h3 { margin-top: 4px; font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.skill h3 + p { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
@media (hover: hover) { .skill:hover .skill-media img { transform: scale(1.04); } }
/* the seven parts as LCD screens (skills-lcd.js), like the V4 */
.skill-anim { margin: 8px 8px 0; border-radius: 16px; background: #060906; }
.skill-anim canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.skill-track { display: none; }

/* Phones: a swipe row like an Instagram carousel, with the next card peeking in */
@media (max-width: 639px) {
  .skill-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .skill-grid::-webkit-scrollbar { display: none; }
  .skill { scroll-snap-align: start; }
  .skill-track {
    display: block; position: relative; overflow: hidden;
    height: 2px; margin-top: 20px; border-radius: 2px;
    background: rgba(255, 255, 255, .14);
  }
  .skill-track i {
    position: absolute; inset: 0 auto 0 0; width: calc(100% / 7);
    border-radius: inherit; background: var(--green);
    transform: translateX(calc(var(--p, 0) * 600%));
  }
}

/* ---------- 9. Who this is for ---------- */
/* one dark card, like "What this guide replaces": the yes side highlighted in green, the no side muted */

.who h2 { max-width: 8ch; }
.who-card {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 32px;
  display: grid; gap: 8px;
  border-radius: 24px;
  padding: 10px;
  background: radial-gradient(120% 70% at 80% 0%, #1b1b1b 0%, #050505 55%, #000 100%);
  color: var(--white);
}
.who-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("assets/grain.png") repeat; background-size: 180px; opacity: .26;
}
.who-part { border-radius: 18px; padding: 16px 16px 6px; }
.who-yes { border: 1px solid rgba(116, 255, 60, .3); background: linear-gradient(180deg, rgba(116, 255, 60, .1), rgba(116, 255, 60, .03)); }
.who-no { padding-top: 14px; }
.who-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 7px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
}
.who-pill svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; }
.who-yes .who-pill { background: var(--green); color: var(--black); }
.who-yes .who-pill svg { background: var(--black); color: var(--green); }
.who-no .who-pill { background: rgba(255, 255, 255, .08); color: var(--mist); }
.who-no .who-pill svg { background: rgba(255, 255, 255, .14); color: var(--white); }
.who-part ul { margin-top: 8px; }
.who-part li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 13px 0;
  border-top: 1px dashed rgba(255, 255, 255, .13);
}
.who-part li:first-child { border-top: 0; }
.who-part li svg { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; }
.who-yes li svg { background: var(--green); color: var(--black); }
.who-no li svg { background: rgba(255, 255, 255, .12); color: var(--white); }
.who-part p { font-size: 15px; line-height: 1.45; }
.who-yes p { color: rgba(255, 255, 255, .78); }
.who-yes strong { color: var(--white); font-weight: 600; }
.who-no p { color: var(--mist); }

/* ---------- 8. Pricing ---------- */

.pricing .lead { margin-bottom: 40px; }
.offer { max-width: 560px; display: grid; gap: 8px; }
.offer-main {
  position: relative; isolation: isolate;
  border-radius: 26px;
  padding: 24px 20px 20px;
  background: radial-gradient(120% 70% at 80% 0%, #1b1b1b 0%, #050505 55%, #000 100%);
  color: var(--white);
}
.offer-main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: url("assets/grain.png") repeat; background-size: 180px; opacity: .26;
}
/* the pulse: one ring that breathes out and fades */
.offer-main::after {
  content: ""; position: absolute; inset: -1px; z-index: -2; border-radius: inherit;
  box-shadow: 0 0 0 1.5px var(--green);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: .9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.035, 1.05); }
}
.offer-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.offer-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85);
}
.offer-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 22px; }
.offer-price strong { font-size: 76px; font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.offer-price span { font-size: 14px; color: var(--mist); }
.offer-list { display: grid; gap: 15px; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line-d); }
.offer-list li { display: flex; align-items: flex-start; gap: 12px; }
.offer-list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--white); color: var(--black); }
.offer-list strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.offer-list span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--mist); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; font-size: 12.5px; line-height: 1.45; color: var(--mist); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.consent-error { margin: -6px 0 14px 28px; font-size: 12.5px; font-weight: 600; color: var(--white); }

.toolkit {
  border-radius: 26px;
  padding: 22px 20px 18px;
  background: var(--white);
  transition: box-shadow .35s var(--ease);
}
.toolkit[hidden] { display: none; }
.toolkit.on { box-shadow: 0 0 0 2px var(--green), 0 10px 40px rgba(116, 255, 60, .25); }
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tk-head strong { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.tk-head span { display: block; margin-top: 5px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.tk-price { font-size: 34px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.tk-list { display: grid; gap: 15px; margin: 20px 0 18px; padding-top: 20px; border-top: 1px solid var(--line-l); }
.tk-list li { display: flex; align-items: flex-start; gap: 12px; }
.tk-list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--black); color: var(--white); }
.tk-list strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tk-list span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.tk-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--line-l);
  font-size: 15px; font-weight: 600;
}
.switch {
  flex: none; width: 60px; height: 34px; border-radius: 999px;
  background: #d6d6d6; position: relative;
  transition: background .3s var(--ease);
}
.switch span {
  position: absolute; top: 3px; left: 3px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--black);
  transition: transform .35s var(--ease);
}
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"] span { transform: translateX(26px); }

/* ---------- 9. Urgency ---------- */

.urgency { padding: 48px var(--gutter) var(--gutter); }
.urgency h2 { max-width: 8ch; }
.adopt { margin-top: 64px; }
.adopt-chart { position: relative; height: 150px; }
.adopt-chart > svg { width: 100%; height: 100%; overflow: visible; }
.a-line { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 2; vector-effect: non-scaling-stroke; }
.a-base { stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.a-dot {
  position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 14px rgba(116, 255, 60, .8);
  opacity: 0; transition: opacity .4s;
}
.a-dot.on { opacity: 1; }
.a-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green);
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.adopt-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--mist); }
.models { margin: 36px calc(-1 * var(--gutter)) 40px; display: grid; gap: 2px; }
.models-row { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.models-row.reverse { animation-direction: reverse; animation-duration: 40s; }
.models-row span {
  padding-right: .55em;
  font-size: clamp(40px, 11vw, 104px);
  font-weight: 600; letter-spacing: -.05em; line-height: 1.05;
  color: rgba(255, 255, 255, .16);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.urgency:not(.live) .models-row { animation-play-state: paused; }

/* ---------- 10. FAQ ---------- */

.faq-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.ask {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 8px;
  border-radius: 999px; background: var(--white);
  font-size: 15px; font-weight: 600;
}
.ask img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.faq-list details { border-top: 1px solid var(--grid); }
.faq-list details:last-child { border-bottom: 1px solid var(--grid); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font-size: 18px; font-weight: 550; letter-spacing: -.025em; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; }
.faq details[open] summary .plus-v { transform: scaleY(0); }
.faq details p { padding: 0 40px 22px 0; font-size: 15px; color: var(--ink-2); max-width: 56ch; }

/* ---------- Footer: let's talk, links, wordmark, legal bar ---------- */

.talk { padding: 48px var(--gutter) var(--gutter); margin-bottom: 0; }
.talk h2 { max-width: 8ch; }
/* one sentence in two tones, like a spoken aside */
.talk-sub {
  margin-top: 22px; max-width: 22ch;
  font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2;
}
.talk-sub span { color: var(--mist); }
.talk-points {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line-d);
  display: grid; gap: 24px;
}
.talk-points div { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; }
.talk-points svg { width: 24px; height: 24px; }
.talk-points strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.talk-points p { grid-column: 2; font-size: 15px; line-height: 1.45; color: var(--mist); }
.talk-foot { margin-top: 36px; display: grid; gap: 10px; }
.talk .creator-card { padding: 14px 16px; gap: 2px; }
.ask-direct {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 8px; height: 38px; padding: 0 14px 0 16px;
  border-radius: 999px; background: var(--black); color: var(--white);
  font-size: 13.5px; font-weight: 600;
}
.ask-direct i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.talk .creator-photo { width: auto; height: auto; aspect-ratio: auto; align-self: stretch; }
.talk .creator-photo img { height: 100%; width: 96px; }

.foot-links { padding-top: 32px; padding-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* a cross at the top of the second column, like the ones at the section corners */
.foot-cols > div { position: relative; }
.foot-cols > div::before {
  content: ""; position: absolute; top: -37px; left: -5px; width: 11px; height: 11px;
  background:
    linear-gradient(var(--cross), var(--cross)) center / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) center / 1px 11px no-repeat;
}
.foot-cols p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols a { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 550; letter-spacing: -.03em; }
.foot-cols a svg { width: 16px; height: 16px; color: #9a9a9a; transition: transform .3s var(--ease); }
@media (hover: hover) { .foot-cols a:hover svg { transform: translate(2px, -2px); } }
.foot-mark {
  margin-top: 56px;
  /* the logo fills the content width */
}
.foot-mark img { display: block; width: 100%; height: auto; }
.foot-sub {
  margin-top: .35em;
  font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 5.45 * .3);
  font-weight: 600; letter-spacing: -.05em; line-height: 1;
}

.foot-bar {
  padding: 26px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  background: var(--black); color: var(--mist);
  font-size: 13.5px;
}
.foot-bar ul { display: grid; gap: 10px; margin-top: 18px; }
.foot-bar a { color: var(--white); }

/* ---------- Sticky buy bar (phones) ---------- */

.buy-bar {
  position: fixed; left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 6px 0 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .1);
  color: var(--white); font-size: 15px;
  transform: translateY(140%);
  transition: transform .45s var(--ease);
}
.buy-bar strong { font-weight: 600; margin-right: 4px; }
.buy-bar span { color: var(--mist); }
.buy-bar span strong { color: var(--white); }
.buy-bar a {
  height: 48px; padding: 0 18px 0 20px;
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; background: var(--white); color: var(--black);
  font-weight: 600;
}
.buy-bar a svg { width: 18px; height: 18px; }
.buy-bar.show { transform: none; }

/* ---------- Checkout preview ---------- */

.checkout {
  width: min(92vw, 420px);
  border: 0; border-radius: 26px;
  padding: 28px 24px 22px;
  background: var(--white); color: var(--black);
}
.checkout::backdrop { background: rgba(0, 0, 0, .55); }
.checkout h2 { font-size: 34px; }
.checkout p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.checkout code { font-size: 13px; }
.consent-dlg .consent-terms { color: var(--black); font-size: 16px; line-height: 1.45; }
.consent-dlg .consent-terms a { text-decoration: underline; text-underline-offset: 2px; }
.consent-dlg .cta { margin-top: 22px; }
.consent-cancel { margin-top: 8px; width: 100%; height: 46px; border-radius: 999px; color: var(--ink-2); font-weight: 600; }
.checkout-close {
  margin-top: 22px; width: 100%; height: 52px; border-radius: 999px;
  background: var(--black); color: var(--white); font-weight: 600;
}

/* ---------- Very small phones ---------- */

@media (max-width: 359px) {
  .cta { padding-left: 20px; font-size: 16px; }
  .cta-meta { display: none; }
  .cta-label { margin-right: auto; }
  .hero-topics li { font-size: 17px; }
  .zone strong { font-size: 13px; padding: 0 12px; }
  .rp-head svg { display: none; }
  .rp-head span { padding: 5px 9px; font-size: 11.5px; }
  .rp-with { margin-left: 8px; }
  .rp-row span { font-size: 13px; }
  .rp-row span:last-child { padding-left: 9px; }
}

/* ---------- Tablet and up ---------- */

@media (min-width: 640px) {
  :root { --gutter: 32px; --edge: 12px; --sec: 96px; }
  .lead { font-size: 19px; }
  .hero-topics li { font-size: 22px; }
  .creator { max-width: 420px; }
  .posts-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 560px; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid li:nth-child(n) { padding: 26px 18px 22px; border-right: 1px solid var(--grid); }
  .stat-grid li:nth-child(3n) { border-right: 0; }
  .stat-grid li:nth-child(3n + 1) { padding-left: 0; }
  .who-card { grid-template-columns: 1.15fr 1fr; align-items: start; padding: 12px; }
  .pain-cards { grid-template-columns: 1fr 1fr; }

  .offer-main { padding: 30px 30px 26px; }
  .toolkit { padding: 26px 30px 22px; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .skill-wide .skill-media { order: 2; margin: 8px; }
  .skill-wide .skill-body { padding: 28px 32px; }
  .skill-wide h3 { font-size: 32px; }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; --sec: 120px; }
  .foot-links { padding-top: 64px; padding-bottom: 56px; }
  .top { padding-top: 18px; padding-bottom: 8px; }

  .hero { padding: 122px var(--gutter) var(--gutter); }
  .hero-topics li { font-size: 23px; }
  .hero-sub { margin-top: 34px; font-size: 20px; max-width: 46ch; }
  .hero-foot { grid-template-columns: minmax(0, 600px); justify-content: end; }
  .creator { width: 400px; }

  .numbers h2 { max-width: 12ch; }
  .stat-grid { margin-top: 56px; }
  .stat-grid span { font-size: 15px; }
  .posts-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); height: 540px; margin-top: 56px; }

  .pain { display: grid; grid-template-columns: minmax(0, 1fr) 500px; column-gap: 16px; row-gap: 0; align-items: stretch; }
  .pain-copy { grid-column: 1 / -1; margin-bottom: 40px; }
  .pain h2 { max-width: none; }
  .pain-cards { margin-top: 0; }
  .pain-card { display: flex; flex-direction: column; }
  .pain-card .pc-top { margin-bottom: auto; padding-bottom: 28px; }
  .replaces { margin-top: 0; padding: 28px 28px 24px; }

  .cases { padding: 72px var(--gutter) var(--gutter); }
  .cases h2 { max-width: 14ch; }
  .case-list { margin-top: 48px; gap: 18px; }
  .case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; top: calc(var(--edge) + 24px + var(--i) * 14px); }
  .case { padding: 10px; }
  .case-body { padding: 22px 30px 22px 26px; }
  .case h3 { font-size: 34px; }
  .cases-cta { max-width: 380px; }

  /* minmax(0, …): the long prompt text must not widen the grid past the screen (960–1100px) */
  .prompt-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 64px; align-items: start; }
  .pd-card { margin-top: 0; padding: 28px 30px 24px; }
  .pd-text { font-size: 14px; }

  .who { display: grid; grid-template-columns: 1fr 1.7fr; column-gap: 64px; align-items: start; }
  .who-card { margin-top: 0; }
  .who-part { padding: 22px 22px 8px; }

  .crowd { height: 560px; padding: 36px var(--gutter); }
  .crowd h2 { max-width: none; }
  .zone strong { height: 36px; padding: 0 18px; font-size: 16px; }
  .zone span { font-size: 14px; }
  .crowd .aim { font-size: 15px; }

  .inside { display: grid; grid-template-columns: 1fr 1.4fr; grid-template-rows: auto auto 1fr; column-gap: 64px; align-items: start; }
  .inside h2, .inside .lead { grid-column: 1; }
  .inside .lead { margin-bottom: 0; }
  .parts { grid-column: 2; grid-row: 1 / span 3; }
  .inside .cta { grid-column: 1; max-width: 380px; }
  .part-title { font-size: 28px; }
  .part-head { padding: 22px 0; grid-template-columns: 60px 1fr 44px; }
  .part-inner { padding-left: 60px; }

  .skills { padding: 72px var(--gutter) var(--gutter); }
  .skills h2 { max-width: 12ch; }
  .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; gap: 12px; }
  .skill-body { padding: 8px 24px 26px; }
  .skill-wide .skill-body { padding: 40px 48px; }
  .skill-wide h3 { font-size: 44px; }
  .skill-wide h3 + p { font-size: 17px; }

  .pricing { display: grid; grid-template-columns: 1fr 560px; grid-template-rows: auto auto 1fr; column-gap: 64px; align-items: start; }
  .pricing h2, .pricing .lead { grid-column: 1; }
  .offer { grid-column: 2; grid-row: 1 / span 3; }

  .urgency { padding-top: 72px; }
  .urgency h2 { max-width: 12ch; }
  .adopt-chart { height: 220px; }
  .urgency .cta { max-width: 380px; }

  .faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq-head { margin: 0; }

  .buy-bar { display: none; }

  .talk { padding: 72px var(--gutter) var(--gutter); }
  .talk h2 { max-width: none; }
  .talk-sub { font-size: 40px; }
  .talk-points { grid-template-columns: 1fr 1fr; gap: 64px; }
  .talk-foot { grid-template-columns: auto minmax(320px, 400px); justify-content: space-between; align-items: end; margin-top: 64px; }
  .talk .creator { width: 440px; }
  .foot-cols a { font-size: 30px; }
  .foot-bar { display: flex; justify-content: space-between; align-items: center; padding: 26px max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)); }
  .foot-bar ul { display: flex; gap: 28px; margin-top: 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .case { position: relative; top: 0; }
}
