/* Ready2Launch coming-soon page. Tokens mirror the DTI / Ready2Launch Tailwind theme. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  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: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #f3f5f8;
  --fg: #1c2137;
  --card: #ffffff;
  --muted-fg: #636a76;
  --border: #dde2ea;
  --brand-ink: #2f6f78;
  --brand-dark: #282d45;
  --night: #0b1020;
  --night-raised: #121a2e;
  --night-line: #232d47;
  --night-edge: #3a4566;
  --night-text: #e8ecf4;
  --night-muted: #9aa4b8;
  --signal: #50a3af;
  --signal-hover: #6bb8c3;
  --assure: #8b97ff;
  --danger-soft: #ff9b9b;
  --radius-control: 10px;
  --radius-card: 14px;
  --radius-tile: 22px;
  --container: 80rem;
  --outer: 90rem;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "rlig" 1, "calt" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.outer { width: 100%; max-width: var(--outer); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container, .outer { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container, .outer { padding: 0 2.5rem; } }

/* Eyebrow: mono label with a square bullet. */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.night .eyebrow { color: var(--signal); }

.headline { font-weight: 600; text-wrap: balance; color: var(--fg); }
.night .headline { color: #fff; }
.h1 { font-size: clamp(2.5rem, 6.2vw, 5.125rem); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.h1 > span { display: block; }
.mark { position: relative; white-space: nowrap; color: var(--signal); }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em; border-radius: 4px; background: linear-gradient(90deg, var(--signal), var(--assure)); }

.lead { max-width: 56ch; font-size: 1.125rem; line-height: 1.65; color: var(--muted-fg); }
.night .lead { color: var(--night-muted); }

/* Night bands: dot grid plus an off-canvas teal glow. */
.night { position: relative; overflow: hidden; background: var(--night); color: var(--night-text); }
.night-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(#000 30%, transparent 95%); mask-image: linear-gradient(#000 30%, transparent 95%); }
.night-glow { position: absolute; right: -11rem; top: -16rem; width: 760px; height: 760px; pointer-events: none; background: radial-gradient(circle, rgba(80, 163, 175, 0.28), transparent 62%); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header .outer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 92px; }
.logo img { height: 64px; width: auto; }
@media (min-width: 640px) { .logo img { height: 75px; } }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-link { display: none; font-family: var(--mono); font-size: 13px; color: var(--night-muted); text-decoration: none; transition: color 0.2s; }
.header-link:hover { color: #fff; }
@media (min-width: 768px) { .header-link { display: inline; } }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--night-edge); border-radius: 999px; background: rgba(18, 26, 46, 0.6); }
.lang-switch a { min-width: 40px; padding: 6px 10px; border-radius: 999px; font-family: var(--mono); font-size: 12px; line-height: 1; text-align: center; text-decoration: none; color: var(--night-muted); transition: color 0.2s, background 0.2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: var(--signal); color: var(--night); }

/* Hero */
.hero .container { position: relative; z-index: 1; display: grid; align-items: center; gap: 3rem; padding-top: 132px; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero .container { padding-bottom: 6rem; } }
@media (min-width: 1024px) { .hero .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; padding-top: 164px; padding-bottom: 7rem; } }
.hero .h1 { margin: 1.25rem 0 1.5rem; }
.points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; }
.points li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--night-muted); }
.points li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--signal); }
.hero-form { min-width: 0; }
@media (min-width: 1024px) { .hero-form { justify-self: end; width: 100%; max-width: 480px; } }

/* Waitlist card */
.card-night { position: relative; border: 1px solid var(--night-line); border-radius: var(--radius-card); background: rgba(18, 26, 46, 0.95); padding: 1.5rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); scroll-margin-top: 2rem; }
@media (min-width: 640px) { .card-night { padding: 2rem; } }
.card-intro { margin-top: 0.75rem; font-size: 0.875rem; color: var(--night-muted); }
.form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--mono); font-size: 13px; color: var(--night-text); }
.field label .req { color: var(--signal); }
.input { width: 100%; min-height: 50px; border: 1px solid var(--night-edge); border-radius: var(--radius-control); background: rgba(11, 16, 32, 0.6); padding: 0.75rem 1rem; font: inherit; color: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: var(--night-muted); }
.input:hover { border-color: rgba(80, 163, 175, 0.5); }
.input:focus-visible { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(80, 163, 175, 0.3); }
.input[aria-invalid="true"] { border-color: #e05252; }
select.input { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%239aa4b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
select.input option { color: var(--fg); background: #fff; }
.field-error { font-size: 0.875rem; color: var(--danger-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-control); background: rgba(197, 48, 48, 0.15); padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--danger-soft); }
.form-note { font-size: 13px; line-height: 1.5; text-align: center; color: var(--night-muted); }
.form-note a { color: var(--night-text); }
.form-note a:hover { color: #fff; }
.success-icon { width: 32px; height: 32px; color: var(--signal); }
.success-title { margin-top: 1rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.success-text { margin-top: 0.5rem; max-width: 40ch; color: var(--night-muted); }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.5rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-signal { border-color: var(--signal); background: var(--signal); color: var(--night); }
.btn-signal:hover { border-color: var(--signal-hover); background: var(--signal-hover); }
.btn-outline-dark { border-color: var(--night-edge); background: transparent; color: #fff; }
.btn-outline-dark:hover { border-color: var(--signal); background: rgba(80, 163, 175, 0.1); }
.btn-block { width: 100%; }

/* Light sections */
.section { position: relative; padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-surface { border-top: 1px solid var(--border); background: var(--card); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 3rem; } }
.section-head .h2 { margin-top: 0.875rem; }
.section-head .lead { margin-top: 1rem; }

.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { border: 1px solid var(--border); border-radius: var(--radius-tile); background: var(--card); padding: 1.5rem; }
@media (min-width: 768px) { .tile { padding: 1.75rem; } }
.tile-step { font-family: var(--mono); font-size: 13px; color: var(--brand-ink); }
.tile h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.tile p { margin-top: 0.75rem; color: var(--muted-fg); }

.audiences { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-tile); background: var(--border); }
@media (min-width: 768px) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audiences > div { background: var(--card); padding: 1.5rem; }
@media (min-width: 768px) { .audiences > div { padding: 1.75rem; } }
.audiences dt { font-family: var(--mono); font-size: 13px; color: var(--brand-ink); }
.audiences dd { margin-top: 0.75rem; color: var(--muted-fg); }

/* Closing CTA band */
.cta .container { position: relative; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .cta .container { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cta-copy { max-width: 40rem; }
.cta-copy .h2 { margin-top: 0.875rem; }
.cta-copy .lead { margin-top: 1rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* Footer */
.site-footer { border-top: 1px solid rgba(80, 163, 175, 0.15); background: var(--brand-dark); color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; }
.site-footer .outer { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .site-footer .outer { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-links a { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
