:root {
  --ground: #121110;
  --card: #1A1917;
  --recessed: #232120;
  --hairline: rgba(237, 231, 220, 0.07);
  --text: #F4EFE5;
  --body: #A29B90;
  --muted: #8A837A;
  --faint: #757067;
  --amber: #E0A03C;
  --amber-ink: #B98B3E;
  --phone-fill: #E5A73F;
  --phone-ink: #3D2606;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.4);

  /* Real app surfaces embedded in cards render in the app's light theme,
     regardless of this page's own (deliberately dark-only) palette. */
  --app-bg: #F1EEE8;
  --app-card: #FBFAF7;
  --app-text: #2B2620;
  --app-muted: #756C5E;
  --app-border: rgba(43, 38, 32, 0.12);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.75;
}

@font-face { font-family: 'PT Serif'; src: url("assets/fonts/PTSerif-Regular.ttf") format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url("assets/fonts/PTSerif-Bold.ttf") format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

h1, h2, h3, .voice { font-family: 'PT Serif', Georgia, serif; font-weight: 400; color: var(--text); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.section { padding: 64px 44px 0; max-width: 1120px; margin: 0 auto; }
.section:last-of-type { padding-bottom: 64px; }
.eyebrow {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--amber); font-weight: 600; margin-bottom: 14px;
}
.section-heading { font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.section-sub { margin-top: 12px; font-size: 15px; color: var(--body); max-width: 60ch; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 44px; max-width: 1120px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); }
.brandmark { flex: none; }
.brand-word { font-family: 'PT Serif', Georgia, serif; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--body); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--phone-ink);
  background: var(--amber); padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  border: none; cursor: pointer;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 32px; height: 32px; padding: 0; border: 1px solid var(--hairline); border-radius: 8px;
  background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; margin: 0 auto; background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav-mobile {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
  background: var(--card); border-bottom: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden; transition: max-height 0.22s ease;
}
.nav-mobile.open { max-height: 260px; }
.nav-mobile a, .nav-mobile button {
  display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 14px 44px; font-size: 14px; color: var(--text);
  border-top: 1px solid var(--hairline); font-family: inherit;
}
.nav-mobile a:first-child { border-top: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 44px 64px; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  opacity: 0; transform: translateY(14px);
  animation: heroIn 0.7s ease forwards;
}
@media (prefers-reduced-motion: reduce) { .hero { opacity: 1; transform: none; animation: none; } }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.status-line { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--amber); margin-bottom: 22px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none; }
.hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--amber); }
.hero-sub { margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--body); max-width: 430px; }

.waitlist-form { display: flex; gap: 10px; margin-top: 28px; max-width: 430px; flex-wrap: wrap; }
.waitlist-form input {
  flex: 1 1 200px; min-width: 0; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--hairline); background: var(--card); color: var(--text); font-size: 14px;
}
.waitlist-form input::placeholder { color: var(--faint); }
.waitlist-form input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.waitlist-btn {
  border: none; cursor: pointer; background: var(--amber); color: var(--phone-ink);
  font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 10px; white-space: nowrap;
}
.waitlist-note { margin-top: 6px; font-size: 13px; color: var(--faint); max-width: 430px; }
.store-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; color: var(--muted); }
.store-glyphs { display: flex; gap: 6px; font-size: 13px; }

/* ---------- Phone + ripples (shared) ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.ripples { position: absolute; inset: 0; margin: auto; width: 300px; height: 300px; pointer-events: none; z-index: 0; }
.ripples .ring {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid var(--amber); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ripples .ring { animation: rippleOut 5.5s ease-out infinite; }
  .ripples .ring:nth-child(2) { animation-delay: 1.8s; }
  .ripples .ring:nth-child(3) { animation-delay: 3.6s; }
}
@keyframes rippleOut {
  0% { transform: scale(0.82); opacity: 0; }
  15% { opacity: 0.32; }
  100% { transform: scale(1.5); opacity: 0; }
}

.phone {
  position: relative; z-index: 1;
  width: 236px; background: #0A0908; border-radius: 36px; padding: 8px;
  border: 0.5px solid var(--hairline); box-shadow: var(--shadow);
}
.phone-speaker { width: 44px; height: 4px; border-radius: 3px; background: rgba(244,239,229,0.14); margin: 6px auto 4px; }
.phone-screen {
  position: relative; overflow: hidden;
  border-radius: 28px; min-height: 420px;
  background: var(--phone-fill); color: var(--phone-ink);
}
.phone-brand { position: absolute; top: 14px; left: 16px; font-family: 'PT Serif', Georgia, serif; font-size: 13px; letter-spacing: 0.02em; z-index: 2; }

/* the amber interrupt screen used in the hero + stepper */
.interrupt-mock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 0 22px; }
.interrupt-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(61,38,6,0.85); color: #F0C273; display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', Georgia, serif; font-size: 23px; }
.interrupt-meta { font-size: 11px; opacity: 0.75; }
.interrupt-q { font-family: 'PT Serif', Georgia, serif; font-size: 20px; line-height: 1.22; }
.interrupt-actions { display: flex; gap: 8px; margin-top: 6px; }
.interrupt-actions span { background: rgba(61,38,6,0.9); color: #F2D9A6; padding: 8px 18px; border-radius: 9px; font-size: 12.5px; }
.interrupt-dismiss { font-size: 11px; opacity: 0.7; margin-top: 4px; }
.interrupt-fallback { font-size: 11px; opacity: 0.6; text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip-wrap { margin: 64px auto 0; max-width: 1120px; padding: 0 44px; }
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline); border-radius: 14px; overflow: hidden;
}
.trust-cell { background: var(--card); padding: 20px 18px; }
.trust-cell .label { font-size: 13px; color: var(--text); }
.trust-cell .sub { margin-top: 3px; font-size: 12px; color: var(--faint); }

