:root {
  color-scheme: light;
  --evergreen: #145a46;
  --evergreen-deep: #0c3f31;
  --evergreen-soft: #dce9e4;
  --cream: #fff4d6;
  --gold: #d6a72e;
  --ink: #12201c;
  --muted: #53635d;
  --line: #cdd8d3;
  --paper: #f8faf8;
  --white: #ffffff;
  --danger: #b42318;
  --max-width: 1180px;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius-small: 0.85rem;
  --radius-medium: 1.5rem;
  --radius-large: 2.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.site-header,
footer {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-symbol {
  position: relative;
  width: 2rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.55rem;
  background: var(--evergreen);
}

.wordmark-symbol::before,
.wordmark-symbol::after {
  content: "";
  position: absolute;
  bottom: 0.44rem;
  width: 1.15rem;
  height: 0.85rem;
  background: var(--cream);
}

.wordmark-symbol::before {
  left: 0.24rem;
  clip-path: polygon(0 100%, 45% 35%, 100% 100%);
}

.wordmark-symbol::after {
  right: 0.12rem;
  clip-path: polygon(0 100%, 58% 22%, 100% 72%, 100% 100%);
}

.wordmark-symbol span {
  position: absolute;
  z-index: 2;
  width: 0.22rem;
  height: 2.8rem;
  top: -0.35rem;
  left: 1.02rem;
  background: var(--evergreen);
  transform: rotate(34deg);
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-header nav a,
footer nav a,
.text-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-underline-offset: 0.25rem;
  text-decoration-thickness: 1px;
}

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

.site-header nav a:hover,
footer nav a:hover,
.text-link:hover {
  color: var(--evergreen-deep);
}

main > section,
.legal-layout {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--max-width));
  margin-inline: auto;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--evergreen);
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.7rem;
  font-size: clamp(3.3rem, 7.6vw, 7rem);
  font-weight: 820;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.hero-intro {
  max-width: 37rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--evergreen-deep);
}

.button-light {
  border-color: rgb(255 255 255 / 40%);
  background: var(--cream);
  color: var(--evergreen-deep);
}

.hero-mark {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border-radius: clamp(2rem, 5vw, 4.5rem);
  background: var(--evergreen);
}

.hero-frame {
  position: absolute;
  inset: 20%;
  background: var(--cream);
}

.hero-frame-left {
  clip-path: polygon(0 0, 92% 0, 51% 64%, 37% 47%, 0 100%);
}

.hero-frame-right {
  clip-path: polygon(100% 0, 53% 74%, 71% 48%, 100% 79%);
}

.hero-mark::after {
  content: "";
  position: absolute;
  width: 7%;
  height: 130%;
  top: -15%;
  left: 53%;
  background: var(--evergreen);
  transform: rotate(34deg);
}

.hero-sun {
  position: absolute;
  z-index: 2;
  width: 13%;
  aspect-ratio: 1;
  top: 30%;
  left: 30%;
  border-radius: 50%;
  background: var(--gold);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: var(--radius-large);
  background: var(--evergreen-deep);
  color: var(--white);
}

.product .eyebrow {
  color: #9fe0c7;
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.product-heading h2 {
  margin-bottom: 0;
}

.product-heading .eyebrow {
  margin-bottom: 0.4rem;
}

.app-icon {
  width: clamp(4.5rem, 8vw, 6rem);
  border-radius: 22%;
}

.product-promise {
  max-width: 16ch;
  margin: 0 0 1rem;
  color: var(--cream);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.product-copy > p:not(.eyebrow, .product-promise) {
  max-width: 39rem;
  color: #d9e7e1;
  font-size: 1.08rem;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 650;
}

.product-visual {
  margin: 0;
}

.phone-shell {
  width: min(100%, 350px);
  aspect-ratio: 0.49;
  margin-inline: auto;
  overflow: hidden;
  border: 8px solid #071e17;
  border-radius: 3.25rem;
  background: #f4f4f8;
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-visual figcaption {
  max-width: 23rem;
  margin: 1.25rem auto 0;
  color: #a9c1b8;
  font-size: 0.85rem;
  text-align: center;
}

.process {
  padding-block: clamp(7rem, 14vw, 12rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 2rem;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.step-number {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--evergreen-soft);
  color: var(--evergreen-deep);
  font-size: 0.82rem;
  font-weight: 780;
}

.process-list p,
.approach-notes p {
  margin: 0;
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
}

.approach-statement h2 {
  max-width: 10ch;
}

.approach-notes {
  display: grid;
}

.approach-notes article {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.approach-notes article:first-child {
  padding-top: 0;
}

.approach-notes article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact {
  display: grid;
  justify-items: center;
  padding-block: clamp(8rem, 15vw, 13rem);
  text-align: center;
}

.contact h2 {
  max-width: 14ch;
}

.contact > p:not(.eyebrow) {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.legal-layout aside {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-layout aside p {
  margin: 0 0 0.45rem;
}

.legal-copy {
  max-width: 49rem;
}

.legal-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-copy h2 {
  margin: 3.5rem 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-copy a:not(.button) {
  color: var(--evergreen-deep);
  font-weight: 650;
  text-underline-offset: 0.2rem;
}

.legal-lead {
  margin-bottom: 3.5rem;
  color: var(--ink) !important;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem) !important;
  line-height: 1.5;
}

.legal-copy .button {
  margin-top: 1.5rem;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 5rem;
  }

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-block: 5rem 6rem;
  }

  .hero-mark {
    width: min(82vw, 390px);
    justify-self: start;
  }

  .product,
  .approach,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .product {
    padding: 2rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .process-list li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legal-layout {
    gap: 2rem;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: 0.9rem;
  }

  .site-header nav,
  footer nav {
    gap: 1rem;
  }

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

  .product-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-shell {
    max-width: 280px;
    border-width: 6px;
    border-radius: 2.6rem;
  }

  .process-list li {
    padding: 1.5rem 0.25rem;
  }

  .approach {
    padding: 2rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 2rem;
  }
}

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

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