/* learnoptions.app: the app's own look (design 1A: warm black, one amber accent,
   IBM Plex Sans and Mono, hairline rules). Static pages, no tracking. */
:root {
  --bg: #110F0D; --surface: #1A1815; --line: #2E2A25; --ink: #F0ECE4; --muted: #A39E94; --faint: #7D786F;
  --accent: #E7B643; --gain: #5FC58C; --loss: #E5695B;
  --sans: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.doc { max-width: 680px; margin: 0 auto; padding: 0 20px 64px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; gap: 20px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

.label { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; }

/* Home */
.hero { display: grid; grid-template-columns: 1fr 540px; gap: 40px; align-items: center; padding: 48px 0 80px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 56px); margin: 14px 0 18px; }
.hero h1 span { color: var(--accent); }
.hero h1 em { font-style: normal; white-space: nowrap; }
.hero p { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 8px; border: 1px solid #3A3631; color: var(--ink); font-weight: 600; text-decoration: none; }
.store small { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-left: 4px; }
.store svg { width: 20px; height: 20px; }
.soon { font: 500 12px var(--mono); color: var(--faint); letter-spacing: .04em; margin-top: 14px; }
.phone { position: relative; width: 300px; max-width: 100%; margin: 0 auto; padding: 9px; border-radius: 50px; background: #0B0A09;
  box-shadow: 0 0 0 1px #3A3631, 0 0 0 4px #161412, 0 30px 70px rgba(0,0,0,.6); }
.phone .screen { position: relative; overflow: hidden; border-radius: 41px; background: var(--bg); padding-top: 36px; }
.phone .screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 13px; background: #000; z-index: 2; }
.phone img { width: 100%; height: auto; }
/* Screens are cropped to an iPhone's proportions: the full capture is taller. */
.phone .screen img { aspect-ratio: 440 / 880; object-fit: cover; object-position: top; }

/* Hero: two phones, the second set back and to the left. */
.stage { position: relative; height: 640px; }
.stage .phone { position: absolute; }
.stage .front { right: 10px; top: 0; z-index: 2; }
.stage .back { right: 220px; top: 70px; width: 250px; opacity: .5; }
.chip { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 4px; padding: 11px 16px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.55); font-family: var(--mono); }
.chip small { font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.chip b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.gain { color: var(--gain); } .loss { color: var(--loss); } .acc { color: var(--accent); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.points div { padding: 28px 24px 32px 0; }
.points div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.points b { display: block; font: 600 32px var(--mono); letter-spacing: -.02em; }
.points span { color: var(--muted); font-size: 15px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line); }
.feature .shot { position: relative; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(30px, 4vw, 40px); margin: 12px 0 14px; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.feature li::before { content: "→"; font-family: var(--mono); color: var(--accent); margin-right: 10px; }

.cta { text-align: center; padding: 80px 0 64px; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 12px 0 24px; }
.cta .stores { justify-content: center; }

.note { color: var(--faint); font-size: 13px; line-height: 1.55; padding: 24px 0; border-top: 1px solid var(--line); }

/* Documents */
.doc h1 { font-size: 40px; margin: 24px 0 6px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.date { color: var(--muted); font: 13px var(--mono); }
.doc p, .doc li { color: #D9D4CA; }
.doc ul { padding-left: 22px; } .doc li { margin: 6px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 22px; margin: 16px 0; }
.card h3 { font-size: 17px; margin: 16px 0 4px; }
.card p { margin: 0 0 16px; color: var(--muted); }

footer.site { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--faint); font: 13px var(--mono); }
footer.site a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: 1fr; gap: 40px; }
  .hero { grid-template-columns: 1fr; }
  .stage { height: auto; }
  .stage .phone.front { position: relative; right: auto; margin: 0 auto; }
  .stage .back { display: none; }
  .phone { width: 280px; }
  .hero { padding-top: 16px; }
  .feature.flip .text { order: 0; }
  .points { grid-template-columns: 1fr; }
  .points div, .points div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .points div:first-child { border-top: 0; }
  .top nav { gap: 14px; }
  .top nav a.hide-sm { display: none; }
}
