/* ==========================================================================
   Pincbone — landing-bottom.css
   How it works (.how), the two sides (.sides), what makes us different
   (.diff), FAQ (.faq), final call to action (.apply), footer (.footer).

   Everything here is the FINAL, visible state. js/landing-bottom.js only
   adds "from" states when motion is on, so with GSAP missing or reduced
   motion requested the page is complete and static.
   Mobile first; breakpoints: 34rem, 640, 720, 768, 900, 1024, 1100, 1200.
   ========================================================================== */


/* ==========================================================================
   1. HOW IT WORKS — sticky stacked step cards
   No ancestor of .how__step may set overflow: hidden/auto (sticky breaks).
   ========================================================================== */

.how__head { margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

.how__steps { position: relative; }

.how__step {
  --stack-top: calc(var(--nav-h) + 1rem + var(--i, 0) * 0.875rem);
  position: sticky;
  /* --h is the card height, measured by js. A card taller than the screen
     sticks with its bottom in view instead of hiding it under the next card. */
  top: min(var(--stack-top), calc(100svh - var(--h, 0px) - 1rem));
  margin-bottom: clamp(1.5rem, 6svh, 4rem);
}
.how__step:last-child { margin-bottom: 0; }

/* landscape phones: too short to stack, so the cards simply flow */
@media (max-height: 520px) {
  .how__step { position: relative; top: auto; }
}

.how__card {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding: clamp(1.25rem, 0.75rem + 2.4vw, 3.25rem);
  border-radius: var(--radius-l);
  overflow: clip;                       /* inside the sticky li, so this is safe */
  transform-origin: 50% 0%;
  box-shadow: 0 -0.75rem 2rem -1.25rem rgba(13, 10, 11, 0.45);
}
.how__card--3 {
  --bg: var(--bone-2);
  --surface: var(--bone);
  border: 1.5px solid var(--ink);
}

/* dims the card underneath as the next one arrives (js drives opacity) */
.how__shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}

.how__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  min-width: 0;
}
.how__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.how__label { color: var(--accent); }
.how__numeral {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: clamp(3.5rem, 2rem + 6vw, 8.5rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--line);
  user-select: none;
}
.how__body {
  display: grid;
  gap: 1rem;
  margin-top: auto;
}
.how__text {
  font-size: var(--fs-lead);
  line-height: 1.42;
  color: var(--muted);
  max-width: 36ch;
  text-wrap: pretty;
}
/* --muted on pink measures ~4.4:1, under AA for body text: use full ink on pink */
.how__card--2 .how__text { color: var(--fg); }
.how__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* --- scene stage (illustration panel, decorative) ------------------------ */
.how__stage {
  --stage: transparent;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(12rem, 32svh, 16rem);
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  border-radius: var(--radius-m);
  background-color: var(--stage);
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.25px);
  background-size: 1.25rem 1.25rem;
  background-position: center;
}
.how__card--1 .how__stage { --stage: var(--ink-2); }
.how__card--2 .how__stage { --stage: rgba(13, 10, 11, 0.07); }
.how__card--3 .how__stage { --stage: var(--bone); }

@media (min-width: 900px) {
  .how__card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch;
    min-height: 68svh;
  }
  .how__stage { min-height: 0; }
}

/* --- scene 1: intake topics ------------------------------------------------ */
.how__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 0.875rem 0.625rem;
  max-width: 27rem;
}
.how__topic { transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }
.how__topic .chip {
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  background: var(--ink);
  border-color: var(--ink-3);
  box-shadow: 0 0.6rem 1.2rem -0.7rem rgba(0, 0, 0, 0.7);
}
.how__topic .chip svg { width: 1rem; height: 1rem; }
.how__topic--own .chip {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink);
}
.how__topic--own .chip svg { width: 1.375rem; height: auto; }
.how__topic--avoid .chip {
  background: transparent;
  border-style: dashed;
  border-color: var(--faint);
  color: var(--muted);
  box-shadow: none;
}
@media (min-width: 900px) {
  .how__topic .chip { min-height: 3rem; padding-inline: 1.25rem; font-size: 0.8125rem; }
}