/* ---------- Stepper ---------- */
.stepper-grid { margin-top: 40px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.step-screen { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none; }
.step-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.step-screen.active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .step-screen { transition: opacity 0.01s linear; transform: none; } }

.step-list { display: flex; flex-direction: column; }
.step-btn {
  display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 0; border-top: 1px solid var(--hairline); font-family: inherit;
}
.step-list .step-btn:first-child { border-top: none; }
.step-num { font-family: 'PT Serif', Georgia, serif; font-style: italic; font-size: 13px; color: var(--faint); }
.step-btn.active .step-num { color: var(--amber); }
.step-title { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); font-weight: 600; }
.step-btn.active .step-title { color: var(--text); }
.step-desc { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--body); max-width: 42ch; display: none; }
.step-btn.active .step-desc { display: block; }

.step-progress { height: 2px; margin-top: 20px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.step-progress-fill { display: block; height: 100%; width: 0; background: var(--amber); }
.step-progress-fill.animate { transition: width 4.8s linear; width: 100%; }

/* Step 1: generic feed + notification banner */
.feed-mock { position: absolute; inset: 0; background: #171512; overflow: hidden; }
.feed-track { position: absolute; left: 14px; right: 14px; top: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.feed-block { height: 86px; border-radius: 10px; background: #2A2723; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .feed-track.run { animation: feedScroll 3.6s linear infinite; }
}
@keyframes feedScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.notif-banner {
  position: absolute; left: 12px; right: 12px; top: 14px; z-index: 3;
  background: #F6F3ED; border-radius: 17px; padding: 12px 13px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(-40px);
}
@media (prefers-reduced-motion: no-preference) {
  .notif-banner.drop { animation: bannerDrop 1.1s cubic-bezier(.2,.8,.3,1) forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .step-screen.active .notif-banner { opacity: 1; transform: none; }
}
@keyframes bannerDrop {
  0% { opacity: 0; transform: translateY(-40px); }
  70% { opacity: 1; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.notif-row1 { display: flex; align-items: center; gap: 7px; }
.notif-icon { flex: none; }
.notif-app { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: #8A837A; }
.notif-now { margin-left: auto; font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: #8A837A; }
.notif-msg { margin-top: 6px; font-size: 13px; line-height: 1.4; color: #201C16; }

/* Step 3: take a break, on the light app theme */
.break-mock { position: absolute; inset: 0; background: var(--app-bg); color: var(--app-text); padding: 20px 18px; display: flex; flex-direction: column; }
.break-title { font-family: 'PT Serif', Georgia, serif; font-size: 12px; color: var(--app-muted); }
.break-list { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.break-row { display: flex; align-items: center; gap: 12px; }
.break-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--app-card); border: 1px solid var(--app-border); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.break-label { font-size: 13.5px; }
.break-not-now { font-size: 12px; color: var(--app-muted); text-align: center; }

/* Step 4: history, on the light app theme */
.hist-mock { position: absolute; inset: 0; background: var(--app-bg); color: var(--app-text); padding: 20px 18px; }
.hist-title { font-family: 'PT Serif', Georgia, serif; font-size: 15px; margin-bottom: 12px; }
.hist-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.hist-row.dismissed { opacity: 0.55; }
.hist-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hist-info { flex: 1; }
.hist-label { font-size: 12.5px; }
.hist-time { font-size: 10px; color: var(--app-muted); }

/* ---------- Why not just block it ---------- */
.blocker-cards { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blocker-card { border-radius: 16px; padding: 22px; }
.blocker-card.wall { background: var(--recessed); }
.blocker-card.reach { background: var(--card); border: 1px solid rgba(224,160,60,0.28); }
.blocker-card h3 { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.wall-panel { background: rgba(244,239,229,0.05); border-radius: 12px; padding: 20px; text-align: center; }
.wall-stop { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--faint); margin: 0 auto 10px; position: relative; }
.wall-stop::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; background: var(--faint); }
.wall-title { font-family: 'PT Serif', Georgia, serif; font-size: 16px; color: var(--text); }
.wall-snooze { margin-top: 6px; font-size: 11px; color: var(--muted); }
.reach-panel { background: var(--phone-fill); color: var(--phone-ink); border-radius: 12px; padding: 20px; text-align: center; }
.reach-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(61,38,6,0.85); color: #F0C273; display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', Georgia, serif; font-size: 14px; margin: 0 auto 8px; }
.reach-q { font-family: 'PT Serif', Georgia, serif; font-size: 15px; }
.reach-walk { margin-top: 6px; font-size: 10.5px; text-decoration: underline; opacity: 0.75; }
.blocker-caption { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.blocker-checks { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; }
.check-mark { width: 16px; height: 16px; border-radius: 50%; background: rgba(224,160,60,0.15); color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 10px; flex: none; margin-top: 2px; }
.check-item .t { font-size: 13.5px; color: var(--text); font-weight: 600; }
.check-item .d { margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ---------- Feature cards with real app surfaces ---------- */
.feature-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--card); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.feature-card h3 { font-size: 16px; }
.feature-card p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--body); flex: 1; }
.app-surface { margin-top: 18px; background: var(--app-bg); border-radius: 12px; padding: 16px; }
.app-photo { margin-top: 18px; border-radius: 12px; overflow: hidden; background: var(--app-bg); }
.app-photo img { display: block; width: 100%; height: auto; }

.surface-threshold .row { display: flex; justify-content: space-between; font-size: 11px; color: var(--app-text); }
.surface-threshold .range { color: var(--app-muted); }
.surface-track { margin-top: 10px; height: 4px; border-radius: 4px; background: var(--app-border); position: relative; }
.surface-track .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 32%; background: var(--amber); border-radius: 4px; }
.surface-track .knob { position: absolute; top: 50%; left: 32%; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); transform: translate(-50%, -50%); }

.surface-circle .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.surface-circle .av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', Georgia, serif; font-size: 11px; flex: none; }
.surface-circle .name { flex: 1; font-size: 12px; color: var(--app-text); }
.surface-circle .recency { font-size: 11px; color: var(--app-muted); }

.surface-break .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; color: var(--app-text); }
.surface-break .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }

/* ---------- Circle section ---------- */
.circle-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.circle-quote { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--hairline); font-size: 14.5px; line-height: 1.7; color: var(--body); font-style: italic; }
.circle-card { background: var(--card); color: var(--text); border-radius: 16px; padding: 22px; }
.circle-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.circle-avrow { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }
.circle-avrow .col { text-align: center; flex: 1; min-width: 0; }
.circle-avrow .av {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: 'PT Serif', Georgia, serif; font-size: 17px;
}
.circle-avrow .name { margin-top: 10px; font-size: 13px; color: var(--text); font-weight: 600; }
.circle-avrow .recency { margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.circle-card .foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--body); line-height: 1.6; }

/* ---------- Closing + footer ---------- */
.closing { text-align: center; }
.closing h2 { font-size: 34px; }
.closing .section-sub { margin: 12px auto 0; }
.closing .waitlist-form, .closing .waitlist-note { margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }

footer { border-top: 1px solid var(--hairline); padding: 22px 44px; margin-top: 64px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--faint); }
.footer-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a:hover { color: var(--text); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .section { padding: 48px 22px 0; }
  .nav-inner { padding: 14px 22px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile a, .nav-mobile button { padding: 14px 22px; }
  .hero { padding: 48px 22px 44px; grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .trust-strip-wrap { padding: 0 22px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .stepper-grid { grid-template-columns: 1fr; gap: 32px; }
  .blocker-cards { grid-template-columns: 1fr; }
  .blocker-checks { grid-template-columns: 1fr; gap: 16px; }
  .feature-cards { grid-template-columns: 1fr; }
  .circle-grid { grid-template-columns: 1fr; }
  footer { padding: 22px; }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.policy { max-width: 700px; margin: 0 auto; padding: 48px 22px 90px; }
.policy h1 { font-size: clamp(28px, 3.6vw, 36px); }
.policy .updated { margin-top: 8px; font-size: 13px; color: var(--muted); }
.draft-note {
  margin-top: 22px; background: var(--card); border: 1px solid var(--hairline); border-left: 3px solid var(--amber);
  border-radius: 10px; padding: 13px 17px; font-size: 13px; color: var(--body); line-height: 1.6;
}
.policy h2 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; font-size: 17px; margin-top: 36px; margin-bottom: 10px; color: var(--text); }
.policy p, .policy li { font-size: 14.5px; line-height: 1.68; color: var(--body); }
.policy p { margin: 0 0 13px; max-width: 65ch; }
.policy ul { margin: 0 0 13px; padding-left: 20px; max-width: 65ch; }
.policy li { margin-bottom: 5px; }
.policy a { color: var(--amber); text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--amber); text-decoration: none; margin-bottom: 26px; }
