/* baltcore.eu — static placeholder. Tokens per DESIGN.md. No JS, no external hosts. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  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 {
  color-scheme: light dark;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --border: #E3E7EE;
  --text: #0E1525;
  --text-2: #5B6476;
  --text-3: #8A93A6;
  --accent: #2346D6;
  --grid: rgba(14, 21, 37, 0.055);
  --glow: rgba(35, 70, 214, 0.10);
  --glow-2: rgba(111, 140, 255, 0.08);
  --mark-shadow: 0 1px 2px rgba(14, 21, 37, .08), 0 8px 24px -8px rgba(14, 21, 37, .25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F19;
    --surface: #121826;
    --border: #26304A;
    --text: #E8ECF4;
    --text-2: #9AA4B8;
    --text-3: #6B7590;
    --accent: #6F8CFF;
    --grid: rgba(232, 236, 244, 0.045);
    --glow: rgba(111, 140, 255, 0.16);
    --glow-2: rgba(35, 70, 214, 0.14);
    --mark-shadow: 0 0 0 1px rgba(111, 140, 255, .10), 0 12px 32px -10px rgba(111, 140, 255, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Background: faint 40px grid, faded out radially, plus a soft accent glow behind the composition. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
body::after {
  background:
    radial-gradient(38rem 24rem at 50% 40%, var(--glow), transparent 70%),
    radial-gradient(24rem 16rem at 62% 58%, var(--glow-2), transparent 70%);
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 48px;
}
.brand img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--mark-shadow);
}
.brand span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(36px, 7.2vw, 64px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-2);
  letter-spacing: -0.005em;
}

.code {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  main { padding: 72px 20px 32px; }
  .brand { margin-bottom: 40px; gap: 10px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand span { font-size: 20px; }
  .lead { margin-top: 16px; font-size: 16px; }
  body::before { background-size: 32px 32px; }
}
