/* Wakelist site. Mobile first, no dependencies. */

:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink: #17162b;
  --ink-soft: #55526e;
  --line: #e7e0d5;
  --accent: #ff6a3d;
  --accent-ink: #ffffff;
  --accent-soft: #ffe7dc;
  --pass: #1f9d63;
  --night: #15132b;
  --night-2: #2a2350;
  --dawn: #ff8a4c;
  --radius: 18px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111022;
    --surface: #1b1a31;
    --ink: #f3f0ea;
    --ink-soft: #b2aec8;
    --line: #2e2b4a;
    --accent-soft: #3a2420;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-night {
  background: color-mix(in srgb, var(--night) 85%, transparent);
  border-bottom-color: rgba(255,255,255,.08);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(160deg, var(--night-2), var(--accent));
  display: grid; place-items: center; color: #fff;
}
.brand-mark svg { width: 18px; height: 18px; }

.nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.nav a { color: inherit; text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; }
.nav .hide-sm { display: none; }
@media (min-width: 640px) { .nav .hide-sm { display: inline; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px;
  font: 600 17px/1 var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-store { background: #000; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store .small { display: block; font-size: 11px; font-weight: 500; opacity: .8; margin-bottom: 3px; }
.btn-store .big { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.btn-store .label { text-align: left; line-height: 1; }
.on-dark .btn-store { background: #fff; color: #000; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .85; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 11px; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(255,138,76,.75) 0%, rgba(255,106,61,.25) 40%, transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, #4b2c55 100%);
  padding: 40px 0 0;
}
.hero .wrap { display: grid; gap: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #ffd9c7;
}
.hero h1 {
  font: 800 clamp(40px, 11vw, 68px)/1.02 var(--font-display);
  letter-spacing: -.035em; margin: 18px 0 16px;
}
.hero h1 em { font-style: normal; color: var(--dawn); }
.hero .lede { font-size: 19px; color: #dcd8f0; margin: 0 0 26px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; color: #b9b3d8; margin: 14px 0 0; }

@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: end; }
  .hero-copy { padding-bottom: 88px; }
}

/* Phone mock */
.phone {
  width: min(320px, 86vw); margin: 0 auto;
  background: #0b0a17; border-radius: 46px 46px 0 0; padding: 12px 12px 0;
  box-shadow: 0 -10px 60px rgba(255,138,76,.35), inset 0 0 0 2px rgba(255,255,255,.08);
}
.screen {
  border-radius: 36px 36px 0 0; padding: 22px 18px 26px;
  background: linear-gradient(180deg, #1d1940 0%, #2b2156 100%);
  min-height: 430px;
}
.screen .island { width: 96px; height: 26px; border-radius: 20px; background: #000; margin: -10px auto 18px; }
.ring-label { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: #ffcfb8; font-weight: 600; }
.ring-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.clock { text-align: center; font: 300 68px/1 var(--font-display); letter-spacing: -.03em; margin: 8px 0 4px; }
.clock-sub { text-align: center; font-size: 14px; color: #b9b3d8; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.07); border-radius: 16px; padding: 12px 14px; font-size: 15px;
}
.steps .check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center;
}
.steps .done .check { background: var(--pass); border-color: var(--pass); }
.steps .done .check svg { width: 14px; height: 14px; }
.steps .done span:last-child { opacity: .6; text-decoration: line-through; }
.steps .now { background: rgba(255,106,61,.22); box-shadow: inset 0 0 0 1px rgba(255,138,76,.6); }
.steps .now .hint { display: block; font-size: 12px; color: #ffcfb8; }
.prove {
  margin-top: 16px; width: 100%; min-height: 48px; border-radius: 14px; border: 0;
  background: var(--accent); color: #fff; font: 600 16px var(--font);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.prove svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font: 800 clamp(30px, 8vw, 46px)/1.08 var(--font-display); letter-spacing: -.03em; margin: 0 0 14px; }
.section-lede { color: var(--ink-soft); font-size: 18px; margin: 0 0 32px; max-width: 34em; }

.cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px;
}
.card h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); }

.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 12px; }
.bullets li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.bullets strong { display: block; }
.bullets span { color: var(--ink-soft); }

/* Verdict mock */
.verdict {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  box-shadow: 0 20px 50px rgba(23,22,43,.08); max-width: 400px; margin: 0 auto; width: 100%;
}
.photo {
  aspect-ratio: 4 / 3; border-radius: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 70% 30%, #fff4c9 0%, #ffd08a 35%, transparent 70%),
    linear-gradient(180deg, #9fd3ff 0%, #cde9ff 55%, #f5d9b6 56%, #e7c39a 100%);
}
.photo .window {
  position: absolute; inset: 12% 18% 30% 18%; border: 8px solid #fff; border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}
.photo .window::before, .photo .window::after { content: ""; position: absolute; background: #fff; }
.photo .window::before { left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); }
.photo .window::after { top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%); }
.photo .live {
  position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px;
}
.verdict-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.badge-pass {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--pass);
  display: grid; place-items: center; color: #fff;
}
.badge-pass svg { width: 20px; height: 20px; }
.verdict-row b { display: block; }
.verdict-row small { color: var(--ink-soft); font-size: 14px; }

/* Night */
.night {
  background: linear-gradient(180deg, var(--night) 0%, #1f1a40 100%); color: #fff;
}
@media (prefers-color-scheme: dark) { .night { border-block: 1px solid var(--line); } }
.night .section-lede, .night .bullets span { color: #c4bfe0; }
.night .bullets li::before { background-color: rgba(255,255,255,.1); }
.message {
  max-width: 340px; margin: 0 auto; border-radius: 26px; padding: 16px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.message .video {
  aspect-ratio: 9 / 12; border-radius: 18px; position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 40%, #5b4a8f 0%, #2a2350 70%);
  display: grid; place-items: center;
}
.message .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.message .play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--night); }
.message .quote { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 15px; background: rgba(0,0,0,.45); padding: 10px 12px; border-radius: 12px; }
.message .meta { font-size: 13px; color: #c4bfe0; text-align: center; margin-top: 12px; }

/* Safety strip */
.facts { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.fact b { display: block; font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; margin-bottom: 4px; }
.fact span { color: var(--ink-soft); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Closing CTA */
.closing { text-align: center; }
.closing .box {
  border-radius: 28px; padding: 44px 22px; color: #fff;
  background:
    radial-gradient(100% 80% at 50% 120%, rgba(255,138,76,.8) 0%, transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.closing h2 { color: #fff; }
.closing p { color: #dcd8f0; margin: 0 0 24px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
@media (min-width: 700px) { .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Document pages (privacy, terms, support) ---------- */

.doc { padding: 36px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 800 clamp(34px, 9vw, 48px)/1.08 var(--font-display); letter-spacing: -.03em; margin: 0 0 8px; }
.doc .updated { color: var(--ink-soft); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary {
  background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px;
}
.doc .summary h2 { margin-top: 0; font-size: 20px; }
.doc .summary ul { margin: 0; }
.doc .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: var(--surface); }
.doc .toc ol { margin: 8px 0 0; }
.doc .toc a { color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; background: var(--surface); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.doc tr:last-child td { border-bottom: 0; }
.todo {
  background: #fff3b0; color: #4a3b00; border: 2px dashed #d6a800; border-radius: 10px;
  padding: 2px 8px; font-weight: 700;
}
.callout {
  border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0;
  padding: 14px 18px; margin: 18px 0;
}
.support-grid { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 640px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.support-grid .card h3 { margin-bottom: 8px; }
