/* ===========================================================================
   Daily Tap — shared design system
   Used by index.html, terms.html, privacy.html, manageyoursubscription.html
   =========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Palette */
  --white: #ffffff;
  --slate: #f6f8fc;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --hairline: #e2e8f0;

  /* Accents */
  --indigo: #5b5bf0;
  --teal: #14b8c4;
  --pink: #ec4899;
  --green: #10b981;
  --grad: linear-gradient(135deg, var(--indigo) 0%, var(--teal) 100%);

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Geometry */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 14px 34px rgba(91, 91, 240, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}

/* ---- Reset / base -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.4em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

a { color: var(--indigo); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--teal); }

img, svg { display: block; max-width: 100%; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---- Accessibility ------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout helpers ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--slate { background: var(--slate); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.lead { font-size: 1.06rem; color: var(--muted); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 40px rgba(91, 91, 240, 0.36); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--ink); border-color: #cbd5e1; }

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }

.btn--solid-light {
  background: #fff;
  color: var(--indigo);
}
.btn--solid-light:hover { color: var(--indigo); }

/* ===========================================================================
   Logo (tap-ripple motif)
   =========================================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__mark { flex: none; }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }

/* Ripple animation on the mark */
.ripple-ring { transform-origin: center; }
.logo:hover .ripple-ring { animation: ripple 1.4s var(--ease) infinite; }
.logo:hover .ripple-ring--2 { animation-delay: 0.18s; }
@keyframes ripple {
  0%   { opacity: 0.9; transform: scale(0.62); }
  70%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ===========================================================================
   Navigation
   =========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--body);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }

/* On desktop the CTA inside the menu is hidden — only the right-aligned one shows.
   It re-appears inside the mobile dropdown panel at the 920px breakpoint. */
.nav__menu > .btn { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(91, 91, 240, 0.10), transparent 60%),
    radial-gradient(50% 60% at 100% 18%, rgba(20, 184, 196, 0.10), transparent 60%),
    var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 30px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
}
.trust-row svg { flex: none; color: var(--green); }

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 290px;
  max-width: 80vw;
  aspect-ratio: 9 / 18.5;
  background: var(--ink);
  border-radius: 40px;
  padding: 13px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 116px; height: 24px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(91, 91, 240, 0.20), transparent 60%),
    var(--slate);
  display: flex;
  flex-direction: column;
}
.phone__top {
  background: var(--grad);
  color: #fff;
  padding: 38px 22px 24px;
  text-align: center;
}
.phone__top .kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.phone__top h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 8px 0 4px;
}
.phone__top p { color: rgba(255,255,255,0.9); font-size: 0.84rem; margin: 0; }

.tap-target {
  margin: 22px auto;
  width: 132px; height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}
.tap-target::before,
.tap-target::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--indigo);
  opacity: 0;
  animation: tapwave 2.4s var(--ease) infinite;
}
.tap-target::after { animation-delay: 1.2s; }
@keyframes tapwave {
  0%   { opacity: 0.5; transform: scale(1); }
  80%  { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
.tap-target span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--indigo);
}
.phone__cta {
  margin: auto 18px 22px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px;
  border-radius: var(--radius-pill);
}
.phone__fine { text-align: center; font-size: 0.66rem; color: var(--muted); padding: 0 18px 18px; margin: 0; }

/* Floating stat chips */
.chip {
  position: absolute;
  z-index: 4;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.chip__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1;
}
.chip__label { font-size: 0.72rem; color: var(--muted); }
.chip__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.chip--a { top: 16%; left: -6%; animation: float 5s ease-in-out infinite; }
.chip--b { bottom: 14%; right: -4%; animation: float 5s ease-in-out infinite 1.4s; }
.chip--a .chip__dot { background: var(--indigo); }
.chip--b .chip__dot { background: var(--teal); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===========================================================================
   Dark stat band
   =========================================================================== */
.statband {
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(91, 91, 240, 0.22), transparent 55%),
    radial-gradient(60% 120% at 100% 100%, rgba(20, 184, 196, 0.20), transparent 55%),
    var(--ink);
  color: #fff;
}
.statband__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #a5b4ff, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.66);
}

/* ===========================================================================
   About
   =========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(91, 91, 240, 0.10);
  color: var(--indigo);
}
.feature__num { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.feature p { font-size: 0.88rem; color: var(--muted); margin: 2px 0 0; }

.insight-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad);
}
.insight-card h3 { font-size: 1.3rem; }
.geo-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.geo-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--slate);
  border: 1px solid var(--hairline);
  color: var(--body);
}

/* ===========================================================================
   Cards (services / verticals / why)
   =========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Vertical cards — colored top accent bar */
