:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #5d6673;
  --line: #dfe5ea;
  --paper: #fffdf8;
  --surface: #ffffff;
  --soft: #f5f7f2;
  --red: #df2028;
  --yellow: #f3bd22;
  --green: #76a92e;
  --green-dark: #3f7b25;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 189, 34, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f8faf7 42rem, #ffffff);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(223, 229, 234, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-dark);
}

.language-switcher {
  display: inline-flex;
  min-width: max-content;
  padding: 4px;
  background: #edf1e8;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active {
  color: #ffffff;
  background: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 76px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px) 48px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

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

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

.primary-button {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(223, 32, 40, 0.22);
}

.secondary-button {
  color: var(--green-dark);
  background: rgba(118, 169, 46, 0.1);
  border: 1px solid rgba(118, 169, 46, 0.28);
}

.hero-panel {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid rgba(223, 229, 234, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 270px);
  justify-self: center;
  object-fit: contain;
}

.hero-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-panel div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-panel dd {
  margin: 4px 0 0;
  font-size: 1.04rem;
  font-weight: 800;
}

.notice {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) 56px;
}

.notice p {
  margin: 0;
  padding: 18px 22px;
  color: #513b06;
  background: rgba(243, 189, 34, 0.18);
  border: 1px solid rgba(243, 189, 34, 0.42);
  border-radius: 8px;
  font-weight: 700;
}

.content-section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 4vw, 56px);
}

.muted-section {
  max-width: none;
  background: var(--soft);
}

.muted-section > * {
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

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

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.policy-card p,
.terms-list p,
.contact-section p {
  margin: 12px 0 0;
  color: var(--muted);
}

.terms-list {
  display: grid;
  gap: 14px;
}

.terms-list article {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.terms-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 50%;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

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

  .hero-panel {
    max-width: 520px;
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-link {
    justify-self: start;
  }
}

@media (max-width: 580px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .contact-link {
    width: 100%;
  }

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

  .terms-list article {
    grid-template-columns: 1fr;
  }
}
