/* TimePrivate marketing site — shares the app's design DNA:
   light, dimensional, indigo brand + gold reward accents. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #f4f5f8;
  --panel: #ffffff;
  --text: #10162b;
  --text-soft: #3d4763;
  --muted: #6b7488;
  --faint: #97a0b3;
  --border: #e7e9f0;
  --border-2: #dcdfea;
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --accent-soft: #eef0ff;
  --grad: linear-gradient(135deg, #7c83f8 0%, #6366f1 55%, #5b5be6 100%);
  --gold: #f59e0b;
  --gold-strong: #d97706;
  --gold-soft: #fef3e2;
  --success: #10b981;
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sh-sm: 0 1px 2px rgba(16,22,43,.05), 0 2px 6px rgba(16,22,43,.05);
  --sh-md: 0 2px 4px rgba(16,22,43,.04), 0 8px 20px rgba(16,22,43,.08);
  --sh-lg: 0 12px 24px rgba(16,22,43,.1), 0 30px 60px rgba(16,22,43,.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -5%, #ffffff 0%, transparent 60%),
    radial-gradient(700px 420px at -10% 30%, #eef0ff66 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }

section { max-width: 1060px; margin: 0 auto; padding: 72px 28px; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 680; font-size: 17px;
  color: var(--text); text-decoration: none;
}

.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.4);
}

.nav-links { display: flex; gap: 22px; margin-left: auto; }

.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 550;
}
.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 11px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 620; text-decoration: none; cursor: pointer;
  font-family: var(--body);
  transition: transform .08s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn.primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 12px rgba(99,102,241,.38), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn.primary:hover { box-shadow: 0 7px 18px rgba(99,102,241,.5), inset 0 1px 0 rgba(255,255,255,.3); }

.btn.big { padding: 13px 24px; font-size: 15px; border-radius: 13px; }

/* ---------- hero ---------- */

.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 84px 28px 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #e9faf3; color: #0b8a66;
  font-size: 12.5px; font-weight: 650;
  margin-bottom: 20px;
}

.pill .dot, .mock-local .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 660; line-height: 1.04; margin: 0 0 18px;
}

.lede { font-size: 17.5px; color: var(--text-soft); margin: 0 0 28px; max-width: 34em; }

.waitlist { display: flex; gap: 10px; max-width: 460px; }

.waitlist input[type="email"] {
  flex: 1; min-width: 0;
  padding: 13px 16px; font-size: 14.5px;
  border: 1px solid var(--border-2); border-radius: 13px;
  background: var(--panel); outline: none;
  box-shadow: var(--sh-sm);
}
.waitlist input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99,102,241,.14);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.fineprint { font-size: 12px; color: var(--faint); margin-top: 14px; }

.waitlist .ok {
  padding: 13px 16px; border-radius: 13px;
  background: #e9faf3; color: #0b8a66; font-weight: 620; font-size: 14px;
  flex: 1; text-align: center;
}

/* ---------- hero mock ---------- */

.mock {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform: rotate(.6deg);
}

.mock-titlebar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: #e4e7f0; }

.mock-body { padding: 20px; }

.mock-hero { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }

