/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg:         #0d0d0d;
  --bg-soft:    #141414;
  --bg-card:    #1a1a1a;
  --border:     #2a2a2a;
  --text:       #f0f0f0;
  --text-dim:   #b8b8b8;
  --text-muted: #7a7a7a;
  --accent:     #f5a623;   /* matches the iOS app's primary */
  --accent-2:   #e57318;
  --danger:     #d64545;
  --radius:     12px;
  --max:        1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text);
             font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
             line-height: 1.6; -webkit-font-smoothing: antialiased; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 640px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(circle at 30% 20%, rgba(245,166,35,0.08), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(229,115,24,0.06), transparent 50%),
              var(--bg);
  padding-bottom: 80px;
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--max); margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.nav-logo  { width: 32px; height: 32px; }
.nav-name  { font-family: 'JetBrains Mono', monospace; font-size: 13px;
             letter-spacing: 3px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link  { font-size: 14px; color: var(--text-dim); }
.nav-link:hover { color: var(--text); }

/* Support page list — used on /support */
.support-list { list-style: none; padding: 0; margin: 0;
                display: flex; flex-direction: column; gap: 16px; }
.support-list li { font-size: 15px; color: var(--text-dim); line-height: 1.6;
                   padding-left: 20px; position: relative; }
.support-list li::before { content: "·"; position: absolute; left: 0;
                            color: var(--accent); font-size: 22px;
                            line-height: 1; top: -2px; }
.support-list li strong { color: var(--text); }

.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 60px 24px 0;
  text-align: center;
}
.hero-logo {
  width: 192px; height: 192px; margin-bottom: 40px;
  /* Transparent PNG — no rounded square treatment, just a soft glow
     behind the artwork so it lifts off the dark background. */
  filter: drop-shadow(0 18px 36px rgba(245,166,35,0.25));
}
.hero-headline {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em; font-weight: 700;
  margin-bottom: 24px;
}
.accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px); color: var(--text-dim);
  max-width: 640px; margin: 0 auto 40px;
}

.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block; padding: 14px 28px;
  background: var(--accent); color: #0d0d0d;
  font-weight: 700; font-size: 15px; letter-spacing: 0.5px;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); color: #0d0d0d; }

.btn-ghost {
  display: inline-block; padding: 14px 24px;
  border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: border 0.15s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Non-interactive "coming soon" pill — visually similar to the primary
   button, but flat and not clickable. Swap for a real App Store badge
   once the listing is live. */
.btn-coming-soon {
  display: inline-block; padding: 14px 28px;
  background: rgba(245,166,35,0.12); color: var(--accent);
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  letter-spacing: 0.5px; cursor: default;
}

.hero-foot {
  font-size: 12px; color: var(--text-muted); letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 80px 0; border-top: 1px solid var(--border); }
.section-dark { background: var(--bg-soft); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px); font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 16px; line-height: 1.2;
}

.section-sub {
  font-size: 16px; color: var(--text-dim); margin-bottom: 32px;
}

/* ── Features grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin: 48px 0 32px;
}

.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon  { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.feature-desc  { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

.closer {
  font-size: 17px; color: var(--text-dim); text-align: center;
  max-width: 600px; margin: 32px auto 0;
}
.closer em { color: var(--accent); font-style: italic; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 48px 0 24px; align-items: stretch;
}

.price-card {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; display: flex; flex-direction: column;
}

.price-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245,166,35,0.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 12px 32px rgba(245,166,35,0.12);
}

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0d0d0d;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  padding: 6px 12px; border-radius: 6px;
}

.price-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.price-amount {
  font-size: 44px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; color: var(--text);
}
.price-suffix { font-size: 18px; color: var(--text-dim); font-weight: 500; }
.price-period {
  font-size: 13px; color: var(--text-dim); margin: 8px 0 24px;
}

.price-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.price-list li {
  font-size: 14px; color: var(--text); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.price-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent);
  font-weight: 700;
}

.pricing-foot {
  font-size: 12px; color: var(--text-muted); text-align: center;
  margin-top: 24px;
}

/* ── Screens grid (placeholder until real screenshots land) ── */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 48px;
}

.screen { display: flex; flex-direction: column; align-items: center; }
.screen img,
.screen-placeholder {
  width: 100%;
  /* Phone-shaped aspect ratio (iPhone-ish 9:19.5) keeps real screenshots
     and placeholders looking consistent. */
  aspect-ratio: 9 / 19.5;
  max-width: 280px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}
.screen img { object-fit: cover; }

.screen-placeholder {
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  color: var(--text-muted);
  /* Subtle diagonal hatch so placeholder doesn't look like a real image */
  background-image:
    linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%),
    repeating-linear-gradient(45deg,
      rgba(245,166,35,0.04) 0,
      rgba(245,166,35,0.04) 2px,
      transparent 2px,
      transparent 12px);
  background-blend-mode: overlay;
}
.screen-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted);
}
.screen-hint {
  font-size: 18px; font-weight: 600; color: var(--text-dim);
  text-align: center; padding: 0 16px;
}

.screen figcaption {
  margin-top: 16px; font-size: 14px; color: var(--text-dim);
  text-align: center; max-width: 280px; line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 40px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo  { width: 40px; height: 40px; }
.footer-name  { font-family: 'JetBrains Mono', monospace; letter-spacing: 3px;
                font-size: 13px; font-weight: 700; }
.footer-tag   { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }

.footer-legal {
  font-size: 12px; color: var(--text-muted); line-height: 1.7;
  border-top: 1px solid var(--border); padding-top: 24px;
}
.footer-legal a { color: var(--text-muted); text-decoration: underline; }
.footer-legal a:hover { color: var(--accent); }

/* ── Responsive tweaks ──────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-link  { font-size: 13px; }
  .hero-inner { padding-top: 32px; }
  /* Hero logo scales down a bit on narrow screens — still big, but
     not so big it pushes the headline below the fold. */
  .hero-logo { width: 144px; height: 144px; border-radius: 28px; }
  .section { padding: 56px 0; }
  .footer-grid { flex-direction: column; gap: 24px; }
}
