/* ─── reset & globals ─── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.root {
  position: relative;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
  isolation: isolate;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence baseFrequency='0.9' type='fractalNoise' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: 0.06; }

.page-halo { position: absolute; border-radius: 999px; filter: blur(80px); pointer-events: none; z-index: 0; }
.page-halo.h-1 { top: -120px; right: -80px; width: 540px; height: 540px; background: var(--halo); }
.page-halo.h-2 { top: 600px; left: -160px; width: 460px; height: 460px; background: var(--halo-2); }

.shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── type ─── */
h1, h2, h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
[data-theme="dark"] .eyebrow-dot { box-shadow: 0 0 0 4px rgba(196,84,61,0.16); }
.eyebrow.on-dark { color: #f2ebdf; }
.eyebrow.on-dark .eyebrow-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }

.micro {
  display: inline-block;
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}

.card-eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.card-eyebrow.on-pro { color: #f2ebdf; }

.on-dark { color: var(--paper-ink) !important; }
.on-dark-muted { color: rgba(242, 235, 223, 0.72) !important; }

/* ─── topbar ─── */
.topbar {
  display: flex; align-items: center; gap: 28px;
  padding: 26px 0 14px;
}
.topbar nav {
  display: flex; gap: 26px; margin-left: 18px; flex: 1;
}
.topbar nav a {
  color: var(--ink-muted); font-size: 14px;
}
.topbar nav a:hover { color: var(--accent); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark { position: relative; width: 22px; height: 22px; display: inline-block; }
.brand-dot {
  position: absolute; inset: 6px; border-radius: 999px;
  background: var(--accent);
}
.brand-ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 1.5px solid var(--accent); opacity: 0.4;
}
.topbar-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--canvas);
  font-size: 14px; font-weight: 600;
  transition: transform .2s, background .2s;
}
.topbar-cta:hover { background: var(--accent); transform: translateY(-1px); }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
  backdrop-filter: blur(12px);
  transition: background .2s, color .2s, transform .2s;
}
.theme-toggle:hover { color: var(--accent); transform: translateY(-1px); }

/* ─── hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 100px;
}
.hero-h {
  margin-top: 22px;
  font-size: clamp(54px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-h em {
  color: var(--accent);
  font-feature-settings: "ss01";
}
.lede {
  margin-top: 28px;
  max-width: 540px;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-appstore-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 16px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.18s;
}
.hero-appstore-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.updates-divider {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.waitlist { margin-top: 12px; max-width: 560px; }
.waitlist-input {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 18px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px var(--shadow);
}
.waitlist-icon { color: var(--ink-muted); display: inline-flex; }
.waitlist-input input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: transparent;
  font: inherit; color: var(--ink);
  padding: 10px 6px;
}
.waitlist-input input::placeholder { color: var(--ink-muted); }
.waitlist-input button {
  border: 0; padding: 14px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.waitlist-input button:hover:not(:disabled) { background: var(--accent-deep); transform: translateY(-1px); }
.waitlist-input button:disabled { opacity: 0.7; cursor: wait; }
.waitlist-status {
  margin-top: 12px; padding: 12px 16px; border-radius: 14px;
  font-size: 14px; border: 1px solid;
}
.waitlist-status.success {
  background: rgba(110, 138, 107, 0.10);
  border-color: rgba(110, 138, 107, 0.25);
  color: #4a6149;
}
[data-theme="dark"] .waitlist-status.success { color: #b8d4b6; }
.waitlist-status.error {
  background: rgba(196, 84, 61, 0.10);
  border-color: rgba(196, 84, 61, 0.22);
  color: #8e3d2d;
}
[data-theme="dark"] .waitlist-status.error { color: #ffd3ca; }
.waitlist-note { margin-top: 10px; color: var(--ink-muted); font-size: 13px; }

.cta-meta {
  display: flex; align-items: stretch; gap: 22px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--hairline);
  max-width: 620px;
}
.cta-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cta-meta-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.cta-meta-value { color: var(--ink); font-size: 14px; font-weight: 500; }
.cta-meta-divider { width: 1px; background: var(--hairline); }

/* ─── hero visuals ─── */
.hero-stage {
  position: relative; height: 100%;
  min-height: 660px;
  display: flex; align-items: center; justify-content: center;
}
.halo {
  position: absolute; border-radius: 999px; filter: blur(50px); pointer-events: none;
}
.halo.halo-1 {
  width: 320px; height: 320px;
  top: -20px; right: -40px;
  background: var(--halo);
}
.halo.halo-2 {
  width: 240px; height: 240px;
  bottom: 40px; left: -20px;
  background: var(--halo-2);
}