.vcard { padding-top: 32px; }
.vcard__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
}
.vcard--games .vcard__bar { background: var(--indigo); }
.vcard--video .vcard__bar { background: var(--teal); }
.vcard--sweeps .vcard__bar { background: var(--pink); }
.vcard--cpl .vcard__bar { background: var(--green); }
.vcard__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.vcard--games .vcard__tag { background: rgba(91,91,240,0.12); color: var(--indigo); }
.vcard--video .vcard__tag { background: rgba(20,184,196,0.14); color: #0e8c96; }
.vcard--sweeps .vcard__tag { background: rgba(236,72,153,0.12); color: var(--pink); }
.vcard--cpl .vcard__tag { background: rgba(16,185,129,0.14); color: #0a8a5f; }

/* Why Daily Tap — checklist */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.check:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.check__tick {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: var(--green);
  display: grid; place-items: center;
}
.check h3 { font-size: 1.02rem; margin-bottom: 4px; }
.check p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ===========================================================================
   Contact (gradient block)
   =========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  border-radius: clamp(20px, 3vw, 30px);
  padding: clamp(40px, 6vw, 72px);
  box-shadow: var(--shadow-lg);
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 560px; }
.contact h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact p { color: rgba(255,255,255,0.92); }
.contact-form {
  display: flex;
  gap: 12px;
  margin: 26px 0 18px;
  flex-wrap: wrap;
}
.contact-form input[type="email"] {
  flex: 1 1 260px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.contact-form input::placeholder { color: var(--muted); }
.contact-form input.invalid { border-color: #fecaca; box-shadow: 0 0 0 3px rgba(254,202,202,0.5); }
.form-error {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #fff5f5;
  font-weight: 500;
  margin: 0 0 14px;
}
.contact__hours {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 15px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: min(92vw, 440px);
  opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast__icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
}
.toast strong { font-family: var(--font-head); font-size: 0.95rem; display: block; }
.toast span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* ===========================================================================
   Footer
   =========================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 84px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 30ch; margin: 16px 0 0; }
.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  padding: 6px 0;
}
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
}
.footer__legal a { color: rgba(255,255,255,0.7); }
.footer__legal a:hover { color: #fff; }

/* ===========================================================================
   Content pages (terms / privacy / manage)
   =========================================================================== */
.page-hero {
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(91,91,240,0.08), transparent 60%),
    var(--slate);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { max-width: 60ch; color: var(--muted); margin: 0; }
.page-meta { font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; }

.doc { max-width: 780px; }
.doc h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.08rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--body); }
.doc ul { margin: 0 0 1rem; }
.doc ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}
.doc ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.doc .callout {
  background: var(--slate);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
}
.doc .callout p:last-child { margin-bottom: 0; }

.toc {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.toc h4 { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { padding: 4px 0; font-size: 0.92rem; }

/* Manage subscription specifics */
.lookup {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin: 8px 0 8px;
}
@media (max-width: 820px) { .lookup { grid-template-columns: 1fr; } }

.panel {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.18rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(91,91,240,0.15);
}
.field input.invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.14); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
.field-error { min-height: 1.1em; font-size: 0.82rem; color: #dc2626; font-weight: 500; margin: 6px 0 0; }

.stop-block {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.stop-block h3 { color: #fff; }
.stop-block p { color: rgba(255,255,255,0.78); }
.stop-keyword {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--grad);
  color: #fff;
  padding: 4px 14px;
  border-radius: 8px;
  margin: 0 2px;
}
.stop-steps { counter-reset: step; margin-top: 18px; }
.stop-steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
}
.stop-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
}

.lookup-result {
  margin-top: 4px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--slate);
  border: 1px solid var(--hairline);
  font-size: 0.9rem;
  display: none;
}
.lookup-result.show { display: block; }

.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }

  /* mobile menu panel */
  .nav__menu {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--gutter) 26px;
    display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__menu .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__menu .nav__link { padding: 12px 4px; font-size: 1.02rem; }
  .nav__menu .nav__link::after { display: none; }
  .nav__menu .btn { display: inline-flex; margin-top: 12px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 20px; }
  .about__grid { grid-template-columns: 1fr; }
  .statband__grid { grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .help-cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .toc ol { columns: 1; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
}

/* ===========================================================================
   Reveal-on-load / scroll (progressive enhancement)
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .check:hover { transform: none; }
}
