:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #f7fafc;
  --text: #14202b;
  --muted: #4e5f70;
  --border: #d8e0e8;
  --primary: #0f766e;
  --primary-hover: #0b5f59;
  --link: #0f766e;
  --focus: #0ea5e9;
  --max-width: 1040px;
  --radius: 16px;
  --shadow-sm: 0 6px 22px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
  line-height: 1.62;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: #ecfdf8;
  text-decoration: none;
}

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

.hero {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 5vw, 46px);
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e9fffa;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 11px;
}

h1,
h2,
h3 {
  letter-spacing: -0.01em;
}

.hero h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.14;
  max-width: 20ch;
}

.hero p,
.page-header p {
  color: var(--muted);
  max-width: 70ch;
  margin: 12px 0 0;
  font-size: 1.04rem;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  padding: 0 18px;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  background: #f8fbfd;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.card {
  grid-column: span 12;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.card:hover {
  border-color: #c7d5e2;
}

.card-muted {
  background: var(--surface-muted);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.3;
}

.card p {
  margin-top: 0;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.page-header {
  margin-bottom: 10px;
}

.page-header h1 {
  max-width: none;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.42rem;
}

.notice {
  border: 1px solid #b8e6df;
  background: #f0fdfa;
  color: #134e4a;
  border-radius: 14px;
  padding: 16px 18px;
}

.warning {
  border: 1px solid #f4dbbf;
  background: #fffbeb;
  color: #92400e;
  border-radius: 14px;
  padding: 16px 18px;
}

.stat-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.stat-list li {
  margin: 0;
  padding-left: 1.3rem;
  position: relative;
}

.stat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin-top: 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 34px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.col-4,
.col-6,
.col-7,
.col-8 {
  grid-column: span 12;
}

@media (max-width: 640px) {
  .container {
    padding-top: 24px;
  }

  .nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 4px 8px;
    font-size: 0.95rem;
  }

  .card,
  .hero {
    padding: 20px;
  }
}

@media (min-width: 768px) {
  .col-4 {
    grid-column: span 4;
  }

  .col-6 {
    grid-column: span 6;
  }

  .col-7 {
    grid-column: span 7;
  }

  .col-8 {
    grid-column: span 8;
  }
}
