/* VisageScape landing page
   Profile-driven visual studio: one warm accent, clean bold headings, image-forward.
   Identity comes from the logo + caption yellow. The comic newsprint skin has been
   retired so the site can carry every world a profile renders, not just comics.
   Design tokens pulled from brand/DESIGN.md. */

/* ---------- Fonts (self-hosted, latin) ---------- */
/* Bangers is now reserved for the wordmark only, so it reads as the brand mark,
   not as a "this is a comic app" signal on every heading. */
@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bangers-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800; /* variable */
  font-display: swap;
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FAF6EF;         /* warm off-white, calmer than the old newsprint */
  --surface: #FFFFFF;
  --inset: #F2ECE1;
  --ink: #201913;
  --ink-soft: #57503F;      /* AA on paper */
  --ink-muted: #6E6557;
  --accent: #FFC42E;
  --accent-deep: #E8A400;   /* for hairline accent lines / small text on paper */
  --on-accent: #201913;
  --error: #C0392F;
  --success: #3E7C4F;

  --border: rgba(32, 25, 19, 0.12);
  --border-strong: rgba(32, 25, 19, 0.22);
  --shadow-sm: 0 1px 2px rgba(32, 25, 19, 0.04), 0 4px 14px rgba(32, 25, 19, 0.06);
  --shadow-md: 0 6px 18px rgba(32, 25, 19, 0.08), 0 18px 46px rgba(32, 25, 19, 0.10);
  --shadow-lift: 0 10px 30px rgba(32, 25, 19, 0.12), 0 30px 70px rgba(32, 25, 19, 0.12);
  --focus: #201913;

  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 20px;

  --wordmark: "Bangers", "Comic Sans MS", cursive;   /* brand mark only */
  --display: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15110B;
    --surface: #211A12;
    --inset: #100C07;
    --ink: #F4EDE2;
    --ink-soft: #CDC2B1;
    --ink-muted: #A99C88;
    --accent: #FFC42E;
    --accent-deep: #FFD466;
    --on-accent: #201913;
    --error: #E0645C;
    --success: #6FAF7F;

    --border: rgba(244, 237, 226, 0.14);
    --border-strong: rgba(244, 237, 226, 0.28);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lift: 0 14px 44px rgba(0, 0, 0, 0.55);
    --focus: #FFC42E;
  }
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { left: 0; }

:where(a, button, input):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.42em 0.9em;
}
.eyebrow::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 999px;
  background: var(--accent);
}

/* Headings now use the clean bold face, not the comic display face. */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* soft yellow underline behind a keyword, calmer than the old marker block */
.hl {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 85%, transparent) 62%);
  padding: 0 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.92em 1.4em;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
  padding: 0.62em 1.1em;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.brand .wordmark {
  font-family: var(--wordmark);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.02em;
  padding-top: 0.12em; /* Bangers optical baseline */
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.section-head .kicker {
  display: block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 6vw, 4rem); }
.hero .wrap {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 7.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 0;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.06rem, 2.1vw, 1.26rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 1.1rem 0 1.8rem;
}

/* Fan-out hero art: a source moment, rendered into a fan of worlds. Each card is
   tagged with the world/style name. Swap these for a real
   same-photo-multiple-styles export from the app to make it literally true. */
.hero-fan {
  --card-w: min(220px, 40vw);
  justify-self: center;
  position: relative;
  width: min(480px, 92vw);
  aspect-ratio: 1 / 0.86;
}
/* Aspect-ratio lives on the figure (a block box), which sizes reliably; the
   image just fills it and crops. Putting the ratio on the <img> itself is
   ignored when the tag also carries width/height attributes. */
.hero-fan .fan-card {
  position: absolute;
  width: var(--card-w);
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform-origin: bottom center;
}
.hero-fan .fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-fan .fan-tag {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22em 0.7em;
}
/* three fanned world cards */
.hero-fan .card-1 { left: 3%;  top: 22%; transform: rotate(-9deg); z-index: 1; }
.hero-fan .card-2 { left: 27%; top: 8%;  transform: rotate(-1deg); z-index: 2; }
.hero-fan .card-3 { left: 51%; top: 20%; transform: rotate(8deg);  z-index: 1; }
/* the source moment badge, square, front-left */
.hero-fan .fan-source {
  position: absolute;
  left: 4%;
  bottom: 2%;
  z-index: 3;
  width: calc(var(--card-w) * 0.62);
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.hero-fan .fan-source img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-fan .fan-source .src-tag {
  position: absolute; top: 0.4rem; left: 0.4rem;
  font-weight: 800; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent);
  border-radius: 999px; padding: 0.15em 0.6em;
}

/* ---------- Signup form (reused) ---------- */
.signup {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  max-width: 440px;
}
.signup .field { display: flex; flex-direction: column; gap: 0.35rem; }
.signup label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.signup input[type="email"] {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--inset);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.signup input[type="email"]::placeholder { color: var(--ink-muted); }
.signup input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
  outline: none;
}
.signup input[aria-invalid="true"],
.signup input[aria-invalid="true"]:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 35%, transparent);
}

/* honeypot: kept in the DOM, hidden from people */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--error); }
.form-status:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.45em;
  border-radius: 999px;
  vertical-align: baseline;
  background: currentColor;
}

.form-note {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0.9rem 0 0;
  max-width: 40ch;
}

