/* ============================================================
   Nishi — shared stylesheet
   Tokens, components, page layout patterns
   ============================================================ */

:root {
  /* Background */
  --bg: #FAF7F0;
  --bg-warm: #F4EFE3;
  --bg-card: #FFFFFF;
  --bg-dark: #2A4A3A;

  /* Brand coral */
  --accent: #DD6C59;
  --accent-dark: #C75A48;
  --accent-soft: #F5DDD5;
  --accent-tint: #FAE7E0;

  /* Sage — secondary accent */
  --sage: #5A7A4F;
  --sage-soft: #DDE5D5;

  /* Text */
  --text: #2A2520;
  --text-soft: #6B6258;
  --text-muted: #94897C;

  /* Lines */
  --border: #E8DFCF;
  --border-strong: #D8CBB3;

  /* Status */
  --warning: #D4A55C;
  --error: #B85450;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Radius */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(42, 37, 32, 0.05);
  --shadow-md: 0 8px 28px rgba(42, 37, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(42, 37, 32, 0.10);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-med: 400ms;
  --duration-slow: 600ms;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  /* Layout */
  --max-width: 1120px;
  --max-prose: 680px;
  --nav-height: 72px;
}

/* ============================================================
   Reset + base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
}

h1 { font-size: clamp(36px, 5vw, 52px); }
h2 { font-size: clamp(28px, 3.5vw, 38px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { color: var(--text-soft); }

.lead {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.55;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.eyebrow-text {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.eyebrow-text.sage { color: var(--sage); }
.eyebrow-text.muted { color: var(--text-muted); }

/* ============================================================
   Layout
   ============================================================ */

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

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

.section {
  padding: var(--space-xl) 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--bg);
}

.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(244, 239, 227, 0.85); }

.section-tight {
  padding: var(--space-lg) 0;
}

@media (max-width: 700px) {
  .container, .container-prose { padding: 0 20px; }
  .section { padding: var(--space-lg) 0; }
}

/* ============================================================
   Nav (top)
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta .link {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.nav-cta .link:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta .link { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--duration-med) var(--ease);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-md)) 32px var(--space-xl);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav-drawer a {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.nav-drawer .btn {
  margin-top: var(--space-lg);
  align-self: flex-start;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn-text {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-text:hover {
  color: var(--accent);
}

.btn-text .chev {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease);
}

.btn-text:hover .chev {
  transform: translateY(2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-xl);
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 20px;
}

.hero .lead {
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-trust {
  margin-top: var(--space-md);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

@media (max-width: 700px) {
  .hero { padding: calc(var(--nav-height) + var(--space-md)) 0 var(--space-lg); }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
}

/* Video container */
.video-frame {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.video-frame video,
.video-frame img.video-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: background var(--duration-fast) var(--ease);
  cursor: pointer;
}

.video-play:hover {
  background: rgba(0,0,0,0.05);
}

.video-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-fast) var(--ease);
}

.video-play:hover .video-play-btn {
  transform: scale(1.06);
}

.video-play-btn svg { width: 28px; height: 28px; margin-left: 4px; }

.video-mute-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--ease);
  backdrop-filter: blur(10px);
}

.video-mute-btn:hover { transform: scale(1.06); }
.video-mute-btn svg { width: 20px; height: 20px; }
.video-mute-btn .on { display: none; }
.video-mute-btn.unmuted .off { display: none; }
.video-mute-btn.unmuted .on { display: block; }

/* ============================================================
   Cards — observation, plan, story
   ============================================================ */

.obs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.obs-card.hero {
  border-left: 3px solid var(--accent);
}

.obs-card.win {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-tint) 140%);
  border-color: var(--accent-soft);
}

.obs-text {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.2px;
}

.obs-text em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 600;
}

.obs-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent-dark);
  border: 1px solid var(--accent-soft);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}

.chip:hover {
  background: var(--accent-soft);
}

.chip.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.chip.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.chip.ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border-strong);
}

.chip.ghost:hover {
  background: var(--bg-card);
  color: var(--text);
}

.obs-why {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.obs-why::before { content: "›"; font-weight: 600; }

/* Plan card (pricing) */
.plan-card {
  background: white;
  border: 1.5px solid var(--accent);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 20px rgba(221, 108, 89, 0.10);
  max-width: 460px;
  margin: 0 auto;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-label {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.save-pill {
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--text);
}

.plan-per {
  font-size: 14px;
  color: var(--text-soft);
}

.plan-strike {
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: line-through;
  margin: 2px 0 12px;
}

.plan-monthly-link {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent-dark);
}

.plan-trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: 18px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-muted);
}

.compare-table thead th {
  border-bottom: 1.5px solid var(--border-strong);
}

.compare-table td.cell-yes {
  color: var(--sage);
  font-weight: 600;
}

.compare-table td.cell-no {
  color: var(--text-muted);
  font-weight: 400;
}

.compare-table td.cell-detail {
  color: var(--text-soft);
}

.compare-table .row-head {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 700px) {
  .compare-table th, .compare-table td { padding: 12px 8px; font-size: 14px; }
}

/* ============================================================
   Three streams (Venn block)
   ============================================================ */

.venn-img {
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  display: block;
}

.streams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 940px;
  margin: 0 auto;
}

