/* Double Up Planner - informational site
   Palette: #D0FFA4 lime, #000181 navy, #E8A0FF violet, #006EE9 blue, #83E7FF cyan */

:root {
  --bg: #04050e;
  --bg-2: #080b1c;
  --navy: #000181;
  --lime: #d0ffa4;
  --violet: #e8a0ff;
  --blue: #006ee9;
  --cyan: #83e7ff;

  --text: #eaefff;
  --muted: #98a3c4;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

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

/* Links are neutral. The underline on hover carries the affordance
   instead of colour. */
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: #04050e;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Opaque rather than translucent. The header used to rely on a blurred
     backdrop to stay legible over scrolling content; without the blur a
     see-through header just looks broken. */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}
.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--lime);
  color: #04050e;
}
.btn-primary:hover { background: #dcffb9; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero ---------- */

/* The hero previously carried two blurred colour glows as ::before/::after.
   Both are gone: they existed only to be blurred, so keeping the shapes
   without the blur would leave hard-edged circles. */
.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
/* Was a lime/cyan/violet gradient clipped to the text. Now plain. */
.h1-accent { color: var(--text); }

.hero p.lede {
  margin: 0 0 34px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.tick { color: var(--muted); font-weight: 800; }

/* ---------- Sections ---------- */

.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 62ch; margin-bottom: 44px; }

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section p { color: var(--muted); margin: 0 0 16px; font-size: 16.5px; }
.section p:last-child { margin-bottom: 0; }
.section p strong { color: var(--text); font-weight: 600; }

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}
.split-reverse .split-media { order: -1; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15.5px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}
.feature-list.cyan li::before { background: var(--cyan); }

/* ---------- Media frame ---------- */

.media-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 110, 233, 0.1), rgba(232, 160, 255, 0.06));
  padding: 14px;
  overflow: hidden;
}
.media-frame img { border-radius: 10px; width: 100%; height: auto; }
.media-caption {
  margin: 12px 2px 2px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- Overlay facts ---------- */

.overlay-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
  align-items: start;
}
.overlay-facts .feature-list { margin-top: 0; }
.overlay-facts .callout { margin-top: 0; }

/* ---------- Shop matching block ---------- */

.shop-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.shop-block .section-head { margin-bottom: 28px; }
.shop-heading {
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

/* ---------- Callout ---------- */

.callout {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(131, 231, 255, 0.28);
  background: rgba(131, 231, 255, 0.06);
}
.callout p { color: var(--text); font-size: 15.5px; margin: 0; }

/* ---------- Limits ---------- */

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.limit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px 22px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.limit-card:hover { background: var(--card-hover); border-color: var(--line-strong); }
.limit-card h3 { display: flex; align-items: flex-start; gap: 10px; }
.limit-card .no {
  color: var(--muted);
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1.45;
}
.limit-card p { font-size: 15px; margin: 0; color: var(--muted); }

.sources {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.sources p { margin: 0; font-size: 15px; }

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
  margin-top: 40px;
}
.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--card);
}
.why-card .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.why-card p { font-size: 15px; margin: 0; }

/* ---------- Contact ---------- */

.contact-panel {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 52px 44px;
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(0, 110, 233, 0.2), transparent 62%),
    radial-gradient(110% 150% at 92% 100%, rgba(232, 160, 255, 0.16), transparent 60%),
    var(--card);
  text-align: center;
}
.contact-panel h2 { margin-bottom: 12px; }
.contact-panel p { max-width: 52ch; margin-inline: auto; }
.contact-actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 64px; background: var(--bg); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.legal {
  margin: 26px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 92ch;
}
.copyright { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-media { order: 0; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; gap: 16px; }
  .brand { margin-right: auto; }
  .hero { padding: 68px 0 64px; }
  .section { padding: 68px 0; }
  .contact-panel { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
