/* fishinary.com landing — the app's own palette (lib/theme.js) in both themes.
   Light: bg #e9eef7 · card #fff · ink #16233a · muted #5b6b83 · accent #2f6aff · accentText #2b5cd9
   Dark : bg #081a30 · card #0f2440 · ink #eaf0f8 · muted #8a93a4 · accentText #7aa6ff */
:root {
  --bg: #e9eef7;
  --bg-2: #dfe7f3;
  --card: #ffffff;
  --line: rgba(22, 35, 58, 0.10);
  --ink: #16233a;
  --text: #33415c;
  --muted: #5b6b83;
  --accent: #2f6aff;
  --accent-text: #2b5cd9;
  --accent-soft: rgba(47, 106, 255, 0.10);
  --success: #1f9d58;
  --danger: #c43d3d;
  --phone: #0b1b33;
  --shadow: 0 18px 50px rgba(22, 35, 58, 0.16);
  --radius: 20px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --display: "Sora", var(--sans);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081a30;
    --bg-2: #0c2140;
    --card: #0f2440;
    --line: rgba(234, 240, 248, 0.10);
    --ink: #eaf0f8;
    --text: #c7d2e3;
    --muted: #8a93a4;
    --accent: #2f6aff;
    --accent-text: #7aa6ff;
    --accent-soft: rgba(47, 106, 255, 0.16);
    --success: #46c46f;
    --danger: #ff7b7b;
    --phone: #050f1f;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 700; font-size: 18px; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-tile { border-radius: 9px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: none; gap: 22px; margin-left: 14px; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav .btn-sm { margin-left: auto; }
@media (min-width: 760px) { .nav-links { display: flex; } }

/* ---------- buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 106, 255, 0.28);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(47, 106, 255, 0.34); }
.btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.btn:focus-visible, .wl-input:focus-visible, .nav-links a:focus-visible, .footer-links a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-text); outline-offset: 3px;
}
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; box-shadow: none; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.1;
}
.store small { display: block; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; margin-bottom: 2px; }
@media (prefers-color-scheme: dark) { .store { background: #eaf0f8; color: #081a30; } }

/* ---------- hero ---------- */
.hero {
  max-width: 1120px; margin: 0 auto; padding: 56px 20px 24px;
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.08fr 0.92fr; padding-top: 72px; min-height: 640px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 25%, transparent); }
.display {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 14px 0 18px; text-wrap: balance;
}
.lede { font-size: 18px; color: var(--text); max-width: 56ch; }
.hero .lede { margin-bottom: 26px; }

/* waitlist form */
.wl { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 520px; }
@media (min-width: 540px) { .wl { grid-template-columns: 1fr auto; } .wl .wl-note { grid-column: 1 / -1; } }
.wl-input {
  width: 100%; height: 50px; padding: 0 16px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.wl-input::placeholder { color: var(--muted); }
.wl-note { font-size: 13.5px; color: var(--muted); }
.wl-note.ok { color: var(--success); font-weight: 600; }
.wl-note.err { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* phones */
.phone {
  background: var(--phone); border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  width: 100%; max-width: 300px; margin: 0;
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 560 / 1257; object-fit: cover; }
.phone figcaption { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 10px; }
.hero-art { position: relative; display: grid; justify-items: center; min-height: 560px; }
.hero-art .phone-main { position: relative; z-index: 2; width: 290px; }
.hero-art .phone-back { position: absolute; z-index: 1; width: 230px; right: 4%; top: 70px; transform: rotate(8deg); opacity: 0.95; }
@media (max-width: 899px) { .hero-art { min-height: 0; } .hero-art .phone-back { display: none; } }
@media (min-width: 1040px) { .hero-art .phone-main { width: 320px; } .hero-art .phone-back { width: 250px; right: 2%; } }

/* ---------- stats ---------- */
.stats {
  max-width: 1120px; margin: 24px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.stat strong { display: block; font-family: var(--display); font-size: 30px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- sections ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 20px 8px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.kicker { color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.grid { display: grid; gap: 14px; }
.features { grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--text); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; justify-items: start; gap: 8px; }
.step .phone-sm { max-width: 220px; margin-bottom: 10px; border-radius: 34px; padding: 8px; }
.step .phone-sm img { border-radius: 26px; }
.step h3 { display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-family: var(--display); }
.step p { color: var(--text); font-size: 15.5px; max-width: 34ch; }

/* screens strip */
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.strip .phone { flex: 0 0 220px; scroll-snap-align: start; padding: 8px; border-radius: 34px; }
.strip .phone img { border-radius: 26px; }
.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* privacy */
.privacy-card {
  background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 32px;
  display: grid; gap: 24px;
}
@media (min-width: 820px) { .privacy-card { grid-template-columns: 1.1fr 1fr; padding: 40px; } }
.privacy-card h2, .privacy-card .lede { color: inherit; }
.privacy-card .kicker { color: #9cc0ff; }
@media (prefers-color-scheme: dark) { .privacy-card { background: #eaf0f8; color: #16233a; } .privacy-card .kicker { color: #2b5cd9; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--success); box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--success) 35%, #fff 10%); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--ink); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 16px; color: var(--text); font-size: 15.5px; }

/* waitlist section */
.waitlist { padding-bottom: 72px; }
.waitlist-card {
  background: var(--card);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--card)), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px; text-align: center;
  display: grid; justify-items: center; gap: 12px;
}
.wl-tile { border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 4px; }
.waitlist-card .lede { max-width: 48ch; }
.waitlist-card .wl { width: 100%; margin-top: 10px; text-align: left; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 32px 20px 40px; display: grid; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: var(--ink); }
.footer-brand .muted { font-family: var(--sans); font-weight: 600; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.fine { color: var(--muted); font-size: 12.5px; line-height: 1.6; max-width: 90ch; }
