:root {
  --ink: #16211c;
  --muted: #5b6861;
  --line: #d8ded8;
  --field: #f7f8f5;
  --paper: #fbfbf8;
  --white: #ffffff;
  --olive: #556b2f;
  --moss: #6f7d48;
  --copper: #b66a3c;
  --teal: #2f6d6a;
  --navy: #1d3557;
  --shadow: 0 20px 60px rgba(22, 33, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(251, 251, 248, 0.91);
  border-bottom: 1px solid rgba(216, 222, 216, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.trust-band,
.offer-filter,
.header-tools,
.language-switch,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-action {
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.header-tools {
  gap: 10px;
}

.language-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-button {
  min-width: 34px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-button.active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 76px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 27, 23, 0.88) 0%, rgba(18, 27, 23, 0.68) 38%, rgba(18, 27, 23, 0.08) 78%),
    linear-gradient(0deg, rgba(18, 27, 23, 0.44), rgba(18, 27, 23, 0.1));
}

.hero-content {
  max-width: 720px;
  color: var(--white);
}

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

.hero .eyebrow {
  color: #ffc08d;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.filter-button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-stats {
  display: grid;
  max-width: 610px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats div {
  padding: 18px;
  background: rgba(20, 32, 28, 0.48);
}

.hero-stats dt {
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.trust-band {
  justify-content: center;
  gap: clamp(14px, 4vw, 48px);
  padding: 19px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
}

.section,
.offer-grid,
.partner-panel,
.join-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 92px 0 34px;
}

.split,
.partner-panel,
.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-copy,
.partner-panel p,
.join-section p,
.offer-card p,
.process-grid p {
  color: var(--muted);
}

.offer-filter {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  padding: 10px 13px;
  font-weight: 800;
}

.filter-button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 76px;
}

.offer-card,
.process-grid article,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.offer-card {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.offer-card.is-hidden {
  display: none;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #edf2ec;
  color: var(--teal);
  font-weight: 800;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-tag {
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: #f4eee8;
  color: #874f2c;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-section {
  width: 100%;
  max-width: none;
  padding: 92px clamp(18px, 5vw, 72px);
  background: #eef2ed;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.process-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  padding: 26px;
}

.process-grid span {
  display: block;
  margin-bottom: 44px;
  color: var(--copper);
  font-weight: 800;
}

.partner-panel {
  align-items: center;
  padding: 86px 0;
}

.partner-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list li {
  border-left: 4px solid var(--moss);
  background: var(--white);
  padding: 16px 18px;
  box-shadow: 0 12px 35px rgba(22, 33, 28, 0.08);
  font-weight: 700;
}

.join-section {
  align-items: center;
  padding: 76px clamp(18px, 5vw, 54px);
  margin-bottom: 76px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.join-section p {
  color: rgba(255, 255, 255, 0.76);
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  padding: 10px 12px;
  color: var(--ink);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(18, 27, 23, 0.88), rgba(18, 27, 23, 0.45));
  }

  .trust-band {
    flex-wrap: wrap;
  }

  .split,
  .partner-panel,
  .join-section {
    grid-template-columns: 1fr;
  }

  .offer-filter {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 92px;
    line-height: 1.05;
  }

  .header-action {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 46px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-stats,
  .offer-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px;
  }

  .offer-card {
    min-height: 260px;
  }

  .process-section {
    padding: 68px 18px;
  }

  .join-section {
    width: calc(100% - 24px);
    padding: 42px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