/* ---------- Features ---------- */
.features { padding-block: clamp(3rem, 8vw, 6rem); }
.feature-list { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.feature {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.feature-copy h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.feature-copy p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
  font-size: 1.05rem;
}
.feature-copy .tag {
  display: inline-block;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

/* clean framed screenshot, hairline border + soft shadow (no sticker edge) */
.panel {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 2880 / 1960;
  object-fit: cover;
}
.panel .panel-tab {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28em 0.7em;
}

/* ---------- How it works ---------- */
.howto { padding-block: clamp(2rem, 5vw, 4rem); }
.howto .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.howto .section-head h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.steps {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 3.6rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.step h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}
.step p { margin: 0; color: var(--ink-soft); max-width: 34ch; }

/* ---------- Worlds (profiles) ---------- */
.worlds { padding-block: clamp(3rem, 7vw, 5.5rem); }
.worlds .section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0.7rem 0 0;
  max-width: 56ch;
}
.world-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}
.world {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.world:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.world-art {
  margin: 0;
  background: var(--inset);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.world-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.world-body { padding: 1.3rem 1.4rem 1.5rem; }
.world .chip {
  display: inline-block;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 7px;
  padding: 0.28em 0.62em;
  margin-bottom: 0.9rem;
}
.world h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.world p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.world .makes {
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.world .makes b { color: var(--ink); font-weight: 800; }

/* small note under the worlds grid about building your own */
.worlds-note {
  margin: clamp(1.5rem, 4vw, 2.6rem) 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.worlds-note b { color: var(--ink); font-weight: 800; }

/* ---------- Beta band ---------- */
.beta-band { padding-block: clamp(1rem, 3vw, 2rem); }
.beta-inner {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.8rem, 5vw, 3.2rem);
  text-align: center;
}
.beta-inner h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.beta-inner p {
  margin: 0 auto;
  max-width: 52ch;
  font-weight: 600;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: color-mix(in srgb, var(--on-accent) 82%, transparent);
}

/* ---------- Signup section ---------- */
.signup-section { padding-block: clamp(3rem, 8vw, 6rem); }
.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.8rem, 5vw, 3.2rem);
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.signup-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.signup-card > p { color: var(--ink-soft); margin: 0 auto 1.6rem; max-width: 40ch; }
.signup-card .signup { margin-inline: auto; text-align: left; }
.privacy-line {
  margin: 1.3rem auto 0;
  max-width: 46ch;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.privacy-line a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer .foot-brand .wordmark {
  font-family: var(--wordmark);
  font-size: 1.7rem;
  line-height: 1;
}
.site-footer .foot-brand p {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  align-items: center;
}
.site-footer a { color: var(--ink); text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copyright {
  width: 100%;
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* ---------- Legal / prose page ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.legal .updated { color: var(--ink-muted); font-size: 0.92rem; margin: 0 0 2rem; }
.legal h2 {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 2rem 0 0.5rem;
}
.legal p { color: var(--ink-soft); margin: 0 0 1rem; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal .lead { font-size: 1.1rem; color: var(--ink); }
.legal .back {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.legal .back:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .world-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1.02fr 0.98fr; }
  .hero-fan { width: min(500px, 46vw); }

  .feature { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(even) .feature-copy { order: 2; }

  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .feature { gap: 4rem; }
  .world-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover, .btn-primary:active { transform: none; }
}

/* =====================================================================
   Production polish (added in the full rebuild)
   Small craft details layered on the design system above: platform pills,
   a soft depth glow behind the hero fan, a one-line value strip, and a
   lightweight footer/brand lockup. Nothing here reintroduces the comic skin.
   ===================================================================== */

/* Platform line under the hero form: quiet, factual, on-brand. */
.platforms {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 1.1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.platforms .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--ink-muted); opacity: 0.6; }
.platforms .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 800;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.28em 0.75em;
  font-size: 0.82rem;
}

/* A soft, calm depth glow behind the fan so it lifts off the paper without
   the old hard sticker shadow. Purely decorative. */
.hero-fan::before {
  content: "";
  position: absolute;
  inset: 8% 6% 6% 10%;
  border-radius: 40%;
  background: radial-gradient(60% 55% at 55% 45%,
    color-mix(in srgb, var(--accent) 30%, transparent) 0%,
    transparent 70%);
  filter: blur(26px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.hero-fan .fan-card, .hero-fan .fan-source { z-index: 1; }
.hero-fan .fan-card.card-2 { z-index: 2; }
.hero-fan .fan-source { z-index: 3; }

/* One-line value strip: the thesis in a sentence, between hero and the
   expression grid. Restrained, centered, a single accent word allowed. */
.thesis {
  padding-block: clamp(1.4rem, 4vw, 2.6rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.thesis p {
  margin: 0 auto;
  max-width: 40ch;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  color: var(--ink);
}
.thesis .hl { font-weight: 800; }

/* Section kicker spacing already defined; ensure consistent block usage. */
.features .section-head, .howto .section-head { max-width: 640px; }

/* Footer brand mark: put the logo beside the wordmark for a proper lockup. */
.site-footer .foot-brand { display: flex; flex-direction: column; gap: 0.1rem; }
.site-footer .foot-lockup { display: inline-flex; align-items: center; gap: 0.55rem; }
.site-footer .foot-lockup img { width: 30px; height: 30px; border-radius: 8px; }
