/* PEAK – Pre-launch site. Elite, minimal, converts. */

:root {
  --peak-bg: #0F0F11;
  --peak-card: #18181B;
  --peak-elevated: #1F1F23;
  --peak-border: #27272A;
  --peak-text: #E8E8E8;
  --peak-text-muted: #A0A0A5;
  --peak-accent: #FFFFFF;
  --peak-accent-soft: rgba(255, 255, 255, 0.12);
  --peak-success: #4ADE80;
  --peak-radius: 12px;
  --peak-radius-lg: 16px;
  --peak-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --peak-max: 720px;
  --peak-nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--peak-font);
  background: var(--peak-bg);
  color: var(--peak-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--peak-nav-height);
  background: rgba(15, 15, 17, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--peak-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.site-nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--peak-accent);
  text-decoration: none;
}
.site-logo:hover { color: var(--peak-accent); opacity: 0.9; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--peak-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--peak-accent); }
.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--peak-accent);
  color: var(--peak-bg);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--peak-radius);
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.92; }

/* Sections */
.hero, .section {
  max-width: var(--peak-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-full {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero {
  padding-top: 72px;
  padding-bottom: 48px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--peak-accent-soft);
  color: var(--peak-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--peak-accent);
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--peak-text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
/* Hero app preview – space for hero.png */
.hero-app-preview {
  margin-top: 40px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.screenshot-slot {
  background: var(--peak-card);
  border: 1px solid var(--peak-border);
  border-radius: var(--peak-radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.screenshot-slot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.screenshot-slot.slot-hero {
  min-height: 520px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
/* See the app – screenshot grid */
.see-app {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--peak-border);
}
.see-app .section-title {
  text-align: center;
}
.see-app .section-sub {
  text-align: center;
  margin-bottom: 48px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.screenshot-card {
  text-align: center;
}
.screenshot-card .screenshot-slot {
  min-height: 280px;
  border-radius: var(--peak-radius);
  margin-bottom: 12px;
}
.screenshot-card .screenshot-slot img {
  object-fit: cover;
  min-height: 280px;
  width: 100%;
}
.screenshot-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--peak-text-muted);
}
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--peak-accent);
}
.section-sub {
  color: var(--peak-text-muted);
  margin: 0 0 40px;
  font-size: 1rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: var(--peak-card);
  border: 1px solid var(--peak-border);
  border-radius: var(--peak-radius-lg);
  padding: 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--peak-text-muted); }
.feature-icon { font-size: 1.75rem; margin-bottom: 12px; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--peak-accent);
}
.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--peak-text-muted);
  line-height: 1.5;
}

/* Waitlist form – premium */
.waitlist-section {
  background: linear-gradient(180deg, var(--peak-elevated) 0%, var(--peak-bg) 100%);
  border-top: 1px solid var(--peak-border);
  padding: 96px 24px 120px;
}
.waitlist-box {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--peak-accent);
}
.waitlist-box .sub {
  color: var(--peak-text-muted);
  margin: 0 0 32px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 18px 22px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--peak-accent);
  background: var(--peak-card);
  border: 1px solid var(--peak-border);
  border-radius: var(--peak-radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input[type="email"]::placeholder { color: var(--peak-text-muted); opacity: 0.8; }
.waitlist-form input[type="email"]:focus {
  border-color: var(--peak-text-muted);
  box-shadow: 0 0 0 3px var(--peak-accent-soft);
}
.waitlist-form button, .btn-primary {
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--peak-bg);
  background: var(--peak-accent);
  border: none;
  border-radius: var(--peak-radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.waitlist-form button:hover, .btn-primary:hover { opacity: 0.94; }
.waitlist-form button:active, .btn-primary:active { transform: scale(0.98); }
.waitlist-trust {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--peak-text-muted);
  opacity: 0.9;
}
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Social proof */
.social-proof {
  text-align: center;
  padding: 24px 0 0;
  color: var(--peak-text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--peak-border);
  padding: 32px 24px 40px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--peak-text-muted); text-decoration: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--peak-text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--peak-accent); }
.footer-copy { color: var(--peak-text-muted); font-size: 0.85rem; margin: 0; }

/* Legal pages */
.legal-page { padding: 40px 24px 80px; }
.legal-page .legal-inner { max-width: 640px; margin: 0 auto; }
.legal-page h1 { font-size: 1.5rem; margin: 0 0 8px; color: var(--peak-accent); }
.legal-page .updated { color: var(--peak-text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.1rem; margin-top: 2em; margin-bottom: 0.5em; color: var(--peak-accent); }
.legal-page p, .legal-page ul { margin: 0.5em 0; color: var(--peak-text-muted); line-height: 1.7; }
.legal-page a { color: var(--peak-accent); }
.legal-page .caps { text-transform: uppercase; font-size: 0.9rem; }
.legal-page .back-links { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--peak-border); }
.legal-page .back-links a { margin-right: 16px; }

/* Thank you page */
.thanks-hero { padding-top: 120px; padding-bottom: 80px; text-align: center; }
.thanks-hero .icon { font-size: 4rem; margin-bottom: 24px; color: var(--peak-success); }
.thanks-hero h1 { font-size: 1.75rem; margin: 0 0 12px; }
.thanks-hero p { color: var(--peak-text-muted); margin: 0 0 32px; }
.thanks-hero .btn-primary { display: inline-block; text-decoration: none; }

/* Mobile */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
  .hero-app-preview { max-width: 100%; margin-top: 32px; }
  .screenshot-slot.slot-hero { min-height: 400px; }
  .see-app { padding-top: 56px; padding-bottom: 56px; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .screenshot-card .screenshot-slot { min-height: 220px; }
  .screenshot-card .screenshot-slot img { min-height: 220px; }
  .waitlist-section { padding: 64px 24px 80px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
