:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: rgba(15, 118, 110, 0.08);
  --accent: #1f5eff;
  --accent-soft: rgba(31, 94, 255, 0.08);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-strong: 0 18px 50px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; }
a:hover, a:focus { color: var(--brand-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--brand);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 1rem; top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}
.brand:hover { text-decoration: none; color: var(--brand); }
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--brand);
  color: white;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 2px solid transparent;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.28);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--brand-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.36);
}
.nav-cta:focus-visible {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px var(--brand), 0 6px 18px rgba(15, 118, 110, 0.28);
}
.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
}
.lang-switch a { padding: 0.25rem 0.45rem; border-radius: 6px; color: var(--muted); }
.lang-switch a.active { background: var(--surface-3); color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.22);
}
.button-primary:hover, .button-primary:focus {
  background: var(--brand-dark);
  color: white;
  text-decoration: none;
}
.button-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--surface-2);
  text-decoration: none;
}

.hero {
  padding: 5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin: 0 0 1rem; color: var(--muted); font-size: 1.02rem; }
.hero-copy p { font-size: 1.12rem; max-width: 58ch; }
.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.panel, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel { padding: 1.5rem; height: 100%; }
.hero-panel {
  background: radial-gradient(circle at top right, rgba(15,118,110,0.12), transparent 40%), linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.metric {
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.metric .small, .small { font-size: 0.88rem; color: var(--muted); }
.hero-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
}
.hero-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
}
.point-badge {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.hero-point strong { color: var(--text); }

section { padding: 1.2rem 0 3rem; }
.section-head { max-width: 56rem; margin-bottom: 1.2rem; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 1.35rem; position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(15,118,110,0.8), rgba(31,94,255,0.35));
}
.kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.checklist, .clean { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.checklist li, .clean li { margin-bottom: 0.4rem; }
.band {
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15,118,110,0.06), rgba(31,94,255,0.05));
  border: 1px solid rgba(15,118,110,0.12);
}
.section-shell { position: relative; padding: 2rem 0 3rem; }
.section-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(203,213,225,0), rgba(203,213,225,0.9), rgba(203,213,225,0));
}

.notice {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  margin: 1rem 0;
}
.notice p { color: inherit; margin: 0; }

form { display: grid; gap: 0.75rem; margin-top: 1rem; }
label { font-weight: 700; color: var(--text); display: grid; gap: 0.3rem; font-size: 0.95rem; }
input, textarea, select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: white;
}
textarea { min-height: 6rem; resize: vertical; }
.form-message { font-weight: 700; margin-top: 0.75rem; }
.form-message.ok { color: var(--brand); }
.form-message.err { color: #b91c1c; }

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.note { font-size: 0.92rem; color: var(--muted); margin: 0; }

.archive-banner {
  padding: 0.75rem 1rem;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.9rem;
  text-align: center;
}
.archive-banner a { color: #7dd3fc; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .site-nav ul { justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; }
  .site-nav ul { gap: 0.6rem; }
  .hero { padding-top: 3.5rem; }
}
