/* PeakGLP — matched to the app: dark purple, violet-to-magenta gradients, pink + cyan accents. */
:root {
  --purple: #7c3aed;
  --magenta: #c026d3;
  --pink: #e879f9;
  --cyan: #22d3ee;
  --ink-dark: #12081f;
  --purple-deep: #2e1065;
  --ink: #1f2937;
  --muted: #5b6b7a;
  --line: #e5e0f0;
  --bg-soft: #faf5ff;
  --lav-light: #f3e8ff;
  --radius: 20px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--purple); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-weight: 800; font-size: 23px; color: var(--ink-dark); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--purple); }
nav.main a { margin-left: 22px; text-decoration: none; color: var(--ink); font-weight: 600; }
nav.main a:hover { color: var(--purple); }
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(124,58,237,0.35);
}
.btn:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.7); box-shadow: none; }

/* Hero — dark, like the app's summary card */
.hero-band { background: linear-gradient(135deg, #3b0764 0%, #581c87 55%, #701a75 100%); }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 64px 0 56px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  font-size: 13px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.badge.beta { background: var(--magenta); color: #fff; }
.badge.iphone { background: rgba(255,255,255,0.14); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.hero h1 { font-size: 48px; line-height: 1.12; color: #fff; margin: 0 0 16px; letter-spacing: -1px; }
.hero p.lede { font-size: 19px; color: #e9d5ff; margin: 0 0 26px; }
.hero img { width: 100%; border-radius: 28px; box-shadow: 0 24px 48px rgba(0,0,0,0.45); }
.pillars { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pillars span { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; font-size: 14px; padding: 7px 15px; border-radius: 999px; }

/* Sections */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); }
h2 { font-size: 33px; color: var(--ink-dark); margin: 0 0 12px; letter-spacing: -0.5px; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 34px; max-width: 740px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
  box-shadow: 0 4px 16px rgba(46,16,101,0.06);
}
.card h3 { margin: 14px 0 8px; color: var(--ink-dark); font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.media-row img { width: 100%; border-radius: 24px; box-shadow: 0 16px 36px rgba(46,16,101,0.25); }
.meds { font-size: 15px; color: var(--muted); }
.meds strong { color: var(--ink); }

/* Gallery — real screenshots, natural tall aspect */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 20px; box-shadow: 0 12px 28px rgba(46,16,101,0.22); }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; font-weight: 600; }

/* Beta band */
.beta-band { background: linear-gradient(135deg, #3b0764, #701a75); border-radius: 28px; padding: 48px; color: #fff; }
.beta-band h2 { color: #fff; }
.beta-band p { color: #e9d5ff; }
.beta-band .beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.beta-form { background: #fff; border-radius: 20px; padding: 28px; color: var(--ink); }
.beta-form h3 { margin: 0 0 4px; color: var(--ink-dark); }
.beta-form p { color: var(--muted); font-size: 15px; }

/* Forms */
form { max-width: 620px; }
.beta-form form { max-width: none; }
label { display: block; font-weight: 600; margin: 16px 0 6px; color: var(--ink-dark); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.checks label { font-weight: 400; margin: 8px 0; display: flex; gap: 10px; align-items: center; }
.checks input { width: auto; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.success { display: none; background: var(--lav-light); border: 1px solid var(--purple); border-radius: 12px; padding: 18px 22px; margin-top: 24px; }

/* Legal pages */
.legal h3 { color: var(--ink-dark); margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { color: var(--muted); font-size: 15px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 36px 0; background: var(--bg-soft); }
footer.site nav a { margin-right: 20px; text-decoration: none; font-weight: 600; }
footer.site .foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.disclaimer { font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 24px; background: #fff; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .grid, .gallery { grid-template-columns: 1fr; }
  .media-row, .beta-band .beta-grid { grid-template-columns: 1fr; }
  nav.main a { margin-left: 14px; font-size: 15px; }
  .beta-band { padding: 28px; }
}
