/* ==========================================================================
   Plumo · website (landing, help, privacy policy)
   Same build as the other app sites (Rarqio, One of Us, LastHit): static,
   no build step, system fonts only. Plumo's yellow (the icon, #FFC24B) is the
   one accent on a warm dark ground, like the launch film; green and red only
   appear where the app uses them (keep, delete).
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #121113;
  --surface: #1d1b1f;
  --raised: #2a272c;
  --text: #f6f2ea;
  --muted: #aaa49a;
  --ink: #1a1508;
  --yellow: #ffc24b;
  --yellow-edge: #a7791a;
  --glow: rgba(255, 194, 75, 0.16);
  --green: #34c759;
  --red: #ff4f43;

  --line: rgba(246, 242, 234, 0.09);
  --line-strong: rgba(246, 242, 234, 0.18);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
}

/* ---------- Language switching ----------
   Every translatable piece exists three times: lang="en", lang="fr" and
   lang="es". lang.js sets data-lang before first paint; without JS the page
   is English. */
html:not([data-lang="fr"]) body [lang="fr"],
html:not([data-lang="es"]) body [lang="es"],
html[data-lang="fr"] body [lang="en"],
html[data-lang="es"] body [lang="en"] {
  display: none !important;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

/* Smooth in-page jumps, switched on by script.js after load so that
   arriving on #support or #privacy from the app or the App Store lands at once. */
@media (prefers-reduced-motion: no-preference) {
  html.smooth-scroll {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.005em;
}

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

p + p {
  margin-top: 0.9em;
}

a {
  color: var(--text);
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yellow);
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(860px, 100% - 32px);
}

.muted {
  color: var(--muted);
}

.needs-js {
  display: none;
}

.js .needs-js {
  display: block;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 17, 19, 0.94);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

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

.lang-switch {
  display: none;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}

.js .lang-switch {
  display: inline-flex;
}

.lang-switch button {
  min-width: 40px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 0.8rem/1 var(--font);
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Shared type ---------- */
.eyebrow {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}

.section-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
}

.note-small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hl {
  color: var(--yellow);
}

/* Single-column grids get an explicit minmax(0, 1fr) track: an implicit "auto"
   track would grow to fit unbreakable content and widen the page. */
.hero-grid,
.feature-grid,
.support-grid,
.footer-grid,
.launch,
.promise,
.plans,
.faq,
.gestures {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
}

/* The warm glows of the launch film, behind the opening. */
.hero::before {
  content: "";
  position: absolute;
  inset: -64px 0 0;
  z-index: -1;
  background:
    radial-gradient(42% 52% at 78% 38%, rgba(255, 194, 75, 0.17), transparent 70%),
    radial-gradient(34% 44% at 12% 20%, rgba(214, 120, 52, 0.12), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.hero h1 .line {
  display: block;
}

.lede {
  max-width: 34em;
  margin-top: 26px;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 34px;
}

.soon {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1.5px solid var(--yellow);
  border-radius: 14px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-film {
  margin: 0;
}

.status-note {
  flex-basis: 100%;
  margin: 0;
  max-width: 30em;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.facts-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 28px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
}

.facts-inline li + li::before {
  content: "·";
  margin-inline: 10px;
  color: var(--muted);
}

/* A laptop window is short: the whole opening stays in view. */
@media (min-width: 960px) and (max-height: 800px) {
  .hero {
    padding-top: 56px;
  }
}

/* Two phones: the library behind on the left, a photo being sorted in front. */
.hero-visual {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
}

.hero-visual .device-front {
  position: relative;
  z-index: 2;
  width: 58%;
  margin-top: 20%;
  margin-left: auto;
}

.hero-visual .device-back {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 54%;
}

.film-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.film-link:hover {
  color: var(--yellow);
}

.film-link-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 3px 0 var(--yellow-edge);
  color: var(--ink);
}

.film-link-disc svg {
  margin-left: 2px;
}

/* ---------- Phone frame (CSS only) ----------
   Screen corners 13.5% / 6.2%, Dynamic Island 31% wide, 4.2% tall, 1.3% from
   the top of the screen. The bezel is 3.2% of the phone's width; the outer
   radius is the screen radius plus the bezel. */
.device {
  margin: 0;
}

.phone {
  padding: 3.2%;
  border-radius: 15.8% / 7.55%;
  background: #08080a;
  box-shadow:
    inset 0 0 0 1px rgba(246, 242, 234, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 70px -30px rgba(0, 0, 0, 0.8);
}

.screen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 900 / 1957;
  border-radius: 13.5% / 6.2%;
  background: #f2f2f7;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island {
  position: absolute;
  z-index: 1;
  top: 1.3%;
  left: 50%;
  width: 31%;
  height: 4.2%;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.device figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- Film ----------
   The launch film, behind its poster until someone asks for it (see script.js).
   The frame takes the shape of the cut that will play: 16:9, or 9:16 on an
   upright screen, and never stands taller than the window. */
.film-head {
  margin-inline: auto;
  max-width: 44em;
  text-align: center;
}

.film-head .section-lede {
  margin-inline: auto;
}

.film-frame {
  position: relative;
  margin: clamp(32px, 5vw, 56px) auto 0;
  width: 100%;
  width: min(100%, calc((100svh - 150px) * 16 / 9));
  min-width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 60px 120px -50px rgba(0, 0, 0, 0.9),
    0 0 170px -50px rgba(255, 194, 75, 0.34);
}

.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.film-cover {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}

.film-cover picture,
.film-cover img {
  display: block;
  width: 100%;
  height: 100%;
}

.film-cover img {
  object-fit: cover;
}

.film-frame[data-state="playing"] .film-cover {
  opacity: 0;
  pointer-events: none;
}

.film-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Plumo's poster carries its tagline low: the button sits under it. */
  padding: 0 16px 3.2%;
  border: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 17, 19, 0.55));
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.film-play:focus-visible {
  outline: none;
}

.film-play-disc {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(58px, 6.2vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--yellow-edge), 0 22px 50px -14px rgba(255, 194, 75, 0.7);
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.4, 1);
}

.film-play-disc svg {
  width: 42%;
  height: auto;
  margin-left: 4px;
}

.film-play:hover .film-play-disc {
  transform: scale(1.07);
}

.film-play:focus-visible .film-play-disc {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

.film-play-text {
  margin-left: 14px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 17, 19, 0.66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: clamp(0.95rem, 1.3vw, 1.06rem);
  font-weight: 700;
  white-space: nowrap;
}

.film-time {
  margin-left: 8px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.film-when-ended {
  display: none;
}

.film-frame[data-state="ended"] .film-when-idle {
  display: none;
}

.film-frame[data-state="ended"] .film-when-ended {
  display: inline;
}

.film-note {
  margin: 22px auto 0;
  max-width: 44em;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .film-play-disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 194, 75, 0.55);
    border-radius: 50%;
    animation: film-halo 2.6s ease-out infinite;
  }
}

@keyframes film-halo {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.7); opacity: 0; }
}

