/* ==================================================================
   jobcracker.xyz — white and grey surfaces, like the side panel.
   The orange is the mascot's and the call to action's, nothing else.
   Product imagery is captured from the real side panel (assets/ui/).
   ================================================================== */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --turn {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

@property --gaze {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  color-scheme: light;
  --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --white: #ffffff;
  --gray: #f4f4f5;
  --gray-2: #ececee;
  --line: #e7e7ea;
  --line-2: #d9d9de;
  --ink: #14161a;
  --ink-2: #3f3f46;
  --muted: #6b6b73;
  --faint: #a1a1aa;

  --brand: #c93f0c;
  --brand-vivid: #fc5c1c;
  --brand-solid: #e4440e;
  --brand-hover: #d23c0b;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1120px;
  --gutter: 24px;
  --header: 64px;
}

/* ── Base ─────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

::selection {
  background: rgba(252, 92, 28, 0.2);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
}

/* ── Brand ────────────────────────────────────────────────────────── */

.wordmark {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.wordmark b {
  font-weight: inherit;
  color: var(--brand-vivid);
}

/* The mascot rig, as in the side panel: body, a face clipped to the
   body's silhouette, two eyes. --turn/--gaze come from site.js. */
.mascot {
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--size, 40px);
  height: var(--size, 40px);
  vertical-align: middle;
}

.mascot__rig,
.mascot__face,
.mascot__layer {
  position: absolute;
  inset: 0;
}

.mascot__layer {
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.mascot__face {
  -webkit-mask: url(/assets/mascot/body-384.webp) 0 0 / 100% 100% no-repeat;
  mask: url(/assets/mascot/body-384.webp) 0 0 / 100% 100% no-repeat;
}

.mascot__face > .mascot__layer {
  translate: calc(var(--turn) * 4%) 0;
}

.mascot__eye {
  position: absolute;
  top: 55.33%;
  width: 8.99%;
  height: 19.18%;
  border-radius: 999px;
  background: #642715;
  transform-origin: 50% 60%;
  translate: calc(var(--turn) * 62%) calc(var(--gaze) * 18%);
}

.mascot__eye--l {
  left: 30.77%;
}

.mascot__eye--r {
  left: 58.57%;
}

.mascot--idle .mascot__eye {
  animation: blink 10s ease-in-out infinite;
}

.mascot--happy .mascot__eye {
  top: 59.5%;
  width: 13%;
  height: 6.5%;
  margin-left: -2%;
  border-radius: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, transparent 40%, #642715 43% 97%, transparent 100%);
}

.mascot--thinking .mascot__eye {
  background-color: transparent;
}

.mascot__bars {
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 190%;
  height: 82%;
  translate: -50% -50%;
}

.mascot--thinking .mascot__bars {
  display: flex;
}

.mascot__bars i {
  width: 26%;
  height: 100%;
  border-radius: 999px;
  background: #642715;
  animation: level 0.7s ease-in-out infinite alternate;
}

.mascot__bars i:nth-child(2) {
  animation-delay: -0.25s;
}

.mascot__bars i:nth-child(3) {
  animation-delay: -0.5s;
}

.mascot--puzzled .mascot__rig {
  animation: search 5.6s var(--ease) infinite;
}

@keyframes blink {
  0%,
  20%,
  23.5%,
  66%,
  69.5%,
  71%,
  74.5%,
  100% {
    scale: 1 1;
  }
  22%,
  68%,
  73% {
    scale: 1 0.1;
  }
}

@keyframes level {
  from {
    scale: 1 0.35;
  }
  to {
    scale: 1 1;
  }
}

@keyframes search {
  0%,
  6%,
  100% {
    --turn: 0;
    --gaze: 0;
  }
  18%,
  38% {
    --turn: -0.8;
    --gaze: -0.5;
  }
  52%,
  72% {
    --turn: 0.8;
    --gaze: -0.5;
  }
  86% {
    --turn: 0;
    --gaze: 0.2;
  }
}

/* ── Buttons ──────────────────────────────────────────────────────── */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    scale 0.2s var(--ease);
}

.btn:active {
  scale: 0.98;
}

.btn--primary {
  background: var(--brand-solid);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(20, 22, 26, 0.1);
}

.btn--primary:hover {
  background: var(--brand-hover);
}

.btn--quiet {
  background: var(--gray);
  color: var(--ink);
}

.btn--quiet:hover {
  background: var(--gray-2);
}

.btn--sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 14.5px;
}

.btn--lg {
  --h: 56px;
  padding: 0 28px;
  font-size: 17px;
}

