/* Reelo — shared styles. Dark brand theme, no external deps, no trackers. */

:root {
  --bg: #0B0E11;
  --bg-elev: #12161B;
  --bg-elev-2: #171C22;
  --border: #232A31;
  --accent: #1ADBA6;
  --accent-dim: #12b085;
  --text: #F2F4F6;
  --text-muted: #A7B0B8;
  --text-faint: #6B7680;
  --max: 70ch;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Skip to content (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #06231b; font-weight: 700;
  padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---- Layout ---- */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 17, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(140deg, var(--accent), var(--accent-dim));
  box-shadow: 0 0 18px rgba(26, 219, 166, 0.45);
}
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---- Hero ---- */
.hero { padding: 84px 0 56px; text-align: center; }
.hero .tag {
  display: inline-block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--border); background: var(--bg-elev);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.08; margin: 0 auto 18px;
  max-width: 16ch; letter-spacing: -0.02em; font-weight: 800;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent), #6ff2cf);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-muted); max-width: 56ch; margin: 0 auto 20px; }
.hero p.intro { font-size: 15.5px; color: var(--text-faint); max-width: 62ch; margin: 0 auto 30px; line-height: 1.7; }

/* ---- Hero badges (link to #download) ---- */
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  background: var(--bg-elev); border: 1px solid var(--border);
  color: var(--text); padding: 10px 20px; border-radius: 12px; font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.badge:hover { text-decoration: none; border-color: var(--accent-dim); transform: translateY(-2px); }
.badge .badge-ico { font-size: 20px; color: var(--accent); }
.badge .badge-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: 16px; }
.badge small { color: var(--text-faint); font-weight: 500; font-size: 11px; }
.badge .soon { color: var(--accent); font-size: 11px; font-weight: 600; }

/* ---- Feature grid ---- */
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; letter-spacing: -0.01em; }
.section .sub { text-align: center; color: var(--text-muted); margin: 0 auto 40px; max-width: 52ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.card .ico {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 20px;
  background: rgba(26, 219, 166, 0.10); border: 1px solid rgba(26, 219, 166, 0.25);
}
.card h3, .card h4 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.card strong { color: var(--text); }

/* Feature group headings */
.group-title {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); margin: 44px 0 16px; font-weight: 700;
}
.group-title:first-of-type { margin-top: 8px; }
.group-ico {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; font-size: 15px; color: var(--accent);
  background: rgba(26, 219, 166, 0.10); border: 1px solid rgba(26, 219, 166, 0.25);
  text-transform: none;
}
.wedge-pill {
  font-size: 11px; letter-spacing: 0.02em; text-transform: none; font-weight: 600;
  color: var(--accent); background: rgba(26, 219, 166, 0.10);
  border: 1px solid rgba(26, 219, 166, 0.28); border-radius: 999px; padding: 3px 10px;
}
.card-ai { background: linear-gradient(180deg, rgba(26,219,166,0.06), var(--bg-elev)); border-color: rgba(26,219,166,0.22); }

/* ---- Download / store buttons ---- */
.download-section { border-top: 1px solid var(--border); background: var(--bg-elev); }
.store-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; max-width: 720px; margin: 0 auto;
}
.store-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: 14px 20px; border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.store-btn:hover { text-decoration: none; border-color: var(--accent-dim); transform: translateY(-2px); background: var(--bg-elev-2); }
.store-btn .store-ico { color: var(--text); display: grid; place-items: center; flex: 0 0 auto; }
.store-btn:hover .store-ico { color: var(--accent); }
.store-btn .store-txt { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 18px; }
.store-btn small { color: var(--text-faint); font-weight: 500; font-size: 11px; letter-spacing: 0.02em; }
.store-btn.is-soon { position: relative; }

