:root {
  --bg: #0a0a0f;
  --surface: #14141f;
  --surface-hover: #1c1c2e;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --cyan: #00bfff;
  --pink: #ff1493;
  --gradient-start: #00bfff;
  --gradient-end: #ff1493;
  --max-width: 960px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,191,255,0.08) 0%, transparent 60%);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 36px;
}
.app-store-badge { height: 52px; transition: transform 0.2s; }
.app-store-badge:hover { transform: scale(1.05); }

/* FEATURES */
.features {
  padding: 80px 0;
}
.features h2 {
  text-align: center; font-size: 36px; font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.features .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* Bento grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}
.feature-card.hero-feature {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 52px;
}
.feature-card.hero-feature .feature-icon {
  font-size: 52px;
  width: 88px; height: 88px; line-height: 88px;
  flex-shrink: 0;
}
.feature-card.hero-feature h3 {
  font-size: 24px; margin-bottom: 12px;
}
.feature-card.hero-feature p {
  font-size: 16px;
}
.feature-card.wide-feature {
  grid-column: 1 / -1;
}

/* Card base */
.feature-card {
  background: linear-gradient(145deg, var(--surface), rgba(20,20,31,0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--cyan)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--card-glow, rgba(0,191,255,0.04)) 0%, transparent 70%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent-border, rgba(0,191,255,0.25));
  box-shadow: 0 12px 40px var(--card-glow, rgba(0,191,255,0.06)), 0 4px 12px rgba(0,0,0,0.3);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  font-size: 40px; margin-bottom: 20px;
  display: inline-block;
  width: 64px; height: 64px;
  line-height: 64px;
  text-align: center;
  background: var(--icon-bg, rgba(0,191,255,0.06));
  border-radius: 16px;
  border: 1px solid var(--icon-border, rgba(0,191,255,0.1));
}
.feature-card h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.6;
}

