/* ---------- Design tokens ---------- */
:root {
  --bg: #F7F9F7;
  --bg-alt: #EDF1EE;
  --surface: #FFFFFF;
  --ink: #191C1A;
  --ink-muted: #5C6560;
  --border: #DDE3DF;
  --primary: #0F6E56;
  --primary-dark: #0A5443;
  --primary-ink: #FFFFFF;
  --accent: #14396B;
  --mint: #6FE0C0;
  --danger-soft: #F7D9D3;
  --danger-ink: #7A241B;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 25, 0.06), 0 1px 1px rgba(20,30,25,0.04);
  --shadow: 0 8px 24px rgba(20, 30, 25, 0.08), 0 2px 8px rgba(20,30,25,0.05);
  --shadow-lg: 0 24px 64px rgba(20, 30, 25, 0.16), 0 8px 20px rgba(20,30,25,0.08);
  --container: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #101512;
  --bg-alt: #161D1A;
  --surface: #182019;
  --ink: #ECF3EF;
  --ink-muted: #9AA6A0;
  --border: #26302A;
  --primary: #4FD8B5;
  --primary-dark: #6FE7C7;
  --primary-ink: #08251C;
  --accent: #7FA8E0;
  --mint: #4FD8B5;
  --danger-soft: #3A211D;
  --danger-ink: #F2B8AC;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101512;
    --bg-alt: #161D1A;
    --surface: #182019;
    --ink: #ECF3EF;
    --ink-muted: #9AA6A0;
    --border: #26302A;
    --primary: #4FD8B5;
    --primary-dark: #6FE7C7;
    --primary-ink: #08251C;
    --accent: #7FA8E0;
    --mint: #4FD8B5;
    --danger-soft: #3A211D;
    --danger-ink: #F2B8AC;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow: 0 8px 24px rgba(0,0,0,0.35);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  height: 76px;
}
.site-header .wrap { max-width: 1480px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand-mark { border-radius: 8px; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.5vw, 26px);
  min-width: 0;
  white-space: nowrap;
}
.site-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.site-nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 48px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.35rem, 3.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--ink); }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges-center { justify-content: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 1rem; }
.store-badge small { font-weight: 400; font-size: 0.7rem; opacity: 0.85; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-muted); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.hero-art .device-duo { max-width: 560px; margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-item svg { flex-shrink: 0; color: var(--primary); }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.light .eyebrow { color: var(--mint); }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.section-sub { margin-top: 16px; color: var(--ink-muted); font-size: 1.05rem; }

/* ---------- Features ---------- */
.features { padding: 100px 0; }
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-rev { direction: rtl; }
.feature-row-rev > * { direction: ltr; }
.feature-media { display: flex; justify-content: center; }

/* iPhone + iPad shown together */
.device-duo {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-bottom: 56px;
  display: flex;
  justify-content: center;
}
.device-duo .tablet-frame {
  width: 84%;
  border-radius: 20px;
  background: #0c0d0d;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.device-duo .tablet-frame img { width: 100%; display: block; border-radius: 10px; }
.device-duo .phone-frame {
  position: absolute;
  right: 2%;
  bottom: -8%;
  width: 30%;
  max-width: 130px;
  border-radius: 26px;
  background: #0c0d0d;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 2px solid #000;
}
.device-duo .phone-frame img { width: 100%; display: block; border-radius: 18px; }
.feature-copy h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature-copy p { color: var(--ink-muted); font-size: 1.05rem; margin-bottom: 18px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.98rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Privacy block ---------- */
.privacy-block {
  background: #101915;
  color: #EDF3EF;
  padding: 100px 0;
}
.privacy-block .section-sub { color: #A9BAB1; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.privacy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
}
.privacy-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #6FE0C0;
}
.privacy-card p { color: #B7C4BC; font-size: 0.95rem; }

/* ---------- Why Dr.Prescribe / comparison ---------- */
.compare-block { padding: 100px 0; background: var(--bg); }
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table thead th {
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-alt);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: normal;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td { white-space: normal; color: var(--ink-muted); }
.compare-table .col-highlight {
  background: rgba(15, 110, 86, 0.07);
}
.compare-table thead th.col-highlight { color: var(--primary); }
.cell-good { color: var(--primary); font-weight: 600; }
.cell-bad { color: var(--danger-ink); }
.cell-neutral { color: var(--ink-muted); }
.compare-note {
  display: none;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

@media (prefers-color-scheme: dark) {
  .compare-table .col-highlight { background: rgba(79, 216, 181, 0.1); }
}

/* ---------- Editions ---------- */
.editions { padding: 100px 0; background: var(--bg-alt); }
.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.edition-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.edition-card-upcoming { border-style: dashed; }
.edition-top { margin-bottom: 16px; }
.edition-top h3 { font-size: 1.5rem; font-weight: 800; margin-top: 12px; }
.edition-card > p { color: var(--ink-muted); margin-bottom: 24px; }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.pill-live { background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--primary); }
.pill-upcoming { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.check-list { margin-bottom: 32px; flex-grow: 1; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.96rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}
.edition-card-upcoming .check-list li::before { color: var(--accent); }
.edition-card .btn { align-self: flex-start; }

/* ---------- Tablet ---------- */
.tablet-block { padding: 100px 0; overflow: hidden; }
.tablet-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.tablet-copy p { color: var(--ink-muted); font-size: 1.05rem; margin-top: 16px; }
.tablet-shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ---------- CTA ---------- */
.cta-block {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 90px 0;
  text-align: center;
}
:root[data-theme="dark"] .cta-block { color: #08251C; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta-block { color: #08251C; }
}
.cta-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-block p { opacity: 0.92; margin-bottom: 32px; font-size: 1.05rem; }
.cta-block .store-badge { background: rgba(0,0,0,0.22); color: #fff; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; }
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 18px; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 18px; top: 0; left: 8px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding-bottom: 22px; color: var(--ink-muted); max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-muted); font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { width: 100%; color: var(--ink-muted); font-size: 0.85rem; margin-top: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Simple privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.legal h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--ink-muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-muted); font-size: 1.02rem; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 20px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal a.back { display: inline-block; margin-bottom: 24px; font-weight: 700; color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .tablet-inner { grid-template-columns: 1fr; }
  .tablet-media { order: -1; }
  .feature-row, .feature-row-rev { grid-template-columns: 1fr; direction: ltr; }
  .feature-media { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .edition-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; }
}

@media (max-width: 1100px) {
  .header-inner { display: flex; justify-content: space-between; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  .header-cta .btn-sm { display: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .compare-note { display: block; }
}

/* ---------- Showcase / How it works ---------- */
.showcase {
  position: relative;
  padding: 96px 0 104px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(79, 216, 181, 0.14), transparent 60%),
    linear-gradient(180deg, #0C1512 0%, #0A1210 100%);
  color: #EAF3EF;
  overflow: hidden;
}
.showcase-head { margin-bottom: 48px; }
.showcase-head .eyebrow { color: var(--mint); }
.showcase-head h2 { color: #F4FAF7; }
.showcase-head .section-sub { color: #A7B6AF; }

.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

/* Device toggle */
.showcase-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.dev-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #A7B6AF;
  transition: background 0.25s ease, color 0.25s ease;
}
.dev-btn:hover { color: #E7F1EC; }
.dev-btn.is-active { background: var(--mint); color: #08251C; }

/* Step rail */
.showcase-steps { display: flex; flex-direction: column; gap: 10px; }
.showcase-step button {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #C7D4CE;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.showcase-step button:hover { background: rgba(255, 255, 255, 0.06); }
.showcase-step.is-active button {
  background: rgba(79, 216, 181, 0.10);
  border-color: rgba(79, 216, 181, 0.38);
  color: #F4FAF7;
}
.step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #A7B6AF;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.showcase-step.is-active .step-num { background: var(--mint); color: #08251C; }
.step-text { display: flex; flex-direction: column; gap: 3px; }
.step-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.step-desc { font-size: 0.92rem; color: #9DACA5; line-height: 1.45; }
.showcase-step.is-active .step-desc { color: #B9C7C0; }
.step-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.showcase-step.is-active .step-progress { opacity: 1; }
.step-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mint);
  border-radius: 2px;
}
.showcase-step.is-active .step-progress i {
  animation: showcaseFill var(--showcase-dur, 3600ms) linear forwards;
}
@keyframes showcaseFill { from { width: 0; } to { width: 100%; } }

/* Device */
.showcase-device { display: flex; justify-content: center; }
.showcase-phone {
  position: relative;
  padding: 12px;
  background: #05100C;
  border: 2px solid #1c2b25;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px rgba(79, 216, 181, 0.12);
  transition: width 0.4s ease, border-radius 0.4s ease;
}
.showcase-phone.is-iphone {
  width: 300px;
  max-width: 78vw;
  aspect-ratio: 300 / 650;
  border-radius: 42px;
}
.showcase-phone.is-ipad {
  width: 560px;
  max-width: 92vw;
  aspect-ratio: 2360 / 1640;
  border-radius: 26px;
  padding: 14px;
}
.showcase-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #05100C;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.showcase-phone.is-ipad .showcase-notch { display: none; }
.showcase-screens {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0d1613;
  container-type: size;
}

.showcase-phone.is-ipad .showcase-screens { border-radius: 14px; }
.showcase-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
  pointer-events: none;
}
.showcase-phone.is-ipad .showcase-screen { object-position: center; }
.showcase-screen.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Gesture pointer */
.showcase-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.4, 0.05, 0.2, 1),
              top 0.7s cubic-bezier(0.4, 0.05, 0.2, 1),
              opacity 0.35s ease;
}
.showcase-pointer.is-on { opacity: 1; }
.showcase-pointer.no-anim { transition: opacity 0.35s ease; }
.sc-finger,
.sc-ripple {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.sc-finger {
  background: rgba(15, 110, 86, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
.sc-ripple {
  border: 2px solid var(--mint);
  opacity: 0;
  transform: scale(0.5);
}
.showcase-pointer.is-tap .sc-ripple { animation: scTap 0.6s ease-out; }
.showcase-pointer.is-tap .sc-finger { animation: scPress 0.42s ease; }
@keyframes scTap {
  0% { opacity: 0.85; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2.6); }
}
@keyframes scPress {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(0.78); }
}
.sc-hint {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translate(-50%, 4px);
  white-space: nowrap;
  max-width: 78vw;
  background: rgba(6, 16, 12, 0.94);
  color: #EAF3EF;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 216, 181, 0.42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.showcase-pointer.is-on .sc-hint { opacity: 1; transform: translate(-50%, 0); }
.showcase-pointer.hint-above .sc-hint { top: auto; bottom: 26px; }
.showcase-pointer.no-hint .sc-hint { display: none; }

@media (max-width: 900px) {
  .showcase-stage {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .showcase-steps { order: 2; width: 100%; max-width: 560px; }
  .showcase-device { order: 1; }
  .step-desc { display: none; }
  .showcase-step button { align-items: center; padding: 14px 18px; }
  .showcase-step.is-active .step-desc { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-screen { transition: opacity 0.2s ease; transform: none; }
  .showcase-screen.is-active { transform: none; }
  .showcase-step.is-active .step-progress i { animation: none; width: 100%; }
}

/* ---------- Watch / reel ---------- */
.watch-reel { padding: 100px 0; background: var(--bg-alt); overflow: hidden; }
.watch-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.watch-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 10px 0 16px;
}
.watch-copy .section-sub { color: var(--ink-muted); font-size: 1.06rem; max-width: 46ch; }
.watch-points { margin: 24px 0 32px; display: grid; gap: 6px; }
.watch-points li {
  position: relative; padding: 10px 14px 10px 42px; font-size: 1rem;
  color: var(--ink-muted); border-radius: 12px; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.watch-points li::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px;
  border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent);
  transition: background 0.25s ease;
}
.watch-points li::after {
  content: ""; position: absolute; left: 20px; top: 19px; width: 7px; height: 4px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg); opacity: 0.5; transition: opacity 0.25s ease, border-color 0.25s ease;
}
.watch-points .wp-label {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); opacity: 0.65;
  margin-bottom: 3px; transition: opacity 0.25s ease;
}
.watch-points li.is-active {
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  color: var(--ink);
}
.watch-points li.is-active::before { background: var(--primary); }
.watch-points li.is-active::after { border-color: var(--primary-ink); opacity: 1; }
.watch-points li.is-active .wp-label { opacity: 1; }
.watch-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--primary-ink);
  font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background 0.18s ease;
}
.watch-cta:hover { transform: translateY(-1px); background: var(--primary-dark); }
.watch-cta svg { transition: transform 0.18s ease; }
.watch-cta:hover svg { transform: translateX(3px); }

.watch-media { display: flex; justify-content: center; }
.reel-phone {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.reel-video {
  display: block;
  width: 100%;
  aspect-ratio: 1226 / 930;
  border-radius: 18px;
  background: #10305e; /* brand navy while the video loads */
  object-fit: cover;
}
.reel-play { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; border-radius: 18px; cursor: pointer; }
.reel-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 78px; height: 78px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(8, 18, 22, 0.5);
  opacity: 0; transition: opacity 0.2s ease;
}
.reel-play::before {
  content: ""; position: absolute; left: calc(50% + 3px); top: 50%; z-index: 1;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent #fff;
  opacity: 0; transition: opacity 0.2s ease;
}
.reel-phone.is-paused .reel-play::before,
.reel-phone.is-paused .reel-play::after { opacity: 1; }

@media (max-width: 900px) {
  .watch-inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .watch-media { order: 1; }
  .watch-copy { order: 2; max-width: 560px; }
  .watch-copy .section-sub { margin-inline: auto; }
  .watch-points { text-align: left; max-width: 430px; margin-inline: auto; }
  .reel-phone { max-width: 520px; }
}

/* ---------- Blog / Articles ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.article-head { margin: 24px 0 40px; }
.article-head .eyebrow { color: var(--primary); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: .4em 0 .3em; }
.article-meta { color: var(--ink-muted); font-size: .9rem; }
.article-body { font-size: 1.08rem; line-height: 1.7; }
.article-body h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 1.4em 0; padding: .6em 1.2em; border-left: 3px solid var(--primary); background: var(--bg-alt); border-radius: var(--radius-sm); color: var(--ink-muted); }
.article-cta { margin: 48px 0 0; padding: 28px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.article-cta h3 { margin: 0 0 .4em; }
.article-cta p { margin: 0 0 1.1em; color: var(--ink-muted); }
.article-back { display: inline-block; margin-bottom: 8px; color: var(--ink-muted); font-size: .9rem; }

.blog-list { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.blog-list h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 16px 0 8px; }
.blog-list > p.lead { color: var(--ink-muted); margin: 0 0 40px; font-size: 1.08rem; }
.post-card { display: block; padding: 24px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h2 { font-size: 1.25rem; margin: 0 0 .3em; }
.post-card p { margin: 0; color: var(--ink-muted); }
.post-card .post-tag { color: var(--primary); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Waitlist form ---------- */
.waitlist-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin: 4px 0 12px; }
.waitlist-form-center { justify-content: center; }
.waitlist-input {
  flex: 1 1 240px; min-width: 0; padding: 13px 16px;
  font-size: 1rem; font-family: var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.waitlist-input::placeholder { color: var(--ink-muted); }
.waitlist-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,110,86,.15); }
.waitlist-form .btn { flex: 0 0 auto; white-space: nowrap; }
.cta-note { color: var(--ink-muted); font-size: .9rem; margin: 4px 0 0; }
@media (max-width: 420px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-input { flex: 0 0 auto; width: 100%; }
  .waitlist-form .btn { width: 100%; }
}
