/* Push2Unlock — shared styles */
:root {
  --ink: #0C0C0E;
  --ink-raised: #16181D;
  --ink-card: #1A2026;
  --volt: #C6F432;
  --volt-pressed: #A8D424;
  --signal: #FF5A5F;
  --fog: #9AA3AD;
  --paper: #F3F4F2;
  --border: #2A2F36;
  --maxw: 1080px;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--volt); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--paper); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--volt); color: var(--ink);
  display: grid; place-items: center; font-size: 18px; font-weight: 900;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fog); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--paper); text-decoration: none; }
@media (max-width: 640px) { .nav-links a:not(.btn-sm) { display: none; } }

.btn {
  display: inline-block; background: var(--volt); color: var(--ink);
  font-weight: 800; letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: 999px; font-size: 16px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--volt-pressed); text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--ink-card); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,244,50,0.18), transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-card); border: 1px solid var(--border);
  color: var(--volt); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
h1 {
  font-size: clamp(40px, 7vw, 76px); line-height: 1.02; font-weight: 900;
  letter-spacing: -0.035em; max-width: 14ch; margin: 0 auto 22px;
}
h1 .accent { color: var(--volt); }
.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--fog); max-width: 56ch; margin: 0 auto 40px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.note { color: var(--fog); font-size: 14px; margin-top: 18px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.section-head p { color: var(--fog); font-size: 18px; margin-top: 16px; }
.eyebrow { color: var(--volt); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; margin-bottom: 14px; }

/* feature grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--ink-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--volt); transform: translateY(-3px); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(198,244,50,0.12); display: grid; place-items: center;
  font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--fog); font-size: 15px; }

/* how it works */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.step .num {
  counter-increment: step; font-size: 15px; font-weight: 900; color: var(--ink);
  background: var(--volt); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--fog); font-size: 15px; }

/* privacy band */
.band {
  background: linear-gradient(135deg, var(--ink-card), var(--ink-raised));
  border: 1px solid var(--border); border-radius: 28px; padding: 56px 40px; text-align: center;
}
.band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.03em; }
.band p { color: var(--fog); font-size: 18px; max-width: 60ch; margin: 16px auto 0; }
.pill-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pill { background: rgba(198,244,50,0.1); border: 1px solid rgba(198,244,50,0.3); color: var(--volt); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); max-width: 920px; margin: 0 auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--ink-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; position: relative; }
.plan.featured { border-color: var(--volt); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--volt); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: 0.05em; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 4px; }
.plan .price small { font-size: 16px; color: var(--fog); font-weight: 600; }
.plan .term { color: var(--fog); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--fog); font-size: 14px; max-width: 36ch; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fog); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--paper); font-size: 15px; margin-bottom: 10px; font-weight: 500; }
.footer-col a:hover { color: var(--volt); text-decoration: none; }
.copyright { color: var(--fog); font-size: 13px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); text-align: left; max-width: none; margin-bottom: 8px; }
.legal .updated { color: var(--fog); font-size: 15px; margin-bottom: 48px; }
.legal h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal p, .legal li { color: #C9CFD6; font-size: 16px; margin-bottom: 14px; }
.legal ul { padding-left: 24px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--paper); }
.legal .lead { font-size: 18px; color: var(--paper); }
.toc { background: var(--ink-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fog); margin-bottom: 14px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; color: var(--paper); }
.toc a { color: var(--paper); font-weight: 500; }
.toc a:hover { color: var(--volt); }
.callout { background: rgba(198,244,50,0.08); border: 1px solid rgba(198,244,50,0.25); border-radius: 14px; padding: 20px 24px; margin: 24px 0; }
.callout p { color: var(--paper); margin: 0; }

/* ============ Phone mockups ============ */
.device {
  position: relative;
  width: 290px; aspect-ratio: 9 / 19.3;
  background: #000;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 0 0 2px #2b2f36, 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 60px -10px rgba(198,244,50,0.12);
  flex: none;
}
.device .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: var(--ink);
  display: flex; flex-direction: column;
}
.device .notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #000; border-radius: 999px; z-index: 9;
}
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: 12px; font-weight: 700; color: var(--paper); }
.scr-pad { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }

/* hero two-column layout */
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; text-align: left; }
.hero-split h1 { margin-left: 0; }
.hero-split .lede { margin-left: 0; }
.hero-split .cta-row { justify-content: flex-start; }
.hero-phones { display: flex; justify-content: center; position: relative; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split h1, .hero-split .lede { margin-left: auto; margin-right: auto; }
  .hero-split .cta-row { justify-content: center; }
  .hero-phones { margin-top: 12px; }
}

