:root {
  --page: oklch(0.985 0.006 235);
  --surface: oklch(1 0 0);
  --ink: oklch(0.22 0.025 245);
  --muted: oklch(0.43 0.032 243);
  --line: oklch(0.88 0.018 235);
  --blue: oklch(0.59 0.175 246);
  --blue-deep: oklch(0.39 0.16 248);
  --blue-soft: oklch(0.91 0.05 236);
  --yellow: oklch(0.88 0.145 92);
  --green: oklch(0.75 0.12 153);
  --focus: oklch(0.54 0.2 252);
  --radius: 0.875rem;
  --content: 76rem;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-180%);
  border-radius: 0.4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
}

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

.site-header,
main > section,
.product-preview,
footer,
.privacy-page {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 0.5rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 39rem;
  align-items: center;
  grid-template-columns: minmax(0, 4fr) minmax(15rem, 2fr);
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 54rem;
}

.kicker,
.section-intro > p {
  margin: 0 0 1.25rem;
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 750;
}

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

h1,
h2 {
  margin: 0;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  font-size: clamp(3.25rem, 7.1vw, 5.9rem);
}

.hero-workplace h1 {
  max-width: 15ch;
}

.hero-lede {
  max-width: 58ch;
  margin: 2rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  line-height: 1.48;
}

.hero-support {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.hero-actions p {
  max-width: 29ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-field {
  position: relative;
  min-height: 25rem;
  isolation: isolate;
}

.hero-field::before {
  position: absolute;
  inset: 9% -32% 4% -20%;
  border-radius: 50% 42% 48% 52%;
  background: var(--blue-soft);
  content: "";
  transform: rotate(-8deg);
}

.field-orbit,
.field-sun {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.field-orbit {
  border: 1px solid color-mix(in oklch, var(--blue) 45%, transparent);
}

.field-orbit-one {
  inset: 18% -8% 10% 6%;
  transform: rotate(18deg);
}

.field-orbit-two {
  inset: 28% 5% 23% 22%;
  border-color: color-mix(in oklch, var(--green) 70%, transparent);
  transform: rotate(-16deg);
}

.field-sun {
  top: 8%;
  right: 2%;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--yellow);
}

.product-preview {
  overflow: hidden;
  margin-top: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 8px color-mix(in oklch, var(--ink) 9%, transparent);
}

.product-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.product-preview figcaption span:first-child {
  color: var(--blue-deep);
}

.product-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.principles {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 2fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(6rem, 12vw, 10rem);
}

.section-intro h2,
.research h2,
.privacy-page h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.principle-list {
  border-top: 1px solid var(--ink);
}

.principle-list article {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.7rem;
}

.principle-list h3,
.form-heading h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.principle-list p {
  max-width: 50ch;
  margin: 0;
  color: var(--muted);
}

.research {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(22rem, 1.18fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.research-lede {
  max-width: 52ch;
  margin: 1.6rem 0 0;
  font-size: 1.15rem;
}

.founder-note {
  display: grid;
  max-width: 40rem;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.founder-note img {
  border-radius: 0.55rem;
}

.founder-note p,
.reassurance {
  margin: 0;
}

.reassurance {
  max-width: 50ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-shell {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.form-heading {
  margin-bottom: 1.25rem;
}

.form-heading p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.tally-form {
  min-height: 30rem;
}

.tally-form > p {
  margin: 0;
  color: var(--muted);
}

.tally-form iframe {
  display: block;
  width: 100%;
  min-height: 30rem;
}

.form-notice {
  display: grid;
  min-height: 18rem;
  place-content: center;
  border: 1px dashed var(--line);
  border-radius: 0.65rem;
  background: var(--page);
  padding: 2rem;
  text-align: center;
}

.form-notice p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.privacy-copy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.privacy-copy a,
.privacy-page a {
  text-underline-offset: 0.16em;
}

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

footer p {
  margin: 0 auto 0 0;
}

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

.privacy-page {
  max-width: 48rem;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.privacy-page h1 {
  margin-bottom: 2rem;
}

.privacy-page h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.privacy-page p {
  max-width: 70ch;
  margin: 0 0 1rem;
}

.privacy-updated {
  margin-top: 3rem !important;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 54rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 4rem;
  }

  .hero-field {
    position: absolute;
    top: 1rem;
    right: -7rem;
    width: 20rem;
    min-height: 20rem;
    opacity: 0.7;
  }

  .principles,
  .research {
    grid-template-columns: 1fr;
  }

  .section-intro h2 {
    max-width: 18ch;
  }
}

@media (max-width: 40rem) {
  .site-header,
  main > section,
  .product-preview,
  footer,
  .privacy-page {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .site-header {
    min-height: 4.75rem;
  }

  .site-header .button-small {
    max-width: 11rem;
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-block: 3.5rem 4.5rem;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.8rem, 13.5vw, 4rem);
    letter-spacing: -0.03em;
  }

  .hero-workplace h1 {
    max-width: 13ch;
  }

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

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

  .hero-field {
    right: -11rem;
    opacity: 0.52;
  }

  .product-preview figcaption span:last-child {
    display: none;
  }

  .product-preview img {
    aspect-ratio: 4 / 3;
    object-position: 12% top;
  }

  .principles,
  .research {
    gap: 2.5rem;
    padding-block: 5rem;
  }

  .principle-list article {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .form-shell {
    margin-inline: -0.25rem;
  }

  footer {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 2rem;
  }

  footer p {
    margin: 0;
  }
}

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

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