/* OAM Labs coming-soon page. Same look as the main site (black and white, Switzer, large type),
   but self-contained: the colour tokens are copied from base.css so this page loads nothing else. */

@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #4d4d4d;
  --graph: 10, 10, 10;
  --graph-alpha: 0.34;
  --graph-fill: #ffffff;
  --focus: #1d5fbf;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --ink: #f5f5f5;
    --muted: #b3b3b3;
    --graph: 245, 245, 245;
    --graph-alpha: 0.36;
    --graph-fill: #000000;
    --focus: #8fb8ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --ink: #f5f5f5;
  --muted: #b3b3b3;
  --graph: 245, 245, 245;
  --graph-alpha: 0.36;
  --graph-fill: #000000;
  --focus: #8fb8ff;
  color-scheme: dark;
}

:root {
  --face: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: 0.9375rem;
  --step-body: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
  --step-display: clamp(3rem, 1.6rem + 5vw, 6.25rem);
  --m: 32px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 760px) {
  :root { --m: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.55 var(--face); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 240ms ease, color 240ms ease;
}
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 0 var(--m);
}
.wordmark { font-weight: 500; letter-spacing: -0.02em; }
.top-end { display: flex; align-items: center; gap: 20px; font-size: var(--step-small); }
.link {
  color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em;
  text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 180ms ease;
}

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px;
  font: 400 var(--step-small)/1 var(--face); color: inherit; background: transparent; border: 0; cursor: pointer;
}
.theme-toggle .dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; overflow: hidden; }
.theme-toggle .dot::after { content: ""; position: absolute; inset: 0 0 0 50%; background: currentColor; }

.stage { position: relative; display: grid; align-items: center; padding: 0 var(--m); overflow: hidden; }
.field {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  /* Fade the drawing behind the headline so the words stay easy to read. */
  -webkit-mask-image: radial-gradient(ellipse 46% 30% at 50% 42%, transparent 35%, #000 100%);
  mask-image: radial-gradient(ellipse 46% 30% at 50% 42%, transparent 35%, #000 100%);
}
.claim {
  position: relative; margin: 0 auto 12vh; padding-top: 4vh;
  /* Three fixed lines; on narrow phones the type shrinks so "is coming soon…" still fits on one. */
  font-size: min(var(--step-display), 11vw); font-weight: 500; line-height: 1; letter-spacing: -0.045em;
  text-align: center; text-wrap: balance;
  animation: rise 1100ms var(--ease-out) both;
}
.claim .line { display: block; white-space: nowrap; }
.claim .quiet { color: var(--muted); }

.foot { position: relative; z-index: 1; padding: 20px var(--m) 24px; font-size: var(--step-small); color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
}
@media (max-width: 520px) {
  .top-end { gap: 8px; }
  .theme-toggle span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .claim { margin-bottom: 16vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important; }
}
