/* Pandig coming soon: lean. Civic tokens from DESIGN.md (app repo): square
   corners, 2px ink borders, hard shadows without blur, the 28px grid,
   Poppins for words, JetBrains Mono for labels. */

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

:root {
  --bg: #f4f7fb;
  --fg: #0f172a;
  --primary: #2456c5;
  --primary-fg: #ffffff;
  --muted-fg: #5b6b82;
  --border: #0f172a;
  --grid: rgb(15 23 42 / 0.045);
  --signal: #f5c518;
  --shadow-hard-sm: 3px 3px 0 0 var(--border);
  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1424;
    --fg: #eef4ff;
    --primary: #7ca0ff;
    --primary-fg: #08111f;
    --muted-fg: #9baacc;
    --border: #eef4ff;
    --grid: rgb(238 244 255 / 0.05);
    --shadow-hard-sm: 3px 3px 0 0 #000;
  }
}

html { color-scheme: light dark; }

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

::selection { background: var(--primary); color: var(--primary-fg); }

.wrap { width: 100%; max-width: 30rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: var(--primary-fg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-hard-sm);
}
.mark svg { width: 1.5rem; height: 1.5rem; }
.name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
}
.dot { width: 0.5rem; height: 0.5rem; background: var(--signal); border: 2px solid var(--border); }

h1 {
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted-fg); max-width: 26rem; }

.contact {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.125rem;
}
.contact:hover { color: var(--primary); }
.contact:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.4s cubic-bezier(0.18, 0.92, 0.3, 1.06) both; }
  .dot { animation: blink 1.6s steps(2) infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0.25; } }
