/* Ultreia marketing site — shared design system.
   Tokens mirror the app's ColorScheme (see docs/design/Design.md) so
   screenshots and site chrome read as the same product. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/outfit-400-latin.woff2') format('woff2');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/outfit-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-700-latin.woff2') format('woff2');
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  /* Ported 1:1 from the app's ColorScheme (docs/design/Design.md) so the
     site and the screenshots inside it read as one product. */
  --ink: #1A1918;
  /* app dark surface — warm, never true black */
  --ink-2: #2E2C2A;
  /* app dark surfaceContainerHighest */
  --paper: #FFFFFF;
  /* app light surface */
  --paper-2: #F9F9F9;
  /* app light surfaceContainerHighest */
  --text: #3A3A3C;
  /* app onSurface — never pure black */
  --text-on-ink: #E8E6E1;
  /* app dark onSurface */
  --muted: #6F6F6F;
  /* app outline */
  --muted-on-ink: #9A9793;
  --border: rgba(58, 58, 60, 0.10);
  --border-on-ink: rgba(232, 230, 225, 0.12);
  --brand: #FFCF00;
  /* app primary — Camino waymark yellow */
  --brand-soft: #FFF3CC;
  /* app primaryContainer */
  --accent: #2A9DF4;
  /* app secondary — fills/graphics only, see note below */
  --earth: #6D4C41;
  /* used for the Stories/Narratives section */

  /* --brand (#FFCF00 ~1.5:1) and --accent (#2A9DF4 ~2.6:1) both fail WCAG
     for text on white/ink — use them only as fills, underlines, dots and
     icon strokes. For inline links use --link, which is accent darkened
     to ~4.7:1 on white. Do not "simplify" links back to --accent. */
  --link: #0B6FBF;
  --link-on-ink: #7CC4FF;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-ambient: 0 8px 24px rgba(58, 58, 60, 0.06);
  --shadow-ambient-ink: 0 8px 24px rgba(0, 0, 0, 0.20);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--link);
}

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

/* ── Site header (used on legal pages; landing pages add their own sticky nav) ── */
.header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

