/* KUCKEN site. Values from site/design/F-FramedRoom.reference.html and the handoff (§4). */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/Unbounded-wordmark.woff2") format("woff2");
  font-weight: 200 900;
  font-display: block; /* 1.7 KB, the wordmark only */
}

/* The accent is registered so a theme change can fade (see .theme-ready below). */
@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #FF8A1F;
}

:root {
  --bg: #15110E;
  --surface: #1E1915;
  --surface-2: #2A231D;
  --poster: #231D18;
  --screen: #1A1512;
  --bezel: #0B0908;
  --text: #F5F2EE;
  --text-2: #B3A99F;
  --hairline: rgba(255,255,255,0.08);
  --rule: rgba(255,255,255,0.12);
  --track: rgba(255,255,255,0.1);
  --glass: rgba(255,255,255,0.08);
  --on-accent: #15110E;
  --logo-orange: #FF7A00;
  --radius-card: 16px;
  --radius-poster: 12px;
  --radius-pill: 999px;

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  color-scheme: dark;
}

/* Themes: the one place for accent colours. The swatches use these too. */
[data-theme="oranje"]   { --accent: #FF8A1F; }
[data-theme="sage"]     { --accent: #ACCB9C; }
[data-theme="ocean"]    { --accent: #8CC3E6; }
[data-theme="clay"]     { --accent: #E8A48C; }
[data-theme="plum"]     { --accent: #CDAFDA; }
[data-theme="graphite"] { --accent: #C9D0D8; }

:root.theme-ready { transition: --accent 300ms ease; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 72px; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2);
}
.h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.01em;
}
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.25; }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-2); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack--16 { gap: 16px; }
.stack--20 { gap: 20px; }
.center { align-items: center; text-align: center; }

/* Buttons. Touch targets at least 44px. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 0 48px color-mix(in srgb, var(--accent) 50%, transparent);
}
.btn:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }

/* Progress bars: 4px, in the accent. */
.bar { height: 4px; border-radius: var(--radius-pill); background: var(--track); }
.bar > i {
  display: block; height: 4px; border-radius: var(--radius-pill);
  width: var(--p, 0%); background: var(--accent);
}
.bar--glow > i { box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }

/* Initials tiles stand in for missing artwork. */
.tile {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--surface-2); color: var(--text-2); font-weight: 700;
}

/* Viewfinder corners: a frame drawn from four (or two) rounded corners in the accent. */
.frame { position: relative; }
.corner {
  position: absolute; width: var(--c-size); height: var(--c-size);
  border: 0 solid var(--accent); pointer-events: none;
}
.corner--tl { top: 0; left: 0; border-top-width: var(--c-w); border-left-width: var(--c-w); border-top-left-radius: var(--c-r); }
.corner--tr { top: 0; right: 0; border-top-width: var(--c-w); border-right-width: var(--c-w); border-top-right-radius: var(--c-r); }
.corner--bl { bottom: 0; left: 0; border-bottom-width: var(--c-w); border-left-width: var(--c-w); border-bottom-left-radius: var(--c-r); }
.corner--br { bottom: 0; right: 0; border-bottom-width: var(--c-w); border-right-width: var(--c-w); border-bottom-right-radius: var(--c-r); }

/* ---------- Header ---------- */

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; }
.wordmark { font-family: "Unbounded", var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
@media (max-width: 419px) {
  /* On phones the hero's "Get notified at launch" is just below; the header keeps two rows. */
  .site-header .btn--small { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding-top: 24px; padding-bottom: 72px; }
.hero .frame {
  --c-size: clamp(48px, 16vw, 96px); --c-w: clamp(5px, 1.6vw, 8px); --c-r: clamp(24px, 7vw, 40px);
  padding: clamp(56px, 7vw, 104px) clamp(8px, 3vw, 24px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
}
.hero .corner { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 60%, transparent)); }
.hero-glow {
  position: absolute; top: 4%; left: 50%; width: 760px; max-width: 100%; height: 460px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--accent) 36%, transparent),
    color-mix(in srgb, var(--accent) 8%, transparent) 60%, transparent);
}
.hero .frame > :not(.corner):not(.hero-glow) { position: relative; }
.play {
  width: clamp(88px, 24vw, 120px); height: auto;
  filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 55%, transparent));
}
.hero .h1 { margin-top: 8px; max-width: 900px; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); }

