/* Case Compare — temporary launch-list page.
   Brand source of truth: config/brand.json. Deliberately independent of
   standalone/css/site.css, which is frozen. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-900: #000A4B;
  --navy-800: #09215C;
  --navy-700: #0E2A6E;
  --blue-400: #5F8DCB;
  --blue-500: #2F7BE8;
  --paper: #FFFFFF;
  --muted: #C3CEE6;
  --line: rgba(255, 255, 255, .16);
  --ok: #8FE3B0;
  --err: #FFB4A8;
  --r: 12px;
  --gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--paper);
  background: var(--navy-900);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(47, 123, 232, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 70%);
  background-attachment: fixed;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paper); text-underline-offset: .2em; }
a:hover { color: var(--blue-400); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px) var(--gutter) 40px;
}

.top .logo { width: min(240px, 60vw); }

.hero { padding: clamp(40px, 9vw, 88px) 0 clamp(36px, 7vw, 64px); }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.25rem;
  padding: .4rem .9rem .4rem .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(255, 255, 255, .05);
}
.kicker img { width: 26px; height: 26px; }

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.sub {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}

.countdown {
  display: flex; gap: .75rem;
  margin: 0 0 2rem;
}
.countdown[hidden] { display: none; }
.countdown > div {
  min-width: 84px;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
  text-align: center;
}
.countdown span {
  display: block;
  font-size: 1.9rem; font-weight: 800; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown small {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

.join__row {
  display: flex; gap: .6rem;
  padding: .45rem;
  border-radius: calc(var(--r) + 4px);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.join input {
  flex: 1; min-width: 0;
  padding: .85rem .9rem;
  border: 0; border-radius: var(--r);
  font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */
  color: #101828; background: transparent;
}
.join input:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 0; }
.join button {
  flex: none;
  padding: .85rem 1.4rem;
  border: 0; border-radius: var(--r);
  /* 18.72px bold counts as WCAG large text, so white on #2F7BE8 (4.1:1) passes */
  font: inherit; font-size: 1.17rem; font-weight: 700;
  color: var(--paper); background: var(--blue-500);
  cursor: pointer;
  transition: background .15s ease;
}
.join button:hover { background: #1F68D2; }
.join button:disabled { opacity: .6; cursor: progress; }
.join.is-done .join__row { box-shadow: 0 0 0 3px var(--ok), 0 30px 70px rgba(0, 0, 0, .3); }

.join__status { min-height: 1.6em; margin: .9rem 0 0; font-weight: 600; }
.join__status.is-ok { color: var(--ok); }
.join__status.is-error { color: var(--err); }
.join__note { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.coming {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.coming h2 {
  margin: 0 0 .75rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-400);
}
.coming__title { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 700; }
.coming__price { color: var(--blue-400); margin-left: .35rem; }
.tm { font-size: .6em; vertical-align: super; }
.coming ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.coming li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}
.coming li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--blue-500);
}
.coming li strong { display: block; color: var(--paper); }

.foot {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.foot p { margin: 0 0 .5rem; }

.center { text-align: center; }
.center .logo { margin: 0 auto; }
.center .btn {
  display: inline-block; margin-top: 1rem;
  padding: .8rem 1.4rem; border-radius: var(--r);
  background: var(--blue-500); color: var(--paper);
  font-weight: 700; text-decoration: none;
}

@media (max-width: 480px) {
  .join__row { flex-direction: column; }
  .join button { width: 100%; }
  .countdown > div { flex: 1; min-width: 0; }
}

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