.notify { text-align: center; margin-top: 34px; }
.notify > p { color: var(--text-muted); margin: 0 0 14px; }
.notify-btn {
  display: inline-block; font-weight: 700; color: #06231b;
  background: linear-gradient(140deg, var(--accent), var(--accent-dim));
  padding: 13px 26px; border-radius: 12px;
  box-shadow: 0 0 24px rgba(26, 219, 166, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.notify-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 0 30px rgba(26, 219, 166, 0.4); }
.notify-fine { margin-top: 14px; color: var(--text-faint); }

.faq-more { text-align: center; color: var(--text-muted); margin-top: 24px; }

.promise {
  text-align: center; max-width: 60ch; margin: 48px auto 0;
  padding: 28px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
}
.promise strong { color: var(--accent); }

/* ---- Legal / prose pages ---- */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .meta { color: var(--text-faint); font-size: 14px; margin-bottom: 8px; }
.legal .note {
  background: var(--bg-elev-2); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; color: var(--text-muted); font-size: 14px; margin: 20px 0 30px;
}
.legal h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; display: block; overflow-x: auto;
}
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-elev); color: var(--text); }
.legal code {
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 6px;
  padding: 1px 6px; font-size: 13px; color: var(--accent);
}
.legal hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ---- FAQ ---- */
.faq details {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px 18px; margin: 12px 0;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); margin: 0 0 14px; }

.contact-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 22px 0;
}
.contact-card a { font-weight: 600; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; color: var(--text-faint); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.site-footer .fine { font-size: 13px; }

@media (max-width: 600px) {
  .nav-links { gap: 14px; font-size: 14px; }
  .hero { padding: 56px 0 40px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* ============================================================
   STORE + SCREENSHOTS + refreshed hero (2026-07 upgrade)
   ============================================================ */

/* Hero CTA buttons */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 6px 0 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #06231b; background: linear-gradient(140deg, var(--accent), var(--accent-dim));
  box-shadow: 0 0 24px rgba(26, 219, 166, 0.22);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(26, 219, 166, 0.4); }
.btn-ghost { color: var(--text); background: var(--bg-elev); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent-dim); background: var(--bg-elev-2); }
.hero-note { color: var(--text-faint); font-size: 14px; margin: 4px 0 0; }

/* Store section */
.store-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(26,219,166,0.04), transparent 220px); }
.store-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 28px; }
.store-tab {
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  color: var(--text-muted); background: var(--bg-elev); border: 1px solid var(--border);
  padding: 9px 20px; border-radius: 999px; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.store-tab:hover { color: var(--text); border-color: var(--accent-dim); }
.store-tab.is-active { color: #06231b; background: linear-gradient(140deg, var(--accent), var(--accent-dim)); border-color: transparent; }
.store-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.store-panel { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.store-panel.is-hidden { display: none; }

.item {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease;
}
.item:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.item-thumb {
  aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative;
}
.item-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.12); }
.item-play {
  position: relative; z-index: 1; font-size: 30px; color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.item-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.item-body h4 { margin: 0; font-size: 15px; }
.item-body small { color: var(--text-faint); font-size: 12px; }
.dl {
  flex: 0 0 auto; font-weight: 700; font-size: 13px; color: var(--accent);
  border: 1px solid rgba(26,219,166,0.4); border-radius: 999px; padding: 7px 14px;
  transition: background 0.2s, color 0.2s;
}
.dl:hover { text-decoration: none; background: var(--accent); color: #06231b; }

/* Contribute band */
.contribute {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 40px auto 0; padding: 26px 30px; max-width: 900px;
  background: linear-gradient(135deg, rgba(255,61,129,0.10), rgba(124,92,255,0.10));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contribute h3 { margin: 0 0 6px; font-size: 20px; }
.contribute p { margin: 0; color: var(--text-muted); max-width: 52ch; font-size: 15px; }

/* Screenshots — phone frames */
.screens-section { border-top: 1px solid var(--border); }
.screens {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px; justify-items: center; margin-top: 8px;
}
.phone { margin: 0; text-align: center; max-width: 240px; }
.phone img {
  width: 100%; height: auto; border-radius: 26px;
  border: 6px solid #05070a; box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  background: #05070a;
}
.phone figcaption { margin-top: 12px; color: var(--text-muted); font-size: 13.5px; }

/* Get-the-app grid (Android first, wider) */
.get-grid { max-width: 780px; }

@media (max-width: 600px) {
  .contribute { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}