/* --- scene 2: creator network (inline SVG, viewBox 400x300) ----------------- */
.how__net {
  width: 100%;
  max-width: 32rem;
  height: auto;
  max-height: 34svh;
  overflow: visible;
}
@media (min-width: 900px) { .how__net { max-height: 50svh; } }
.how__orbit {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.22;
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.how__spoke {
  stroke: var(--ink);
  stroke-width: 2.25;
  stroke-linecap: round;
}
.how__node-body { fill: var(--ink); }
.how__glyph { fill: var(--pink-hi); }
.how__glyph-ring { fill: none; stroke: var(--pink-hi); stroke-width: 3; }
.how__you-body { fill: var(--bone); stroke: var(--ink); stroke-width: 2.5; }
.how__you-text {
  fill: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* --- scene 3: phones + monthly report ------------------------------------- */
.how__stage--post {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
}
.how__phones {
  display: grid;
  place-items: end center;
}
.how__phone {
  grid-area: 1 / 1;
  height: clamp(7rem, 19svh, 14rem);
  aspect-ratio: 9 / 18.5;
  padding: 0.3rem;
  border-radius: clamp(0.85rem, 2.2svh, 1.5rem);
  background: var(--ink);
  transform-origin: 50% 100%;
  transform: translateX(var(--x, 0%)) rotate(var(--r, 0deg));
  box-shadow: 0 1rem 1.75rem -1rem rgba(13, 10, 11, 0.55);
}
.how__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7%;
  height: 100%;
  padding: 14% 10% 12%;
  border-radius: clamp(0.6rem, 1.7svh, 1.15rem);
  background: var(--bone);
  overflow: clip;
}
.how__media {
  position: relative;
  flex: none;
  aspect-ratio: 4 / 5;
  border-radius: 0.375rem;
  background: var(--pink);
}
.how__ln {
  flex: none;
  width: 82%;
  height: 0.3rem;
  border-radius: var(--radius-pill);
  background: rgba(13, 10, 11, 0.2);
}
.how__ln--short { width: 52%; }
.how__acts { display: flex; gap: 10%; margin-top: auto; }
.how__acts i { width: 16%; aspect-ratio: 1; border-radius: 50%; background: rgba(13, 10, 11, 0.24); }
.how__phone--a .how__media { background: var(--pink-hi); }
.how__phone--mid .how__screen { background: var(--pink); }
.how__phone--mid .how__media { background: var(--ink); }
.how__phone--mid .how__ln,
.how__phone--mid .how__acts i { background: rgba(13, 10, 11, 0.32); }
.how__ad {
  position: absolute;
  top: 7%;
  left: 7%;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.how__report {
  position: relative;
  z-index: 3;
  width: min(100%, 17rem);
  margin-top: -1.25rem;
  padding: 0.875rem 1rem 1rem;
  border-radius: var(--radius-m);
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1rem 2rem -1.25rem rgba(13, 10, 11, 0.6);
}
.how__report-title {
  margin-bottom: 0.625rem;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.how__bars {
  display: grid;
  grid-template-columns: max-content minmax(3rem, 1fr);
  align-items: center;
  gap: 0.4rem 0.75rem;
}
.how__bars li { display: contents; }
.how__bar-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 246, 238, 0.72);
}
.how__bar-track {
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 246, 238, 0.1);
  overflow: clip;
}
.how__bar-fill {
  display: block;
  width: calc(var(--w, 0.5) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
  transform-origin: 0% 50%;
}
@media (min-width: 1200px) {
  /* report tucks over the right phone like a sticker */
  .how__report { justify-self: end; margin-top: -3.5rem; width: 15.5rem; }
}


/* ==========================================================================
   2. THE TWO SIDES — mirrored audience panels
   ========================================================================== */

.sides__head { margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.sides__grid {
  display: grid;
  gap: clamp(0.875rem, 0.5rem + 1vw, 1.5rem);
}
.sides__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 1rem + 2.6vw, 3.5rem);
  border-radius: var(--radius-l);
}
.sides__panel--founders {
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sides__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* the mirror: creators flips its top row, text stays left-aligned for reading */
.sides__panel--creators .sides__top { flex-direction: row-reverse; }
.sides__label { color: var(--accent); }
.sides__glyph {
  width: clamp(3.25rem, 2.5rem + 3vw, 5.5rem);
  color: var(--accent);
  transform: rotate(-22deg);
}
.sides__panel--creators .sides__glyph { transform: rotate(22deg); }
.sides__title {
  margin-top: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  max-width: 15ch;
}
.sides__list {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.sides__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.875rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.35;
}
.sides__bullet { width: 1.75rem; color: var(--accent); }
.sides__cta {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-top: auto;
  padding-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.sides__fine {
  max-width: 46ch;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.sides__panel--creators .sides__fine { color: var(--fg); }   /* AA on pink, see .how__card--2 */

@media (min-width: 900px) {
  .sides__grid { display: flex; align-items: stretch; }
  .sides__panel {
    flex: 1 1 0;
    min-height: clamp(34rem, 72svh, 44rem);
    transition: flex-grow 500ms var(--ease-out);
  }
}
@media (min-width: 900px) and (hover: hover) {
  .sides__panel:hover,
  .sides__panel:focus-within { flex-grow: 1.2; }
}


/* ==========================================================================
   3. WHAT MAKES US DIFFERENT — territory board, rules, pillars
   ========================================================================== */

.diff__head { max-width: none; }
.diff__title { max-width: 21ch; }
@media (min-width: 1024px) {
  .diff__head {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(2rem, 5vw, 6rem);
  }
  .diff__head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .diff__lead { justify-self: end; }
}

.diff__layout {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
@media (min-width: 1100px) {
  .diff__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

/* --- the board ------------------------------------------------------------- */
.diff__board {
  --pad: clamp(1.125rem, 0.75rem + 2vw, 2.5rem);
  position: relative;
  padding: var(--pad);
  border-radius: var(--radius-l);
}
/* room for the Replay button, only when it exists */
html.motion-on:not(.motion-off) .diff__board { padding-bottom: calc(var(--pad) + 3.75rem); }

.diff__figure { margin: 0; }

/* Phones (default): vertical board. Founders on top, creators below, wires
   run down between them. Two equal columns with NO column gap (nodes carry
   their own side margins) so the wire lines sit at exactly 25% and 75%.
   The column headers are dropped here: the node names already say it. */
.diff__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto clamp(5rem, 4rem + 6vw, 7rem) auto;
  grid-template-areas:
    "f1 f2"
    "w  w"
    "ca cb";
}
.diff__colhead { display: none; padding-bottom: 0.5rem; }
.diff__colhead--f { grid-area: fh; }
.diff__colhead--c { grid-area: ch; }

.diff__node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
  margin-inline: 0.3125rem;
  padding: 0.625rem;
  border-radius: var(--radius-m);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* wires must touch the cards: founders sit on the row floor, creators hang from the row top */
.diff__node--f1 { grid-area: f1; align-self: end; }
.diff__node--f2 { grid-area: f2; align-self: end; }
.diff__node--ca { grid-area: ca; align-self: start; }
.diff__node--cb { grid-area: cb; align-self: start; }

/* 640+: horizontal board. Founders | wires | creators. Rows 2 and 3 are
   forced equal (1fr 1fr, no row gap) so the lines sit at 25% and 75%. */
@media (min-width: 640px) {
  .diff__grid {
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 0.7fr) minmax(0, 1.45fr);
    grid-template-rows: auto 1fr 1fr;
    grid-template-areas:
      "fh . ch"
      "f1 w ca"
      "f2 w cb";
  }
  .diff__colhead { display: block; }
  .diff__node {
    align-self: center;
    margin-inline: 0;
    margin-block: 0.5rem;
    padding: 0.75rem 0.875rem;
  }
  .diff__node--f1, .diff__node--f2, .diff__node--ca, .diff__node--cb { align-self: center; }
}

.diff__who { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; }
.diff__avatar { flex: none; width: 0.875rem; height: 0.875rem; }
.diff__avatar--founder { border-radius: 0.2rem; background: var(--pink); }
.diff__avatar--creator { border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--bone); }
.diff__name {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.diff__tag {
  padding: 0.25rem 0.45rem;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
}
.diff__topic {
  min-height: 2rem;
  padding: 0.375rem 0.625rem;
  gap: 0.375rem;
  white-space: normal;
  line-height: 1.25;
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
}
.diff__topic--a { border-color: var(--pink); }
.diff__lock { color: var(--pink); overflow: visible; }
.diff__lock-tag { color: var(--pink); font-size: 0.5625rem; letter-spacing: 0.08em; }
@media (min-width: 640px) {
  .diff__topic { padding: 0.375rem 0.875rem; gap: 0.5rem; font-size: var(--fs-label); letter-spacing: 0.08em; }
  .diff__tag,
  .diff__lock-tag { font-size: 0.625rem; letter-spacing: 0.12em; }
}

/* Wires. Every connector draws by scaling up from the founder end; the
   origin is set here per layout, so js uses one tween for both layouts. */
.diff__wires { grid-area: w; position: relative; }
.diff__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  transform-origin: 50% 0%;
}
.diff__line--a { left: 25%; background: var(--pink); }
.diff__line--b { left: 75%; background: var(--bone); }
/* the blocked reach: from Founder 2 toward Creator A, stopping short.
   The SVG line runs corner to corner of this box, so the box sets the angle. */
.diff__reach {
  position: absolute;
  left: 33%;
  top: 0;
  width: 42%;
  height: 84%;
  overflow: visible;
  transform-origin: 100% 0%;      /* Founder 2's end (top right on phones) */
}
.diff__reach line {
  stroke: var(--bone);
  stroke-opacity: 0.6;
  stroke-width: 2;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}
.diff__mark {
  position: absolute;
  z-index: 2;
  left: 54%;          /* midpoint of the reach line */
  top: 42%;
  transform: translate(-50%, -50%);
}
@media (min-width: 640px) {
  .diff__line {
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
    margin: -1px 0 0;
    transform-origin: 0% 50%;
  }
  .diff__line--a { top: 25%; }
  .diff__line--b { top: 75%; }
  .diff__reach {
    left: 0;
    top: 33%;
    width: 84%;
    height: 42%;
    transform-origin: 0% 100%;    /* Founder 2's end (bottom left) */
  }
  .diff__mark { left: 42%; top: 54%; }
}
.diff__blocked {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem 0.3rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 3px var(--ink);
}
.diff__blocked svg { width: 0.75rem; height: 0.75rem; flex: none; }
@media (min-width: 640px) { .diff__blocked { font-size: var(--fs-label); } }

.diff__caption {
  max-width: 62ch;
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.diff__replay {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  display: none;                 /* shown only when motion is actually running */
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.05rem 0 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
/* .is-ready is added by JS once the board's timeline exists, so this is never a dead button */
html.motion-on:not(.motion-off) .diff__replay.is-ready { display: inline-flex; }
.diff__replay svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform var(--dur-3) var(--ease-out);
}
@media (hover: hover) {
  .diff__replay:hover { background: var(--bone); color: var(--ink); }
  .diff__replay:hover svg { transform: rotate(-180deg); }
}

/* --- rules ------------------------------------------------------------------ */
.diff__rules { border-top: 1.5px solid var(--fg); }
.diff__rule {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: clamp(1.125rem, 0.9rem + 0.8vw, 1.625rem);
  border-bottom: 1px solid var(--line);
}
.diff__num {
  padding-top: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.diff__rule p {
  font-size: var(--fs-lead);
  line-height: 1.38;
  color: var(--muted);
  text-wrap: pretty;
}
.diff__rule strong { color: var(--fg); font-weight: 700; }

/* --- pillars ---------------------------------------------------------------- */
.diff__pillars {
  display: grid;
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .diff__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 6rem); }
}
.diff__pillar { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.diff__pillar-icon { width: 2.25rem; color: var(--accent); }
.diff__pillar p { max-width: 42ch; color: var(--muted); text-wrap: pretty; }


/* ==========================================================================
   4. FAQ — native <details>, height animated by js
   ========================================================================== */

/* extra bottom room: the call-to-action sticker overlaps this section */
.faq { padding-bottom: calc(var(--section-y) + clamp(2.5rem, 1rem + 5vw, 5rem)); }

.faq__layout {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}
@media (min-width: 1024px) {
  .faq__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    column-gap: clamp(3rem, 6vw, 7rem);
  }
  .faq__head {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }
}

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.5rem;
  padding-block: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::marker { content: ""; }
.faq__q {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 700;
  font-size: var(--fs-d3);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--fg);
  transition:
    transform 450ms var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.875rem;
  height: 2px;
  margin: -1px 0 0 -0.4375rem;
  border-radius: 2px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
@media (hover: hover) {
  .faq__summary:hover .faq__icon { background: var(--bone); color: var(--ink); box-shadow: none; }
}
/* plus turns into a cross; .is-closing (js) turns it back as soon as closing starts */
.faq__item[open]:not(.is-closing) .faq__icon {
  transform: rotate(45deg);
  background: var(--pink);
  color: var(--ink);
  box-shadow: none;
}
.faq__body { padding: 0 clamp(0rem, 4vw, 3.75rem) clamp(1.25rem, 1rem + 1vw, 2rem) 0; }
.faq__body p {
  max-width: 56ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}


/* ==========================================================================
   5. FINAL CALL TO ACTION — pink, loud, with the mascot sticker
   ========================================================================== */

.apply {
  --disc: clamp(11rem, 22vw, 20rem);
  /* phones: clear the part of the sticker that hangs below the seam */
  padding-top: calc(var(--disc) * 0.6 + 2rem);
  overflow-x: clip;   /* the rotating ring's corners swing past the right edge; y stays visible for the sticker */
}
@media (min-width: 900px) { .apply { padding-top: var(--section-y); } }

.apply__sticker {
  position: absolute;
  z-index: 2;
  top: 0;
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  width: var(--disc);
  transform: translateY(-40%);   /* straddles the seam with the ink FAQ above */
  pointer-events: none;
}
.apply__disc {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  /* pink rim shows only over the ink section; the drop shadow sits on pink */
  box-shadow: 0 0 0 2px var(--pink), 0 1.5rem 3rem -1.5rem rgba(13, 10, 11, 0.55);
}
.apply__disc > * { grid-area: 1 / 1; }
.apply__ring { width: 100%; height: 100%; overflow: visible; }
.apply__ring-text {
  fill: var(--bone);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}
/* ear tips reach ~0.72 x image width from centre: 52% keeps them inside the text ring */
.apply__mascot { display: grid; place-items: center; width: 50%; }
.apply__mascot .pb-mark { width: 100%; height: auto; }

/* slow idle spin, only while motion runs; html.is-paused pauses it (WCAG 2.2.2) */
html.motion-on:not(.motion-off) .apply__ring { animation: apply-spin 40s linear infinite; }
@keyframes apply-spin { to { transform: rotate(360deg); } }

.apply__inner { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .apply__title { max-width: calc(100% - var(--disc) * 0.75); }
}

.apply__actions {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  margin-top: clamp(2.25rem, 1.5rem + 3vw, 4rem);
}
@media (min-width: 34rem) {
  .apply__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.apply__action { display: grid; gap: 0.75rem; }
.apply__action .btn { width: 100%; justify-content: space-between; }
/* small text on pink is full ink: --muted on pink is under AA (see .how__card--2) */
.apply__cap { padding-left: 1.5rem; color: var(--fg); }
.apply__mail {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--fg);
}
.apply__mail .link { color: var(--fg); font-weight: 600; }


/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.footer {
  position: relative;
  padding-top: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  overflow-x: clip;
}
.footer__top {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 1200px) {
  .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: var(--fs-d2);
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.footer__mark .bone-icon { width: 1.15em; color: var(--pink); }
.footer__line {
  max-width: 26ch;
  margin-top: 1rem;
  font-size: var(--fs-lead);
  line-height: 1.35;
  color: var(--muted);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
@media (min-width: 720px) {
  .footer__cols { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}
.footer__heading { margin-bottom: 0.25rem; }
.footer__links { display: grid; }
.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--fg);
  overflow-wrap: anywhere;
  transition: color var(--dur-2) var(--ease-out);
}
@media (hover: hover) {
  .footer__link:hover { color: var(--pink); }
}
.footer__later {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--muted);
}
.footer__soon {
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--muted);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* the finale: giant wordmark, bottom cropped by the clip */
.footer__giant {
  margin-top: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding-top: 0.04em;
  overflow: hidden;
  overflow: clip;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-weight: 800;
  /* the eight letters measure about 3.09em wide at this tracking, so this fits the word to the content width */
  font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 3.09);
  line-height: 0.8;
  letter-spacing: -0.015em;
  text-align: center;
  white-space: nowrap;
  color: var(--pink);
  user-select: none;
}
.footer__word {
  display: block;
  margin-bottom: -0.07em;   /* how much of the letters' foot the clip crops: tune here */
}
.footer__letter { display: inline-block; }

/* footer brand: the vector logo mark sits before the wordmark and links back to the top */
.footer__home { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__mark .pb-mark { --mark-size: 1.3em; }
