/* XONIK waitlist pages: the one stylesheet for every product that is early access or coming soon.
   Navy plate on a cream page, the same look as xonik.com. Fonts are local (Sorts Mill Goudy and Archivo, both open licence). */

@font-face { font-family: "Sorts Mill Goudy"; src: url("/_w/fonts/SortsMillGoudy.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/_w/fonts/Archivo-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b1626;
  --ink-2: #24385a;
  --on: #ffffff;
  --on-2: #c9d3dd;
  --ground: #f6f2ea;
  --line: #d9d2c3;
  --text-2: #53647c;
  --signal: #f2b134;
  --bad: #8a1f11;
  --radius: 8px;
  --plate: 16px;
  --serif: "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--sans); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.top { display: flex; align-items: center; width: 100%; max-width: 1100px; margin: 0 auto; padding: 18px 20px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 40px; height: 40px; display: block; }

main { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 10px 56px; flex: 1; }

.plate {
  background: var(--ink);
  color: var(--on);
  border-radius: var(--plate);
  padding: clamp(32px, 6vw, 72px) clamp(22px, 5vw, 64px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1 { margin: 0 0 18px; font: 400 clamp(44px, 8vw, 92px)/1 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0 0 32px; max-width: 34em; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--on-2); }

.join { display: grid; gap: 8px; max-width: 460px; }
.join label { font-size: 14px; font-weight: 500; color: var(--on-2); }
.join .opt { font-weight: 400; opacity: 0.8; }
.join input[type="email"], .join input[type="text"] {
  width: 100%; height: 50px; margin-bottom: 8px; padding: 0 14px; border: 2px solid transparent; border-radius: var(--radius);
  background: var(--on); color: var(--ink); font: 400 17px/1 var(--sans);
}
.join input:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.join button {
  height: 52px; margin-top: 6px; padding: 0 26px; border: 0; border-radius: var(--radius); background: var(--signal); color: var(--ink);
  font: 600 17px/1 var(--sans); cursor: pointer; transition: background 0.2s;
}
.join button:hover { background: var(--on); }
.join button:focus-visible { outline: 3px solid var(--on); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.note { margin: 22px 0 0; max-width: 40em; font-size: 14px; line-height: 1.55; color: var(--on-2); }
.note a { color: var(--on); }
.back { font-weight: 500; }
.error { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); background: #fde8e4; color: var(--bad); font-size: 15px; font-weight: 500; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 56px; padding: 48px clamp(10px, 4vw, 54px) 0; }
.about h2 { margin: 0 0 10px; font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.about p { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.55; }

footer { padding: 22px 20px 32px; text-align: center; font-size: 13px; color: var(--text-2); }
footer a { color: var(--text-2); }

@media (max-width: 520px) { .top { padding-top: 14px; } .brand img { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
