/* AstroQuant — roadmap page styles. Generated from inline <style>. */
  /* ─── ROADMAP — Observatory language (editorial, calm) ─────────────────── */

  /* Scroll-driven tint (blue → orange), identical model to the landing */
  .obs-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(
        ellipse 90% 50% at 50% -5%,
        color-mix(in srgb, var(--aq-tint-calm) calc(var(--tint-strength) * (1 - var(--tint-mix)) * 100%), transparent) 0,
        transparent 55%
      ),
      radial-gradient(
        ellipse 90% 50% at 50% -5%,
        color-mix(in srgb, var(--aq-tint-retrograde) calc(var(--tint-strength) * var(--tint-mix) * 100%), transparent) 0,
        transparent 55%
      ),
      var(--aq-bg);
    transition: background 600ms var(--aq-ease);
  }
  .obs-bg::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle 1.5px at 12% 22%, rgba(255,255,255,0.5), transparent 60%),
      radial-gradient(circle 1px   at 84% 12%, rgba(255,255,255,0.35), transparent 60%),
      radial-gradient(circle 1px   at 26% 70%, rgba(255,255,255,0.3),  transparent 60%),
      radial-gradient(circle 1.5px at 90% 58%, rgba(255,255,255,0.4),  transparent 60%);
  }

  /* ─── SECTION HEADER PRIMITIVES (shared with landing) ──────────────────── */
  .sect-eyebrow {
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--aq-fg-tertiary);
    margin-bottom: 20px;
    display: inline-block;
  }
  .sect-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: var(--aq-w-bold);
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 24px;
    text-wrap: balance;
  }
  .sect-title em { font-style: italic; font-weight: var(--aq-w-regular); color: var(--aq-fg-secondary); }
  .sect-lede {
    font-size: 19px;
    color: var(--aq-fg-secondary);
    line-height: 1.55;
    max-width: 640px;
    text-wrap: pretty;
  }

  /* ─── HERO ─────────────────────────────────────────────────────────────── */
  .rm-hero {
    padding: 72px 56px 80px;
    max-width: 1180px;
  }
  .rm-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--aq-fg-secondary);
    margin-bottom: 32px;
  }
  .rm-hero__eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--aq-tint-calm);
    box-shadow: 0 0 12px var(--aq-tint-calm);
    animation: pulse 2.6s var(--aq-ease) infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.25); }
  }
  .rm-hero__title {
    font-size: clamp(52px, 7.5vw, 116px);
    font-weight: var(--aq-w-bold);
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
    text-wrap: balance;
  }
  .rm-hero__title em { font-style: italic; font-weight: var(--aq-w-regular); color: var(--aq-fg-secondary); }
  .rm-hero__sub {
    font-size: 19px; line-height: 1.55;
    color: var(--aq-fg-secondary);
    max-width: 600px; margin: 0 0 44px;
    text-wrap: pretty;
  }
  .rm-hero__sub em { color: var(--aq-fg); font-style: normal; font-weight: 500; }

  /* Readout strip under hero */
  .rm-readout {
    display: flex; gap: 56px; flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--aq-divider);
    color: var(--aq-fg-secondary);
  }
  .rm-readout-item { display: flex; flex-direction: column; gap: 8px; }
  .rm-readout-item span {
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--aq-fg-tertiary);
  }
  .rm-readout-item strong {
    font-size: 24px; font-weight: var(--aq-w-medium);
    color: var(--aq-fg);
    font-variant-numeric: tabular-nums;
  }
  .rm-readout-item strong small {
    font-size: 13px; font-weight: 400; color: var(--aq-fg-secondary);
    margin-left: 4px;
  }

  /* ─── LEGEND — how to read the horizons ────────────────────────────────── */
  .rm-legend {
    padding: 0 56px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--aq-divider);
    border-top: 1px solid var(--aq-divider);
    border-bottom: 1px solid var(--aq-divider);
    margin: 0 56px 0;
    max-width: calc(100% - 112px);
  }
  .rm-legend-wrap { padding: 60px 0 0; }
  .rm-legend__cell {
    background: var(--aq-bg);
    padding: 32px 28px 36px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .rm-legend__tag {
    display: flex; align-items: baseline; gap: 12px;
  }
  .rm-legend__horizon {
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.24em; text-transform: uppercase;
  }
  .rm-legend__cell--now   .rm-legend__horizon { color: var(--aq-tint-calm); }
  .rm-legend__cell--next  .rm-legend__horizon { color: var(--aq-fg); }
  .rm-legend__cell--later .rm-legend__horizon { color: var(--aq-fg-secondary); }
  .rm-legend__label {
    font-size: 13px; color: var(--aq-fg-tertiary);
    letter-spacing: 0.04em;
  }
  .rm-legend__def {
    font-size: 15px; color: var(--aq-fg-secondary);
    line-height: 1.6; margin: 0; text-wrap: pretty;
  }

  /* ─── HORIZON SECTION ──────────────────────────────────────────────────── */
  .horizon {
    padding: 120px 56px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: start;
  }
  .horizon__head { position: sticky; top: 96px; }
  .horizon__index {
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--aq-fg-tertiary);
    margin-bottom: 22px;
    display: flex; align-items: center; gap: 12px;
  }
  .horizon__index .dot {
    width: 7px; height: 7px; border-radius: 50%;
  }
  .horizon--now   .horizon__index .dot { background: var(--aq-tint-calm); box-shadow: 0 0 10px var(--aq-tint-calm); }
  .horizon--next  .horizon__index .dot { background: var(--aq-fg-secondary); }
  .horizon--later .horizon__index .dot { background: var(--aq-fg-tertiary); }
  .horizon__name {
    font-size: clamp(56px, 6vw, 96px);
    font-weight: var(--aq-w-bold);
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin: 0 0 22px;
  }
  .horizon__name em { font-style: italic; font-weight: var(--aq-w-regular); color: var(--aq-fg-secondary); }
  .horizon__def {
    font-size: 16px; color: var(--aq-fg-secondary);
    line-height: 1.6; max-width: 360px; margin: 0 0 28px;
    text-wrap: pretty;
  }
  .horizon__count {
    display: inline-flex; align-items: baseline; gap: 8px;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--aq-fg-tertiary);
    padding-top: 24px;
    border-top: 1px solid var(--aq-divider);
  }
  .horizon__count strong {
    font-size: 22px; font-weight: var(--aq-w-medium); color: var(--aq-fg);
    font-variant-numeric: tabular-nums; letter-spacing: 0;
  }

  /* Items list */
  .ritems { display: flex; flex-direction: column; }
  .ritem {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--aq-divider);
    align-items: start;
  }
  .ritem:first-child { padding-top: 4px; }
  .ritem:last-child { border-bottom: 0; }
  .ritem__glyph {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: grid; place-items: center;
    font-size: 24px; color: var(--aq-fg);
    transition: background var(--aq-d-base) var(--aq-ease);
  }
  .ritem:hover .ritem__glyph { background: rgba(255,255,255,0.11); }
  .ritem__top {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; margin-bottom: 10px;
  }
  .ritem__title {
    margin: 0;
    font-size: 22px; font-weight: var(--aq-w-medium);
    letter-spacing: -0.01em; line-height: 1.2;
  }
  .ritem__status {
    flex-shrink: 0;
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 11px; border-radius: var(--aq-radius-pill);
    white-space: nowrap;
    border: 1px solid var(--aq-divider);
    color: var(--aq-fg-secondary);
  }
  .ritem__status[data-tone="ship"] { color: var(--aq-aspect-positive); border-color: color-mix(in srgb, var(--aq-aspect-positive) 35%, transparent); }
  .ritem__status[data-tone="build"] { color: var(--aq-tint-calm); border-color: color-mix(in srgb, var(--aq-tint-calm) 40%, transparent); }
  .ritem__status[data-tone="design"] { color: var(--aq-fg); border-color: var(--aq-glass-stroke); }
  .ritem__status[data-tone="explore"] { color: var(--aq-fg-tertiary); border-color: var(--aq-divider); }
  .ritem__desc {
    margin: 0 0 14px;
    font-size: 15px; color: var(--aq-fg-secondary);
    line-height: 1.6; text-wrap: pretty;
  }
  .ritem__desc em { color: var(--aq-fg); font-style: normal; font-weight: 500; }
  .ritem__meta {
    display: flex; align-items: center; gap: 14px;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--aq-fg-tertiary);
  }
  .ritem__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--aq-fg-tertiary); opacity: 0.6; }
  /* Thin progress meter — only NOW items carry one (echoes the iOS meter) */
  .ritem__progress {
    margin-top: 16px;
    height: 5px; border-radius: var(--aq-radius-sm);
    background: var(--aq-score-track);
    overflow: hidden;
  }
  .ritem__progress > span {
    display: block; height: 100%;
    width: 0;
    border-radius: var(--aq-radius-sm);
    background: linear-gradient(90deg, var(--aq-score-1), var(--aq-score-2), var(--aq-score-3));
    transition: width 1100ms var(--aq-ease);
  }
  .ritem.in .ritem__progress > span { width: var(--p, 0%); }

  /* ─── ALREADY LANDED ───────────────────────────────────────────────────── */
  .landed {
    padding: 120px 56px;
    border-top: 1px solid var(--aq-divider);
  }
  .landed__header { max-width: 760px; margin-bottom: 56px; }
  .landed__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--aq-divider);
    border: 1px solid var(--aq-divider);
    border-radius: 16px;
    overflow: hidden;
  }
  .landed__item {
    background: var(--aq-bg);
    padding: 26px 28px;
    display: grid; grid-template-columns: 24px 1fr auto; gap: 16px;
    align-items: center;
    transition: background var(--aq-d-base) var(--aq-ease);
  }
  .landed__item:hover { background: rgba(255,255,255,0.02); }
  .landed__check {
    width: 20px; height: 20px; border-radius: 50%;
    border: 1.5px solid var(--aq-aspect-positive);
    display: grid; place-items: center;
    color: var(--aq-aspect-positive);
    font-size: 11px; line-height: 1;
  }
  .landed__item h4 { margin: 0; font-size: 16px; font-weight: var(--aq-w-medium); letter-spacing: -0.005em; }
  .landed__item p { margin: 3px 0 0; font-size: 13px; color: var(--aq-fg-secondary); line-height: 1.5; }
  .landed__when { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aq-fg-tertiary); white-space: nowrap; }

  /* ─── CLOSING CTA ──────────────────────────────────────────────────────── */
  .rm-closing {
    padding: 150px 56px;
    text-align: center; position: relative;
  }
  .rm-closing__halo {
    position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, color-mix(in srgb, var(--aq-tint-retrograde) 14%, transparent), transparent 60%);
    border-radius: 50%; z-index: -1; pointer-events: none;
  }
  .rm-closing h2 {
    font-size: clamp(44px, 6vw, 92px);
    font-weight: var(--aq-w-bold);
    letter-spacing: -0.035em; line-height: 0.96;
    margin: 0 auto 32px; max-width: 920px; text-wrap: balance;
  }
  .rm-closing h2 em { font-style: italic; font-weight: var(--aq-w-regular); color: var(--aq-fg-secondary); }
  .rm-closing__sub {
    font-size: 18px; color: var(--aq-fg-secondary);
    max-width: 540px; margin: 0 auto 44px; line-height: 1.55;
  }
  .rm-closing__cta { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
  .rm-closing__meta { margin-top: 34px; font-size: 12px; color: var(--aq-fg-tertiary); letter-spacing: 0.04em; }

  /* ─── RESPONSIVE ───────────────────────────────────────────────────────── */
  @media (max-width: 980px) {
    .rm-hero { padding: 56px 24px 64px; }
    .rm-legend, .rm-legend-wrap { margin: 0; max-width: 100%; }
    .rm-legend { grid-template-columns: 1fr; padding: 0; }
    .horizon { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px; }
    .horizon__head { position: static; }
    .landed, .rm-closing { padding: 80px 24px; }
    .landed__grid { grid-template-columns: 1fr; }
    .rm-readout { gap: 36px; }
  }