.float-card {
  position: absolute; z-index: 3;
  width: 200px; padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 40px var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatY 9s ease-in-out infinite;
}
.float-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.cap-1 { top: 14px; left: -10px; transform: rotate(-2deg); }
.cap-2 { bottom: 56px; right: -16px; transform: rotate(2deg); background: var(--paper); color: var(--paper-ink); animation-delay: -3s; border-color: rgba(255,255,255,0.08); }
.cap-2 p { color: rgba(242, 235, 223, 0.86); }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--r,-2deg)); }
  50%      { transform: translateY(-10px) rotate(var(--r,-2deg)); }
}
.cap-1 { --r: -2deg; }
.cap-2 { --r:  2deg; }

/* phone mockup */
.device-wrap { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.phone-frame {
  position: relative; z-index: 2;
  width: 320px; padding: 14px;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), rgba(255,255,255,0.15));
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 40px 100px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  transform: rotate(-3deg);
}
[data-theme="dark"] .phone-frame {
  background: linear-gradient(160deg, rgba(60,46,36,0.5), rgba(40,32,26,0.3));
  border-color: rgba(255,255,255,0.08);
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 18px; border-radius: 999px;
  background: var(--paper);
  z-index: 2;
}
.phone-screen {
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(196,84,61,0.18), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(122,72,48,0.20), transparent 55%),
    var(--paper);
  color: var(--paper-ink);
  padding: 38px 22px 24px;
  min-height: 620px;
  position: relative;
  overflow: hidden;
}
.screen-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(242, 235, 223, 0.5);
}
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(242,235,223,0.4); }
.screen-brand {
  font-family: "Fraunces", Georgia, serif; font-style: italic;
  font-size: 32px; margin-top: 10px;
}
.screen-sub { color: rgba(242,235,223,0.55); font-size: 13px; }

.record-stage {
  position: relative;
  margin: 22px auto 14px;
  width: 168px; height: 168px;
  display: flex; align-items: center; justify-content: center;
}
.record-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(215,107,81,0.20);
}
.record-ring.r1 { inset: 0;  animation: ringPulse 3.2s ease-out infinite; }
.record-ring.r2 { inset: 18px; animation: ringPulse 3.2s ease-out -1s infinite; }
.record-ring.r3 { inset: 36px; animation: ringPulse 3.2s ease-out -2s infinite; }
@keyframes ringPulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.record-btn {
  width: 80px; height: 80px; border-radius: 999px;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 14px 28px rgba(196,84,61,0.45);
  position: relative; z-index: 1;
}
.record-btn-inner {
  width: 24px; height: 24px; border-radius: 6px;
  background: #fff;
}

.meter {
  display: grid; grid-template-columns: repeat(28, 1fr); gap: 3px;
  align-items: center; height: 50px;
  margin-top: 6px;
}
.meter span {
  display: block; width: 100%;
  background: linear-gradient(180deg, rgba(215,107,81,0.95), rgba(196,84,61,0.4));
  border-radius: 999px;
  transition: height 60ms linear;
}

.screen-timestamp {
  text-align: center;
  color: rgba(242,235,223,0.55);
  font-size: 12px; letter-spacing: 0.05em;
  margin-top: 10px;
}

