/* ==========================================================================
   Northlight - coming soon page styles
   --------------------------------------------------------------------------
   REBRANDING: change the custom properties below.
   - --bg / --bg-2        near-black background layers
   - --teal / --amber     the two aurora colors (also used for accents)
   - --text / --muted     light text colors
   - --font-display / --font-body  headline and body fonts. If you change them,
     also update the Google Fonts <link> in the <head>.
   Keep text/background pairs at a 4.5:1 contrast ratio or better.
   ========================================================================== */
:root {
  --bg: #07090a;
  --bg-2: #0e1314;
  --panel: rgba(255, 255, 255, .045);
  --panel-line: rgba(255, 255, 255, .11);
  --teal: #2fd6c0;
  --teal-deep: #0f8f84;
  --amber: #f6ad3b;
  --amber-deep: #c9761b;
  --text: #eef3f1;
  --muted: #a3b3b0;
  --error: #ff9b8a;
  --success: #7ff0dc;

  --font-display: "Unbounded", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --container: 1120px;
  --gutter: clamp(1rem, 5vw, 2.5rem);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; overflow-wrap: break-word; }
svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--amber); }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { position: relative; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 8px; background: var(--amber); color: #111; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #111; }

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, #0f1a1a 0%, var(--bg) 60%); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora .a1 { width: 60vmax; height: 34vmax; left: -15vmax; top: -12vmax; background: radial-gradient(closest-side, var(--teal), rgba(47, 214, 192, 0)); animation: drift1 22s ease-in-out infinite alternate; }
.aurora .a2 { width: 50vmax; height: 30vmax; right: -18vmax; top: 4vmax; background: radial-gradient(closest-side, var(--amber), rgba(246, 173, 59, 0)); opacity: .42; animation: drift2 26s ease-in-out infinite alternate; }
.aurora .a3 { width: 46vmax; height: 22vmax; left: 20vmax; top: 18vmax; background: radial-gradient(closest-side, #14a596, rgba(20, 165, 150, 0)); opacity: .35; animation: drift3 30s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.2px), radial-gradient(rgba(255,255,255,.3) 1px, transparent 1.2px); background-size: 180px 180px, 110px 110px; background-position: 20px 40px, 70px 10px; opacity: .25; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }
@keyframes drift1 { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(10vmax, 6vmax) rotate(6deg); } }
@keyframes drift2 { from { transform: translate(0, 0) rotate(10deg); } to { transform: translate(-12vmax, 8vmax) rotate(-6deg); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8vmax, -6vmax) scale(1.15); } }

.page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ---------- Header ---------- */
.site-header { padding-block: 1.4rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo svg { width: 2rem; height: 2rem; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border: 1px solid var(--panel-line); border-radius: 999px; background: var(--panel); font-size: .85rem; color: var(--muted); }
.status-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(246, 173, 59, .2); animation: pulse 2.4s ease-in-out infinite; }
.is-live .status-pill::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(47, 214, 192, .2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(246, 173, 59, 0); } }

/* ---------- Hero ---------- */
main { flex: 1; }
.hero { padding-block: clamp(2rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem); text-align: center; }
.kicker { display: inline-block; margin: 0 0 1.25rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.hero h1 { font-size: clamp(2.3rem, 8.4vw, 5.6rem); font-weight: 700; max-width: 14ch; margin-inline: auto; margin-bottom: .35em; }
.hero h1 .glow { background: linear-gradient(100deg, var(--teal) 10%, #b8f3e6 45%, var(--amber) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pitch { max-width: 36rem; margin: 0 auto 2.25rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, 2vw, 1rem); max-width: 34rem; margin: 0 auto .75rem; padding: 0; list-style: none; }
.countdown li { display: grid; gap: .2rem; padding: clamp(.75rem, 3vw, 1.2rem) .25rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-line); backdrop-filter: blur(6px); }
.countdown .num { font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.9rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.countdown .unit { font-size: clamp(.68rem, 2.4vw, .8rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.launch-date { margin: 0 0 2.5rem; font-size: .92rem; color: var(--muted); }
.live-banner { max-width: 34rem; margin: 0 auto 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: linear-gradient(120deg, rgba(47,214,192,.18), rgba(246,173,59,.18)); border: 1px solid rgba(47,214,192,.4); }
.live-banner h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: .3em; }
.live-banner p { margin: 0; color: var(--text); }

/* Waitlist form */
.waitlist { max-width: 32rem; margin: 0 auto; text-align: left; }
.waitlist label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .95rem; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: .4rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--panel-line); }
.waitlist-row:focus-within { border-color: var(--teal); }
.waitlist input { flex: 1 1 12rem; min-width: 0; min-height: 3rem; padding: .5rem 1.1rem; border: 0; border-radius: 999px; background: transparent; }
.waitlist input::placeholder { color: #7d8e8b; }
.waitlist input:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; }
.waitlist input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: 1 0 auto; min-height: 3rem; padding: .6rem 1.4rem; border: 0; border-radius: 999px; background: linear-gradient(100deg, var(--teal), #9be9d6 50%, var(--amber)); background-size: 200% 100%; color: #062420; font-weight: 700; cursor: pointer; transition: background-position .4s; }
.btn:hover { background-position: 100% 0; }
.btn svg { width: 1.1rem; height: 1.1rem; }
.field-error { min-height: 1.4em; margin: .5rem 0 0 1rem; font-size: .9rem; font-weight: 600; color: var(--error); }
.privacy { margin: .25rem 0 0 1rem; font-size: .85rem; color: var(--muted); }
.confirm { max-width: 32rem; margin: 0 auto; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: rgba(47,214,192,.1); border: 1px solid rgba(47,214,192,.45); text-align: left; }
.confirm:focus { outline: 3px solid var(--amber); outline-offset: 3px; }
.confirm h2 { font-size: 1.4rem; margin-bottom: .4em; color: var(--success); }
.confirm p { margin: 0 0 .5rem; }
.confirm .position { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.confirm .position strong { color: var(--amber); }
.confirm .example { font-size: .85rem; color: var(--muted); margin: 0; }
.example-tag { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 999px; border: 1px solid var(--panel-line); font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }

/* Features */
.teasers { padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.teasers h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); text-align: center; margin-bottom: 1.75rem; }
.teaser-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.teaser { position: relative; padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--panel-line); overflow: hidden; }
.teaser::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--amber)); opacity: .7; }
.teaser .num { display: block; margin-bottom: 1rem; font-family: var(--font-display); font-size: .8rem; color: var(--amber); letter-spacing: .1em; }
.teaser svg { width: 2.2rem; height: 2.2rem; margin-bottom: 1rem; color: var(--teal); }
.teaser h3 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; margin-bottom: .5rem; }
.teaser p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 760px) { .teaser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

/* Footer */
.site-footer { padding-block: 2rem; border-top: 1px solid var(--panel-line); font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner p { margin: 0; }
.socials { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--panel-line); background: var(--panel); color: var(--text); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--teal); color: var(--teal); }
.socials svg { width: 1.15rem; height: 1.15rem; }
.footer-meta { display: grid; gap: .15rem; }
.built-with { font-size: .78rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; border-radius: 22px; }
  .waitlist input { flex: none; width: 100%; border-radius: 16px; }
  .btn { flex: none; width: 100%; border-radius: 16px; }
}
