:root {
  --bg: #fbf8f4; --ink: #1c1f23; --muted: #5f666e; --line: #e6e0d8;
  --accent: #e8743b; --accent-ink: #fff; --card: #fff; --band: #1c1f23; --band-ink: #fbf8f4;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121417; --ink: #eef0f2; --muted: #9aa3ac; --line: #262a30; --card: #1a1d21; --band: #eef0f2; --band-ink: #121417; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.nav { display: flex; justify-content: space-between; align-items: center; max-width: 1120px; margin: 0 auto; padding: 20px 24px; }
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 24px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn.small { padding: 9px 16px; font-size: .9rem; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 40px 24px 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 20px; }
h1 span { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }

.signup form { display: flex; gap: 8px; max-width: 480px; }
.signup input[type=email] { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 14px 20px; font: inherit; }
.signup input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.ok { background: var(--card); border: 1px solid var(--line); border-left: 4px solid #2e8b57; padding: 14px 18px; border-radius: 10px; max-width: 480px; }
.err { color: #c0392b; font-size: .9rem; margin: 8px 0 0; }

/* phone mock */
.phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 19; background: #0c0d0f; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2b1055 0%, #7a2e6e 38%, #d3527a 62%, #f7b267 82%); }
.sun { position: absolute; left: 58%; top: 60%; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, #fff3c4 0%, #ffd166 45%, rgba(255,209,102,0) 72%); }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, #3a1f3d, #120a17); }
.grid { position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.35) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.35) 66.66%, transparent calc(66.66% + .5px)),
  linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255,255,255,.35) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.35) 66.66%, transparent calc(66.66% + .5px)); }
.dummy { position: absolute; left: 26%; bottom: 23%; width: 18%; fill: rgba(255,255,255,.18); stroke: #fff; stroke-width: 2; stroke-dasharray: 5 4; }
.pill { position: absolute; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; backdrop-filter: blur(6px); }
.pill.top { top: 44px; }
.pill.hint { top: 44%; background: var(--accent); }
.chips { position: absolute; left: 0; right: 0; bottom: 88px; display: flex; justify-content: center; gap: 6px; }
.chips span { font-size: .68rem; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 3px 9px; }
.shutter { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.4), 0 0 0 7px #fff; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.features h2 { font-size: 1.1rem; margin: 0 0 8px; letter-spacing: -.01em; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }

.promise { background: var(--band); color: var(--band-ink); text-align: center; padding: 48px 24px; }
.promise p { margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: -.01em; }
.promise strong { display: inline-block; margin: 0 .4em; }

.foot { display: flex; gap: 20px; justify-content: center; padding: 28px 24px 40px; color: var(--muted); font-size: .88rem; }

/* legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.2rem; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { padding: 16px; }
  .hero, .features, .doc { padding-left: 16px; padding-right: 16px; }
  .features { grid-template-columns: 1fr; }
  .signup form { flex-direction: column; }
  .promise strong { display: block; margin: 4px 0; }
}
