/* ==========================================================================
   Pandopus marketing site
   Shared styles: tokens, layout, navigation, components, pages, footer
   ========================================================================== */

:root {
  /* Brand palette (purple + warm gold, drawn from the app identity) */
  --brand-700: #5314a6;
  --brand-600: #6d28d9;
  --brand-500: #7c3aed;
  --brand-400: #9457f0;
  --brand-300: #b89bf4;
  --brand-100: #efe7ff;

  --gold-600: #f5a623;
  --gold-500: #ffc12e;
  --gold-300: #ffe08a;

  --ink: #241a3a;
  --ink-soft: #4b4361;
  --muted: #756d8a;

  --bg: #fbf9ff;
  --bg-alt: #f2ecff;
  --surface: #ffffff;
  --surface-2: #faf7ff;
  --line: rgba(109, 40, 217, 0.14);

  --shadow-sm: 0 6px 18px -10px rgba(83, 20, 166, 0.35);
  --shadow-md: 0 18px 44px -22px rgba(83, 20, 166, 0.45);
  --shadow-lg: 0 40px 90px -40px rgba(83, 20, 166, 0.5);

  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #9457f0 55%, #b06bf2 100%);
  --grad-warm: linear-gradient(120deg, #fff3cf 0%, #efe7ff 55%, #fbf3ff 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1140px;
  --gap: clamp(1rem, 2.5vw, 2rem);

  --font-display: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

a { color: var(--brand-600); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--brand-500); }

img { max-width: 100%; display: block; height: auto; }

ul { margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-600);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------- layout utils -- */
.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.measure { max-width: 46rem; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-100);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }

.section-head { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #4a2c00;
  box-shadow: 0 16px 34px -18px rgba(245, 166, 35, 0.7);
}
.btn-gold:hover { color: #4a2c00; transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--brand-700);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--brand-600); border-color: var(--brand-300); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }

/* App Store button (compact, single legible label) */
.btn-appstore {
  background: #1c1430;
  color: #fff;
  padding: 0.6rem 1.25rem;
  gap: 0.55rem;
}
.btn-appstore:hover { color: #fff; background: #2a1f47; transform: translateY(-2px); }
.btn-appstore svg { width: 19px; height: 19px; flex: none; color: #fff; }
.btn-appstore span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row.center { justify-content: center; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}
.brand-name { letter-spacing: -0.02em; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.primary-nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  position: relative;
}
.primary-nav a:not(.btn):hover { color: var(--brand-600); }
.primary-nav a.is-active:not(.btn) { color: var(--brand-700); }
.primary-nav a.is-active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  background: var(--grad-warm);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(148, 87, 240, 0.4), transparent 65%);
  top: -120px; right: -80px;
}
.hero::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255, 193, 46, 0.45), transparent 65%);
  bottom: -140px; left: -90px;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0.7rem; font-size: clamp(2.05rem, 4.6vw, 3rem); }
.hero-copy .lead { margin-bottom: 1.7rem; max-width: 34rem; }
.hero-wordmark { max-width: 320px; margin-bottom: 1.2rem; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 36px 60px rgba(83, 20, 166, 0.28));
  animation: floaty 7s ease-in-out infinite;
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem;
  margin-top: 1.6rem; padding: 0; list-style: none;
}
.hero-points li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.95rem; color: var(--ink-soft);
}
.hero-points li::before {
  content: "";
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ------------------------------------------------------- identity strip -- */
.identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.identity-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow-md); }
.identity h2 { margin-bottom: 0.3rem; }
.identity p { margin: 0; }

/* ------------------------------------------------------------ showcase --- */
.showcase-frame {
  position: relative;
  margin-inline: auto;
  max-width: 980px;
  border-radius: var(--radius-lg);
  padding: clamp(0.8rem, 2vw, 1.4rem);
  background: var(--grad-brand);
  box-shadow: var(--shadow-lg);
}
.showcase-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #fff;
}
.showcase-caption { margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------- feature grid -- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--brand-100);
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.35rem; }
.card p { margin: 0; font-size: 0.97rem; }