@media (orientation: portrait) {
  .film-frame {
    aspect-ratio: 9 / 16;
    width: min(100%, calc((100svh - 130px) * 9 / 16));
    min-width: min(100%, 300px);
  }

  .film-play {
    padding-bottom: 12%;
  }
}

@media (max-width: 620px) {
  .film-play-text {
    margin-left: 10px;
    padding: 8px 14px;
  }
}

/* ---------- Text + phones sections ---------- */
.feature-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .feature-grid.reverse .feature-copy {
    order: 2;
  }
}

.feature-copy h2 {
  margin-bottom: 24px;
}

.feature-copy > p:not(.eyebrow):not(.note-small):not(.plan-tag) {
  max-width: 36em;
  color: var(--muted);
  font-size: 1.0625rem;
}

.feature-copy > p strong {
  color: var(--text);
}

.feature-visual.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 32px);
  width: min(100%, 560px);
  margin-inline: auto;
}

.feature-visual.pair .device:nth-child(2) {
  margin-top: 16%;
}

.feature-visual.single {
  width: min(78%, 320px);
  margin-inline: auto;
}

/* The gestures: one row per swipe, its arrow in a coloured tile. */
.gestures {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.gestures li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.gesture-key {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--raised);
  color: var(--text);
}

.gesture-key svg {
  width: 22px;
  height: 22px;
}

.gesture-key.delete {
  background: rgba(255, 79, 67, 0.16);
  color: var(--red);
}

.gesture-key.keep {
  background: rgba(52, 199, 89, 0.16);
  color: var(--green);
}

