/* ============================================================
   Marquee Reader — marketing site
   Brand: dark #14171c · amber #f8b43a · clean, professional
   ============================================================ */

:root {
  --bg: #0d0f13;
  --bg-2: #14171c;
  --surface: #181c23;
  --surface-2: #1e232b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --text-soft: #aab2bd;
  --text-mute: #727a85;
  --accent: #f8b43a;
  --accent-soft: rgba(248, 180, 58, 0.14);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }

p { margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}

/* ───────────────── Nav ───────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 19, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__mark { display: block; border-radius: 6px; }
.brand__name { font-size: 1.05rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { color: var(--text-soft); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 6px 12px; border-radius: 999px;
}

/* ───────────────── Hero ───────────────── */
.hero { position: relative; padding: 92px 0 40px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% 0 auto 0; height: 720px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(248, 180, 58, 0.16), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__title { font-size: clamp(2.05rem, 7vw, 4.6rem); font-weight: 800; overflow-wrap: break-word; }
.hero__sub {
  max-width: 640px; margin: 24px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-soft);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero__avail {
  margin-top: 22px; font-size: 0.9rem; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 9px;
}
.hero__avail .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #1a1205; }
.btn--primary:hover { background: #ffc24f; }
.btn--ghost { color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero__shot { width: 100%; margin-top: 64px; }

/* ───────────── Screenshot frames ───────────── */
.shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
}
.shot img { width: 100%; height: auto; display: block; }
.shot--glow { max-width: 980px; margin: 0 auto; position: relative; }
.hero__shot .shot--glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ───────────── Feature trio ───────────── */
.trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding: 90px 24px 30px;
}
.trio__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.trio__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--accent-soft); margin-bottom: 18px;
}
.trio__card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.trio__card p { color: var(--text-soft); font-size: 0.98rem; }

/* ───────────── Feature sections ───────────── */
.feature { padding: 80px 0; }
.feature--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015)); }
.feature__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature__inner > *, .trio__card, .grid__item { min-width: 0; }
.feature--alt .feature__media { order: -1; }
.feature__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.feature__text p { color: var(--text-soft); font-size: 1.08rem; }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f8b43a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* stacked screenshots in the speed-reading block */
.feature__media { position: relative; }
.shot--inset {
  position: absolute; right: -14px; bottom: -34px; width: 56%;
  border-color: var(--border-strong);
}
.shot--inset-left { right: auto; left: -14px; }
@media (max-width: 760px) { .shot--inset { position: static; width: 100%; margin-top: 18px; } }

.shot--phone {
  max-width: 300px; margin: 0 auto;
  border-radius: 28%; padding: 0;
}
.shot--phone img { border-radius: inherit; }

/* ───────────── Feature grid ───────────── */
.features { padding: 96px 24px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-align: center; margin-bottom: 50px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
}
.grid__item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.grid__item h4::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.grid__item p { color: var(--text-soft); font-size: 0.92rem; }

/* ───────────── Callout ───────────── */
.callout { padding: 30px 0 56px; }
.callout__inner {
  text-align: center; max-width: 820px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 60px 44px;
}
.callout__inner h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.callout__inner p { color: var(--text-soft); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* ───────────── Coming-soon CTA ───────────── */
.getcta { padding: 20px 0 104px; }
.getcta__inner {
  text-align: center; max-width: 760px;
  background: linear-gradient(160deg, rgba(248, 180, 58, 0.10), var(--surface) 60%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
}
.getcta__inner h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.getcta__inner > p { color: var(--text-soft); font-size: 1.08rem; max-width: 520px; margin: 0 auto; }
.getcta__actions {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 30px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid var(--border-strong);
}
.store-badge__text { display: flex; flex-direction: column; line-height: 1.08; text-align: left; }
.store-badge__text small { font-size: 0.62rem; letter-spacing: 0.02em; opacity: 0.9; }
.store-badge__text strong { font-size: 1.2rem; font-weight: 600; }

/* ───────────── Footer ───────────── */
.footer { border-top: 1px solid var(--border); padding: 44px 0 60px; }
.footer__inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer__brand img { border-radius: 5px; }
.footer__note { color: var(--text-mute); font-size: 0.85rem; line-height: 1.7; }

/* ───────────── Scroll reveal ───────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feature__inner { grid-template-columns: 1fr; gap: 40px; }
  .feature--alt .feature__media { order: 0; }
  .feature__media { order: -1; }
  .nav__links { display: none; }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero__shot { margin-top: 44px; }
  .callout__inner { padding: 44px 24px; }
  .nav__badge { display: none; }
}
