/* Bunrise website. One stylesheet for every page. No framework, no trackers, light theme only.
   Palette = the app's Theme.swift tokens (Bunrise restyle). Fonts = the app's own faces, self-hosted
   as Latin subsets in /assets/fonts (SIL Open Font License, see assets/fonts/OFL-*.txt). */

/* ---------- Fonts (same faces as the app's UIAppFonts) ---------- */

@font-face {
  font-family: "Bunrise Display"; /* UpriseDisplay-ExtraBold = Bricolage Grotesque, 96pt optical size, Condensed, ExtraBold */
  src: url("/assets/fonts/display-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bunrise Text"; /* UpriseText-Regular = Bricolage Grotesque, text optical size */
  src: url("/assets/fonts/text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bunrise Text"; /* UpriseText-SemiBold */
  src: url("/assets/fonts/text-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bunrise Serif"; /* UpriseSerif-Italic = Instrument Serif Italic */
  src: url("/assets/fonts/serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bunrise Mono"; /* UpriseMono-Medium = Geist Mono Medium */
  src: url("/assets/fonts/mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  --canvas: #ffffff;
  --fog: #f6f2ef;
  --sand: #fbf4ec;
  --sand-deep: #eedfcc;
  --ink: #1c1519;
  --ink-hover: #3a2e34;
  --ink-2: #645b61;
  --ink-3: #9c9298;          /* decorative only: 3:1 on white */
  --line: #eee6e1;

  --coral: #ff5c45;          /* brand, alarm, push-ups */
  --coral-deep: #d9402c;
  --coral-soft: #ffece8;
  --coral-text: #bc3422;     /* coral for small text on light surfaces (AA 4.5:1 on white, sand, fog, soft) */
  --butter: #ffd54a;         /* XP, success, highlight marker */
  --butter-deep: #8c6400;
  --butter-soft: #fff6d5;
  --orchid: #9a5cf5;         /* squats, duels */
  --orchid-deep: #7a3dd6;
  --orchid-soft: #f3ebff;
  --rose: #f0628e;           /* period mode, care */
  --rose-deep: #c63f69;
  --rose-soft: #ffe8ef;
  --rose-text: #af345a;      /* rose for small text (AA on white, sand, rose-soft) */

  --font-display: "Bunrise Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Bunrise Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Bunrise Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "Bunrise Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 16px;
  --max: 1180px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-phone: 0 44px 70px -38px rgba(28, 21, 25, 0.55), 0 16px 30px -18px rgba(28, 21, 25, 0.35);
}

@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

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

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; color: inherit; font-weight: 400; }
p, figure, blockquote { margin: 0; }
p, li, summary { text-wrap: pretty; }
strong, b { font-weight: 600; }

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

:focus-visible { outline: 3px solid var(--orchid-deep); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--butter); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */

.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 0.92;
  text-wrap: balance;
}
h1 { font-size: clamp(60px, 17vw, 138px); line-height: 0.88; }
h2 { font-size: clamp(40px, 7.2vw, 76px); }
h1 em, h2 em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
h1 em, h2 em { font-size: 1.1em; line-height: 0.8; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.9vw, 19px); color: var(--ink-2); max-width: 46ch; }
.small { font-size: 14px; color: var(--ink-2); }
.fineprint { font-size: 13px; line-height: 1.55; color: var(--ink-2); max-width: 78ch; }

/* The butter highlighter from the app's App Store captions */
.mark {
  background: linear-gradient(transparent 60%, var(--butter) 60%, var(--butter) 90%, transparent 90%);
  padding-inline: 0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -0.01em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-2); padding: 12px 10px; border-radius: 999px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--fog); }