.header-back {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-back:hover {
  color: var(--link);
}

.header-back svg {
  width: 14px;
  height: 14px;
}

/* mini EN/ES switcher, used next to .header-back on bilingual subpages (about) */
.header-lang {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.header-lang a,
.header-lang span {
  color: var(--muted);
  text-decoration: none;
}

.header-lang a:hover {
  color: var(--link);
}

.header-lang [aria-current="true"] {
  color: var(--text);
  font-weight: 600;
}

/* ── Legal-page prose ── */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.page-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content li {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.content a {
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

/* "WAYPOINT 01/02/03" section labels — echoes the numbered-stage motif from
   the landing page's "The Way" design (template.html's .km), so the About
   page reads as the same product even though it uses the plain legal-page
   layout rather than the route-line one. */
.section-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-num::before {
  content: 'WAYPOINT ';
  opacity: 0.6;
}

.section-num+h2 {
  margin-top: 0.25rem;
}

/* Stage-marker tabs — same trick as the app's AboutTabsSection: a
   monospaced stage number over a letterspaced label, with a short brand
   rule under the active tab. No filled chips, just structure. */
.stage-tabs {
  margin-bottom: 1rem;
}

.stage-tabs__list {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stage-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}

.stage-tabs__num {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.stage-tabs__tab.is-active .stage-tabs__num {
  color: var(--brand);
}

.stage-tabs__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.stage-tabs__tab.is-active .stage-tabs__label {
  color: var(--text);
  font-weight: 700;
}

.stage-tabs__rule {
  height: 2px;
  width: 0;
  background: var(--brand);
  border-radius: 1px;
  transition: width 0.2s ease;
}

.stage-tabs__tab.is-active .stage-tabs__rule {
  width: 100%;
  width: 128px;
}

.stage-tabs__panel {
  padding-top: 1.5rem;
}

.stage-tabs__panel p:last-child,
.stage-tabs__panel ul:last-child {
  margin-bottom: 0;
}

/* ── About page: author header + donate actions ── */
.about-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-author__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-author__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.about-author__tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.support-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.support-actions .btn {
  flex: 1;
  min-width: 140px;
}

.highlight-box {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.highlight-box p {
  margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.warning-box {
  background: var(--brand-soft);
  border: 1px solid rgba(255, 207, 0, 0.35);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.warning-box p {
  margin-bottom: 0.5rem;
}

.warning-box p:last-child {
  margin-bottom: 0;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}

.content th {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: 0.04em;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.content td {
  padding: 0.6rem 0.75rem;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.content tr:last-child td {
  border-bottom: none;
}

/* ── Delete-account single-card layout ── */
main.centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 560px;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

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

.back-link svg {
  width: 16px;
  height: 16px;
}

.container h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.email-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover {
  text-decoration: underline;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.85;
  margin-top: 1.5rem;
  line-height: 1.7;
}

/* ── Landing page: hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-ink);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 85%, rgba(255, 207, 0, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 15%, rgba(42, 157, 244, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, #201f1d 60%, var(--ink-2) 100%);
  z-index: 0;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.stars {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--text-on-ink);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: var(--peak, 0.5);
  }
}

@media (max-width: 768px) {
  .stars {
    display: none;
  }
}

.hero-shell {
  width: 68px;
  height: 68px;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--text-on-ink);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: var(--brand);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted-on-ink);
  max-width: 480px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-on-ink);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--text);
}

.btn--primary:hover {
  color: var(--text);
  opacity: 0.92;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-on-ink);
  color: var(--text-on-ink);
}

/* ── Sections / tonal bands ── */
.band {
  padding: 6rem 2rem;
}

.band--paper {
  background: var(--paper);
  color: var(--text);
}

.band--paper-2 {
  background: var(--paper-2);
  color: var(--text);
}

.band--ink {
  background: var(--ink);
  color: var(--text-on-ink);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link);
  text-align: center;
  margin-bottom: 3rem;
}

.band--ink .section-label {
  color: var(--brand);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.band--ink .section-desc {
  color: var(--muted-on-ink);
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card--feature {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-ambient);
  transition: transform 0.3s ease;
}

.card--feature:hover {
  transform: translateY(-4px);
}

.band--ink .card--feature {
  background: var(--ink-2);
  border-color: var(--border-on-ink);
  box-shadow: var(--shadow-ambient-ink);
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.1rem;
  color: var(--link);
}

.band--ink .card-icon {
  color: var(--brand);
}

.card--feature h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card--feature p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 400;
}

.band--ink .card--feature p {
  color: var(--muted-on-ink);
}

/* ── Quote ── */
.quote {
  text-align: center;
  padding: 3rem 2rem 5rem;
  max-width: 600px;
  margin: 0 auto;
}

.quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--link);
  letter-spacing: 0.06em;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--paper);
  color: var(--text);
}

footer.footer--ink {
  border-top-color: var(--border-on-ink);
  background: var(--ink);
  color: var(--text-on-ink);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

footer.footer--ink .footer-brand {
  color: var(--muted-on-ink);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

footer.footer--ink .footer-links a {
  color: var(--muted-on-ink);
}

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

/* ── Sticky landing header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(26, 25, 24, 0.72);
  border-bottom: 1px solid var(--border-on-ink);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-on-ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-header__nav a {
  color: var(--muted-on-ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.site-header__nav a:hover {
  color: var(--brand);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted-on-ink);
}

.lang-switch a,
.lang-switch span {
  color: var(--muted-on-ink);
  text-decoration: none;
  padding: 0.15rem 0.3rem;
}

.lang-switch a:hover {
  color: var(--brand);
}

.lang-switch [aria-current="true"] {
  color: var(--text-on-ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .site-header__nav {
    display: none;
  }
}

/* ── Hero CTA / store badges ── */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.badge-row[hidden] {
  display: none;
}

.badge-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-row__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px solid var(--border-on-ink);
  color: var(--text-on-ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.badge-row__link:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
}

.badge-row__link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.badge-row__link-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.badge-row__link-text small {
  font-size: 0.65rem;
  color: var(--muted-on-ink);
}

.badge-row__link-text strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.launch-note {
  font-size: 0.85rem;
  color: var(--muted-on-ink);
  letter-spacing: 0.02em;
}

.launch-note strong {
  color: var(--brand);
  font-weight: 600;
}

/* ── Phone device frame (pure CSS, no image assets required) ── */
.device {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 393 / 852;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-ambient-ink);
  position: relative;
}

.band--paper .device,
.band--paper-2 .device {
  box-shadow: var(--shadow-ambient);
}

.device__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device__screen--empty {
  background: linear-gradient(100deg, var(--paper-2) 35%, var(--border) 50%, var(--paper-2) 65%);
  background-size: 250% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -20% 0;
  }
}

.device::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* ── Proof strip ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  display: block;
  position: relative;
}

.band--ink .stat__value {
  color: var(--text-on-ink);
}

.stat__value::after {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.band--ink .stat__label {
  color: var(--muted-on-ink);
}

/* ── Split sections (text + device side by side) ── */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split--reverse .split__text {
  order: 2;
}

.split--reverse .split__media {
  order: 1;
}

.split__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 0.75rem;
}

.band--ink .split__eyebrow {
  color: var(--brand);
}

.split__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.split__desc {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.band--ink .split__desc {
  color: var(--muted-on-ink);
}

.split__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.band--ink .split__note {
  background: var(--ink-2);
  border-color: var(--border-on-ink);
  color: var(--muted-on-ink);
}

.split__note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--link);
}

.band--ink .split__note svg {
  color: var(--brand);
}

@media (max-width: 820px) {

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .split--reverse .split__text,
  .split--reverse .split__media,
  .split .split__text,
  .split .split__media {
    order: initial;
  }

  .split__media {
    order: -1;
  }
}

/* ── All Routes grid ── */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.route-chip {
  background: var(--ink-2);
  border: 1px solid var(--border-on-ink);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-on-ink);
}

.route-chip strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.route-chip span {
  color: var(--muted-on-ink);
  font-size: 0.78rem;
}

.route-map {
  max-width: 260px;
  margin: 0 auto 3rem;
  opacity: 0.85;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.4rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--link);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 1.1rem;
}

.lang-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.lang-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}

/* ── Final CTA ── */
.final-cta {
  text-align: center;
}

.final-cta .hero-cta {
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .content {
    padding: 3rem 1.25rem 4rem;
  }

  .content table {
    font-size: 0.82rem;
  }

  .content th,
  .content td {
    padding: 0.5rem;
  }

  .band {
    padding: 4rem 1.25rem;
  }

  .card--feature {
    padding: 1.5rem 1.25rem;
  }

  .quote {
    padding: 2rem 1.25rem 4rem;
  }
}