/* landing.css - The public front page (web/index.html): the "Sleek Glass" direction. Dark navy with a faint dot
   grid showing through frosted panels, one mint accent. Every text/background pair meets WCAG AA (most 9:1+). */

:root {
  --bg: #0A0F1C;
  --ink: #F1F4F9;
  --soft: #C9D1E0;       /* 12.5:1 on --bg */
  --muted: #A9B3C6;      /* 9.1:1 on --bg */
  --accent: #3EE6A8;     /* 11.9:1 on --bg */
  --on-accent: #062418;  /* 10.3:1 on --accent */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: #8FF2CB; }
a:hover { color: #C2F9E2; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, ul { margin: 0; }

.lp-skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--accent); color: var(--on-accent); border-radius: 10px; z-index: 10; }
.lp-skip:focus { left: 8px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lp-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.lp-row { display: flex; align-items: center; gap: 12px; }
.lp-between { justify-content: space-between; }
.lp-mono { font-family: var(--mono); }
.lp-accent { color: var(--accent); }
.lp-strong { font-weight: 600; }
.lp-muted { color: var(--muted); }
.lp-soft { color: var(--soft); }
.lp-glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Header */
.lp-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(10, 15, 28, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; min-height: 44px; }
.lp-brand:hover { color: var(--ink); }
.lp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.lp-links a:not(.lp-btn) { color: var(--soft); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lp-links a:not(.lp-btn):hover { color: var(--ink); }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; flex-shrink: 0; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.lp-btn-primary:hover { background: #6CEDBD; color: var(--on-accent); }
.lp-btn-ghost { border: 1px solid var(--line-strong); background: var(--glass); color: var(--ink); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.lp-btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; }
.lp-btn-block { width: 100%; min-height: 48px; margin-top: auto; }

/* Hero */
.lp-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.lp-hero-copy { flex: 1 1 460px; min-width: 0; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--glass); font-size: 13px; color: var(--soft); }
.lp-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); display: inline-block; }
.lp-dot-sm { width: 6px; height: 6px; }
h1 { font-weight: 700; font-size: clamp(40px, 5.8vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.lp-lede { margin-top: 26px; max-width: 540px; font-size: 19px; color: var(--muted); }
.lp-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Product mock-up */
.lp-mock { flex: 1 1 440px; min-width: 0; margin: 0; }
.lp-mock-card { border-radius: 24px; padding: 22px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.lp-chip { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12px; color: var(--soft); }
.lp-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lp-game { margin-top: 14px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.lp-lines { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-line { display: flex; flex-direction: column; border-radius: 14px; padding: 12px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.08); }
.lp-line .lp-accent { font-size: 14px; }
.lp-label { font-size: 12px; color: var(--muted); }
.lp-picks { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.lp-pick { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.lp-pick span { color: var(--muted); }
.lp-pick-offer { background: transparent; border: 1px solid rgba(255, 255, 255, 0.14); }
.lp-mock figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* How it works */
.lp-steps { border-radius: 24px; padding: 40px; background: rgba(255, 255, 255, 0.04); display: flex; flex-wrap: wrap; gap: 36px; }
.lp-step { flex: 1 1 260px; min-width: 0; }
.lp-step .lp-mono { font-size: 13px; }
.lp-step h3 { margin: 10px 0 6px; font-size: 19px; }
.lp-step p:last-child { color: var(--muted); }

/* Sections */
.lp-section { padding-top: 112px; }
.lp-section-last { padding-bottom: 112px; }
.lp-h2 { max-width: 700px; font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.lp-grid { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.lp-feature { flex: 1 1 300px; min-width: 0; border-radius: 20px; padding: 28px; }
.lp-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.lp-feature h3 { margin: 20px 0 8px; font-size: 20px; }
.lp-feature p { color: var(--muted); }

/* Pricing */
.lp-plan { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; border-radius: 22px; padding: 30px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.lp-plan h3 { font-size: 18px; }
.lp-plan > div > p, .lp-top p.lp-soft { margin-top: 4px; }
.lp-plan ul { padding-left: 20px; color: var(--soft); display: flex; flex-direction: column; gap: 8px; }
.lp-plan-featured { background: var(--glass-strong); border: 1.5px solid var(--accent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.lp-plan-featured ul { color: #E3E8F1; }
.lp-top { align-items: flex-start; }
.lp-badge { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-price { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.lp-price-word { font-size: 32px; letter-spacing: -0.02em; }
.lp-section-last .lp-fine { margin-top: 24px; }

/* Text pages (privacy.html) */
.lp-doc { max-width: 800px; padding-top: 72px; padding-bottom: 96px; }
.lp-doc h1 { font-size: clamp(36px, 5vw, 52px); }
.lp-doc-date { margin-top: 12px; color: var(--muted); }
.lp-doc h2 { margin-top: 44px; font-size: 22px; letter-spacing: -0.01em; }
.lp-doc p, .lp-doc ul { margin-top: 14px; color: var(--soft); }
.lp-doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.lp-doc strong { color: var(--ink); }
.lp-doc a { overflow-wrap: anywhere; }

/* Footer */
.lp-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(5, 8, 16, 0.6); }
.lp-footer-cols { display: flex; flex-wrap: wrap; gap: 40px 48px; justify-content: space-between; padding-top: 56px; }
.lp-footer-brand { flex: 1 1 260px; min-width: 0; }
.lp-footer-brand .lp-muted { margin-top: 10px; max-width: 300px; }
.lp-footer-name { font-weight: 700; font-size: 20px; }
.lp-footer nav { flex: 0 1 170px; display: flex; flex-direction: column; gap: 2px; }
.lp-footer nav a { color: var(--ink); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.lp-footer nav a:hover { color: var(--accent); }
.lp-footer-head { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-footer-bottom { margin-top: 40px; padding: 24px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lp-footer-bottom p { font-size: 14px; color: var(--muted); }
.lp-footer-bottom p + p { margin-top: 6px; }
.lp-footer-bottom a { color: inherit; font-weight: 600; }

@media (max-width: 560px) {
  .lp-hero { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  /* Phones: logo and Sign in on one line, so the sticky header stays small; the sections are a scroll away */
  .lp-nav { flex-wrap: nowrap; }
  .lp-links a:not(.lp-btn) { display: none; }
  .lp-steps { padding: 28px 22px; }
  .lp-section { padding-top: 80px; }
  .lp-section-last { padding-bottom: 80px; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
  .lp-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .lp-line { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-btn { transition: none; }
  .lp-btn:hover { transform: none; }
}
