/* datasluice.io — splash (DS-80).
   Colours and typefaces are the app's own (src/renderer/styles.css :root; Brand Vault → Visual Identity).
   Blue = raw / in, Gold = refined / out, and gold only ever means something good. No motion. */

@font-face {
  font-family: 'Saira';
  src: url('fonts/Saira-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Variable.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d1117;
  --panel: #131a23;
  --line: #222c38;
  --text: #d7dde5;
  --muted: #8b96a3;
  --gold: #c9a84c;
  --blue: #4a9eff;
  --font-display: 'Saira', 'Inter', system-ui, -apple-system, sans-serif;
  --font-data: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar */
.bar { border-bottom: 1px solid var(--line); }
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 6px; }
.wordmark {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.badge {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 56px;
}
.hero-icon {
  display: block;
  margin: 0 auto 28px;
  border-radius: 24px;
}
h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.raw, .gold { display: inline-block; }
.raw { color: var(--blue); }
.gold { color: var(--gold); }

/* Raw → refined, as a rule under the headline: blue in, gold out. */
.thesis {
  width: min(240px, 60%);
  height: 2px;
  margin: 28px auto 32px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.sub {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text);
}
.support {
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--muted);
}
.status {
  display: inline-block;
  margin: 22px 0 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--text);
}

/* The three stages */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}
.modules article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 20px 22px;
}
.modules h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.modules p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 13px;
  color: var(--muted);
}
.foot p { margin: 0 0 6px; }

@media (max-width: 760px) {
  .modules { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
@media (max-width: 420px) {
  .badge { display: none; }
}
