:root {
  --ink: #0a0a0a;
  --black: #000;
  --white: #fff;
  --paper: #f4f4f4;
  --card: #f2f2f2;
  --line: #e4e4e4;
  --muted: #6e6e6e;
  --faint: #a6a6a6;
  --gold: #d4af37;
  --gold-light: #f3db84;
  --gold-deep: #a87b1c;
  --display: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.4px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand img.brand-mark { width: auto; height: 26px; border-radius: 0; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: #bdbdbd; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }

/* Hero */
.hero { background: var(--black); color: var(--white); overflow: hidden; }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 72px 20px 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #bdbdbd; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 8vw, 92px); line-height: 0.95; letter-spacing: -3px; margin: 18px 0 20px; }
.hero p { color: #bdbdbd; font-size: 19px; max-width: 520px; margin: 0 0 14px; }
.hero-copy { padding-bottom: 80px; }
.hero-shot { justify-self: center; width: min(340px, 100%); }
.hero h1.logo { margin: 22px 0 18px; }
.hero h1.logo img { width: min(460px, 100%); height: auto; }
.hero p.hero-line { color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 16px; }

/* A screenshot that hasn't been added yet: a plain black screen with its description. */
.phone.missing, .phone.full.missing { aspect-ratio: 603 / 1045; background: #111; display: flex; align-items: center; justify-content: center; padding: 28px; -webkit-mask-image: none; mask-image: none; }
.phone.missing img { display: none; }
.phone.missing::after { content: 'Screenshot coming'; color: #8c8c8c; font-size: 14px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }

.phone { border: 10px solid #1d1d1d; border-bottom: 0; border-radius: 48px 48px 0 0; overflow: hidden; background: var(--white); }
.phone img { width: 100%; height: auto; }
.phone.full { border-bottom: 10px solid #1d1d1d; border-radius: 48px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.feature .phone { border-color: var(--ink); }

.button { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; }
.button.light { background: var(--white); color: var(--ink); }
.button.ghost { border: 1.5px solid #555; color: var(--white); margin-left: 8px; }
.hero-actions { margin-top: 28px; }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: 96px 20px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -1.6px; margin: 12px 0 16px; }
h3 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; margin: 0 0 6px; line-height: 1.15; }
.lead { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step { background: var(--card); border-radius: 24px; padding: 28px; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; display: block; margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }

.features { border-top: 1px solid var(--line); }
.feature { max-width: 1120px; margin: 0 auto; padding: 80px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-shot { order: 2; }
.feature-shot { justify-self: center; width: min(320px, 100%); }
.feature p { color: var(--muted); margin: 0 0 12px; }

/* Dark bands (lock screen, goals), and gold only where a goal is hit, like the app. */
.feature.dark { max-width: none; background: var(--black); color: var(--white); padding-left: max(20px, calc((100% - 1080px) / 2)); padding-right: max(20px, calc((100% - 1080px) / 2)); }
.feature.dark p, .feature.dark .ticks li { color: #bdbdbd; }
.feature.dark .kicker { color: #8c8c8c; }
.feature.dark .phone { border-color: #1d1d1d; }
.feature.dark .ticks li::before { background: var(--white); }
.feature.dark + .feature, .feature + .feature.dark { border-top: 0; }
.feature.gold .phone { border-color: var(--gold-deep); }
.feature.gold .kicker { color: var(--gold); }
.feature.gold .ticks li::before { background: var(--gold); }
.gold-text { background: linear-gradient(100deg, var(--gold-deep), var(--gold-light) 45%, var(--gold) 70%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature.text-only { grid-template-columns: 1fr; max-width: 760px; }
.feature-shot.pair { width: min(460px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--card); border-radius: 24px; padding: 28px; }
.card p { margin: 0; color: var(--muted); }

.cta { background: var(--black); color: var(--white); text-align: center; }
.cta .section { padding: 110px 20px; }
.cta .kicker { color: #8c8c8c; }
.cta-mark { height: 64px; width: auto; margin: 0 auto 24px; }
.cta .lead { color: #bdbdbd; margin: 0 auto 30px; }
.cta-note { color: #8c8c8c; font-size: 15px; margin: 22px 0 0; }
.cta-note a { color: #bdbdbd; }

/* Footer */
.footer { background: var(--black); color: #8c8c8c; border-top: 1px solid #1d1d1d; font-size: 15px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: #bdbdbd; text-decoration: none; }
.footer a:hover { color: var(--white); }

/* Legal and contact pages */
.doc-head { background: var(--black); color: var(--white); }
.doc-head .inner { max-width: 760px; margin: 0 auto; padding: 64px 20px 56px; }
.doc-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 64px); line-height: 1; letter-spacing: -2px; margin: 12px 0 14px; }
.doc-head p { color: #bdbdbd; margin: 0; }
.doc-head .kicker { color: #8c8c8c; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.doc h2 { font-size: 28px; letter-spacing: -0.8px; margin: 48px 0 12px; }
.doc h3 { font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { color: #333; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.summary { background: var(--card); border-radius: 24px; padding: 8px 28px; }
.summary ul { padding-left: 20px; }
.callout { background: var(--black); color: var(--white); border-radius: 20px; padding: 20px 24px; margin: 24px 0; }
.callout p { color: #e6e6e6; margin: 0; }
.callout strong, .callout a { color: var(--white); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--card); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 32px; }
.contact-card { background: var(--card); border-radius: 24px; padding: 24px; }
.contact-card p { margin: 0; color: var(--muted); }
.mail { display: inline-block; margin-top: 18px; background: var(--ink); color: var(--white); text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 18px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; gap: 8px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-shot { width: min(300px, 100%); }
  .steps, .cards, .contact-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 64px 20px; }
  .feature.reverse .feature-shot { order: 0; }
  .section { padding: 72px 20px; }
  .nav-links { gap: 14px; }
  .nav-links a.hide-sm { display: none; }
  .button.ghost { margin: 10px 0 0; }
}
