:root {
  --bg-0: #f1f5f6;
  --bg-1: #f8fcfc;
  --surface: #ffffff;
  --surface-alt: #f0f7f7;
  --border: #c7d5d6;
  --text: #102023;
  --muted: #446067;
  --brand: #0c6f78;
  --brand-strong: #09545b;
  --brand-soft: #d4ecef;
  --accent: #f2a65a;
  --focus: #0e9aa7;
  --danger: #b23a48;
  --ok: #0d7b57;
  --shadow-sm: 0 8px 18px rgba(17, 48, 54, 0.08);
  --shadow-md: 0 16px 36px rgba(12, 44, 50, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -6%, rgba(12, 111, 120, 0.16), transparent 26%),
    radial-gradient(circle at 86% 0%, rgba(242, 166, 90, 0.16), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  min-height: 100vh;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--brand-strong);
}

a:hover {
  color: var(--brand);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
}

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

.hidden {
  display: none !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
}

.badge.brand {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.badge.accent {
  background: #fbe8d2;
  color: #7f4b17;
}

.badge.soft {
  background: #edf2f2;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.section-title {
  font-size: clamp(1.3rem, 1.2rem + 0.6vw, 1.8rem);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.97rem;
}

.reveal {
  animation: reveal-up 420ms ease forwards;
}

.stagger > * {
  opacity: 0;
  transform: translateY(6px);
  animation: reveal-up 480ms ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 40ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 120ms; }
.stagger > *:nth-child(4) { animation-delay: 160ms; }
.stagger > *:nth-child(5) { animation-delay: 200ms; }
.stagger > *:nth-child(6) { animation-delay: 240ms; }

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