.nav .btn, .nav .chip { margin-left: 8px; }
@media (max-width: 759px) { .nav .wide { display: none; } }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); background: var(--butter-soft); box-shadow: inset 0 0 0 1px #f3e1a3;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--ink-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--ink);
}
.link-arrow::after { content: "\2192"; font-family: var(--font-text); transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow.down::after { content: "\2193"; }
.link-arrow.down:hover::after { transform: translateY(2px); }

/* ---------- App Store badge (coming soon / live) ----------
   <html data-store="soon"> shows the "Coming soon" badge; data-store="live" shows the App Store link.
   The site README has the one-line switch. */

:root:not([data-store="live"]) .store-live,
[data-store="live"] .store-soon { display: none !important; }

.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 60px; padding: 10px 22px 11px; border-radius: 16px;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.store-badge .small-line {
  font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.store-badge .big-line { font-family: var(--font-display); font-weight: 800; font-size: 27px; letter-spacing: -0.005em; }
a.store-badge { background: var(--ink); color: #fff; transition: background-color 0.15s ease; }
a.store-badge:hover { background: var(--ink-hover); color: #fff; }
.store-badge.is-soon { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.store-badge.is-soon .small-line { display: inline-flex; align-items: center; gap: 7px; }
.store-badge.is-soon .small-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.on-dark a.store-badge { background: #fff; color: var(--ink); }
.on-dark a.store-badge:hover { background: var(--butter); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }

/* ---------- Phone frame (CSS only: the screenshot already has the status bar and island) ---------- */

.phone {
  position: relative; flex: none;
  width: var(--pw, 280px);
  padding: calc(var(--pw, 280px) * 0.03);
  border-radius: calc(var(--pw, 280px) * 0.158);
  background: #120d10;
  box-shadow: inset 0 0 0 calc(var(--pw, 280px) * 0.007) #4a3f45, var(--shadow-phone);
}
.phone img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: calc(var(--pw, 280px) * 0.128);
  background: var(--fog);
}
.phone::before, .phone::after {   /* side buttons */
  content: ""; position: absolute; width: calc(var(--pw, 280px) * 0.012); border-radius: 2px; background: #2a2226;
}
.phone::before { left: calc(var(--pw, 280px) * -0.009); top: 22%; height: 11%; }
.phone::after { right: calc(var(--pw, 280px) * -0.009); top: 28%; height: 15%; }

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

.hero { position: relative; overflow: hidden; background: var(--sand); padding: 44px 0 72px; }
.hero-grid { display: grid; gap: 52px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 76px 0 100px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 24px; }
}
.hero h1 { margin-bottom: 32px; }
.hero h1 .l1 { display: block; }
.hero-meta {
  margin-top: 22px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1.6;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}

.hero-art { position: relative; display: flex; justify-content: center; padding: 8px 0 18px; }
.hero-stage { position: relative; --pw: clamp(190px, 50vw, 260px); margin-left: 30%; }
.hero-stage::before {   /* the sun */
  content: ""; position: absolute; z-index: 0; left: 50%; top: 36%;
  width: 156%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, var(--butter) 0 97%, rgba(255, 213, 74, 0) 100%);
}
.hero-stage::after {    /* its glow */
  content: ""; position: absolute; z-index: 0; left: 50%; top: 36%;
  width: 230%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 232, 0.95), rgba(255, 236, 232, 0) 100%);
}
.hero-stage .phone { z-index: 1; transform: rotate(3.5deg); }
.hero-rico {
  position: absolute; z-index: 2; width: 64%; left: -34%; bottom: -8%;
  filter: drop-shadow(0 18px 18px rgba(28, 21, 25, 0.18));
}
.bubble {
  position: relative; z-index: 3;
  padding: 11px 15px; border-radius: 18px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15px; line-height: 1.25;
}
.bubble::after {
  content: ""; position: absolute; width: 14px; height: 14px; background: inherit; border-radius: 2px;
  left: 30px; bottom: -6px; transform: rotate(45deg);
}
.hero-stage .bubble { position: absolute; left: -66%; bottom: 31%; max-width: 134px; padding: 10px 13px; font-size: 13.5px; }
.hero-stage .bubble::after { left: auto; right: 34%; }
@media (min-width: 960px) {
  .hero-stage { --pw: 300px; margin-left: 22%; }
  .hero-rico { width: 74%; left: -50%; bottom: -10%; }
  .hero-stage .bubble { left: -84%; bottom: 31%; max-width: 196px; font-size: 16px; }
  .hero-stage .bubble::after { right: 26px; }
}

/* ---------- Band ---------- */

.band { background: var(--ink); color: #fff; }
.band ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(2, auto); justify-content: space-around; gap: 12px 10px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 4.8vw, 30px); line-height: 1.05;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.band li { display: inline-flex; align-items: center; gap: 22px; }
@media (min-width: 860px) {
  .band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
  .band li + li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--butter); }
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
@media (min-width: 960px) { .section { padding: 124px 0; } }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .sub { margin-inline: auto; }

