:root {
  color-scheme: light;
  --ink: #263238;
  --muted: #63737a;
  --line: #d9e3e3;
  --paper: #fffdf8;
  --surface: #f5fbfb;
  --accent: #1b8a7b;
  --accent-strong: #14695e;
  --warm: #f7b955;
  --rose: #f07f71;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: #ffffffcc;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--warm);
}

nav {
  display: flex;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switch a {
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.language-switch a.active {
  background: var(--ink);
  color: #fff;
}

main {
  padding: 40px 0 56px;
}

.hero {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 390px;
  overflow: hidden;
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 30px;
  width: 250px;
  height: 250px;
  background: url("/assets/brand-icon.png") center / contain no-repeat;
  filter: drop-shadow(0 20px 28px rgb(38 50 56 / 18%));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
li {
  color: var(--muted);
}

.summary {
  max-width: 700px;
  color: #44565d;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card h2 {
  margin-top: 0;
}

.card:nth-child(2) {
  background: #fff8ed;
}

.card:nth-child(3) {
  background: #fff7f6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}

.button:focus-visible,
.nav-links a:focus-visible,
.language-switch a:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}

.legal {
  max-width: 780px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions,
  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 440px;
    padding: 30px 0 170px;
  }

  .hero::after {
    right: 50%;
    bottom: 14px;
    width: 150px;
    height: 150px;
    opacity: .42;
    transform: translateX(50%);
  }

  h1 {
    font-size: 36px;
  }
}