.gesture-key.fav {
  background: rgba(255, 194, 75, 0.16);
  color: var(--yellow);
}

.gestures h3 {
  font-size: 1.125rem;
}

.gestures p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Lists of what a band of the app does */
.ticks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.ticks li strong {
  color: var(--text);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--yellow);
  border-bottom: 2.5px solid var(--yellow);
  transform: rotate(-45deg);
}

/* Which plan a tool needs, as on the App Store screenshots. */
.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 194, 75, 0.12);
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
}

.plan-tag + .note-small {
  margin-top: 12px;
}

/* ---------- Promise (privacy in three cards) ---------- */
.promise-head {
  max-width: 44em;
  margin-inline: auto;
  text-align: center;
}

.promise-head .section-lede {
  margin-inline: auto;
}

.promise {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}

@media (min-width: 820px) {
  .promise {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.promise-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(255, 194, 75, 0.14);
  color: var(--yellow);
}

.promise-icon svg {
  width: 22px;
  height: 22px;
}

.promise-card h3 {
  margin-bottom: 10px;
  font-size: 1.1875rem;
}

.promise-card p {
  color: var(--muted);
  font-size: 0.9875rem;
}

.promise-more {
  margin-top: 30px;
  text-align: center;
  font-weight: 700;
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
}

.plan.top {
  border-color: rgba(255, 194, 75, 0.45);
}

.plan-name {
  font-size: 1.3rem;
}

.plan-who {
  margin-top: 6px;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
}

.plan .ticks {
  margin-top: 18px;
}

.plans-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

/* ---------- Launch band ---------- */
.launch {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(255, 194, 75, 0.14), transparent 70%),
    var(--surface);
}

@media (min-width: 720px) {
  .launch {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
  }
}

.launch-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.launch h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.launch p:not(.soon) {
  color: var(--muted);
}

.launch .soon,
.launch .appstore {
  justify-self: start;
}

/* App Store button: used from launch day (tools/launch.py swaps it in). */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 22px 9px 18px;
  border-radius: 14px;
  background: var(--text);
  color: #000;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.appstore:hover {
  color: #000;
  transform: translateY(-1px);
}

.appstore .apple {
  flex: none;
}

.appstore-text > span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.appstore-text small {
  font-size: 0.72rem;
  font-weight: 600;
}

.appstore-text strong {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .appstore,
  .appstore:hover {
    transform: none;
    transition: none;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--yellow);
  border-bottom: 2.5px solid var(--yellow);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  margin-top: -3px;
  transform: rotate(-135deg);
}

.faq summary:hover {
  color: var(--yellow);
}

.answer {
  padding-bottom: 22px;
  color: var(--muted);
}

.answer strong {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

/* ---------- Support ---------- */
.support-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 720px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .support-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .support-grid .card:last-child {
    grid-column: auto;
  }
}

.card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.card > p:not(.muted) {
  color: var(--muted);
}

.card strong {
  color: var(--text);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contact-card h3 {
  margin-bottom: 4px;
}

.email {
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--yellow-edge);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary:hover {
  color: var(--ink);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--yellow-edge);
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  counter-reset: item;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  counter-increment: item;
}

.checklist li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--raised);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Privacy ---------- */
.date-chip {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.policy {
  margin-top: 36px;
}

.policy h3 {
  margin: 30px 0 10px;
  font-size: 1.1875rem;
}

.policy > p {
  color: var(--muted);
}

.policy > p strong {
  color: var(--text);
}

.tldr {
  margin-bottom: 26px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--yellow);
}

.tldr p {
  color: var(--text);
  font-size: 1.0625rem;
}

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

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    column-gap: 56px;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

.footer-brand .muted {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-legal {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-legal .tiny {
  margin-top: 6px;
  font-size: 0.8125rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
  html {
    scroll-padding-top: 116px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0 16px;
    min-height: 0;
    padding-top: 12px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    gap: 20px;
    margin: 0;
    padding: 12px 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 479px) {
  body {
    font-size: 1rem;
  }

  /* Keep Help and Privacy in view on phones; the rest is one scroll away. */
  .nav-optional {
    display: none;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-visual {
    width: min(100%, 360px);
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .hero-visual,
  .feature-visual,
  .film-section,
  .hero-film,
  .skip-link {
    display: none !important;
  }

  html,
  body {
    background: #fff;
    color: #000;
  }
}