/* How it works */
.how-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.step-num { grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 0.86; color: var(--coral); }
.step h3 { font-size: 22px; }
.step p { color: var(--ink-2); }
.how-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 24px; --pw: clamp(144px, 40vw, 262px); }
.how-phones::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 40%; width: min(560px, 104%); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--coral-soft);
}
.how-phones .phone { z-index: 2; transform: rotate(-4deg) translateX(9%); }
.how-phones .phone + .phone { z-index: 1; transform: rotate(4.5deg) translate(-9%, -7%); }

/* The 10-minute rule */
.rule { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.rule .kicker { color: var(--butter); }
.rule .kicker::before { background: var(--butter); }
.rule h2 em { color: var(--butter); }
.rule .sub { color: rgba(255, 255, 255, 0.8); max-width: 40ch; }
.rule .wrap { position: relative; }
.rule-clock {
  position: absolute; z-index: 0; right: calc(var(--gutter) - 0.04em); top: -0.08em;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 25vw, 330px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 213, 74, 0.32); letter-spacing: -0.01em;
  pointer-events: none; user-select: none;
}
@media (max-width: 719px) { .rule-clock { position: static; margin: 48px 0 -0.14em; text-align: right; font-size: 31vw; } }
.rule .section-head { position: relative; z-index: 1; }

.timeline { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 34px 38px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 3px var(--butter);
}
.timeline li::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 2px; width: 2px; background: rgba(255, 255, 255, 0.2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.is-up::before { background: var(--butter); }
.timeline li.is-over::before { box-shadow: inset 0 0 0 3px var(--coral); }
.timeline .t { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--butter); }
.timeline li.is-over .t { color: var(--coral); }
.timeline h3 { margin: 8px 0 8px; font-size: 22px; color: #fff; }
.timeline p { color: rgba(255, 255, 255, 0.76); max-width: 36ch; }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .timeline li { padding: 40px 0 0; }
  .timeline li::before { top: 0; }
  .timeline li::after { left: 24px; right: -22px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline li:last-child { padding-bottom: 0; }
}
.rule-foot { position: relative; z-index: 1; display: grid; gap: 28px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
@media (min-width: 960px) { .rule-foot { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: 48px; } }
.rule-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rule-notes li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, 0.84); }
.rule-notes li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 2px; background: var(--butter); }
.quote { margin: 0; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.01em; }
.quote footer { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--butter); }