/* ------------------------------------------------------ feature spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.spotlight + .spotlight { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.spotlight.flip .spotlight-media { order: -1; }
.spotlight-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.spotlight-media img { width: 100%; }
.spotlight-copy .eyebrow { margin-bottom: 0.8rem; }
.tick-list { list-style: none; margin: 1.1rem 0 0; display: grid; gap: 0.6rem; }
.tick-list li { display: flex; gap: 0.6rem; color: var(--ink-soft); }
.tick-list li svg { width: 20px; height: 20px; flex: none; color: var(--brand-500); margin-top: 3px; }

/* ------------------------------------------------------------ benefits --- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}
.benefit {
  padding: 1.7rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #faf6ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.benefit .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-brand);
  margin-bottom: 0.9rem;
}
.benefit h3 { margin-bottom: 0.3rem; }
.benefit p { margin: 0; font-size: 0.97rem; }

/* --------------------------------------------------------------- CTA ----- */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255, 193, 46, 0.4), transparent 45%);
  pointer-events: none;
}
.eyebrow.on-dark { background: rgba(255, 255, 255, 0.18); color: #fff; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.92); position: relative; max-width: 38rem; margin-inline: auto; }
.cta-band .btn-row { position: relative; margin-top: 1.6rem; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }

/* --------------------------------------------------------------- prose --- */
.prose { max-width: 50rem; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; list-style: disc; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { color: var(--muted); font-size: 0.92rem; }

/* Help page (help.html): a long guide in .prose, with a contents list,
   screenshots, key caps and a shortcuts table. */
.help h2, .help h3 { scroll-margin-top: 96px; }
.help h2 { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.help .help-toc h2, .help h2:first-of-type { border-top: 0; padding-top: 0; }
.prose ol { padding-left: 1.4rem; margin: 0 0 1rem; list-style: decimal; }
.help-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.4rem 0 2.2rem;
  box-shadow: var(--shadow-sm);
}
.help-toc h2 { margin: 0 0 0.7rem; font-size: 1.05rem; }
.help-toc ol { columns: 2; column-gap: 2.5rem; margin: 0; }
.help-toc li { break-inside: avoid; }
.help-toc a { color: var(--brand-600); text-decoration: none; font-weight: 500; }
.help-toc a:hover { text-decoration: underline; }
.help-shot { margin: 1.6rem 0 2rem; }
.help-shot img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
/* A settings window is small: shown at about its own size, not stretched
   to the width of a full app window. */
.help-shot--narrow img { max-width: min(100%, 31rem); }
.help-shot figcaption { margin-top: 0.7rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
.help kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.08em 0.42em;
  margin: 0 0.1em;
  text-align: center;
  font: inherit;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
}
.help code {
  padding: 0.1em 0.4em;
  font-size: 0.92em;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 6px;
}
.help-table-wrap { overflow-x: auto; margin: 1.2rem 0 1.4rem; }
.help-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.help-table th, .help-table td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.help-table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.help-table tr:last-child td { border-bottom: 0; }
.help-table td:last-child { white-space: nowrap; }
@media (max-width: 640px) { .help-toc ol { columns: 1; } }
.page-head {
  background: var(--grad-warm);
  padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head .eyebrow { margin-bottom: 0.8rem; }
.page-head p { max-width: 40rem; margin-inline: auto; }

/* ---------------------------------------------------------------- form --- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field .req { color: var(--brand-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.8rem; }
.form-status { margin-top: 1rem; font-weight: 500; min-height: 1.2rem; }
.form-status.error { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------- thank you / 404 -- */
.confirm { text-align: center; max-width: 42rem; margin-inline: auto; }
.confirm-badge {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  background: var(--grad-brand);
  box-shadow: var(--shadow-md);
  animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.confirm-badge svg { width: 46px; height: 46px; color: #fff; }
@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-aside { display: grid; gap: 1.2rem; }
.contact-aside .card { padding: 1.5rem; }
.contact-aside img { width: 130px; margin: 0 auto 0.6rem; }

/* ------------------------------------------------------------- roadmap --- */
.roadmap-intro { max-width: 48rem; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.phase { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.phase-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.phase-head .phase-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.phase-head h2 { margin: 0; }
.phase-head p { margin: 0; color: var(--muted); width: 100%; }

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}
.release {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand-400);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.release:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.release.released { border-top-color: #34c759; }
.release.current { border-top-color: var(--gold-500); }
.release-ver {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  margin-bottom: 0.2rem;
}
.release-ver .ver {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--brand-700);
}
.release .pill {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--brand-100); color: var(--brand-700);
}
.release.released .pill { background: #e3f9e9; color: #1c7a3f; }
.release.current .pill { background: #fff2cf; color: #97700a; }
.release h3 { font-size: 1.05rem; margin: 0.5rem 0 0.6rem; }
.release ul { list-style: none; display: grid; gap: 0.4rem; }
.release li { display: flex; gap: 0.5rem; font-size: 0.93rem; color: var(--ink-soft); }
.release li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-400); margin-top: 0.55rem; flex: none;
}

.vision {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.vision img { width: 220px; }

/* ------------------------------------------------------------- footer ---- */
.site-footer {
  background: #1c1430;
  color: #cfc6e6;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand { color: #fff; margin-bottom: 0.8rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #b3a8cf; max-width: 22rem; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-display); color: #fff; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: #cfc6e6; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  color: #9b8fbe;
  font-size: 0.9rem;
}
/* The company's name in it, linked: the line's own color, so it doesn't shout,
   and underlined so it's still clearly a link. */
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #ffffff; }

/* --------------------------------------------------------- reveal anim --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive - */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-wordmark { margin-inline: auto; }
  .hero-points { justify-content: center; }
  .hero-visual { max-width: 460px; margin: 0.5rem auto 0; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight.flip .spotlight-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .vision { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0 1.4rem;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-size: 1.06rem;
  flex: 1;
}
/* The chevron is drawn in CSS so the markup stays a plain summary. */
.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2.2px solid var(--brand-500);
  border-bottom: 2.2px solid var(--brand-500);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item summary:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.faq-item > p {
  margin: 0;
  padding: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
  max-width: 68ch;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .primary-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 0.7rem 0.2rem; }
  .primary-nav a.is-active:not(.btn)::after { display: none; }
  .primary-nav .btn-appstore { justify-content: center; margin-top: 0.5rem; }
  .identity { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .faq-item { padding: 0 1.1rem; }
  .faq-item summary h3 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