.screen-card {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
}
.screen-card-eyebrow {
  display: block;
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 8px;
}
.screen-card p {
  margin: 0; font-family: "Fraunces", Georgia, serif;
  font-size: 19px; line-height: 1.3; color: var(--paper-ink);
}
.screen-card-meta {
  display: flex; gap: 8px; align-items: center;
  margin-top: 12px;
  color: rgba(242,235,223,0.55); font-size: 12px;
}
.screen-card-dot { color: rgba(242,235,223,0.3); }

/* ─── section ─── */
.section { padding: 100px 0 40px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-head h2 em { color: var(--accent); }
.section-lede { margin-top: 18px; color: var(--ink-muted); max-width: 580px; font-size: 17px; }

/* ─── what / trio ─── */
.trio {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.trio-card {
  padding: 32px 28px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 30px var(--shadow);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.trio-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px var(--shadow); }
.trio-glyph {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
[data-theme="dark"] .trio-glyph { background: rgba(196,84,61,0.10); }
.trio-card h3 { font-size: 26px; line-height: 1.1; margin-top: 4px; }
.trio-card p { margin-top: 14px; color: var(--ink-muted); font-size: 15.5px; line-height: 1.65; }

/* ─── how ─── */
.howlist { list-style: none; padding: 0; margin: 0; }
.howstep {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.howstep:first-child { border-top: 0; padding-top: 0; }
.howstep-rail { position: relative; padding-top: 4px; }
.howstep-n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 32px; color: var(--accent);
  letter-spacing: -0.02em;
}
.howstep-body { max-width: 720px; }
.howstep-time {
  display: inline-block;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
  margin-bottom: 10px;
}
.howstep-body h3 {
  font-size: clamp(28px, 3vw, 40px); line-height: 1.05;
  color: var(--ink);
}
.howstep-body p {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 17px; line-height: 1.7;
  max-width: 620px;
}

/* ─── sunday ─── */
.sunday {
  margin: 80px 0 80px;
  padding: 100px 0;
  background: var(--paper);
  color: var(--paper-ink);
  position: relative; overflow: hidden;
}
.sunday::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(196,84,61,0.20), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(122,72,48,0.22), transparent 35%);
  pointer-events: none;
}
.sunday-grid {
  position: relative; z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.95fr;
  gap: 64px; align-items: center;
}
.sunday-copy h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -0.025em; }
.sunday-copy h2 em { color: var(--accent); }
.sunday-copy p { margin-top: 24px; font-size: 18px; line-height: 1.75; max-width: 540px; }
.sunday-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.sunday-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  color: rgba(242, 235, 223, 0.82); font-size: 15.5px; line-height: 1.6;
}
.sunday-list li em { color: var(--paper-ink); font-style: italic; }
.sunday-list li span {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); margin-top: 9px;
  box-shadow: 0 0 0 4px rgba(196,84,61,0.16);
}
.sunday-letter {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 30px 32px 28px;
  border-radius: 28px;
  backdrop-filter: none;
  color: var(--paper-ink);
}
.sunday-letter .letter-time { color: rgba(242,235,224,0.55); }
.sunday-letter .letter-h { color: var(--paper-ink); }
.sunday-letter .letter-body { color: rgba(242,235,224,0.74); }
.sunday-letter .letter-body em { color: var(--paper-ink); }
.sunday-letter .letter-pull {
  background: rgba(196,84,61,0.14);
  border-left-color: var(--accent);
}
.sunday-letter .letter-pull p { color: var(--paper-ink); }
.sunday-letter .letter-stats > div {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.sunday-letter .letter-stats .micro { color: rgba(242,235,224,0.5); }
.sunday-letter .letter-stats strong { color: var(--paper-ink); }

/* shared letter parts */
.letter-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.letter-time {
  font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-muted);
}
.letter-h {
  font-size: 38px; line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink);
}
.letter-body {
  margin-top: 18px;
  color: var(--ink-muted); font-size: 15.5px; line-height: 1.7;
}
.letter-body em { color: var(--ink); font-style: italic; }
.letter-pull {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-radius: 18px;
  border-left: 3px solid var(--accent);
}
[data-theme="dark"] .letter-pull { background: rgba(196,84,61,0.10); }
.letter-pull p {
  margin-top: 8px;
  font-family: "Fraunces", Georgia, serif; font-style: italic;
  font-size: 20px; line-height: 1.35;
  color: var(--ink);
}
.letter-stats {
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.letter-stats > div {
  padding: 14px;
  background: var(--card-2);
  border-radius: 14px;
  border: 1px solid var(--hairline);
}
.letter-stats strong {
  display: block; margin-top: 4px;
  font-family: "Fraunces", Georgia, serif; font-weight: 400;
  font-size: 28px; color: var(--ink);
}

/* ─── pricing ─── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price {
  position: relative;
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px var(--shadow);
  backdrop-filter: blur(14px);
}
.price.pro {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: rgba(255,255,255,0.08);
}
.price-tag {
  position: absolute; top: 22px; right: 22px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.price-top h3 { font-size: 30px; line-height: 1.1; margin-top: 6px; }
.price.pro .price-top h3 { color: var(--paper-ink); }
.price-amount { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.price-amount .amt {
  font-family: "Fraunces", Georgia, serif; font-size: 56px; line-height: 1;
  letter-spacing: -0.03em;
}
.price.pro .price-amount .amt { color: var(--paper-ink); }
.price-amount .per { color: var(--ink-muted); font-size: 14px; }
.price.pro .price-amount .per { color: rgba(242,235,223,0.6); }
.price ul {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 12px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.price.pro ul { border-top-color: rgba(255,255,255,0.08); }
.price ul li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  font-size: 15px; color: var(--ink-soft); line-height: 1.55;
}
.price.pro ul li { color: rgba(242,235,223,0.85); }
.price ul li::before {
  content: "";
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent-soft);
  border: 4px solid var(--accent);
  margin-top: 2px;
}
.price.pro ul li::before { background: rgba(255,255,255,0.06); }
.price-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 32px; padding: 16px 22px;
  border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: transform .2s, background .2s;
}
.price-cta.primary { background: var(--accent); color: #fff; }
.price-cta.primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.price-cta.secondary { background: var(--ink); color: var(--canvas); }
[data-theme="dark"] .price-cta.secondary { background: var(--paper-ink); color: var(--paper); }
.pricing-foot {
  margin-top: 28px; color: var(--ink-muted); font-size: 14px; max-width: 640px;
}

/* ─── quote ─── */
.quote-section { padding: 100px 0 60px; max-width: 880px; margin: 0 auto; text-align: center; }
.quote-section blockquote { margin: 0; }
.quote-section blockquote p {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--ink);
}
.quote-section blockquote p em { color: var(--accent); }
.quote-section blockquote footer {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.quote-rule { width: 40px; height: 1px; background: var(--ink-muted); }

/* ─── faq ─── */
.faqlist {
  display: grid; gap: 4px;
  border-top: 1px solid var(--hairline);
}
.faqitem {
  padding: 22px 4px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
}
.faqitem-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px; color: var(--ink); line-height: 1.2;
}
.faqitem-toggle {
  width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent); font-size: 20px;
  flex-shrink: 0;
}
[data-theme="dark"] .faqitem-toggle { background: rgba(196,84,61,0.14); }
.faqitem-a {
  margin-top: 14px;
  color: var(--ink-muted); font-size: 16px; line-height: 1.7;
  max-width: 720px;
}

