/* ============================================================
   The Daily — marketing site
   ============================================================ */

:root {
  --bg-1: #20114a;
  --bg-2: #110826;
  --gold: #c9a84c;
  --gold-bright: #e8c45a;
  --fire: #e8511a;
  --ember: #ff7d3c;
  --ivory: #f5f0e8;
  --muted: #b9a6e0;
  --muted-dim: #8f7bbf;

  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);

  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --docw: 760px;

  --font-serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ivory);
  background: var(--bg-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 720px at 80% -10%, rgba(232, 81, 26, 0.22), transparent 60%),
    radial-gradient(900px 720px at 8% 4%, rgba(123, 74, 182, 0.40), transparent 55%),
    radial-gradient(1000px 900px at 50% 112%, rgba(201, 168, 76, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, #1a0d39 45%, var(--bg-2) 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(125% 80% at 50% 0%, transparent 58%, rgba(0, 0, 0, 0.38) 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 116px) 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head p.lead { margin-top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 12px; font-weight: 600; color: var(--gold-bright);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1, h2, h3 {
  font-family: var(--font-serif); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.015em; color: #fff;
}
.h-section { font-size: clamp(30px, 4.4vw, 50px); margin-top: 18px; }
.lead { font-size: clamp(17px, 1.55vw, 21px); color: rgba(245, 240, 232, 0.80); }

.grad-text {
  background: linear-gradient(100deg, var(--gold-bright), var(--ember) 55%, var(--fire));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.06em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost { color: var(--ivory); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-2px); }

.store-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b0712; border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; padding: 11px 22px 11px 18px; border-radius: 15px;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.store-pill:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.34); }
.store-pill svg { width: 26px; height: 26px; fill: #fff; }
.store-pill .sp-top { font-size: 11px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); line-height: 1.1; }
.store-pill .sp-main { font-size: 18px; font-weight: 600; line-height: 1.2; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(17, 8, 38, 0.62);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: #fff; }
.brand .mark { width: 30px; height: 30px; filter: drop-shadow(0 3px 12px rgba(232, 81, 26, 0.5)); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(245, 240, 232, 0.82); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links .lang { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.nav-links .lang svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(36px, 6vw, 76px); padding-bottom: clamp(40px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.025em; margin: 20px 0 22px; }
.hero .lead { margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 12px var(--gold-bright); flex: none; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -10% 4%; z-index: 0;
  background: radial-gradient(closest-side, rgba(232, 81, 26, 0.34), transparent 72%);
  filter: blur(20px);
}

/* ---------- phone mockup ---------- */
.phone {
  position: relative; z-index: 1;
  width: min(312px, 80vw);
  background: linear-gradient(160deg, #2c2542, #0c0718);
  border-radius: 46px; padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone-screen {
  position: relative; border-radius: 35px; overflow: hidden;
  background: linear-gradient(180deg, #3a2160 0%, #2a1750 55%, #190e32 100%);
  padding: 24px 20px 20px; min-height: 600px;
  display: flex; flex-direction: column; gap: 13px;
}
.island { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; background: #000; border-radius: 14px; z-index: 3; }
.scr-top { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.scr-date { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.scr-streak { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; color: var(--gold-bright); }
.scr-streak svg { width: 15px; height: 16px; }
.scr-pill { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #1a1030; background: linear-gradient(135deg, var(--gold-bright), #d99a2c); padding: 5px 11px; border-radius: 999px; }
.scr-title { font-family: var(--font-serif); font-size: 26px; line-height: 1.1; color: #fff; }
.scr-ref { font-size: 12.5px; color: var(--gold-bright); font-weight: 600; letter-spacing: 0.05em; }
.scr-verse { font-style: italic; font-size: 14px; color: rgba(245, 240, 232, 0.78); }
.scr-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 3px 0; }
.scr-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); }
.scr-decl { font-family: var(--font-serif); font-size: 18px; line-height: 1.38; color: #fff; }
.scr-btn { margin-top: auto; text-align: center; font-weight: 600; font-size: 14px; color: #1a1030; background: linear-gradient(135deg, var(--gold-bright), #d99a2c); padding: 13px; border-radius: 14px; }

/* ---------- what's inside ---------- */
.inside-list { display: grid; gap: 14px; max-width: 720px; margin: 44px auto 0; }
.inside-row { display: flex; gap: 20px; align-items: flex-start; padding: 20px 24px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; transition: border-color 0.25s, background 0.25s; }
.inside-row:hover { border-color: var(--border); background: var(--card-2); }
.inside-num { font-family: var(--font-serif); font-size: 22px; color: var(--gold-bright); width: 28px; flex: none; line-height: 1.4; }
.inside-row h3 { font-size: 18px; font-family: var(--font-sans); font-weight: 600; color: #fff; margin-bottom: 3px; }
.inside-row p { font-size: 15px; color: rgba(245, 240, 232, 0.72); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px 28px; transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--border); background: var(--card-2); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(232, 81, 26, 0.24), rgba(201, 168, 76, 0.18)); border: 1px solid rgba(255, 255, 255, 0.09); }
.feature .ic svg { width: 24px; height: 24px; stroke: var(--gold-bright); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 9px; }
.feature p { font-size: 15px; color: rgba(245, 240, 232, 0.72); }

/* ---------- pillars ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.pillar { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--border-soft); font-size: 15px; font-weight: 500; color: var(--ivory); }
.pillar .pdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: clamp(44px, 6vw, 76px) 24px; text-align: center; background: linear-gradient(135deg, rgba(74, 35, 90, 0.55), rgba(25, 14, 50, 0.55)); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(640px 320px at 50% -25%, rgba(232, 81, 26, 0.42), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .lead { max-width: 540px; margin: 16px auto 30px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 60px 0 46px; margin-top: 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-blurb { color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-dim); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 600; }
.footer-col a { display: block; color: rgba(245, 240, 232, 0.78); font-size: 15px; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border-soft); color: var(--muted-dim); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- doc pages ---------- */
.doc { max-width: var(--docw); margin: 0 auto; padding: clamp(44px, 7vw, 80px) 24px clamp(40px, 6vw, 72px); }
.doc .back { color: var(--muted); font-size: 14px; display: inline-block; margin-bottom: 22px; }
.doc .back:hover { color: #fff; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc .tagline { color: var(--gold); font-style: italic; font-size: 19px; margin-bottom: 22px; }
.doc h2 { font-size: 24px; margin: 38px 0 12px; color: #fff; }
.doc p, .doc li { color: rgba(245, 240, 232, 0.84); font-size: 16px; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--gold-bright); }
.doc a:hover { text-decoration: underline; }
.faq { display: grid; gap: 14px; margin-top: 26px; }
.faq-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 22px 26px; }
.faq-card h2 { font-size: 18px; font-family: var(--font-sans); font-weight: 600; color: #fff; margin: 0 0 8px; }
.faq-card p { margin-bottom: 0; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 600px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .section-head.left { text-align: center; margin: 0 auto; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .nav-links .hide-sm { display: none; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
}
