:root {
  color-scheme: light;
  --bg: #f4faff;
  --surface: #ffffff;
  --surface-soft: #e9f6fd;
  --text: #111d23;
  --muted: #4d4632;
  --primary: #725c00;
  --primary-fill: #ffd200;
  --secondary: #4c56af;
  --line: #d1c6ab;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid rgba(127, 118, 95, 0.18);
}

.site-footer {
  border-top: 1px solid rgba(127, 118, 95, 0.18);
  border-bottom: 0;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--primary);
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.language-select {
  border: 1px solid rgba(127, 118, 95, 0.32);
  border-radius: 999px;
  background: var(--surface);
  padding: 9px 14px;
  color: var(--muted);
  font-weight: 700;
}

.hero {
  padding: 72px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--primary-fill);
  color: #564500;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 14px;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.15;
}

h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(36px, 6vw, 64px);
}

h2 {
  margin-top: 44px;
  font-size: 30px;
}

h3 {
  margin-top: 28px;
  font-size: 22px;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
}

.content {
  padding: 16px 0 72px;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(127, 118, 95, 0.18);
  border-radius: 8px;
  padding: 28px;
  margin: 22px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--primary-fill);
  color: #564500;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  background: var(--secondary);
  color: white;
}

.notice {
  border-left: 4px solid var(--primary-fill);
  background: var(--surface-soft);
  padding: 16px 18px;
  margin: 22px 0;
}

.notice code {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  padding: 2px 5px;
}

.localized[hidden] {
  display: none;
}

.muted {
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}

.form-grid {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(127, 118, 95, 0.36);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-line {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 600;
}

.checkbox-line input {
  width: auto;
  margin-top: 5px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 28px;
}

.form-status.success {
  color: #14643b;
}

.form-status.error {
  color: #9d1f1f;
}

.turnstile-widget {
  min-height: 70px;
}

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

  .nav-links,
  .footer-links {
    gap: 12px;
  }

  .hero {
    padding-top: 42px;
  }

}
