@font-face {
  font-family: "HKGrotesk";
  src: url("./fonts/HKGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "HKGrotesk";
  src: url("./fonts/HKGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "HKGrotesk";
  src: url("./fonts/HKGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --ink: #242424;
  --muted: #66666b;
  --line: #e6e2dc;
  --paper: #f9f7f5;
  --yellow: #ffc52f;
  --gold: #ffb22f;
  --red: #ff395b;
  --green: #66b774;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "HKGrotesk", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 10px 20px;
}

.button:hover {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.button.secondary {
  border-color: currentColor;
  background: transparent;
}

.hero {
  background: var(--ink);
  color: var(--white);
  padding: 76px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.15rem);
  font-weight: 700;
}

h1 span,
.accent {
  color: var(--gold);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 32px;
  color: #ececec;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #303033;
  padding: 18px;
}

.hero-card img {
  border-radius: 6px;
}

.section {
  padding: 76px 0;
}

.section.white {
  background: var(--white);
}

.section.yellow {
  background: var(--yellow);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-stack {
  display: grid;
  gap: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  border-radius: 8px;
  background: var(--white);
  padding: 34px;
}

.feature h3 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

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

.feature ul,
.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.metric {
  border-left: 3px solid var(--green);
  padding-left: 14px;
}

.metric strong {
  display: block;
  color: var(--green);
  font-size: 2.4rem;
  line-height: 1;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.card img {
  width: 100%;
  margin-top: 18px;
  border-radius: 6px;
  background: #f2f0ed;
}

.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.legal-content {
  max-width: 880px;
  padding: 56px 0;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: #3a3a3c;
}

.support-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.site-footer {
  background: #3a3a3c;
  color: var(--white);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #d9d9dc;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.small {
  color: #c9c9cd;
  font-size: 0.94rem;
}

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

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero-grid,
  .feature,
  .footer-grid,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px;
  }

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

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 520px) {
  .nav-links .button {
    width: 100%;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-actions .button,
  .support-actions .button {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}
