:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #58635d;
  --line: #dce4dd;
  --paper: #fbfcf8;
  --leaf: #22694d;
  --leaf-dark: #163f32;
  --gold: #d9a441;
  --coral: #dc6f56;
  --mist: #eef6f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 6vw, 92px);
  width: 100%;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
}

.brand-icon {
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(24, 32, 27, 0.12);
  display: block;
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.language-menu {
  position: relative;
  z-index: 5;
}

.language-trigger {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 221, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24, 32, 27, 0.08);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 16px;
  justify-content: space-between;
  min-height: 42px;
  min-width: 188px;
  padding: 8px 14px;
  text-align: left;
}

.language-trigger strong {
  color: var(--muted);
  flex: 1;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.language-trigger:focus-visible,
.language-options button:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.55);
  outline-offset: 2px;
}

.language-chevron {
  border-bottom: 1.7px solid var(--leaf);
  border-right: 1.7px solid var(--leaf);
  height: 6px;
  margin-right: 2px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 6px;
}

.language-trigger[aria-expanded="true"] .language-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.language-options {
  background: #ffffff;
  border: 1px solid rgba(220, 228, 221, 0.78);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(24, 32, 27, 0.14);
  display: grid;
  min-width: 188px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
}

.language-options[hidden] {
  display: none;
}

.language-options button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(220, 228, 221, 0.48);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 720;
  min-height: 46px;
  padding: 11px 42px 11px 14px;
  position: relative;
  text-align: left;
}

.language-options button:last-child {
  border-bottom: 0;
}

.language-options button:hover,
.language-options button.is-active {
  background: var(--mist);
  color: var(--leaf-dark);
}

.language-options button.is-active::after {
  border: 1.5px solid rgba(34, 105, 77, 0.35);
  border-radius: 50%;
  color: var(--leaf);
  content: "✓";
  font-size: 0.7rem;
  height: 16px;
  line-height: 15px;
  position: absolute;
  right: 14px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.hero {
  align-items: start;
  display: grid;
  gap: clamp(32px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: min(720px, calc(100vh - 76px));
  padding: clamp(72px, 9vw, 116px) clamp(20px, 6vw, 92px) clamp(64px, 8vw, 96px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4.6rem, 15vw, 9.5rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  max-width: 620px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--leaf-dark);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  min-height: 40px;
  padding: 8px 12px;
}

.hero-badges span:first-child {
  background: var(--gold);
  border-color: rgba(217, 164, 65, 0.55);
  color: #1d1709;
}

.primary-action,
.secondary-action,
.email-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.primary-action {
  background: var(--leaf);
  color: white;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--leaf-dark);
}

.app-visual {
  align-items: center;
  aspect-ratio: 0.78;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  max-width: 440px;
  min-height: 420px;
  overflow: hidden;
  padding: 38px;
  position: relative;
}

.app-visual::before {
  background: linear-gradient(135deg, rgba(34, 105, 77, 0.18), rgba(217, 164, 65, 0.22));
  content: "";
  inset: 0;
  position: absolute;
}

.app-visual img {
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(24, 32, 27, 0.16);
  display: block;
  max-width: min(62%, 240px);
  position: relative;
  z-index: 1;
}

.visual-panel {
  background: rgba(251, 252, 248, 0.92);
  border: 1px solid rgba(24, 32, 27, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(24, 32, 27, 0.12);
  display: grid;
  gap: 3px;
  margin-top: 28px;
  max-width: 280px;
  padding: 16px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.visual-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-panel strong {
  color: var(--leaf-dark);
  font-size: 1.12rem;
}

.content-band,
.contact-band,
.document {
  padding: clamp(52px, 8vw, 88px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.feature-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 190px;
  padding: 24px;
}

.feature-grid p,
.contact-band p,
.document p {
  color: var(--muted);
}

.contact-band {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.contact-band div {
  max-width: 680px;
}

.email-link {
  background: var(--gold);
  color: #1d1709;
  white-space: nowrap;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
}

.site-footer a {
  text-decoration: none;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-weight: 750;
}

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

.document {
  margin: 0 auto;
  max-width: 900px;
}

.document h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
}

.document section {
  border-top: 1px solid var(--line);
  padding: 28px 0 10px;
}

.updated {
  margin-bottom: 42px;
}

@media (max-width: 820px) {
  .site-header,
  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-visual {
    aspect-ratio: 1;
    justify-self: stretch;
    max-width: none;
    min-height: 320px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .language-menu,
  .language-trigger,
  .language-options {
    width: 100%;
  }

  .brand-icon {
    height: 36px;
    width: 36px;
  }

  .actions,
  .primary-action,
  .secondary-action,
  .email-link {
    width: 100%;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.6rem);
  }
}
