:root {
  color-scheme: light;
  --ink: #171916;
  --muted: #5d625b;
  --paper: #f5f4ef;
  --paper-deep: #e8e6df;
  --white: #ffffff;
  --green: #1d6f52;
  --green-light: #91d7b5;
  --coral: #ee765d;
  --cyan: #5fb9c7;
  --line: rgba(23, 25, 22, 0.16);
  --page: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--page);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: flex;
  width: 27px;
  height: 22px;
  align-items: center;
  justify-content: space-between;
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
}

.brand-mark i:nth-child(1),
.brand-mark i:nth-child(5) {
  height: 8px;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(4) {
  height: 15px;
}

.brand-mark i:nth-child(3) {
  height: 22px;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 600;
}

.nav-contact {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 92vh);
  align-items: center;
  overflow: hidden;
  background: #174f3d;
  color: var(--white);
}

#voice-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 17, 0.22);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 66px auto 48px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 34px;
  font-size: 23px;
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary:hover,
.button-light:hover {
  background: var(--green-light);
}

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

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

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  font-size: 13px;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
}

.product,
.principles,
.agents,
.company {
  width: var(--page);
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1fr);
  column-gap: 80px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.agents h2,
.contact h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.metrics {
  display: grid;
  margin: 76px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.metrics div {
  min-height: 150px;
  padding: 28px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.metrics div:not(:first-child) {
  padding-left: 24px;
}

.metrics div:last-child {
  border-right: 0;
}

.metrics dt {
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: 750;
}

.metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.principles {
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  display: block;
  max-width: 700px;
}

.principle-list {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, 1fr);
}

.principle-list article {
  padding: 0 36px 0 0;
  border-right: 1px solid var(--line);
}

.principle-list article:not(:first-child) {
  padding-left: 36px;
}

.principle-list article:last-child {
  border-right: 0;
}

.principle-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.principle-list h3 {
  margin: 28px 0 12px;
  font-size: 21px;
}

.principle-list p,
.agents-copy p,
.company-copy > p:first-child {
  margin-bottom: 0;
  color: var(--muted);
}

.agents {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
}

.agents-copy {
  align-self: end;
}

.agents-copy p {
  color: #c6c9c3;
  font-size: 18px;
}

.text-links {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.text-links a {
  border-bottom: 1px solid #6f756d;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.company {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
}

.company-copy {
  align-self: end;
  font-size: 18px;
}

.founders {
  margin: 34px 0 0;
  font-weight: 700;
  line-height: 1.7;
}

.founders a {
  border-bottom: 1px solid var(--line);
}

.founders a:hover {
  border-color: var(--ink);
}

.contact {
  padding: 96px max(24px, calc((100% - 1180px) / 2));
  background: var(--coral);
}

.contact h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

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

footer {
  display: grid;
  width: var(--page);
  min-height: 112px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.footer-brand {
  font-size: 16px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

footer nav {
  justify-content: flex-end;
  gap: 18px;
}

footer nav a {
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  position: static;
  width: var(--page);
  margin: 0 auto;
  color: var(--ink);
  transform: none;
}

.legal-header nav {
  gap: 20px;
}

.legal-main {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 120px;
}

.legal-main h1 {
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1.05;
}

.legal-main h2 {
  margin: 48px 0 12px;
  font-size: 22px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main .effective-date {
  margin-bottom: 56px;
  font-size: 14px;
}

@media (max-width: 800px) {
  :root {
    --page: calc(100% - 32px);
  }

  .site-header {
    min-height: 66px;
  }

  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  .hero-inner {
    margin-top: 76px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .product,
  .principles,
  .agents,
  .company {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading,
  .agents,
  .company {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading h2,
  .agents h2,
  .contact h2 {
    font-size: 37px;
  }

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

  .metrics div:nth-child(2) {
    border-right: 0;
  }

  .metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .principle-list article,
  .principle-list article:not(:first-child) {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-list article:last-child {
    border-bottom: 0;
  }

  .principle-list h3 {
    margin-top: 16px;
  }

  footer {
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 43px;
  }

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

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

  .metrics div,
  .metrics div:not(:first-child) {
    min-height: 120px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
