@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Host+Grotesk:wght@400;500;600&display=swap");

:root {
  --paper: #f5f1e9;
  --paper-soft: #fbf9f4;
  --ink: #171b1c;
  --ink-soft: #505858;
  --night: #101517;
  --cobalt: #2d5bf0;
  --cobalt-dark: #1e46cc;
  --mint: #c9f4dc;
  --line: rgba(23, 27, 28, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --white: #fff;
  --serif: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Host Grotesk", var(--sans);
  --shell: min(1260px, calc(100vw - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
  font-family: var(--sans);
}

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

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

p,
h1,
h2,
ol {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--ink);
  background: rgba(251, 249, 244, 0.96);
  border-bottom: 1px solid rgba(23, 27, 28, 0.1);
}

.site-header__inner {
  width: var(--shell);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-width: 120px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

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

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.site-header nav a:hover {
  color: var(--cobalt);
}

.demo {
  position: relative;
  isolation: isolate;
  min-height: 820px;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
}

.demo__scene {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.demo__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.88) contrast(1.02);
}

.demo__scene span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 15, 0.82) 0%, rgba(8, 13, 15, 0.7) 36%, rgba(8, 13, 15, 0.46) 61%, rgba(8, 13, 15, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 13, 15, 0.5), transparent 48%);
}

.demo__shell {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(58px, 5vw, 72px) 0 clamp(78px, 9vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.73fr);
  grid-template-areas:
    "intro form"
    "promise form";
  gap: clamp(70px, 9vw, 138px);
  row-gap: 0;
  align-items: start;
}

.demo__intro {
  grid-area: intro;
  padding-top: 16px;
}

.eyebrow,
.form-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.demo__intro > .eyebrow {
  color: var(--mint);
}

.demo__intro h1 {
  max-width: 710px;
  margin-top: 27px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1.09;
}

.demo__lede {
  max-width: 620px;
  margin-top: 31px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.68;
}

.demo__promise {
  grid-area: promise;
  max-width: 650px;
  margin-top: 54px;
  padding-top: 25px;
  border-top: 1px solid var(--line-light);
}

.demo__promise > p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.demo__promise ol {
  margin-top: 9px;
  padding: 0;
  list-style: none;
}

.demo__promise li {
  min-height: 72px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 14px;
  border-bottom: 1px solid var(--line-light);
}

.demo__promise li > span {
  grid-row: 1 / 3;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--serif);
  font-size: 12px;
}

.demo__promise strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

.demo__promise small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.55;
}

.form-card {
  grid-area: form;
  color: var(--ink);
  background: rgba(251, 249, 244, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

#demo-form-inner,
.success {
  padding: clamp(30px, 3.4vw, 42px);
}

.form-card__eyebrow {
  color: var(--cobalt);
}

.form-card h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 39px);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 1.06;
}

.form-card__intro,
.success > p:not(.form-card__eyebrow) {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.62;
}

form {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}

.field label span {
  color: var(--cobalt);
}

.field label small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #737979;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.4;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder {
  color: #626969;
}

.field input:focus,
.field select:focus {
  outline: 3px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: #a92531;
}

.field__error,
.submit-status {
  display: none;
  margin-top: 6px;
  color: #9d1e2a;
  font-size: 11px;
  line-height: 1.4;
}

.field__error.is-visible,
.submit-status:not([hidden]) {
  display: block;
}

.consent {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--cobalt);
}

.consent a {
  color: var(--cobalt-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-button {
  min-height: 54px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--cobalt);
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-button:hover {
  background: var(--cobalt-dark);
  transform: translateY(-1px);
}

.submit-button:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-card__response {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.form-card__response a {
  color: var(--cobalt-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.success[hidden] {
  display: none;
}

.success > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #0f462e;
  background: var(--mint);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.success .form-card__eyebrow {
  margin-top: 28px;
}

.success a {
  min-height: 44px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cobalt-dark);
  font-size: 12px;
  font-weight: 700;
}

.evidence {
  padding: clamp(90px, 11vw, 154px) 0;
  background: var(--paper);
}

.evidence__shell {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

.evidence header {
  max-width: 760px;
}

.evidence .eyebrow {
  color: var(--cobalt-dark);
}

.evidence h2 {
  margin-top: 19px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.evidence header > p:last-child {
  max-width: 660px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.evidence__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence__grid a {
  min-height: 330px;
  padding: 31px clamp(24px, 3vw, 38px) 32px;
  display: flex;
  flex-direction: column;
  transition: background 180ms ease;
}

.evidence__grid a + a {
  border-left: 1px solid var(--line);
}

.evidence__grid a:hover {
  background: var(--paper-soft);
}

.evidence__grid a > span {
  color: var(--cobalt-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.evidence__grid strong {
  margin-top: 50px;
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.evidence__grid strong small {
  color: var(--ink-soft);
  font-size: 23px;
  font-weight: 400;
}

.evidence__grid p {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.evidence__grid em {
  min-height: 44px;
  margin-top: auto;
  display: flex;
  align-items: end;
  color: var(--cobalt-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0d1113;
}

.site-footer__inner {
  width: var(--shell);
  min-height: 210px;
  margin: 0 auto;
  padding: 45px 0 27px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px 60px;
}

.site-footer__inner > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-footer img {
  width: 130px;
  height: auto;
}

.site-footer p {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--serif);
  font-size: 20px;
}

.site-footer nav {
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
}

@media (max-width: 980px) {
  .demo__shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "form"
      "promise";
    gap: 62px;
  }

  .demo__scene img {
    object-position: 64% center;
  }

  .demo__scene span {
    background: linear-gradient(180deg, rgba(8, 13, 15, 0.87), rgba(8, 13, 15, 0.78));
  }

  .demo__intro,
  .demo__intro h1,
  .demo__lede,
  .demo__promise {
    max-width: 720px;
  }

  .form-card {
    max-width: 720px;
  }

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

  .evidence__grid a {
    min-height: 235px;
  }

  .evidence__grid a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence__grid strong {
    margin-top: 32px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand img {
    width: 108px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .demo__shell {
    padding: 58px 0 82px;
    gap: 50px;
  }

  .demo__intro h1 {
    margin-top: 21px;
    font-size: clamp(37px, 10.6vw, 46px);
    line-height: 1.04;
  }

  .demo__lede {
    margin-top: 24px;
    font-size: 16px;
  }

  .demo__promise {
    margin-top: 42px;
  }

  .demo__promise strong {
    font-size: 20px;
  }

  #demo-form-inner,
  .success {
    padding: 29px 22px 32px;
  }

  .form-card h2 {
    font-size: 31px;
    line-height: 1.12;
  }

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

  .evidence__shell {
    width: calc(100vw - 32px);
  }

  .evidence h2 {
    font-size: 40px;
  }

  .evidence__grid {
    margin-top: 46px;
  }

  .evidence__grid a {
    min-height: 245px;
    padding-inline: 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer nav,
  .site-footer small {
    grid-column: 1;
  }

  .site-footer nav {
    grid-row: auto;
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