/* Per-card accent colours */
.card-cyan    { --card-accent: #00bfff; --card-accent-border: rgba(0,191,255,0.25); --card-glow: rgba(0,191,255,0.05); --icon-bg: rgba(0,191,255,0.07); --icon-border: rgba(0,191,255,0.12); }
.card-pink    { --card-accent: #ff1493; --card-accent-border: rgba(255,20,147,0.25); --card-glow: rgba(255,20,147,0.05); --icon-bg: rgba(255,20,147,0.07); --icon-border: rgba(255,20,147,0.12); }
.card-purple  { --card-accent: #a855f7; --card-accent-border: rgba(168,85,247,0.25); --card-glow: rgba(168,85,247,0.05); --icon-bg: rgba(168,85,247,0.07); --icon-border: rgba(168,85,247,0.12); }
.card-green   { --card-accent: #22c55e; --card-accent-border: rgba(34,197,94,0.25);  --card-glow: rgba(34,197,94,0.05);  --icon-bg: rgba(34,197,94,0.07);  --icon-border: rgba(34,197,94,0.12); }
.card-amber   { --card-accent: #f59e0b; --card-accent-border: rgba(245,158,11,0.25); --card-glow: rgba(245,158,11,0.05); --icon-bg: rgba(245,158,11,0.07); --icon-border: rgba(245,158,11,0.12); }
.card-blue    { --card-accent: #3b82f6; --card-accent-border: rgba(59,130,246,0.25);  --card-glow: rgba(59,130,246,0.05);  --icon-bg: rgba(59,130,246,0.07);  --icon-border: rgba(59,130,246,0.12); }

/* Feature banner */
.feature-banner {
  text-align: center;
  padding: 48px 24px;
  margin: 20px 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,191,255,0.08), rgba(255,20,147,0.08));
  border: 1px solid var(--border);
}
.feature-banner p {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}
.feature-banner p .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.hero-feature { flex-direction: column; gap: 20px; padding: 32px 24px; text-align: center; }
  .feature-card.hero-feature .feature-icon { margin-bottom: 0; }
}

/* ============================================================
   SUBPAGES (features / pricing / support) - app-matched theme
   ============================================================ */

.subpage-hero {
  padding: 150px 0 56px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 10%, rgba(0,191,255,0.10) 0%, transparent 55%);
}
.subpage-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,191,255,0.08);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.subpage-hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.subpage-hero h1 .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subpage-hero > .container > p {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* Device frame */
.phone {
  position: relative;
  width: min(300px, 80vw);
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(165deg, #2a2a42 0%, #14141f 45%, #0c0c14 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.55),
    0 0 70px var(--phone-glow, rgba(0,191,255,0.12)),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}
.phone::after {
  content: '';
  position: absolute;
  top: 9px; left: 9px; right: 9px; bottom: 9px;
  border-radius: 36px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: none;
}
.phone.glow-pink   { --phone-glow: rgba(255,20,147,0.12); }
.phone.glow-purple { --phone-glow: rgba(168,85,247,0.14); }
.phone.glow-amber  { --phone-glow: rgba(245,158,11,0.12); }
.phone.glow-green  { --phone-glow: rgba(34,197,94,0.12); }

/* Hero carousel — cover-flow of every people shot. JS moves data-pos;
   without JS the initial HTML attributes render a static five-phone fan. */
.hero-carousel {
  position: relative;
  height: calc(min(300px, 62vw) * 2.26);
  max-width: 1200px;
  margin: 56px auto 0;
  overflow: hidden;
}
.hero-carousel .phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(300px, 62vw);
  margin: 0;
  cursor: pointer;
  transform: translateX(-50%) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition:
    transform 0.7s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.7s ease;
}
.hero-carousel .phone[data-pos="0"] {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 5;
  cursor: default;
  pointer-events: auto;
}
.hero-carousel .phone[data-pos="1"] {
  transform: translateX(calc(-50% + min(250px, 32vw))) translateY(3%) scale(0.78) rotate(4deg);
  opacity: 0.85;
  z-index: 4;
  pointer-events: auto;
}
.hero-carousel .phone[data-pos="-1"] {
  transform: translateX(calc(-50% - min(250px, 32vw))) translateY(3%) scale(0.78) rotate(-4deg);
  opacity: 0.85;
  z-index: 4;
  pointer-events: auto;
}
.hero-carousel .phone[data-pos="2"] {
  transform: translateX(calc(-50% + min(440px, 56vw))) translateY(6%) scale(0.6) rotate(7deg);
  opacity: 0.45;
  z-index: 3;
  pointer-events: auto;
}
.hero-carousel .phone[data-pos="-2"] {
  transform: translateX(calc(-50% - min(440px, 56vw))) translateY(6%) scale(0.6) rotate(-7deg);
  opacity: 0.45;
  z-index: 3;
  pointer-events: auto;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 26px 0 6px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.carousel-dots button.active {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  transform: scale(1.3);
}
@media (max-width: 760px) {
  /* Only centre + immediate neighbours on small screens — the ±2 slots
     would be fully off-canvas anyway. */
  .hero-carousel .phone[data-pos="2"],
  .hero-carousel .phone[data-pos="-2"] { opacity: 0; pointer-events: none; }
}

/* Alternating showcase rows */
.showcase-rows { padding-bottom: 24px; }
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: 76px 0;
  border-top: 1px solid var(--border);
}
.showcase:first-child { border-top: none; }
.showcase .phone-col {
  display: flex;
  justify-content: center;
}
.showcase.flip { grid-template-columns: auto minmax(0, 1fr); }
.showcase.flip .phone-col { order: -1; }
.showcase .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.showcase.accent-pink .eyebrow   { color: var(--pink); }
.showcase.accent-purple .eyebrow { color: #a855f7; }
.showcase.accent-amber .eyebrow  { color: #f59e0b; }
.showcase.accent-green .eyebrow  { color: #22c55e; }
.showcase h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.showcase p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 480px;
}
.showcase p:last-child { margin-bottom: 0; }

/* Level rows inside a showcase */
.level-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.level-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
/* The level badges replicate the app's own mode buttons: white glyph in a
   translucent circle with a soft white ring (wand.and.stars / sparkles /
   the circled "HD" label). */
.level-list .lvl {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 3px solid rgba(255,255,255,0.92);
  margin-top: 2px;
}
.level-list .lvl svg { width: 21px; height: 21px; }
.level-list .lvl.lvl-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.level-list b { display: block; font-size: 15px; margin-bottom: 2px; }
.level-list span:last-child { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* Slider chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip-row span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* Checklist */
.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px; height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
}
.check-list b { color: var(--text); font-weight: 600; }

/* Trio cards (no screenshot) */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0 64px;
}

/* CTA band */
.cta-band {
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(0,191,255,0.18);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,20,147,0.10) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0,191,255,0.08), rgba(255,20,147,0.06));
  padding: 56px 32px;
  margin-bottom: 72px;
}
.cta-band h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
.cta-band h2 .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 auto 28px;
  max-width: 440px;
}