/* ─── final cta ─── */
.finalcta {
  margin: 80px 0 60px;
  padding: 80px 48px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 30%, var(--halo), transparent 50%),
    radial-gradient(circle at 80% 80%, var(--halo-2), transparent 55%),
    var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px var(--shadow);
  text-align: center;
}
.finalcta-inner { max-width: 640px; margin: 0 auto; }
.finalcta h2 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.025em;
}
.finalcta h2 em { color: var(--accent); }
.finalcta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  padding: 18px 32px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 18px 40px var(--halo);
  transition: transform .2s, background .2s;
}
.finalcta-btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.finalcta-note { margin-top: 22px; color: var(--ink-muted); font-size: 13px; }

/* ─── footer ─── */
.footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--ink-muted); font-size: 14.5px;
  max-width: 280px; line-height: 1.6;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .micro { color: var(--ink); margin-bottom: 4px; }
.footer-col a { color: var(--ink-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-foot {
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-muted); font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

/* ─── responsive ─── */

/* Tablet */
@media (max-width: 1024px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 28px 0 72px; }
  .hero-stage { min-height: 520px; }
  .trio { grid-template-columns: 1fr 1fr; }
  .sunday-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .howstep { grid-template-columns: 80px 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  /* layout */
  .shell, .footer { width: calc(100% - 32px); }

  /* topbar */
  .topbar { padding: 18px 0 10px; gap: 12px; flex-wrap: nowrap; }
  .topbar-cta { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
  .brand { font-size: 24px; flex-shrink: 0; }
  .theme-toggle { flex-shrink: 0; margin-left: auto; }

  /* hero */
  .hero { gap: 36px; padding: 20px 0 56px; }
  .hero-h { font-size: clamp(40px, 11vw, 56px); margin-top: 14px; }
  .lede { font-size: 16px; margin-top: 18px; }

  /* waitlist — stack vertically */
  .waitlist { margin-top: 24px; }
  .waitlist-name-row { display: none !important; } /* hide first-name on mobile for cleaner UX */
  .waitlist-input {
    flex-wrap: wrap;
    padding: 10px 10px 10px 16px;
    border-radius: 22px;
    gap: 8px;
  }
  .waitlist-input input { width: 100%; padding: 8px 4px; }
  .waitlist-input button {
    width: 100%; justify-content: center;
    padding: 13px 18px; border-radius: 14px;
  }

  /* cta-meta */
  .cta-meta { flex-direction: column; gap: 12px; padding-top: 20px; }
  .cta-meta-divider { display: none; }
  .cta-meta-item { flex-direction: row; align-items: center; gap: 10px; }

  /* hero stage — hide floating cards, shrink phone */
  .hero-stage { min-height: 0; }
  .float-card { display: none; }
  .phone-frame { width: 100%; max-width: 300px; transform: none; }
  .phone-screen { min-height: 500px; padding: 32px 18px 20px; }
  .device-wrap { padding: 0 16px; justify-content: center; }

  /* sections */
  .section { padding: 64px 0 20px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .section-lede { font-size: 15.5px; }

  /* trio */
  .trio { grid-template-columns: 1fr; gap: 14px; }
  .trio-card { padding: 24px 20px; }
  .trio-card h3 { font-size: 22px; }

  /* how */
  .howstep { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .howstep-n { font-size: 26px; }
  .howstep-body h3 { font-size: 22px; }
  .howstep-body p { font-size: 15.5px; }

  /* sunday */
  .sunday { margin: 48px 0; padding: 56px 0; }
  .sunday-grid { width: calc(100% - 32px); }
  .sunday-copy h2 { font-size: clamp(32px, 8vw, 48px); }
  .sunday-copy p { font-size: 15.5px; }
  .sunday-letter { padding: 22px 18px; }
  .letter-h { font-size: 28px; }
  .letter-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .letter-stats > div { padding: 10px; }
  .letter-stats strong { font-size: 22px; }

  /* pricing */
  .price-grid { max-width: 100%; }
  .price { padding: 28px 22px; }
  .price-amount .amt { font-size: 44px; }
  .price-top h3 { font-size: 24px; }

  /* quote */
  .quote-section { padding: 64px 0 40px; }

  /* faq */
  .faqitem-q { font-size: 18px; }

  /* final cta */
  .finalcta { padding: 48px 20px; border-radius: 24px; margin: 48px 0 40px; }
  .finalcta h2 { font-size: clamp(28px, 7vw, 40px); }
  .finalcta-btn { padding: 15px 24px; font-size: 14px; margin-top: 24px; }

  /* footer */
  .footer { padding: 40px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-foot { flex-direction: column; gap: 8px; }
}