.stream-col h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.stream-col .swatch {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.stream-col.food .swatch { background: #6BA572; }
.stream-col.wearables .swatch { background: #E36C3F; }
.stream-col.feel .swatch { background: #4A9DD8; }

.stream-col p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .streams {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ============================================================
   Section header
   ============================================================ */

.section-header {
  max-width: var(--max-prose);
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .lead {
  margin: 0 auto;
}

/* ============================================================
   Founder note
   ============================================================ */

.founder-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-md);
}

.founder-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 24px;
  text-align: center;
}

.founder-card p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.founder-card p:last-of-type { margin-bottom: 28px; }

.founder-sig {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-soft);
  font-size: 16px;
  text-align: right;
}

.founder-row {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-dark), var(--sage));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  flex-shrink: 0;
  object-fit: cover;
}

.founder-meta {
  flex: 1;
}

.founder-meta h3 {
  font-size: 19px;
  margin-bottom: 2px;
}

.founder-meta .role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   Trust band
   ============================================================ */

.trust-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
  text-align: center;
}

.trust-band p {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

.trust-band strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   Closing CTA band
   ============================================================ */

.closing-cta {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

.closing-cta h2 {
  color: white;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.closing-cta p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto var(--space-md);
  max-width: 540px;
}

.closing-cta .btn-primary {
  background: white;
  color: var(--accent-dark);
  border-color: white;
}

.closing-cta .btn-primary:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--accent-dark);
}

.closing-cta.sage {
  background: var(--bg-dark);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg-warm);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-mark {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent-dark);
}

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 760px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Auth pages
   ============================================================ */

.auth-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 24px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.auth-card .auth-mark {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.auth-card .auth-mark img {
  height: 32px;
}

.auth-card h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card .auth-sub {
  font-size: 15px;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: var(--space-md);
}

.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  text-decoration: none;
}

.auth-btn:hover {
  background: var(--bg-warm);
  color: var(--text);
  border-color: var(--text-soft);
}

.auth-btn.apple {
  background: #000;
  color: white;
  border-color: #000;
}

.auth-btn.apple:hover { background: #1a1a1a; color: white; border-color: #1a1a1a; }

.auth-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: var(--space-sm) 0;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.auth-input {
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--bg-card);
  color: var(--text);
  width: 100%;
  transition: border var(--duration-fast) var(--ease);
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  border-width: 2px;
  padding: 12px 13px;
}

.auth-input::placeholder { color: var(--text-muted); }

.auth-fine {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.auth-switch {
  text-align: center;
  margin-top: var(--space-sm);
  font-size: 14px;
  color: var(--text-soft);
}

.auth-state {
  text-align: center;
  padding: var(--space-md) 0;
}

.auth-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-state-icon svg { width: 28px; height: 28px; }

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq-list {
  max-width: var(--max-prose);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color var(--duration-fast) var(--ease);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent-dark);
}

.faq-item summary:hover { color: var(--accent-dark); }

.faq-answer {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 12px;
}

.faq-answer a { font-weight: 500; }

/* ============================================================
   Story page
   ============================================================ */

.story-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.story-body {
  max-width: var(--max-prose);
  margin: var(--space-lg) auto 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}

.story-body p { color: var(--text); margin-bottom: 22px; }

.advisors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  max-width: 940px;
  margin: 0 auto;
}

.advisor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
}

.advisor-photo {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--bg-warm);
}

.advisor-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.advisor-role {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.advisor.placeholder .advisor-photo {
  background: linear-gradient(135deg, var(--border), var(--bg-warm));
}

/* ============================================================
   Phone mockup (inline product moments)
   ============================================================ */

.phone-shell {
  width: 320px;
  height: 660px;
  background: var(--bg);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 10px #1a1a1a, 0 0 0 11px #2c2c2c;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
}

.phone-status {
  height: 32px;
  padding: 10px 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
}

.phone-content {
  flex: 1;
  overflow: hidden;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-greeting {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  padding: 4px 4px 0;
}

.phone-meta {
  font-size: 11px;
  color: var(--text-soft);
  padding: 0 4px;
  margin-top: -8px;
}

.phone-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 13px 11px;
  box-shadow: 0 2px 8px rgba(42, 37, 32, 0.04);
}

.phone-card.hero { border-left: 2px solid var(--accent); }
.phone-card.win {
  background: linear-gradient(135deg, white 0%, var(--accent-tint) 140%);
  border-color: var(--accent-soft);
}

.phone-card .eyebrow-text {
  font-size: 9px;
  letter-spacing: 1.1px;
  margin-bottom: 6px;
}

.phone-card .obs-text {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}

.phone-card .obs-actions {
  margin-top: 10px;
  gap: 6px;
}

.phone-card .chip {
  font-size: 11px;
  padding: 5px 9px;
}

.phone-nav {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 8px 0 10px;
  justify-content: space-around;
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-nav-item.active { color: var(--accent); }
.phone-nav-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Story tab (doctor summary) mock */
.story-mock {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: 460px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.story-mock .premium-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-dark);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.story-mock .eyebrow-text {
  font-size: 10px;
  margin-bottom: 6px;
}

.story-mock h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.story-mock .meta {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.story-mock .body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.story-mock .body em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 600;
}

.story-mock .share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-top: 14px;
}

/* ============================================================
   "What changes" 3-up card grid (homepage)
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .cards-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ============================================================
   Press logos placeholder
   ============================================================ */

.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-md) 0;
  opacity: 0.75;
}

.press-bar {
  width: 110px;
  height: 24px;
  background: var(--border-strong);
  border-radius: 4px;
}

/* ============================================================
   Reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   Utilities
   ============================================================ */

.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.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;
}
