/* Shared by every page of the SCN website: colours, type, the top bar, the email form and the footer.
   Page-specific layout stays in each page's own <style>. */

/* Geist, served from this site (no Google Fonts: no third party sees who reads these pages). */
@font-face {
  font-family: 'Geist';
  src: url('geist.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  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';
  src: url('geist-ext.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  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;
}
:root {
  --page: #0f1a33;
  --deep: #0b1428;
  --card: #15213d;
  --line: #26365a;
  --ink: #f3f6ff;
  --ink-2: #c6d1ec;
  --ink-3: #9aabcf;
  --cobalt: #3366ff;
  --cobalt-ink: #9db8ff;
  --font: 'Geist', -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 70% -220px, rgba(84, 130, 255, 0.32), transparent 70%),
    var(--page);
  background-repeat: no-repeat;
  min-height: 100vh;
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100% }
a { color: var(--cobalt-ink) }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance }
p { margin: 0 }
:focus-visible { outline: 2px solid var(--cobalt-ink); outline-offset: 3px; border-radius: 6px }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Top bar */
.top { padding-block: max(20px, env(safe-area-inset-top, 0px)) 0 }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.brand img { height: 30px; width: auto }
.top__cta {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: border-color .2s, background-color .2s;
}
.top__cta:hover { border-color: var(--cobalt); background: rgba(51, 102, 255, 0.12) }

/* Waitlist form */
.join { display: grid; gap: 10px; max-width: 460px }
.join__row { display: flex; gap: 8px; flex-wrap: wrap }
.join input {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--deep);
  color: var(--ink);
  font: inherit;
}
.join input::placeholder { color: var(--ink-3) }
.join input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.3) }
.join button {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--cobalt);
  color: #fff;
  font: 600 var(--step-0) var(--font);
  cursor: pointer;
  transition: transform .15s, filter .2s;
}
.join button:hover { filter: brightness(1.1) }
.join button:active { transform: scale(0.98) }
.join button:disabled { opacity: .6; cursor: progress }
.join__note { font-size: var(--step--1); color: var(--ink-3) }
.join__status { font-size: var(--step--1); font-weight: 600; min-height: 1.4em }
.join__status[data-tone="ok"] { color: #7ee2b8 }
.join__status[data-tone="warn"] { color: #ffd479 }

/* Footer */
footer { padding-block: 40px max(40px, env(safe-area-inset-bottom, 0px)); color: var(--ink-3); font-size: var(--step--1) }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between }
footer nav { display: flex; gap: 20px }
footer a { color: inherit; text-decoration: none }
footer a:hover { color: var(--ink); text-decoration: underline }

/* Text pages (Privacy, Support): one readable column under the top bar */
.doc { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 8vw, 96px) }
.doc .wrap { max-width: 760px }
.doc__head { display: grid; gap: 12px; margin-bottom: 40px }
.doc__head h1 { font-size: var(--step-3); font-weight: 800 }
.doc__head p { color: var(--ink-2); font-size: var(--step-1) }
.doc__updated { color: var(--ink-3); font-size: var(--step--1) }
.doc section { display: grid; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line) }
.doc h2 { font-size: var(--step-2); font-weight: 750; letter-spacing: -0.025em; line-height: 1.2 }
.doc h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3 }
.doc p, .doc li { color: var(--ink-2); max-width: 65ch }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px }
.doc strong { color: var(--ink); font-weight: 650 }
