/* Voyager 1 at one light-day from Earth (18 November 2026): the mark beside the brand, the strip under the bar, the
   band on the home page and the quiet star drift behind the page. Numbers come from the engine (voyager.js). */

/* ---- the mark beside the brand */
.brand-voyager-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 9px 2px 6px; border-radius: 20px;
  font-size: 11px; font-weight: 650; letter-spacing: .02em; color: #0B1526; background: rgba(11,21,38,.06); border: 1px solid rgba(11,21,38,.16); vertical-align: middle; white-space: nowrap; }
.brand-voyager-tag svg { flex: none; }
.topbar .brand-voyager-tag { color: #E6EBF3; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }

/* ---- the switch for the star drift */
.voyager-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 20px; font: inherit; font-size: 12.5px; font-weight: 600;
  color: #0B1526; background: transparent; border: 1px solid rgba(11,21,38,.22); cursor: pointer; }
.voyager-toggle:hover { border-color: #FF5B2E; color: #B53A12; }
.voyager-toggle[aria-pressed="false"] { opacity: .6; }
.topbar .voyager-toggle { color: #E6EBF3; border-color: rgba(255,255,255,.25); }
.topbar .voyager-toggle:hover { border-color: #FF5B2E; color: #fff; }

/* ---- the strip under the bar */
.voyager-strip { background: #0B1526; color: #E6EBF3; border-bottom: 1px solid rgba(255,91,46,.45); padding: 9px 0; font-size: 14px; }
.voyager-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.voyager-strip b { color: #fff; }
.voyager-strip .voy-live { color: #FFB59E; font-variant-numeric: tabular-nums; }
.voyager-strip .voy-probe { flex: none; color: #FF5B2E; }
[data-voy-live][hidden] { display: none !important; }

/* ---- the band on the home page */
.voyager-band { scroll-margin-top: 70px; background: #0B1526; color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.voyager-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 30%, rgba(255,91,46,.16), transparent 38%), radial-gradient(circle at 12% 80%, rgba(120,160,255,.10), transparent 40%); }
.voyager-band .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.voyager-band .voy-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF5B2E; }
.voyager-band h2 { margin: 10px 0 12px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; color: #fff; }
.voyager-band p { margin: 0 0 12px; color: #B9C3D6; font-size: 16px; line-height: 1.6; max-width: 56ch; }
.voyager-band .voy-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.voyager-band .voy-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.voy-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.voy-stat { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; background: rgba(255,255,255,.04); }
.voy-stat small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8FA0BC; margin-bottom: 6px; }
.voy-stat b { display: block; font-size: 20px; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.25; }
.voy-stat.wide { grid-column: 1 / -1; }
.voy-stat.wide b { font-size: clamp(22px, 3vw, 30px); color: #FFB59E; }
.voy-line { grid-column: 1 / -1; position: relative; height: 34px; margin-top: 2px; }
.voy-line::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,91,46,.9)); }
.voy-line i { position: absolute; top: 9px; width: 16px; height: 16px; border-radius: 50%; }
.voy-line .e { left: 0; background: #7FB2FF; box-shadow: 0 0 10px rgba(127,178,255,.8); }
.voy-line .v { right: 0; background: #FF5B2E; box-shadow: 0 0 12px rgba(255,91,46,.9); }
.voy-line .p { top: 12px; width: 10px; height: 10px; background: #fff; left: 0; animation: voy-signal 6s linear infinite; }
.voy-line span { position: absolute; top: -6px; font-size: 11px; color: #8FA0BC; }
.voy-line span.l { left: 0; } .voy-line span.r { right: 0; }
@keyframes voy-signal { from { left: calc(100% - 10px); opacity: 1; } to { left: 0; opacity: .25; } }

/* ---- the card on the app's home page */
.voyager-card { background: #0B1526; border: 1px solid rgba(255,91,46,.5); border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.voyager-card .voy-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FF5B2E; }
.voyager-card h3 { margin: 3px 0 4px; font-size: 18px; color: #fff; }
.voyager-card p { margin: 0; font-size: 13.5px; color: #B9C3D6; line-height: 1.5; font-variant-numeric: tabular-nums; }
.voyager-card .voy-probe { color: #FF5B2E; flex: none; }
.voyager-card .who { display: flex; align-items: center; gap: 16px; }

/* ---- the star drift behind the page */
#voyagerCanvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99; }

@media (max-width: 900px) { .voyager-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .voyager-toggle { padding: 4px 8px; font-size: 12px; } .voyager-toggle .btn-text { display: none; }
  .brand-voyager-tag { font-size: 10px; padding: 1px 6px 1px 4px; margin-left: 4px; }
  .voyager-strip { font-size: 13px; } .voyager-strip .voy-probe { display: none; }
  .voy-stat b { font-size: 16px; } .voy-stat { padding: 12px; }
}
@media (max-width: 400px) { .brand-voyager-tag span { display: none; } .brand-voyager-tag { padding: 2px 4px; } }
@media (prefers-reduced-motion: reduce) { .voy-line .p { animation: none; left: 50%; } }