/* ── Header ───────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--line);
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  text-decoration: none;
}

.brand .mascot {
  --size: 30px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.site-nav a:hover {
  background: var(--gray);
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
  .site-header__row .btn {
    margin-left: auto;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  padding: 56px 0 40px;
  text-align: center;
}

/* The buddy: the mascot, floating over its own shadow. Click it. */
.buddy {
  position: relative;
  display: inline-block;
  width: 208px;
  height: 236px;
  margin-bottom: 20px;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.buddy:focus-visible {
  outline-offset: 8px;
  border-radius: 40px;
}

.buddy__hop {
  position: absolute;
  left: 4px;
  top: 0;
  width: 200px;
  height: 200px;
}

.buddy__float {
  width: 100%;
  height: 100%;
  animation: float 5s ease-in-out infinite;
}

.buddy .mascot {
  --size: 200px;
}

.buddy__shadow {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 116px;
  height: 18px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 22, 26, 0.16), transparent);
  animation: shadow 5s ease-in-out infinite;
}

.buddy.is-hopping .buddy__hop {
  animation: hop 0.7s var(--ease) both;
}

.buddy.is-hopping .buddy__shadow {
  animation: shadow-hop 0.7s var(--ease) both;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes shadow {
  0%,
  100% {
    scale: 1;
    opacity: 1;
  }
  50% {
    scale: 0.86;
    opacity: 0.75;
  }
}

@keyframes hop {
  0% {
    translate: 0 0;
    scale: 1 1;
  }
  14% {
    translate: 0 6px;
    scale: 1.06 0.92;
  }
  45% {
    translate: 0 -46px;
    scale: 0.96 1.05;
  }
  78% {
    translate: 0 0;
    scale: 1.04 0.96;
  }
  100% {
    translate: 0 0;
    scale: 1 1;
  }
}

@keyframes shadow-hop {
  45% {
    scale: 0.55;
    opacity: 0.4;
  }
}

.bubble {
  position: absolute;
  left: 168px;
  top: 6px;
  z-index: 2;
  width: max-content;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 12px 28px -12px rgba(20, 22, 26, 0.28);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  scale: 0.85;
  translate: -6px 6px;
  transform-origin: 0 100%;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    scale 0.35s var(--ease-spring),
    translate 0.35s var(--ease-spring);
}

.bubble.is-on {
  opacity: 1;
  scale: 1;
  translate: 0 0;
}

.hero h1 {
  max-width: 11.5ch;
  margin: 0 auto;
  font-size: clamp(48px, 8.4vw, 100px);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero__lede {
  max-width: 31em;
  margin: 28px auto 0;
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 36px;
}

@media (max-width: 640px) {
  .hero {
    padding: 72px 0 24px;
  }
  .buddy {
    width: 156px;
    height: 178px;
  }
  .buddy__hop {
    width: 150px;
    height: 150px;
    left: 3px;
  }
  .buddy .mascot {
    --size: 150px;
  }
  .buddy__shadow {
    width: 88px;
    height: 14px;
  }
  .bubble {
    left: 50%;
    top: -50px;
    translate: -50% 6px;
    border-radius: 18px;
    transform-origin: 50% 100%;
  }
  .bubble.is-on {
    translate: -50% 0;
  }
  .hero__actions {
    flex-direction: column;
  }
}

/* ── Sections ─────────────────────────────────────────────────────── */

.section {
  padding: 128px 0;
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -0.05em;
}

.lede {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
}

/* A stage holding real UI: the panel's grey canvas under the warm glow
   of the sign-in screen (orange and honey, drifting slowly). */
.stage {
  position: relative;
  isolation: isolate;
  border-radius: 32px;
  background: var(--gray);
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -38%;
  left: 50%;
  width: 130%;
  height: 90%;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 38% 55%, rgba(252, 92, 28, 0.22), transparent),
    radial-gradient(closest-side at 68% 45%, rgba(255, 181, 71, 0.32), transparent);
  filter: blur(12px);
  animation: drift 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  0%,
  100% {
    translate: -50% 0;
  }
  50% {
    translate: -46% 4%;
  }
}

.shot {
  width: calc(354px * var(--zoom, 1.16));
  max-width: 100%;
}

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }
  .stage {
    border-radius: 24px;
  }
}

/* ── Analyze and privacy: alternating rows ───────────────────────── */

.rows {
  display: grid;
  gap: 128px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}

.row--flip > .stage {
  order: 2;
}

.row .stage {
  display: grid;
  place-items: center;
  padding: 56px 24px;
}

@media (max-width: 1000px) {
  .rows {
    gap: 88px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .row > .stage,
  .row--flip > .stage {
    order: 2;
    padding: 28px 12px;
  }
  .row .shot {
    --zoom: 1;
  }
}

/* ── Track: a row whose stage shows the tall Applied list, cropped ── */

.shot--list {
  width: calc(394px * var(--zoom, 1.02));
}

.track .stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-height: 680px;
  padding: 48px 24px 0;
}

