:root {
  --page: #f7f4ec;
  --paper: #fffdf7;
  --ink: #1b2420;
  --muted: #606b64;
  --line: #ddd4c5;
  --line-strong: #c9bba6;
  --green: #315c49;
  --orange: #c45a2d;
  --orange-dark: #9f421f;
  --blue: #274b63;
  --shadow: 0 18px 60px rgba(31, 40, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(247, 244, 236, 0)),
    var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: none;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 14px;
}

.lang-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
}

.lang-switcher a {
  min-width: 38px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.lang-switcher a.is-active {
  background: var(--green);
  color: #fffdf7;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

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

.link-button,
.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 18px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.link-button:hover,
.tool-link:hover {
  border-color: var(--green);
  background: var(--paper);
  transform: translateY(-1px);
}

.tool-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.tool-block:last-child {
  padding-bottom: 28px;
}

.tool-block h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.tool-block p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.tool-link {
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 28px, 560px);
    padding: 24px 0 40px;
  }

  .hero {
    padding-bottom: 24px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(40px, 16vw, 64px);
  }

  .lead {
    font-size: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .link-button,
  .tool-link {
    width: 100%;
  }

  .tool-block {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
