/* Public landing page. Same tokens as the app; a bigger type scale and a live-looking product preview as the hero. */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

.notice { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--s-urgent-bg); color: var(--ink); font-weight: 500; }

.hero { padding-block: 64px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; font-stretch: 116%; line-height: 1.02; letter-spacing: -0.025em; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.cta-row small { color: var(--muted); font-size: 13px; width: 100%; }
.gbtn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 8px; background: #fff; color: #1f1f1f; border: 1px solid #747775;
  font: 600 15px/1 "Inter", system-ui, sans-serif; text-decoration: none; }
.gbtn:hover { background: #f2f2f2; }
.gbtn svg { width: 20px; height: 20px; }

/* product preview */
.preview { position: relative; }
.pv-window { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(20, 28, 36, .28); overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pv-bar .spacer { flex: 1; }
.pv-body { display: grid; grid-template-columns: 0.95fr 1.25fr; min-height: 340px; }
.pv-list { border-right: 1px solid var(--line); }
.pv-item { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; }
.pv-item.on { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.pv-item b { font-size: 14px; display: flex; justify-content: space-between; gap: 6px; }
.pv-item b .mono { font-size: 11.5px; font-weight: 600; }
.pv-item p { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-detail { padding: 16px; display: grid; gap: 10px; align-content: start; font-size: 13px; }
.pv-detail h4 { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-size: 18px; }
.pv-mail { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px; white-space: pre-line; line-height: 1.5; color: var(--ink-2); }
.pv-send { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: 7px; padding: 8px 14px; }
.pv-alert { position: absolute; right: -14px; top: -22px; width: min(290px, 80%); background: var(--ink); color: var(--paper); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.4); font-size: 13px; display: grid; gap: 2px; animation: drop .6s .4s both cubic-bezier(.2, .9, .3, 1.2); }
.pv-alert small { opacity: .7; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* proof strip */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 22px 20px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--f-display); font-stretch: 112%; font-size: 26px; }
.fact span { color: var(--muted); font-size: 14px; }

section.block { padding-block: 80px 0; }
.block h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 22ch; }
.block .sub { color: var(--ink-2); font-size: 17px; max-width: 58ch; margin-top: 12px; }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::before { content: counter(step); font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); }
.step .time { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.checks li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--s-answer-bg); color: var(--s-answer);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 14.5px; }

.price { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 32px; display: grid; gap: 20px; }
.price h3 { font-size: 22px; color: var(--paper); }
.price-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-row div { display: grid; gap: 4px; }
.price-row b { font-family: var(--f-display); font-stretch: 112%; font-size: 40px; line-height: 1; }
.price-row span { opacity: .7; font-size: 14px; }
.price ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; opacity: .92; }
.price .offer { background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 12px 14px; font-weight: 600; }

.faq { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }

.final { margin-top: 96px; padding-block: 64px; text-align: center; border-top: 1px solid var(--line); display: grid; gap: 18px; justify-items: center; }
.final h2 { font-size: clamp(30px, 4.5vw, 48px); max-width: 20ch; }
footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer a { color: var(--ink-2); }
footer .grow { flex: 1; }

/* legal pages */
.legal { max-width: 760px; padding-block: 48px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 20px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 40px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pv-alert { right: 8px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .pv-body { grid-template-columns: minmax(0, 1fr); }
  .pv-list .pv-item:nth-child(n+3) { display: none; }
  .pv-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-row { grid-template-columns: minmax(0, 1fr); }
}