.track .stage::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(rgba(244, 244, 245, 0), var(--gray));
  pointer-events: none;
}

@media (max-width: 1000px) {
  .track .stage {
    max-height: 600px;
    padding: 28px 12px 0;
  }
  .shot--list {
    --zoom: 1;
  }
}

/* ── Points under a row's text ───────────────────────────────────── */

.promises {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.promises li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
}

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

.promises strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.textlink span {
  transition: translate 0.2s var(--ease);
}

.textlink:hover span {
  translate: 3px 0;
}

/* ── Pricing ──────────────────────────────────────────────────────── */

.pricing-head {
  text-align: center;
}

.pricing-head .lede {
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
}

/* The billing switch: one segmented control, savings in green. */
.period {
  display: inline-flex;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border-radius: 999px;
  background: var(--gray);
}

.period button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.period button:hover {
  color: var(--ink);
}

.period button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--white);
}

.period small {
  padding: 1px 6px;
  border-radius: 999px;
  background: #e3f6ee;
  color: #0e8f63;
  font-size: 11.5px;
  font-weight: 800;
}

@media (max-width: 420px) {
  .period button {
    padding: 8px 11px;
    font-size: 14px;
  }
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 48px auto 0;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 28px;
  background: var(--gray);
}

.plan--pro {
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 48px -28px rgba(20, 22, 26, 0.25);
}

.plan__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* The Pro badge from the side panel, sentence case. */
.probadge {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(110deg, #e4440e 0%, #fc5c1c 35%, #ffb547 55%, #fc5c1c 75%, #e4440e 100%) 0 0 / 250% 100%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 0 rgba(140, 40, 5, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 14px -6px rgba(252, 92, 28, 0.85);
  animation: holo 6s ease-in-out infinite;
}

@keyframes holo {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}

.plan__amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan__per {
  color: var(--muted);
  font-weight: 600;
}

.plan__sub {
  min-height: 1.6em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.plan ul {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.plan li {
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 16px;
}

.plan--pro li {
  border-top-color: var(--line);
}

.plan .btn {
  margin-top: auto;
}

.plan .btn--quiet {
  background: var(--white);
}

.plan .btn--quiet:hover {
  background: var(--gray-2);
}


@media (max-width: 760px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan {
    padding: 28px;
  }
}

/* ── FAQ ──────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.faq__aside p {
  margin-top: 16px;
  color: var(--muted);
}

.faq__aside a {
  color: var(--ink);
  font-weight: 600;
}

.faq__list {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 2px 100% no-repeat;
  transition: rotate 0.3s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .faq details p {
    padding-right: 0;
  }
}

/* ── Footer ───────────────────────────────────────────────────────── */

.site-footer {
  padding: 56px 0 48px;
  background: var(--gray);
  color: var(--muted);
  font-size: 15px;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__tag {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.site-footer nav a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.site-footer__fine {
  margin-top: 48px;
  font-size: 13.5px;
}

/* ── Legal pages ──────────────────────────────────────────────────── */

.legal {
  padding: 72px 0 128px;
}

.legal__head,
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.legal__head h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.legal__updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.legal__summary {
  margin: 32px 0 48px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--gray);
}

.legal__summary strong {
  display: block;
  margin-bottom: 8px;
}

.legal__summary ul {
  margin: 0;
  padding-left: 20px;
}

.legal__summary li + li {
  margin-top: 4px;
}

.prose {
  color: var(--ink-2);
}

.prose a,
.legal__summary a {
  color: var(--brand);
  text-underline-offset: 3px;
}

.prose h2 {
  margin: 48px 0 14px;
  color: var(--ink);
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.prose h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.prose p,
.prose ul {
  margin: 0 0 16px;
}

.prose ul {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--ink);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 16px;
}

.prose table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 15px;
}

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

.prose th {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* ── Small pages (install, 404) ───────────────────────────────────── */

.notice {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header) - 220px);
  padding: 72px 0;
  text-align: center;
}

.notice .mascot {
  --size: 140px;
  margin-bottom: 28px;
}

.notice h1 {
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.05em;
}

.notice p {
  max-width: 30em;
  margin: 16px auto 0;
  color: var(--ink-2);
  font-size: 18px;
}

.notice p a {
  color: var(--brand);
}

.notice .hero__actions {
  margin-top: 32px;
}

/* ── Scroll reveal (site.js adds .reveal below the fold) ──────────── */

.reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.9s var(--ease),
    translate 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