/* Pricing polish */
.pricing-hero-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 28px;
}
.pricing-card .plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,191,255,0.08);
  border: 1px solid rgba(0,191,255,0.18);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}
.pricing-card.featured .plan-tag {
  color: var(--pink);
  background: rgba(255,20,147,0.08);
  border-color: rgba(255,20,147,0.2);
}
.pricing-phone {
  display: flex;
  justify-content: center;
  padding: 56px 0 8px;
}

@media (max-width: 820px) {
  .showcase,
  .showcase.flip {
    grid-template-columns: 1fr;
    padding: 56px 0;
    text-align: center;
  }
  .showcase.flip .phone-col { order: 0; }
  .showcase p { margin-left: auto; margin-right: auto; }
  .level-list { text-align: left; }
  .check-list { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .chip-row { justify-content: center; }
  .trio-grid { grid-template-columns: 1fr; }
}

/* PRICING */
.pricing { padding: 80px 0; }
.pricing h2 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.pricing .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 48px; font-size: 16px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 700px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; text-align: center;
  position: relative; overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0,191,255,0.1);
}
.pricing-badge {
  position: absolute; top: 26px; right: -32px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 5px 40px; transform: rotate(45deg);
  text-align: center;
  letter-spacing: 0.5px;
}
.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; margin: 16px 0 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin: 24px 0; }
.pricing-features li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li::before { content: "✓ "; color: var(--cyan); font-weight: 700; }

/* LEGAL PAGES */
.legal-page {
  padding: 120px 0 80px;
  max-width: 720px; margin: 0 auto;
}
.legal-page h1 {
  font-size: 36px; font-weight: 800; margin-bottom: 8px;
}
.legal-page .last-updated {
  color: var(--text-muted); font-size: 14px; margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 22px; font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-page h3 {
  font-size: 17px; font-weight: 600;
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  color: var(--text-muted); font-size: 15px; line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px; margin-bottom: 16px;
}
.legal-page table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
}
.legal-page th, .legal-page td {
  text-align: left; padding: 10px 14px; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.legal-page th { color: var(--text); font-weight: 600; }
.legal-page td { color: var(--text-muted); }
.legal-page .highlight-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; margin: 20px 0;
}
.legal-page .no-collect { color: var(--pink); }
.legal-page .license-text {
  white-space: pre-wrap;
  /* License bodies contain long unbroken tokens (URLs, repo paths, commit
     hashes up to ~105 chars). pre-wrap alone never breaks inside a token,
     so those lines forced the page wider than a phone viewport and the
     whole body panned horizontally. anywhere lets them break mid-token. */
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 8px 0 28px;
}
.legal-page .license-text a {
  text-decoration: underline;
  word-break: break-all;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
footer .footer-links {
  display: flex; gap: 24px; justify-content: center;
  list-style: none; margin-bottom: 16px; flex-wrap: wrap;
}
footer .footer-links a { color: var(--text-muted); font-size: 13px; }
footer .copyright { color: var(--text-muted); font-size: 12px; }

/* SUPPORT */
.support-page { padding: 120px 0 80px; max-width: 720px; margin: 0 auto; }
.support-page h1 { font-size: 36px; font-weight: 800; margin-bottom: 24px; }
.support-page p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.support-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; margin-bottom: 20px;
}
.support-card h3 { font-size: 18px; margin-bottom: 8px; }
.support-card p { margin-bottom: 0; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 130px 0 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .legal-page, .support-page { padding: 100px 24px 60px; }

  /* Features / Pricing / Support only (.subpage-hero is unused elsewhere).
     Desktop keeps the 150px top pad; on a phone that leaves too much
     empty space under the 64px nav. 110px is a modest lift (~40px). */
  .subpage-hero { padding-top: 110px; }

  /* A heading that is a single long word has nowhere to wrap, so it sets
     the document's minimum width and the whole page can be panned
     sideways - including the nav and every other block on it.
     "Acknowledgements" needs 343px at 36px; a 360px phone leaves 264px.
     Scaling the size with the viewport keeps it on one line at any phone
     width, and break-word is the backstop for narrower screens or large
     accessibility text sizes. */
  .legal-page h1.fit-title {
    font-size: clamp(22px, 7.3vw, 36px);
    overflow-wrap: break-word;
  }

  /* Same overflow, different element: a bare URL in body copy is one
     unbreakable token (terms.html prints this page's 317px-wide URL).
     .license-text was given this treatment already; ordinary paragraphs
     and list items were not. */
  .legal-page p,
  .legal-page li {
    overflow-wrap: break-word;
  }
}
