@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plex-sans-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-sans-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plex-sans-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-mono-500.woff2) format("woff2"); }

:root {
  --bg: #F2F3F5;
  --ink: #10141B;
  --accent: #3E6B8F;
  /* The accent lifted for use on the dark hero, where #3E6B8F on #10141B is
     too low contrast for small text. */
  --accent-lift: #8FB6D6;
  --muted: rgba(16, 20, 27, 0.72);
  --hairline: rgba(16, 20, 27, 0.22);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 "IBM Plex Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: fixed; left: -9999px; top: 12px; z-index: 20;
  background: var(--ink); color: var(--bg); padding: 8px 14px;
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skip:focus { left: 24px; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.brand svg { display: block; }
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Header sits on the dark hero on the home page only. */
.site-header.on-dark { border-bottom: 0; background: transparent; position: relative; z-index: 3; }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .site-nav a { color: rgba(255, 255, 255, 0.78); }
.site-header.on-dark .site-nav a:hover { color: #fff; }

/* ---------- dark hero ---------- */

.hero-dark {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Three vertical hairlines at 25 / 50 / 75 percent. Desktop only: on a phone
   they crowd the text rather than structuring it. */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 1px 100%, 1px 100%, 1px 100%;
  background-position: 25% 0, 50% 0, 75% 0;
  background-repeat: no-repeat;
}

/* Central glow. A blurred radial field rather than a video: it carries the
   same depth without loading anything from a third party. */
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: -22%;
  width: min(1180px, 130%); height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(62, 107, 143, 0.55) 0%,
    rgba(62, 107, 143, 0.26) 42%,
    rgba(62, 107, 143, 0) 72%
  );
  filter: blur(25px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.9; }
  to   { transform: translateX(-50%) translateY(26px) scale(1.06); opacity: 1; }
}

/* Bottom fade into the light page below, so the seam is a transition not a cut. */
.hero-fade {
  position: absolute; z-index: 1; inset: auto 0 0 0; height: 180px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16, 20, 27, 0) 0%, var(--ink) 92%);
}

.hero-inner { position: relative; z-index: 2; padding: 96px 0 104px; }

/* ---------- hero copy ---------- */

.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-lift);
  margin: 0 0 18px;
}
.hero-dark h1 {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.022em;
  margin: 0 0 22px; max-width: 17ch; text-wrap: balance; color: #fff;
}
.hero-dark h1 .dot { color: var(--accent-lift); }
.hero-lede {
  font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.7);
  max-width: 52ch; margin: 0; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-lift); color: var(--ink);
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.btn svg { display: block; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); text-decoration: none; padding: 13px 4px;
}
.btn-ghost:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.hero-copy > * { animation: rise 0.55s ease both; }
.hero-copy > h1 { animation-delay: 0.08s; }
.hero-copy > .hero-lede { animation-delay: 0.16s; }
.hero-copy > .hero-actions { animation-delay: 0.24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- light body ---------- */

.mono-label {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 16px;
}

main { display: block; }
.section { padding: 48px 0 8px; }
.section + .section { border-top: 1px solid var(--hairline); }
h2.mono-label { margin-bottom: 8px; }

.product { border-top: 1px solid var(--hairline); padding: 32px 0 36px; }
.product:first-of-type { border-top: 0; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.product-head h3 { font-size: 21px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.status {
  font-family: var(--mono); font-weight: 500; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.status-live { color: var(--accent); border: 1px solid var(--accent); padding: 4px 8px; }
.status-soon { color: var(--muted); border: 1px dashed var(--hairline); padding: 4px 8px; }
.product p { max-width: 58ch; text-wrap: pretty; }
.product .terms { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cta {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta:hover svg { transform: translateX(3px); }
.cta svg { transition: transform 0.18s ease; }

.page { padding: 64px 0 24px; }
.page h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: -0.015em; margin: 0 0 20px; }
.page p { max-width: 58ch; text-wrap: pretty; }

dl.facts { border-top: 1px solid var(--hairline); margin: 32px 0; max-width: 560px; }
dl.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
dl.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
dl.facts dd { margin: 0; }

.big-mail { font-size: clamp(20px, 4vw, 26px); font-weight: 500; word-break: break-all; }

.site-footer { border-top: 1px solid var(--hairline); margin-top: 72px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 32px;
  padding: 24px 0 40px; font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: var(--muted); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.footer-inner a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .hero-grid { display: none; }
  .hero-inner { padding: 56px 0 72px; }
}
@media (max-width: 560px) {
  dl.facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* Motion is decoration here, so all of it goes when the user asks for less. */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none; }
  .hero-glow { animation: none; }
  .btn:hover { transform: none; }
  .cta:hover svg { transform: none; }
}

.measure { max-width: 58ch; }
