/* ═══════════════════════════════════════════════════════════════════
   RWF Coverage Hub v1.1.0 — the share page (rwf.qalarc.com/v1)
   One page, every element, dashboard and document. Zero JavaScript.
   Tokens: /design/tokens.css · Fonts: /design/fonts/fonts.css
   ═══════════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 18% -10%, var(--lime-glow), transparent 65%),
    radial-gradient(700px 380px at 92% 8%, var(--coral-glow), transparent 60%),
    var(--bg);
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-mark {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--lime);
}

.hero-version {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-bright);
  border-radius: var(--pill);
  padding: 5px 14px;
  background: var(--surface);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

.hero-pitch {
  max-width: 640px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: var(--pill);
  padding: 8px 16px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--lime  { background: var(--lime); box-shadow: 0 0 8px rgba(198,243,46,.55); }
.dot--sky   { background: var(--sky);  box-shadow: 0 0 8px rgba(110,193,255,.5); }
.dot--coral { background: var(--coral); box-shadow: 0 0 8px rgba(255,92,56,.5); }

.hero-date {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 76px 0 8px; }

.section-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 38px;
}

.section-index {
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  border: 1px solid var(--line-bright);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  margin-top: 5px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-sub {
  margin-top: 8px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

/* ── App section: phone + CTAs ────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.phone-stage { text-align: center; }

.phone {
  position: relative;
  display: inline-block;
  width: 300px;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, var(--line-bright), var(--surface-2) 30%, var(--line));
  border: 1px solid var(--line-bright);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.55),
    0 30px 80px -20px rgba(0,0,0,.75),
    0 0 90px -18px var(--lime-glow);
}

.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 20px;
  background: var(--bg);
  border-radius: var(--pill);
  z-index: 2;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
  background: var(--bg);
}

.phone-caption {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.app-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}

.cta:hover {
  border-color: var(--lime-dim);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.cta-emoji {
  font-size: 22px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cta--primary {
  border-color: var(--lime-dim);
  background: linear-gradient(180deg, var(--lime-glow), var(--surface) 70%);
}
.cta--primary:hover { border-color: var(--lime); }
.cta--primary .cta-emoji { color: var(--lime); border-color: var(--lime-dim); }

.cta strong { display: block; font-size: 16.5px; font-weight: 700; }
.cta em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }

.app-note {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 3px solid var(--lime-dim);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 18px;
}
.app-note strong { color: var(--text); }

.bot-chips { margin-top: 10px; }

.chip-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--faint);
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 15px;
  margin: 0 8px 8px 0;
  transition: border-color var(--ease), background var(--ease);
}
.chip:hover { border-color: var(--lime-dim); background: var(--surface-2); }

/* ── Cards ────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}

.card:hover {
  border-color: var(--lime-dim);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.card p {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}
.card p strong { color: var(--text); }

.card-go {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
  transition: color var(--ease);
}
.card:hover .card-go { color: var(--lime); }

/* ── Document strips ──────────────────────────────────────────── */
.docstrip { margin-top: 34px; }

.docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.doc {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color var(--ease), background var(--ease);
}
.doc:hover { border-color: var(--lime-dim); background: var(--surface-2); }

.doc-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  background: var(--lime-glow);
  border: 1px solid var(--lime-dim);
  border-radius: 7px;
  padding: 5px 8px;
  flex-shrink: 0;
}

.doc strong { display: block; font-size: 13.5px; font-weight: 600; }
.doc em { display: block; font-style: normal; font-size: 12px; color: var(--faint); margin-top: 1px; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 44px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-mark {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--lime);
}

.footer-line {
  font-size: 12px;
  color: var(--faint);
  margin-top: 6px;
}

.footer-share {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.footer-repo {
  font-size: 12px;
  color: var(--faint);
  border-bottom: 1px solid transparent;
  transition: color var(--ease);
}
.footer-repo:hover { color: var(--lime); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 880px) {
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { order: -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: clamp(38px, 11.5vw, 52px); }
  .hero-pitch { font-size: 15px; }
  .section { padding: 54px 0 4px; }
  .section-head { gap: 14px; }
  .cards { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-share { text-align: left; }
  .phone { width: min(280px, 82vw); }
}