/* --- Workout counter takeover screen --- */
.scr-workout { background: radial-gradient(120% 80% at 50% 30%, #1c2410, #07090c 70%); position: relative; }
.scr-workout::after {
  content: ""; position: absolute; inset: 0; border-radius: 36px; pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--volt), inset 0 0 40px rgba(198,244,50,0.35);
}
.wk-sil { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); width: 78%; opacity: 0.16; filter: brightness(1.4); }
.wk-pill { align-self: center; margin-top: 6px; background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px; z-index: 2; }
.wk-count { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.wk-count .big { font-size: 132px; line-height: 0.9; font-weight: 900; color: var(--volt); font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(198,244,50,0.5); letter-spacing: -0.04em; }
.wk-count .of { font-size: 22px; font-weight: 800; color: rgba(243,244,242,0.65); margin-top: 2px; }
.wk-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.14); margin: 0 4px 6px; overflow: hidden; z-index: 2; }
.wk-bar > i { display: block; height: 100%; width: 70%; background: var(--volt); border-radius: 999px; }
.wk-x { position: absolute; top: 46px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.5); color:#fff; display: grid; place-items: center; font-size: 16px; z-index: 5; }

/* --- generic app card bits --- */
.appbar { display: flex; align-items: center; justify-content: space-between; }
.appbar .ttl { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.flame { background: rgba(255,90,95,0.14); color: #FF8A4C; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.uicard { background: var(--ink-card); border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.uicard.locked { border-color: rgba(255,90,95,0.4); background: linear-gradient(160deg, rgba(255,90,95,0.10), var(--ink-card)); }
.lock-status { display: flex; align-items: center; gap: 10px; }
.lock-status .em { font-size: 26px; }
.lock-status .t { font-size: 15px; font-weight: 800; }
.lock-status .s { font-size: 12px; color: var(--fog); }
.appgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.appgrid .ic { aspect-ratio: 1; border-radius: 13px; display: grid; place-items: center; font-size: 20px; color: #fff; }
.btn-fill { background: var(--volt); color: var(--ink); font-weight: 800; font-size: 14px; text-align: center; padding: 15px; border-radius: 15px; }
.btn-fill.lg { font-size: 15px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-x { background: var(--ink-card); border: 1px solid var(--border); color: var(--fog); font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.chip-x.on { background: rgba(198,244,50,0.14); border-color: var(--volt); color: var(--volt); }

/* --- stats screen --- */
.streak-hero { text-align: center; padding: 20px 14px; background: radial-gradient(120% 100% at 50% 0%, rgba(198,244,50,0.14), var(--ink-card)); border:1px solid var(--border); border-radius:18px; }
.streak-hero .n { font-size: 52px; font-weight: 900; color: var(--volt); line-height: 1; font-variant-numeric: tabular-nums; }
.streak-hero .l { font-size: 12px; color: var(--fog); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 4px; }
.chart > i { flex: 1; background: var(--volt); border-radius: 5px 5px 0 0; opacity: 0.9; }
.statrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-mini { background: var(--ink-card); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.stat-mini .v { font-size: 22px; font-weight: 900; color: var(--paper); font-variant-numeric: tabular-nums; }
.stat-mini .k { font-size: 11px; color: var(--fog); font-weight: 600; }

/* --- shield screen (on a blocked app) --- */
.scr-shield { background: linear-gradient(180deg, #0a0c10, #07090c); align-items: center; justify-content: center; padding: 30px 22px; text-align: center; gap: 14px; }
.scr-shield .lk { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,90,95,0.15); display: grid; place-items: center; font-size: 32px; }
.scr-shield h4 { font-size: 22px; font-weight: 900; }
.scr-shield p { font-size: 13px; color: var(--fog); line-height: 1.45; }
.scr-shield .b1 { width: 100%; background: var(--volt); color: var(--ink); font-weight: 800; padding: 14px; border-radius: 14px; font-size: 14px; }
.scr-shield .b2 { color: rgba(243,244,242,0.55); font-size: 13px; font-weight: 700; }

/* gallery */
.gallery { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.gallery figure { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gallery figcaption { color: var(--fog); font-size: 14px; font-weight: 600; max-width: 22ch; text-align: center; }
.gallery .device { transform: scale(0.92); }
