:root {
  color-scheme: light dark;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #171b22;
  --text-muted: #525a68;
  --primary: #1b64bd;
  --primary-ink: #ffffff;
  --border: #e2e5ec;
  --focus-ring: #1b64bd;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420;
    --surface: #161c2c;
    --text: #eef1f6;
    --text-muted: #a6aec0;
    --primary: #6cb8f2;
    --primary-ink: #0b1522;
    --border: #262e42;
    --focus-ring: #6cb8f2;
  }
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible,
a:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Soft decorative backdrop — purely visual, no content */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 8%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(55% 45% at 85% 92%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
}

.brand {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 0;
}

.brand-mark {
  display: block;
  border-radius: 9px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 0;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0;
  max-width: 34ch;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact a {
  font-weight: 600;
}

.site-footer {
  width: 100%;
  max-width: 880px;
  padding: 8px 0 24px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 420px) {
  .page {
    padding: 24px 16px;
  }

  .hero {
    padding: 48px 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: rise 0.5s ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
