:root {
  --bg: #F4EFE6;
  --bg-elevated: #FFFFFF;
  --bg-card: #ECE5D8;
  --text: #2B2620;
  --text-muted: #756C5E;
  --accent: #B87824;
  --accent-ink: #34220A;
  --accent-secondary: #6E7F5F;
  --border: rgba(43, 38, 32, 0.14);
  --shadow: 0 1px 2px rgba(30, 24, 14, 0.06), 0 10px 28px -14px rgba(30, 24, 14, 0.18);
  --interrupt-grad: linear-gradient(150deg, #EFC066 0%, #D6952E 62%, #C07C22 100%);
  --interrupt-ink: #34220A;
  --icon-img: url("assets/icon.png");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131211;
    --bg-elevated: #1B1A18;
    --bg-card: #1F1E1B;
    --text: #EDE7DC;
    --text-muted: #93897B;
    --accent: #E0A03C;
    --accent-ink: #412402;
    --accent-secondary: #A6B096;
    --border: rgba(237, 231, 220, 0.12);
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 14px 34px -16px rgba(0,0,0,0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #131211; --bg-elevated: #1B1A18; --bg-card: #1F1E1B;
  --text: #EDE7DC; --text-muted: #93897B; --accent: #E0A03C; --accent-ink: #412402;
  --accent-secondary: #A6B096; --border: rgba(237, 231, 220, 0.12);
  --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 14px 34px -16px rgba(0,0,0,0.6);
}
:root[data-theme="light"] {
  --bg: #F4EFE6; --bg-elevated: #FFFFFF; --bg-card: #ECE5D8;
  --text: #2B2620; --text-muted: #756C5E; --accent: #B87824; --accent-ink: #34220A;
  --accent-secondary: #6E7F5F; --border: rgba(43, 38, 32, 0.14);
  --shadow: 0 1px 2px rgba(30, 24, 14, 0.06), 0 10px 28px -14px rgba(30, 24, 14, 0.18);
}

@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-Italic.ttf") format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .voice { font-family: 'PT Serif', Georgia, serif; font-weight: 400; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brandmark { width: 22px; height: 22px; border-radius: 6px; background-image: var(--icon-img); background-size: cover; flex: none; }
.brand-word { font-family: 'PT Serif', Georgia, serif; font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--text-muted); }
.nav-links a { text-decoration: none; color: inherit; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-pill {
  font-size: 13px; font-weight: 500; color: var(--accent-ink); background: var(--accent);
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 32px; height: 32px; padding: 0; border: 1px solid var(--border); 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(--bg-elevated); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden; transition: max-height 0.22s ease;
}
.nav-mobile.open { max-height: 220px; }
.nav-mobile a {
  padding: 14px 28px; font-size: 14px; color: var(--text); text-decoration: none;
  border-top: 1px solid var(--border);
}
.nav-mobile a:first-child { border-top: none; }

.notify-link {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.notify-link:hover { color: var(--text); }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center;
  padding: 52px 28px 44px; max-width: 1040px; margin: 0 auto;
}
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.14; }
.hero-sub { margin-top: 16px; font-size: 15.5px; line-height: 1.68; color: var(--text-muted); max-width: 42ch; }
.store-row { display: flex; gap: 10px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: default;
  padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
}
.store-btn.primary { background: var(--accent); color: var(--accent-ink); }
.store-btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.store-note { font-size: 12px; color: var(--text-muted); margin: 12px 0 0; }

/* phone mock */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: 220px; background: var(--bg-elevated); border-radius: 36px; padding: 9px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.phone-screen {
  background: var(--interrupt-grad); border-radius: 27px; padding: 16px 15px 20px;
  min-height: 400px; display: flex; flex-direction: column; color: var(--interrupt-ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.phone-screen.is-history { background: var(--bg-elevated); color: var(--text); }
.phone-status { display: flex; justify-content: space-between; font-size: 10px; opacity: 0.65; }
.phone-brand { font-family: 'PT Serif', Georgia, serif; font-size: 14px; margin-top: 8px; letter-spacing: 0.02em; }
.phone-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.phone-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(52,34,10,0.85); color: #F0C273;
  display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', Georgia, serif; font-size: 24px;
}
.phone-meta { font-size: 11px; opacity: 0.75; }
.phone-q { font-family: 'PT Serif', Georgia, serif; font-size: 21px; line-height: 1.22; margin-top: 2px; }
.phone-actions { display: flex; gap: 8px; margin-top: 8px; }
.phone-actions button {
  background: rgba(52,34,10,0.9); color: #F2D9A6; border: none; padding: 9px 20px;
  border-radius: 9px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.phone-dismiss { font-size: 11px; opacity: 0.7; margin-top: 6px; cursor: pointer; }
.phone-fallback { font-size: 11px; opacity: 0.6; text-decoration: underline; cursor: pointer; margin-top: 2px; }
.phone-done { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone-check {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(52,34,10,0.9); color: #F0C273;
  display: flex; align-items: center; justify-content: center;
}
.hist-head { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.hist-title { font-family: 'PT Serif', Georgia, serif; font-size: 15px; }
.hist-lock { font-size: 11px; color: var(--text-muted); }
.hist-list { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; margin-top: 10px; }
.hist-row { display: flex; align-items: center; gap: 9px; }
.hist-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hist-label { font-size: 12px; }
.hist-time { font-size: 9.5px; color: var(--text-muted); margin-top: 1px; }
.hist-foot { font-size: 10px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 9px; margin-top: 6px; }

.phone-dots { display: flex; justify-content: center; gap: 8px; }
.dot-btn {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; background: var(--border);
  cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.dot-btn.active { background: var(--accent); transform: scale(1.3); }

/* trust badges */
.trust { padding: 0 28px 44px; max-width: 1040px; margin: 0 auto; }
.trust-inner {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 10px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 10px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.trust-item:hover { transform: translateY(-2px); background: rgba(127,127,127,0.06); }
.trust-icon { width: 20px; height: 20px; color: var(--accent); }
.trust-item span:last-child { font-size: 12px; color: var(--text-muted); }

/* feature trio */
.trio { padding: 0 28px 44px; max-width: 1040px; margin: 0 auto; }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trio-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.trio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.trio-icon { width: 20px; height: 20px; color: var(--accent); }
.trio-card h3 { font-size: 16px; margin: 12px 0 6px; }
.trio-card p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* circle section */
.circle-sec { padding: 34px 28px 44px; max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--border); }
.circle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.circle-grid h2 { font-size: clamp(22px, 3vw, 27px); margin-bottom: 10px; }
.circle-grid p { font-size: 13.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 12px; max-width: 42ch; }
.circle-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.circle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.circle-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.circle-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; }
.circle-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', Georgia, serif; font-size: 14px; margin: 0 auto; }
.circle-name { font-size: 10.5px; margin-top: 5px; }
.circle-days { font-size: 9.5px; color: var(--text-muted); }
.circle-foot { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 11px; font-size: 11.5px; color: var(--text-muted); }

/* why not a blocker */
.why { padding: 34px 28px 44px; max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--border); }
.why-inner { max-width: 640px; }
.why h2 { font-size: clamp(22px, 3vw, 27px); margin-bottom: 12px; }
.why p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); margin: 0 0 12px; }

/* final cta */
.final { padding: 40px 28px 48px; max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--border); text-align: center; }
.final h2 { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 8px; }
.final p { font-size: 14px; color: var(--text-muted); margin: 0 0 22px; }
.final .store-row { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 18px 28px; }
.footer-inner { max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: var(--text-muted); }
.footer-links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* policy pages */
.policy { max-width: 700px; margin: 0 auto; padding: 48px 28px 90px; }
.policy h1 { font-size: clamp(28px, 3.6vw, 36px); }
.policy .updated { margin-top: 8px; font-size: 13px; color: var(--text-muted); }
.draft-note {
  margin-top: 22px; background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 13px 17px; font-size: 13px; color: var(--text-muted); 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; }
.policy p, .policy li { font-size: 14.5px; line-height: 1.68; color: var(--text); }
.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; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-secondary); text-decoration: none; margin-bottom: 26px; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trio-grid { grid-template-columns: 1fr; }
  .circle-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