.mock-ring { position: relative; flex-shrink: 0; }
.mock-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mock-ring-center b { font-family: var(--display); font-size: 15px; letter-spacing: -0.01em; }
.mock-ring-center span { font-size: 10px; color: var(--muted); }

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; flex: 1; }
.mock-stats > div { display: flex; flex-direction: column; gap: 2px; }
.mock-label { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.mock-stats b { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.mock-stats b.gold { color: var(--gold-strong); font-size: 15px; }
.mock-stats em { font-style: normal; font-size: 10px; color: var(--muted); }
.mock-stats em.up { color: #0b8a66; font-weight: 650; }

.mock-days { display: flex; gap: 7px; height: 110px; align-items: flex-end; padding: 4px 2px 0; }
.mock-days > div {
  flex: 1; height: var(--h);
  display: flex; flex-direction: column-reverse; gap: 2px;
  border-radius: 5px;
}
.mock-days i { display: block; border-radius: 3px; }
.mock-days i:first-child { height: var(--a); background: #6366f1; }
.mock-days i:nth-child(2) { height: var(--b); background: #f59e0b; }
.mock-days .today { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 5px; }

.mock-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 11px;
}
.mock-golden { color: var(--gold-strong); font-weight: 650; }
.mock-local { display: inline-flex; align-items: center; gap: 6px; color: #0b8a66; font-weight: 650; }

/* ---------- anti-surveillance stripe ---------- */

.stripe { text-align: center; }

.stripe h2, .how h2, .features h2, .pricing h2, .faq h2, .closing h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 650; margin: 0 0 14px;
}

.stripe-lede { color: var(--text-soft); max-width: 42em; margin: 0 auto 34px; font-size: 16px; }

.stripe-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 0 auto;
}

.no-card {
  padding: 16px 12px; border-radius: 13px;
  background: var(--panel); border: 1px solid var(--border);
  box-shadow: var(--sh-sm); font-weight: 600; font-size: 14.5px;
}

.no { color: #dc2626; font-weight: 750; margin-right: 6px; }

.stripe-note { color: var(--muted); font-size: 13.5px; max-width: 40em; margin: 28px auto 0; }

/* ---------- how ---------- */

.how h2 { text-align: center; margin-bottom: 36px; }

.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.how-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--sh-sm); padding: 26px 24px;
}

.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-family: var(--display); font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}

.how-card h3 { font-size: 17px; margin: 0 0 8px; }
.how-card p { font-size: 13.5px; color: var(--text-soft); margin: 0; }

/* ---------- features ---------- */

.features h2 { text-align: center; margin-bottom: 36px; }

.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.feat {
  background: var(--panel); border: 1px solid var(--border); border-radius: 15px;
  box-shadow: var(--sh-sm); padding: 22px 22px 20px;
  transition: transform .14s ease, box-shadow .14s ease;
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.feat h3 { font-size: 15.5px; margin: 0 0 7px; }
.feat p { font-size: 13px; color: var(--text-soft); margin: 0; }

/* ---------- pricing ---------- */

.pricing { text-align: center; }
.pricing-lede { color: var(--text-soft); margin: 0 0 34px; }

.price-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 18px; justify-content: center;
}

.price-card {
  position: relative; text-align: left;
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--sh-sm); padding: 26px;
}

.price-card.featured {
  border-color: #cdd0fb;
  box-shadow: var(--sh-md), 0 0 0 4px rgba(99,102,241,.07);
}

.badge {
  position: absolute; top: -12px; right: 18px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-strong);
  font-size: 11.5px; font-weight: 700;
}

.price-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }

.price { font-family: var(--display); font-size: 46px; font-weight: 660; letter-spacing: -0.02em; margin: 6px 0 14px; }
.price .cur { font-size: 24px; vertical-align: 14px; margin-right: 2px; }
.price .per { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 4px; }

.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li {
  font-size: 13.5px; color: var(--text-soft);
  padding: 6px 0 6px 24px; position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--accent-strong); font-weight: 700;
}

.pricing-note { color: var(--muted); font-size: 13px; max-width: 42em; margin: 30px auto 0; }

/* ---------- faq ---------- */

.faq { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 30px; }

details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 13px;
  box-shadow: var(--sh-sm); margin-bottom: 10px; padding: 0 20px;
}

summary {
  cursor: pointer; font-weight: 620; font-size: 14.5px;
  padding: 16px 0; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 2px; top: 12px;
  font-size: 20px; color: var(--faint); transition: transform .15s ease;
}
details[open] summary::after { transform: rotate(45deg); }

details p { margin: 0 0 16px; font-size: 13.5px; color: var(--text-soft); }

/* ---------- closing ---------- */

.closing {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--sh-md);
  padding: 56px 28px;
  margin-bottom: 60px;
  background:
    radial-gradient(480px 200px at 50% -40%, rgba(139,143,248,.14), transparent 70%),
    var(--panel);
}

.closing p { color: var(--text-soft); margin: 0 0 24px; }

.waitlist-2 { justify-content: center; margin: 0 auto; }

/* ---------- footer ---------- */

.footer {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1060px; margin: 0 auto; padding: 24px 28px 44px;
  color: var(--faint); font-size: 12.5px;
}
.footer a { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; gap: 40px; }
  .how-grid, .feat-grid, .stripe-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .how-grid, .feat-grid, .stripe-grid, .price-cards { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; }
  section { padding: 52px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
