/* Public coming-soon page. Brand tokens are in tokens.css; the whole page is dark for every visitor (<html data-theme="dark">). */

:root {
  --ba-accent-text: #61ddeb;
  --ba-tile-glow: rgb(0 207 232 / 10%);
  --deep: #111417;
  --carbon: #252b30;
  --lime: #b8f500;
  --cyan: #00cfe8;
  --white: #eef3f5;
  --mute: #aab6bf;
  --gutter: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ba-font-body);
  font-size: var(--ba-font-size-md);
  line-height: var(--ba-line-height-body);
  color: var(--ba-color-text);
  background: var(--ba-color-canvas);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow, .label { font-size: var(--ba-font-size-xs); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }

.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--lime); color: var(--deep); padding: 0.5rem 0.75rem; border-radius: var(--ba-radius-xs); z-index: 5; }
.skip:focus { top: 0.5rem; }

/* ---------- hero (always dark) ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgb(0 207 232 / 16%), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgb(184 245 0 / 8%), transparent 60%),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 2rem 2rem,
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 2rem 2rem,
    var(--deep);
  overflow: hidden;
}
.hero .wrap { padding-block: 1.5rem 0; }
.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brandbar .wordmark { display: block; width: min(15rem, 62vw); height: auto; }
.brandbar .label { color: var(--mute); text-align: right; }
.hero-copy { padding-block: clamp(2.5rem, 8vw, 5rem) 2rem; }
.hero-copy .eyebrow { margin: 0 0 1rem; color: var(--cyan); display: flex; align-items: center; gap: 0.75rem; }
.hero-copy .eyebrow::after { content: ""; flex: 0 1 4rem; height: 2px; background: var(--lime); }
h1 {
  margin: 0;
  font-family: var(--ba-font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 17vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h1 .lime { color: var(--lime); display: block; }
.hero .status { margin-top: 0; }
.sub { margin: 1.25rem 0 0; font-size: clamp(1.15rem, 3.6vw, 1.6rem); color: var(--white); max-width: 30rem; }
.sub-note { margin: 0.5rem 0 0; color: var(--mute); max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: var(--ba-touch-target-min); padding: 0.6rem 1.25rem;
  background: var(--lime); color: var(--deep); font-weight: 600; text-decoration: none;
  border-radius: var(--ba-radius-sm); border: 2px solid var(--lime);
  transition: background var(--ba-motion-standard) var(--ba-motion-ease), border-color var(--ba-motion-standard) var(--ba-motion-ease);
  max-width: 100%; overflow-wrap: anywhere;
}
.btn:hover { background: #cdff3d; border-color: #cdff3d; }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
:where(a, .btn):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; box-shadow: none; }

/* the blueprint band: five angled panels, one drawing each */
.band { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; padding-bottom: 0; margin-top: 0.5rem; isolation: isolate; }
.panel {
  position: relative; margin: 0; padding: 0.75rem 0.5rem 1.4rem;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 10.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  background:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px) 0 0 / 1rem 1rem,
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px) 0 0 / 1rem 1rem,
    linear-gradient(165deg, var(--tint, #1b2229), #181d22 55%, #14181c);
  color: var(--ink, var(--white));
}
.panel:last-child { grid-column: 1 / -1; }
.panel svg { display: block; width: 100%; height: auto; max-height: 8rem; }
.panel figcaption { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.4rem; }
.panel .label { color: var(--white); letter-spacing: 0.2em; }
.panel .tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.p1 { --ink: var(--lime); --tint: #202a1a; }
.p2 { --ink: var(--cyan); --tint: #14282f; }
.p3 { --ink: var(--white); --tint: #232a31; }
.p4 { --ink: var(--cyan); --tint: #12232b; }
.p5 { --ink: var(--lime); --tint: #1f2a1c; }
.ln path, .ln circle, .ln ellipse, .ln line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln .fine { stroke-width: 0.9; opacity: 0.7; }
.ln .dash { stroke-dasharray: 3 3; opacity: 0.7; }
.sweep { display: none; }

/* status card, like a dashboard readout */
.stage { display: grid; grid-template-columns: 1fr; gap: 0; }
.status {
  position: relative; z-index: 1; margin: 0 0 1.5rem;
  border: 1px solid #2a343c; border-radius: var(--ba-radius-sm);
  background: linear-gradient(160deg, rgb(37 43 48 / 70%), rgb(20 24 28 / 85%));
}
.status header { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid #2a343c; color: var(--mute); }
.status header .lights { display: flex; gap: 0.35rem; }
.status header .lights i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #39444d; }
.status header .lights i:first-child { background: var(--lime); }
.status dl { margin: 0; }
.status .cell { padding: 0.9rem 1rem; border-bottom: 1px solid #2a343c; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.35rem 1rem; }
.status .cell:last-child { border-bottom: 0; }
.status dt { color: var(--mute); }
.status dd { margin: 0; font-family: var(--ba-font-display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums slashed-zero; text-align: right; }
.status dd.live { color: var(--lime); display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgb(184 245 0 / 60%); }
.status dd.num { color: var(--white); }
.bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #39444d 0 6px, transparent 6px 9px); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 9px); }
.bar.cyan i { background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 9px); }

/* pillars */
.pillars { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.pillars h2 { margin: 0 0 0.35rem; font-family: var(--ba-font-display); font-weight: 800; font-size: clamp(1.9rem, 6vw, 2.75rem); line-height: 1.05; text-transform: uppercase; }
.pillars .lede { margin: 0 0 1.75rem; color: var(--ba-color-text-secondary); max-width: 38rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.tile {
  position: relative; padding: 1.25rem 1.25rem 1.35rem; border: 1px solid var(--ba-color-border); border-radius: var(--ba-radius-md);
  background: radial-gradient(14rem 8rem at 100% 0, var(--ba-tile-glow), transparent 70%), var(--ba-color-surface);
  overflow: hidden;
}
.tile::before { content: ""; position: absolute; left: 0; top: 0; width: 3rem; height: 3px; background: var(--lime); }
.tile:nth-child(even)::before { background: var(--cyan); }
.tile .icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--ba-color-border-strong); border-radius: var(--ba-radius-sm); color: var(--ba-accent-text); margin-bottom: 0.9rem; }
.tile .icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 0 0 0.3rem; font-family: var(--ba-font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.tile p { margin: 0; color: var(--ba-color-text-secondary); font-size: var(--ba-font-size-sm); }

/* footer (always dark) */
.foot { background: var(--deep); color: var(--mute); border-top: 3px solid var(--lime); }
.foot .wrap { padding-block: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.foot .id { display: flex; align-items: center; gap: 0.9rem; color: var(--white); }
.foot .id img { width: 3.2rem; height: auto; flex: none; }
.foot .id span { font-family: var(--ba-font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.foot a { color: var(--white); text-underline-offset: 0.2em; }
.foot a:hover { color: var(--lime); }
.foot .small { margin: 0; font-size: var(--ba-font-size-sm); }

/* motion: only when the visitor has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .ln path, .ln circle, .ln ellipse, .ln line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2.4s var(--ba-motion-ease) backwards; }
  .ln .dash { stroke-dasharray: 3 3; animation: fade 2.6s ease backwards; }
  .p2 .ln * { animation-delay: 0.25s; }
  .p3 .ln * { animation-delay: 0.5s; }
  .p4 .ln * { animation-delay: 0.75s; }
  .p5 .ln * { animation-delay: 1s; }
  @keyframes draw { from { stroke-dashoffset: 1; } }
  @keyframes fade { from { opacity: 0; } }
  .sweep { display: block; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 14%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(0 207 232 / 22%) 70%, rgb(0 207 232 / 70%) 99%, transparent 100%);
    transform: translateX(-100%); animation: sweep 9s linear 2.5s infinite; }
  @keyframes sweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(720%); } }
  .dot { animation: pulse 1.8s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(184 245 0 / 55%); } 100% { box-shadow: 0 0 0 0.7rem rgb(184 245 0 / 0%); } }
}

/* wider screens */
@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child { grid-column: 1 / -1; }
  .foot .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 56rem) {
  .stage { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem; align-items: center; }
  .stage .status { margin: 0; align-self: center; }
  h1 { font-size: clamp(5rem, 9vw, 8.5rem); }
  .hero-copy { padding-bottom: 2.5rem; }
  .band { grid-template-columns: repeat(5, 1fr); gap: 0; margin-inline: -0.25rem; }
  .panel { min-height: 15rem; padding: 1rem 1.2rem 2rem 1.4rem; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); margin-left: -1.2%; }
  .panel:first-child { clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); margin-left: 0; }
  .panel:last-child { grid-column: auto; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
  .panel svg { max-height: none; }
  .panel figcaption { padding-left: 0.5rem; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .tile { grid-column: span 2; }
  .tile:nth-child(4) { grid-column: 2 / span 2; }
  .tile:nth-child(5) { grid-column: span 2; }
  .tile:last-child { grid-column: span 2; }
}
