@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400;0,600;0,700;1,500&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --paper: #efe3c8;
  --paper-2: #e4d5b0;
  --paper-3: #d9c79a;
  --ink: #1b2a41;
  --ink-2: #445066;
  --ink-3: #6b7280;
  --stamp-red: #a93226;
  --stamp-red-dark: #7c231a;
  --seal-green: #3f6c51;
  --plate-blue: #0b3d91;
  --amber: #d9a441;
  --paper-rgb: 239, 227, 200;

  --font-display: 'Besley', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 1px 2px rgba(27, 42, 65, 0.08), 0 8px 24px -8px rgba(27, 42, 65, 0.18);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at top left, rgba(11, 61, 145, 0.05), transparent 45%),
    repeating-linear-gradient(0deg, rgba(27, 42, 65, 0.02) 0px, rgba(27, 42, 65, 0.02) 1px, transparent 1px, transparent 3px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; }

a { color: inherit; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp-red);
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 10px;
}

.section-head .lede {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.hairline {
  border: none;
  border-top: 1px solid rgba(27, 42, 65, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--plate-blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--stamp-red-dark);
  border-color: var(--stamp-red-dark);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: var(--ink-3);
  border-color: var(--ink-3);
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(27, 42, 65, 0.06);
}

.btn-block {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
