/* home.css -- the landing page's top bar and its navy opening (hero + safety).
   Loads after site.css and reuses its Industry tokens; privacy.html and
   terms.html do not load this file. Radius stays 0, rules stay hairline. */

@font-face { font-family: "BarlowCondensed"; src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #1d2d3d; --navy-2: #2c455d; --on-navy: #f2f2f3; --on-navy-2: #b5d9fd;
  --navy-line: rgba(242,242,243,.20); --sel: #eef6ff;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; scrollbar-color: #98989b var(--bg); }
body { overflow-x: clip; }
.wide { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--navy); color: var(--on-navy); font-family: var(--head); font-weight: 600; }
.skip:focus { top: 8px; }

/* Top bar: sticky so the one action stays in reach on a long page. */
.topbar { position: sticky; top: 0; z-index: 10; }
.topbar .wide { display: flex; align-items: center; gap: 28px; min-height: 58px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--ink); }
.lockup svg { width: 19px; height: 23px; fill: var(--navy); }
.lockup span { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.topnav a { font-size: 15px; }
.lang { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-80); text-underline-offset: 4px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14.5px; }
.btn { transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.btn:active { background: var(--navy); border-color: var(--navy); }

/* Opening: hero and safety share one navy field, because the masked number
   is the pitch. Secondary text is tinted from the accent ramp, never grey. */
.open { background: var(--navy); color: var(--on-navy); }
.open ::selection { background: rgba(181,217,253,.35); }
.open :focus-visible { outline-color: var(--on-navy-2); }
.open a { color: var(--on-navy-2); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-block: 84px 92px; }
.hero h1 { font-weight: 700; font-size: clamp(3rem, 6.6vw, 5.5rem); line-height: .94; letter-spacing: -.025em; }
.lede { margin: 26px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-actions .btn { height: 50px; padding: 0 26px; font-size: 17.5px; }
.open .btn { background: var(--on-navy); border-color: var(--on-navy); color: var(--navy); }
.open .btn:hover { background: #d6ebff; border-color: #d6ebff; }
.link { padding-block: 10px; font-family: var(--head); font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link:hover { color: var(--on-navy); text-decoration-thickness: 2px; }
.status { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--navy-line); max-width: 46ch; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--on-navy-2); }

/* The queue specimen: a light panel on the navy, Contact column tinted so
   the masked numbers are the first thing read. */
.live { margin: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--navy-2); box-shadow: 0 34px 70px -34px rgba(6,12,18,.9), 0 8px 18px -10px rgba(6,12,18,.5); }
.live-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 40px; padding: 6px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.live-title { font-family: var(--head); font-weight: 600; font-size: 14.5px; letter-spacing: .03em; }
.live-meta { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-70); }
.live-foot { padding: 8px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-70); }
.live-ctl { margin-left: auto; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.live-ctl:hover { background: rgba(29,31,32,.06); }
.live .live-ctl:focus-visible { outline-color: var(--accent); }
.lq-head, .lq-row { display: grid; grid-template-columns: 4px minmax(0, 1.4fr) 116px 134px 54px 70px; align-items: stretch; }
.lq-head { height: 30px; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-74); }
.lq-head > *, .lq-row > * { display: flex; flex-direction: column; justify-content: center; padding: 0 10px; min-width: 0; }
.lq-head > :first-child, .lq-row > :first-child { padding: 0; }
.lq-head > :last-child, .lq-wait { align-items: flex-end; }
.lq-body { height: 270px; overflow: hidden; }
.lq-row { height: 54px; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg); }
.lq-row .qname, .lq-row .qsub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-row .qsub { font-size: 11.5px; }
.lq-row .chip { align-self: flex-start; }
.lq-head .mk { background: #d6ebff; color: var(--navy); }
.lq-row .mk { background: var(--sel); font-family: var(--mono); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.lq-wait { font-family: var(--mono); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.owner { display: inline-grid; place-items: center; width: 26px; height: 22px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--navy-2); transition: border-color .3s, color .3s; }
.owner.none { border-style: dashed; border-color: var(--u-due); color: #7d520f; }
.lq-row.enter { animation: rowin .7s var(--ease) both; }
.lq-row.enter .mk { animation: mkflash 2.4s ease-out both; }
.lq-row.leave { animation: rowout .7s var(--ease) both; }
@keyframes rowin { from { height: 0; opacity: 0; } to { height: 54px; opacity: 1; } }
@keyframes rowout { from { height: 54px; opacity: 1; } to { height: 0; opacity: 0; } }
@keyframes mkflash { from { background: #b5d9fd; } to { background: var(--sel); } }
.stage-note { margin: 18px 0 0; max-width: 52ch; font-size: 14.5px; line-height: 1.5; color: var(--on-navy-2); }

/* Safety: the masked number set as the headline's evidence. */
.safe { padding: 92px 0 108px; border-top: 1px solid var(--navy-line); }
.safe h2 { font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: .96; letter-spacing: -.02em; }
.masked { margin: 44px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px; padding-bottom: 22px; border-bottom: 1px solid var(--navy-line); }
.masked-num { font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 8.6vw, 6rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.masked-num span { color: var(--on-navy-2); }
.masked-cap { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--on-navy-2); text-align: right; padding-bottom: 8px; }
.safe-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 44px; }
.safe-lead { grid-column: 1 / span 5; font-size: 19px; line-height: 1.5; max-width: 40ch; margin: 0; }
.safe-list { grid-column: 7 / span 6; margin: 0; }
.safe-list div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--navy-line); }
.safe-list div:first-child { border-top: 0; padding-top: 0; }
.safe-list dt { font-family: var(--head); font-weight: 600; font-size: 19px; }
.safe-list dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--on-navy-2); }
.safe-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; align-items: start; }
.acc { margin: 0; border: 1px solid var(--navy-line); }
.flag { padding: 16px 14px 6px; }
.flag blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.4; }
.flag dl { margin: 0; }
.flag dl div { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(242,242,243,.10); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.flag dt { color: var(--on-navy-2); min-width: 92px; }
.flag dd { margin: 0; }
.acc-bar { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 9px 14px; border-bottom: 1px solid var(--navy-line); font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .03em; }
.acc-bar span { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--on-navy-2); }
.acc ol { margin: 0; padding: 0; list-style: none; }
.acc li { display: grid; grid-template-columns: 52px 92px minmax(0, 1fr) auto; gap: 14px; margin: 0; padding: 10px 14px; border-top: 1px solid rgba(242,242,243,.10); font-family: var(--mono); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--on-navy); }
.acc li:first-child { border-top: 0; }
.acc li span:nth-child(1), .acc li span:nth-child(4) { color: var(--on-navy-2); }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 56px 64px; }
  .lede, .status { max-width: 58ch; }
  .safe-grid { grid-template-columns: minmax(0, 1fr); }
  .safe-lead, .safe-list { grid-column: 1 / -1; }
  .safe-list { margin-top: 36px; }
  .safe-specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wide { padding-inline: 20px; }
  .topnav { display: none; }
  .topbar .wide { gap: 16px; }
  .btn-sm { height: 44px; }
  /* Stage chip drops out; edge colour and the wait figure still carry urgency. */
  .lq-head, .lq-row { grid-template-columns: 4px minmax(0, 1fr) 104px 46px 54px; }
  .lq-head { font-size: 11px; letter-spacing: .05em; }
  .lq-head > *, .lq-row > * { padding: 0 6px; }
  .lq-row .qsub { font-size: 11px; }
  .lq-head .x, .lq-row .x { display: none; }
  .lq-row .mk { font-size: 11px; }
  .live-ctl { height: 36px; }
  .safe { padding: 72px 0 76px; }
  .masked { grid-template-columns: minmax(0, 1fr); }
  .masked-cap { text-align: left; padding-bottom: 0; }
  .safe-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .acc li { grid-template-columns: 52px minmax(0, 1fr); row-gap: 2px; }
  .acc li span:nth-child(3), .acc li span:nth-child(4) { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lq-row.enter, .lq-row.enter .mk { animation: none; }
  .lq-row.leave { display: none; }
  .btn, .owner { transition: none; }
}
