@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;600&family=Fraunces:wght@400;600&display=swap");

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("Archivo");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("Fraunces");
}

:root {
  color-scheme: light;
  --color-ink: #12202c;
  --color-ink-muted: #5d6874;
  --color-surface: #f4f6f8;
  --color-surface-strong: rgba(255, 255, 255, 0.9);
  --color-accent: #117a72;
  --color-accent-strong: #0b5d57;
  --color-line: rgba(18, 32, 44, 0.12);
  --color-deep: #163347;
  --color-deep-strong: #0e2230;
  --color-highlight: #3d8fda;
  --color-highlight-strong: #2e73b0;
  --color-success: #2f7d57;
  --color-error: #b1423a;
  --shadow-soft: 0 20px 48px rgba(14, 34, 48, 0.12);
  --shadow-card: 0 12px 28px rgba(14, 34, 48, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --font-sans: "Archivo", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;
  --step--1: 0.86rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.56rem;
  --step-3: 1.95rem;
  --step-4: 2.44rem;
  --step-5: 3.05rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 0% 0%, rgba(17, 122, 114, 0.12), transparent 30%),
    radial-gradient(circle at 100% 12%, rgba(61, 143, 218, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #eef3f6 45%, #e7edf2 100%);
  color: var(--color-ink);
  line-height: 1.6;
  min-height: 100vh;
}

input,
textarea,
select {
  color: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17, 122, 114, 0.06), transparent 42%),
    linear-gradient(315deg, rgba(61, 143, 218, 0.08), transparent 38%);
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-ink);
  color: #ffffff;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 160ms ease;
  z-index: 40;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-ink-muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  margin: 0 0 var(--space-4);
  line-height: 1.2;
  color: var(--color-ink);
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

small {
  font-size: var(--step--1);
}

button {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