.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 2.4vw, 14px); border: 0; margin: 0; padding: 0; }
.swatch {
  width: clamp(44px, 11vw, 48px); height: clamp(44px, 11vw, 48px); padding: 0; border-radius: var(--radius-pill);
  border: 3px solid var(--bg); background: var(--accent); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
  transition: box-shadow 300ms ease;
}
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--accent), 0 0 28px color-mix(in srgb, var(--accent) 70%, transparent);
}
.swatch:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; border-radius: var(--radius-pill); }
.pick { font-size: 14px; color: var(--text-2); }
.pick strong { color: var(--text); font-weight: 600; }

/* ---------- Your playlist, your colour ---------- */

.showcase {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 48px; padding-top: 40px; padding-bottom: 88px;
}
.phone {
  flex: 0 0 250px; width: 250px; height: 520px;
  border-radius: 40px; border: 8px solid var(--bezel); background: var(--screen);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--accent) 24%, transparent);
  padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 10px;
}
.phone-title { font-family: var(--font-display); font-weight: 800; font-size: 24px; padding: 0 6px; }
.phone-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; }
.phone-row .tile { width: 36px; height: 36px; border-radius: 9px; font-size: 12px; }
.phone-row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.phone-row .name { font-weight: 600; font-size: 14px; }
.tabbar {
  margin-top: auto; height: 52px; border-radius: var(--radius-pill); background: var(--glass);
  display: flex; align-items: center; justify-content: space-around; font-size: 10px; color: var(--text-2);
}
.tabbar .on { color: var(--accent); font-weight: 700; }

.showcase-text { flex: 1 1 520px; max-width: 760px; min-width: 0; }
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.poster { display: flex; flex-direction: column; gap: 8px; }
.poster .art {
  aspect-ratio: 2 / 3; border-radius: var(--radius-poster); background: var(--poster);
  border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--text-2);
}
.poster .title { font-size: 13px; font-weight: 600; }
@media (max-width: 639px) {
  .posters {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px;
  }
  .poster { flex: 0 0 120px; scroll-snap-align: start; }
}

/* ---------- All your devices ---------- */

.devices-head { max-width: 620px; margin: 0 auto 48px; }
.devices {
  display: flex; align-items: flex-end; gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: -24px; padding: 24px 24px 40px; scroll-padding-inline: 24px;
}
@media (max-width: 759px) {
  .screen--tv, .screen--ipad, .screen--iphone { box-shadow: 0 12px 36px color-mix(in srgb, var(--accent) 20%, transparent); }
  .devices-head { margin-bottom: 24px; }
}
.device { display: flex; flex-direction: column; align-items: center; gap: 12px; scroll-snap-align: center; }
.device .label { font-size: 13px; color: var(--text-2); }
.device--tv { flex: 0 0 85%; }
.device--ipad { flex: 0 0 70%; }
.device--iphone { flex: 0 0 140px; }
.screen {
  width: 100%; border: 6px solid var(--bezel); background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.screen--tv {
  aspect-ratio: 16 / 9; border-radius: 12px; padding: clamp(16px, 3vw, 28px); gap: 10px;
  box-shadow: 0 30px 90px color-mix(in srgb, var(--accent) 22%, transparent);
}
.screen--ipad {
  aspect-ratio: 4 / 3; border-radius: 18px; border-width: 8px; padding: 18px; gap: 8px;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--accent) 18%, transparent);
}
.screen--iphone {
  width: 140px; height: 290px; border-radius: 28px; border-width: 7px; padding: 14px; gap: 6px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 18%, transparent);
}
.screen .t { font-family: var(--font-display); font-weight: 800; line-height: 1.15; }
.screen--tv .t { font-size: clamp(20px, 3vw, 30px); }
.screen--ipad .t { font-size: 20px; }
.screen--iphone .t { font-size: 15px; }
.screen .s { font-size: 13px; color: var(--text-2); }
.screen--tv .s { font-size: 15px; }
.screen--iphone .s { font-size: 12px; }
.screen .bar { background: var(--rule); }
.screen--tv .bar > i { box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent); }

