:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #64706c;
  --paper: #f5f6f1;
  --card: rgba(255, 255, 255, 0.74);
  --line: rgba(23, 34, 31, 0.12);
  --accent: #55a884;
  --accent-deep: #2f795e;
  --shadow: 0 24px 70px rgba(38, 69, 58, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(98, 185, 146, 0.24), transparent 30rem),
    radial-gradient(circle at 6% 52%, rgba(223, 203, 155, 0.25), transparent 28rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--accent-deep);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(47, 121, 94, 0.22);
}

.nav-links { display: flex; gap: 24px; }

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.hero {
  padding: 110px 0 96px;
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.hero h1,
.article-header h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 94px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 1040px;
  overflow-wrap: normal;
}

.hero h1 span { color: var(--accent-deep); }

.hero-copy {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.button.primary { color: white; background: var(--accent-deep); border-color: var(--accent-deep); }
.button.secondary { color: var(--ink); background: rgba(255, 255, 255, 0.45); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}

.card,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  min-height: 250px;
  padding: 30px;
  border-radius: 28px;
}

.card-number { color: var(--accent-deep); font-size: 12px; font-weight: 750; letter-spacing: 0.16em; }
.card h2 { margin: 70px 0 8px; font-size: 25px; }
.card p { margin: 0; color: var(--muted); }

.article-shell { max-width: 900px; }

.article-header { padding: 78px 0 64px; }
.article-header h1 { font-size: clamp(48px, 8vw, 78px); }
.article-header > p:last-child { margin-top: 24px; color: var(--muted); }

.prose {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.prose .lead { margin-top: 0; color: var(--ink); font-size: 20px; }
.prose h2 { margin: 46px 0 12px; font-size: 23px; letter-spacing: -0.02em; }
.prose p { color: #4f5c58; }
.prose hr { margin: 52px 0; border: 0; border-top: 1px solid var(--line); }
.language-section { margin-bottom: 64px; }
.language-section h2 { margin-top: 0; }

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 52px;
  padding: 28px;
  border-radius: 22px;
}

.contact-panel h2 { margin: 0; }
.contact-panel p:not(.eyebrow) { max-width: 560px; margin-bottom: 0; }

details { padding: 22px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
details p { margin-bottom: 0; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--muted); }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; }
  .nav-links { gap: 14px; }
  .hero { padding: 72px 0 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card { min-height: 190px; }
  .card h2 { margin-top: 38px; }
  .article-header { padding: 56px 0 42px; }
  .prose { border-radius: 22px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
}
