:root {
  color-scheme: light;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #1b1f23;
  --muted: #5a6570;
  --line: #d9ded6;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --focus: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

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

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

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.brand {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.container {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(36px, 7vw, 72px) clamp(18px, 4vw, 32px);
  flex: 1;
}

.hero,
.content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 16px 40px rgba(27, 31, 35, 0.06);
}

.hero {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
}

h1,
h2 {
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: 1.25rem;
  margin-top: 34px;
}

p {
  margin: 0 0 16px;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button.primary:hover {
  color: #ffffff;
  background: var(--accent);
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .actions,
  .button {
    width: 100%;
  }
}