@media (max-width: 759px) {
  /* After the base rules, so these win: a smaller iPhone keeps the bottom-aligned row short on phones. */
  .device--iphone { flex: 0 0 112px; }
  .screen--iphone { width: 112px; height: 232px; border-radius: 24px; border-width: 6px; padding: 12px; }
  .screen--iphone .t { font-size: 13px; }
  .screen--iphone .s { font-size: 11px; }
}

@media (min-width: 760px) {
  .devices { flex-wrap: wrap; justify-content: center; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0; }
  .device--tv { flex: 1 1 420px; max-width: 600px; }
  .device--ipad { flex: 0 1 300px; }
}

/* ---------- Live TV ---------- */

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .text { flex: 1 1 380px; }
.split > .visual { flex: 1 1 460px; position: relative; min-width: 0; }
.soft-glow {
  position: absolute; inset: 10% 5%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}
.card {
  position: relative; border-radius: var(--radius-card); border: 1px solid var(--hairline);
  background: var(--surface);
}
.channels { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.channel { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
.channel--on { background: rgba(255,255,255,0.06); }
.channel .no { width: 32px; font-size: 13px; color: var(--text-2); }
.channel .tile { width: 44px; height: 44px; border-radius: 10px; font-size: 14px; }
.channel .grow { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.channel .name { font-weight: 600; font-size: 16px; }
.channel .now { font-size: 13px; color: var(--text-2); }
.pills { display: flex; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px;
  border-radius: var(--radius-pill); background: var(--glass); font-size: 12px; font-weight: 600;
}
.pill--on {
  background: var(--accent); color: var(--on-accent); font-weight: 700;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent);
}
@media (max-width: 520px) {
  .channel--on .pills { flex-basis: 100%; padding-left: 90px; }
}

/* ---------- Guide ---------- */

.guide-scroll { overflow-x: auto; border-radius: var(--radius-card); }
.guide { --ch: 60px; min-width: 540px; padding: 12px 12px 16px; }
@media (min-width: 760px) { .guide { --ch: 172px; } }
@media (max-width: 759px) { .guide-ch .ch-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.guide-row { display: grid; grid-template-columns: var(--ch) 1fr; align-items: stretch; min-height: 56px; }
.guide-row + .guide-row { border-top: 1px solid var(--hairline); }
.guide-ch {
  position: sticky; left: 0; z-index: 2; background: var(--surface);
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 4px;
  font-weight: 600; font-size: 14px;
}
.guide-ch .tile { width: 32px; height: 32px; border-radius: 8px; font-size: 11px; }
.guide-track { position: relative; }
.guide-ruler .guide-track { font-size: 12px; color: var(--text-2); }
.guide-ruler .guide-track span { position: absolute; top: 50%; transform: translateY(-50%); left: var(--at); padding-left: 6px; }
.cell {
  position: absolute; top: 6px; bottom: 6px; left: calc(var(--s) + 2px); width: calc(var(--e) - var(--s) - 4px);
  border-radius: 10px; background: var(--surface-2); padding: 6px 10px;
  font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center;
}
.cell--past { color: var(--text-2); font-weight: 500; }
.cell--now {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
}
.guide-body { position: relative; }
.now-line {
  position: absolute; top: 0; bottom: 0; z-index: 1; width: 2px; margin-left: -1px;
  left: calc(var(--ch) + (100% - var(--ch)) * var(--now));
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
}

/* ---------- Movies and series ---------- */

.detail { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px; }
.detail .art {
  width: 140px; aspect-ratio: 2 / 3; border-radius: var(--radius-poster); background: var(--poster);
  border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--text-2);
}
.detail .t { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.detail .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--radius-pill);
  background: var(--glass); font-size: 14px; font-weight: 600;
}
.mock-btn--primary {
  background: var(--accent); color: var(--on-accent); font-weight: 700;
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 45%, transparent);
}
.episodes { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.episode { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hairline); }
.episode .n { font-size: 13px; color: var(--text-2); }
.episode .name { font-size: 15px; font-weight: 600; }
.episode .meta { grid-column: 2; font-size: 13px; color: var(--text-2); }
.episode .bar { grid-column: 2; }
@media (min-width: 560px) {
  .detail { grid-template-columns: 140px 1fr; }
}

