:root {
  color-scheme: light;
  --ink: #101218;
  --muted: #586174;
  --line: #d7deea;
  --soft: #f4f7f9;
  --white: #ffffff;
  --teal: #0b7370;
  --teal-dark: #064e4d;
  --coral: #d75137;
  --gold: #bb8a2e;
  --shadow: 0 20px 60px rgba(29, 39, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(16, 18, 24, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #313849;
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 120px clamp(20px, 6vw, 92px) 86px;
  overflow: hidden;
  align-items: end;
}

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

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.84) 0%, rgba(8, 12, 18, 0.62) 42%, rgba(8, 12, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 12, 18, 0.58) 0%, rgba(8, 12, 18, 0) 34%);
}

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

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

.hero .eyebrow {
  color: #77e0d3;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

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

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

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

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

.section,
.split-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 36px;
}

.section-heading p,
.text-stack p,
.document p,
.support-hero p,
.support-item p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.policy-link,
.support-item {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(34, 43, 58, 0.06);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
}

.feature-card p,
.policy-link span {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-stack {
  display: grid;
  gap: 14px;
  font-size: 1.08rem;
}

.text-stack p {
  margin: 0;
}

.muted {
  width: 100%;
  max-width: none;
  padding: 88px clamp(20px, 6vw, 92px);
  background: #edf2f3;
}

.muted .section-heading,
.muted .policy-row {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.policy-link {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  text-decoration: none;
}

.policy-link strong {
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: #101218;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.document-page,
.support-page {
  padding: 92px 20px 72px;
}

.document,
.support-hero {
  width: min(820px, 100%);
  margin: 0 auto;
}

.document {
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document h1,
.support-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.document h2 {
  margin: 34px 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.document a {
  color: var(--teal-dark);
  font-weight: 800;
}

.support-hero {
  padding: 40px 0 18px;
}

.support-hero p {
  max-width: 640px;
  font-size: 1.15rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-item {
  min-height: 190px;
}

@media (max-width: 920px) {
  .feature-grid,
  .policy-row,
  .support-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 12px;
  }

  .hero {
    padding: 110px 20px 58px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(8, 12, 18, 0.84) 0%, rgba(8, 12, 18, 0.46) 100%);
  }

  .section,
  .split-section {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .muted {
    padding: 62px 16px;
  }

  .document {
    padding: 26px;
  }

  .site-footer {
    display: grid;
  }
}
