:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #17202a;
  --muted: #526170;
  --line: #d7dde4;
  --blue: #245a8d;
  --green: #2f7d5b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 251, 0.82) 42rem),
    var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 10px;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(36, 90, 141, 0.09);
  color: var(--blue);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 56px 0 82px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-mark {
  position: absolute;
  right: -68px;
  bottom: 42px;
  width: min(520px, 48%);
  height: auto;
  opacity: 0.16;
  filter: drop-shadow(0 22px 44px rgba(164, 57, 24, 0.18));
  pointer-events: none;
}

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

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

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 7.5rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.lede {
  margin: 26px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.16rem;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 720;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.feature-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p,
.split p,
.document p {
  margin: 0;
  color: var(--muted);
}

.feature-card p {
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.split p {
  font-size: 1.08rem;
}

.document {
  max-width: 820px;
  padding: 56px 0 84px;
}

.document h1 {
  max-width: 12ch;
  font-size: 5.2rem;
}

.document section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-mark {
    right: -88px;
    bottom: 18px;
    width: 360px;
  }

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

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

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

  nav a {
    padding: 7px 8px;
  }

  .hero {
    padding-bottom: 60px;
  }

  .hero-mark {
    opacity: 0.1;
    right: -130px;
    width: 320px;
  }

  h1 {
    font-size: 3.7rem;
  }

  .document h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }
}