/* Features (bento) */
.features { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 460px; }
}
@media (min-width: 1080px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 28px 26px 30px; border-radius: var(--radius-lg);
  background: var(--sand); container-type: inline-size;
}
.feature .tag {
  align-self: flex-start; margin-bottom: 20px; padding: 8px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase;
  background: #fff; color: var(--ink);
}
.feature h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 9cqi, 38px); line-height: 0.96; letter-spacing: -0.01em; }
.feature p { margin-top: 12px; color: var(--ink-2); max-width: 40ch; }
.feature .visual { margin-top: auto; padding-top: 28px; }
.feature--phone { padding-bottom: 0; }
.feature--phone .visual { display: flex; justify-content: center; }
.feature--phone .phone { --pw: min(236px, 64cqi); margin-bottom: calc(var(--pw) * -1.02); box-shadow: inset 0 0 0 calc(var(--pw) * 0.007) #4a3f45, 0 26px 44px -24px rgba(28, 21, 25, 0.45); }

.feature--ink { background: var(--ink); color: #fff; }
.feature--ink p { color: rgba(255, 255, 255, 0.76); }
.feature--ink .tag { background: var(--butter); }
.feature--ink .phone { background: #000; box-shadow: inset 0 0 0 calc(var(--pw) * 0.007) #5a4e54; }
.feature--rose { background: var(--rose-soft); }
.feature--rose .tag { color: var(--rose-text); }
.feature--orchid { background: var(--orchid-soft); }
.feature--orchid .tag { color: var(--orchid-deep); }
.feature--fog { background: var(--fog); }
.tag.coral { color: var(--coral-text); }
.tag.butter { color: var(--butter-deep); }

.feature .bubble { position: absolute; right: 18px; top: 22px; max-width: 46%; background: var(--butter); color: var(--ink); font-size: 15px; transform: rotate(2deg); }
.feature .bubble::after { left: auto; right: 34px; }
.feature--ink .tag { margin-right: 46%; margin-bottom: 34px; }

.halve { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 800; line-height: 0.8; }
.halve s { font-size: 64px; color: var(--ink-2); text-decoration-thickness: 5px; text-decoration-color: var(--rose); }
.halve .now { font-size: clamp(110px, 40cqi, 150px); color: var(--rose-deep); letter-spacing: -0.02em; }
.halve .unit { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 34px; color: var(--ink); }
.halve-meta { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-text); }

.ticket {
  position: relative; display: grid; gap: 8px; padding: 22px 24px; border-radius: 20px; background: #fff;
  box-shadow: 0 18px 36px -24px rgba(122, 61, 214, 0.5);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--orchid-soft);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket .k { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orchid-deep); }
.ticket .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 15cqi, 56px); line-height: 0.92; }
.ticket .rule-line { border-top: 1.5px dashed #d8c4f7; margin: 6px 0 2px; }

.island-demo { display: grid; gap: 14px; }
.island {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: #000; color: #fff; font-family: var(--font-text); font-weight: 600; font-size: 16px;
}
.island .dot { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--coral); box-shadow: inset 0 0 0 7px #000, inset 0 0 0 9px var(--coral); }
.island .r { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--butter); letter-spacing: 0; }
.widget {
  justify-self: start; display: grid; gap: 4px; width: 158px; padding: 16px 16px 14px; border-radius: 24px; background: #fff;
  box-shadow: 0 16px 30px -22px rgba(28, 21, 25, 0.35);
}
.widget .n { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 0.9; }
.widget .l { font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1; }
.widget .m { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* Privacy */
.privacy { background: var(--sand); }
.pv-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pv { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 6px 16px; padding: 24px 24px 26px; border-radius: var(--radius); background: #fff; }
.pv svg { grid-row: span 2; width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--butter-soft); color: var(--ink); }
.pv h3 { font-size: 19px; align-self: center; }
.pv p { color: var(--ink-2); }
.privacy .more { margin-top: 28px; }

/* Pricing */
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--fog); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.plan-name { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.price { margin: 22px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 9vw, 88px); line-height: 0.86; letter-spacing: -0.01em; }
.price small { font-family: var(--font-mono); font-weight: 500; font-size: 14px; letter-spacing: 0.06em; }
.price-note { color: var(--ink-2); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 30px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--coral-deep); border-bottom: 2.5px solid var(--coral-deep); transform: rotate(-45deg);
}
.plan-foot { margin-top: auto; padding-top: 26px; font-weight: 600; }
.plan--plus { background: var(--ink); color: #fff; }
.plan--plus .price-note { color: rgba(255, 255, 255, 0.78); }
.plan--plus li::before { border-color: var(--butter); }
.plan--plus .chip { background: var(--butter); box-shadow: none; }
.plan--plus .chip::before { background: var(--ink); }
.plan--all { grid-column: 1 / -1; background: var(--sand); }   /* what both plans include, full width under them */
@media (min-width: 860px) { .plan--all ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.pricing .fineprint { margin-top: 22px; }

/* FAQ */
.section.pricing + .section { padding-top: 24px; }   /* two white sections in a row: one gap, not two */
.faq-wrap { display: grid; gap: 32px; }
.faq-wrap .section-head { margin-bottom: 0; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 22px 52px 22px 0; font-weight: 600; font-size: 19px; line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; width: 34px; height: 34px; margin-top: -17px;
  display: grid; place-items: center; border-radius: 50%; background: var(--fog);
  font-family: var(--font-mono); font-weight: 500; font-size: 20px; line-height: 1; color: var(--ink);
}
details[open] > summary::after { content: "\2212"; background: var(--butter); }
summary:hover::after { background: var(--sand-deep); }
details .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }
details .answer p + p, details .answer p + ul, details .answer ul + p { margin-top: 12px; }
details .answer ul, details .answer ol { margin: 12px 0 0; padding-left: 22px; }
details .answer li + li { margin-top: 6px; }
details .answer strong { color: var(--ink); }

/* Closing call */
.closer {
  position: relative; overflow: hidden; margin-top: 8px;
  padding: 60px 24px 64px; border-radius: var(--radius-lg); background: var(--coral); color: var(--ink); text-align: center;
}
@media (min-width: 760px) { .closer { padding: 88px 48px 92px; } }
.closer .kicker { justify-content: center; color: var(--ink); }
.closer .kicker::before { background: var(--ink); }
.closer h2 { font-size: clamp(46px, 9vw, 104px); }
.closer h2 .l, .closer h2 em { display: block; }
.closer h2 em { margin-top: 0.06em; }
.closer .cta-row { justify-content: center; }
.closer p.small { margin-top: 18px; color: var(--ink); }

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

.site-footer { margin-top: 96px; padding: 44px 0 60px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-top .brand span { font-size: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0; padding: 0; list-style: none; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
}
.footer-links a:hover { color: var(--ink); background: var(--fog); }
.footer-links li:first-child a { padding-left: 0; }
.footer-links li:first-child a:hover { padding-left: 10px; }

/* ---------- Legal and support pages ---------- */

.page { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.page-head { padding: 56px 0 10px; }
.page-head h1 { font-size: clamp(50px, 10vw, 96px); }
.page-head .lead { max-width: 52ch; margin-top: 22px; }

.prose { padding-top: 26px; }
.prose h2 { font-size: clamp(30px, 4.6vw, 42px); line-height: 0.98; margin: 60px 0 16px; scroll-margin-top: 88px; }
.prose h3 { margin: 30px 0 8px; font-size: 19px; }
.prose p, .prose li { color: #352c31; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--coral); }
.table-scroll { overflow-x: auto; margin: 8px 0 22px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.prose td:first-child { width: 30%; font-weight: 600; color: var(--ink); }
@media (max-width: 639px) {   /* stack the two-column tables: no sideways scrolling on phones */
  .prose table { min-width: 0; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: auto; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose td { padding: 0; border: 0; }
  .prose td:first-child { width: auto; margin-bottom: 4px; }
}

.summary-box { margin: 6px 0 8px; padding: 24px 24px 10px; border-radius: var(--radius); background: var(--butter-soft); box-shadow: inset 0 0 0 1px #f3e1a3; }
.summary-box .kicker { color: var(--butter-deep); margin-bottom: 12px; }
.summary-box .kicker::before { background: var(--butter-deep); }
.summary-box ul { padding-left: 20px; }

.callout { margin: 0 0 18px; padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; border-left: 4px solid var(--coral); background: var(--coral-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout.rose { border-left-color: var(--rose); background: var(--rose-soft); }

.toc { margin: 26px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--fog); }
.toc ol { margin: 0; padding-left: 22px; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 36px; } }
.toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--coral); }

.faq-group { margin-top: 52px; }
.faq-group > h2 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 14px; scroll-margin-top: 88px; }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group h2 + details { border-top: 1px solid var(--line); }

.contact-card { margin-top: 60px; padding: 30px 26px 32px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.contact-card h2 { font-size: clamp(34px, 5vw, 48px); scroll-margin-top: 88px; }
.contact-card p { margin-top: 12px; color: rgba(255, 255, 255, 0.8); max-width: 60ch; }
.contact-card .btn { margin-top: 22px; background: var(--butter); color: var(--ink); overflow-wrap: anywhere; }
.contact-card .btn:hover { background: #fff; color: var(--ink); }

/* ---------- Duel, invite and 404 ---------- */

.center-page { display: grid; place-items: center; min-height: calc(100svh - 64px - 160px); padding: 48px 0 24px; text-align: center; }
.center-page .wrap { max-width: 760px; }
.center-page .kicker { justify-content: center; }
.center-page h1 { font-size: clamp(50px, 11vw, 100px); }
.center-page .lead { margin: 24px auto 0; }
.center-page .cta-row { justify-content: center; }
.center-page .cta-row + .small { margin: 20px auto 0; max-width: 46ch; }
.center-rico { width: 168px; margin: 0 auto 6px; filter: drop-shadow(0 14px 14px rgba(28, 21, 25, 0.16)); }

.duel-card { display: inline-grid; gap: 6px; margin: 30px auto 0; padding: 22px 30px; border-radius: var(--radius); background: var(--orchid-soft); }
.duel-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 12vw, 64px); line-height: 0.92; }
.duel-card .label { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orchid-deep); }

.code-card {
  display: grid; justify-items: center; gap: 10px; max-width: 420px; margin: 32px auto 0; padding: 24px 24px 22px;
  border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), 0 20px 40px -32px rgba(28, 21, 25, 0.4);
}
.code-card .label { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.code-card .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 12vw, 58px); line-height: 0.95; letter-spacing: 0.02em; }
.code-card .small { max-width: 34ch; }

.sand-page { background: var(--sand); }
.sand-page .site-header { background: rgba(251, 244, 236, 0.94); }
.sand-page .site-footer { margin-top: 48px; }

/* ---------- Motion and print ---------- */

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

@media print {
  .site-header, .skip, .footer-links, .toc { display: none !important; }
  body { font-size: 11pt; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