/* ---------- In the frame ---------- */

.frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.frame-tile { --c-size: 28px; --c-w: 3px; --c-r: 12px; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.frame-tile p { font-size: 15px; color: var(--text-2); }
.note { font-size: 14px; color: var(--text-2); max-width: 760px; }

/* ---------- Private and yours ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.cards .card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cards .card p { font-size: 15px; color: var(--text-2); }

/* ---------- How it works ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rule); padding-top: 20px; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--accent); }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- Closing ---------- */

.closing { max-width: 760px; margin: 0 auto; padding: 72px 24px 104px; }
.closing .frame {
  --c-size: 56px; --c-w: 6px; --c-r: 24px;
  padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.app-icon {
  width: 104px; height: 104px; border-radius: 24px;
  box-shadow: 0 0 80px rgba(255,122,0,0.4); /* the logo orange, never themed */
}
.closing .h2 { font-weight: 800; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.02em; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--hairline); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 28px; font-size: 14px; color: var(--text-2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.lang a[aria-current] { text-decoration: none; color: var(--text); }

/* ---------- Plain pages (support, privacy, terms) ---------- */

.page { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.page .h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page .lede { margin-bottom: 40px; }
.faq { display: flex; flex-direction: column; }
.faq section { padding: 24px 0; border-top: 1px solid var(--hairline); }
.faq h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-bottom: 8px; }
.faq p { color: var(--text-2); }

/* ---------- Preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root.theme-ready { transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (prefers-contrast: more) {
  :root {
    --hairline: rgba(255,255,255,0.32);
    --rule: rgba(255,255,255,0.4);
    --text-2: #D6CEC6;
  }
  .hero-glow, .soft-glow { display: none; }
  .hero .corner, .play { filter: none; }
  .btn, .pill--on, .mock-btn--primary, .bar--glow > i, .screen--tv .bar > i, .now-line,
  .phone, .screen, .app-icon { box-shadow: none; }
  .swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
  .swatch { box-shadow: 0 0 0 1px rgba(255,255,255,0.5); }
  .phone, .screen { border-color: rgba(255,255,255,0.4); }
}

/* ---------- Legal notice and footer additions ---------- */

.kv { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
.kv dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); padding-top: 16px; }
.kv dd { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) {
  .kv { grid-template-columns: 200px 1fr; }
  .kv dt { padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
  .kv dd { padding-top: 16px; }
}
.trademarks { flex-basis: 100%; font-size: 12px; color: var(--text-2); }

/* ---------- 404 ---------- */

.notfound {
  --c-size: 56px; --c-w: 6px; --c-r: 24px;
  padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.notfound .h1, .notfound .lede { margin: 0; }

/* ---------- Long-form text (Privacy, Terms) ---------- */

.prose section { padding: 24px 0; border-top: 1px solid var(--hairline); }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; margin-bottom: 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 10px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose ul ul { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--text); overflow-wrap: anywhere; }

/* ---------- Pricing (modelled on SPIOUN's paywall: the best plan lit, Lifetime quieter) ---------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan--best {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 48px color-mix(in srgb, var(--accent) 18%, transparent);
}
.plan--quiet { background: transparent; }
.plan .h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent); font-family: var(--font-body); font-size: 12px; font-weight: 700;
}
.price { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.price .per { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.price .per--word { margin-left: 0.4em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }
.pricing-notes { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
@media (prefers-contrast: more) {
  .plan--best { box-shadow: 0 0 0 1px var(--accent); }
}
