:root {
  --teal-bg: #a7dcd6;
  --teal-bg-2: #d7f0ec;
  --cream: #f6f1dd;
  --paper: #fff8e8;
  --section-cream: rgba(255, 248, 232, 0.96);
  --form-cream: rgba(246, 240, 221, 0.72);
  --ink: #17232a;
  --muted: #65706c;
  --dark: #1f2423;
  --dark-2: #101715;
  --green: #1bae8d;
  --green-deep: #128872;
  --mint: #8ce0bb;
  --coral: #ef6a5b;
  --red: #c9473e;
  --amber: #f4b74a;
  --blue: #4b77d6;
  --line: #dad8c6;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: linear-gradient(145deg, var(--teal-bg-2) 0%, var(--teal-bg) 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(23, 35, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 42, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.86;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  box-shadow: inset 0 0 160px rgba(255, 255, 255, 0.46);
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.page {
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 18px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 24px;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  box-shadow: 0 16px 36px rgba(23, 35, 42, 0.16);
}

.brand-name {
  transform: translateY(-1px);
}

.hero {
  max-width: 1160px;
  margin: 96px auto 58px;
  text-align: center;
}

.works-with {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 7px 9px 7px 14px;
  border: 1px solid rgba(23, 35, 42, 0.1);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 248, 232, 0.76);
  box-shadow: 0 14px 34px rgba(23, 35, 42, 0.1);
}

.works-with-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.assistant-logos {
  display: flex;
  align-items: center;
  gap: 7px;
}

.assistant-logos img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.94;
  font-weight: 950;
  text-align: center;
}

.subhead {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 750;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(318px, 0.66fr);
  gap: 16px;
  align-items: stretch;
  padding: 8px;
  border: 8px solid var(--section-cream);
  border-radius: 16px;
  background: var(--section-cream);
  box-shadow: 0 26px 70px rgba(23, 35, 42, 0.18);
}

.video-shell {
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.video-shell {
  position: relative;
  overflow: hidden;
}

.explainer {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--dark);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(16, 23, 21, 0.02) 0%,
    rgba(16, 23, 21, 0.18) 100%
  );
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.video-play-overlay[hidden] {
  display: none;
}

.video-play-control {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 232, 0.94);
  box-shadow:
    0 24px 58px rgba(16, 23, 21, 0.28),
    0 0 0 1px rgba(23, 35, 42, 0.12);
  transform: translateZ(0);
  transition: transform 180ms ease, background-color 180ms ease;
}

.video-play-overlay:hover .video-play-control {
  background: rgba(255, 248, 232, 0.99);
  transform: scale(1.045);
}

.video-play-overlay:focus-visible {
  outline: none;
}

.video-play-overlay:focus-visible .video-play-control {
  outline: 4px solid rgba(27, 174, 141, 0.32);
  outline-offset: 6px;
}

.video-play-icon {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--green);
  filter: drop-shadow(0 3px 8px rgba(18, 136, 114, 0.22));
}

.problem-section {
  margin-top: 78px;
  padding-top: 74px;
  border-top: 1px solid rgba(23, 35, 42, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px 48px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

h2,
h3,
p {
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.02;
  font-weight: 950;
}

.problem-copy {
  max-width: 430px;
}

.problem-text {
  max-width: 500px;
  display: grid;
  gap: 18px;
}

.problem-text p,
.signup-copy p,
.method-item p,
.reassurance-item p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 750;
}

.client-map {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-height: 360px;
  padding: 26px;
  border: 2px solid rgba(218, 216, 198, 0.9);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: rgba(255, 248, 232, 0.84);
  box-shadow: 0 22px 56px rgba(23, 35, 42, 0.12);
}

.client-map::before {
  content: "";
  position: absolute;
  right: 152px;
  top: 90px;
  bottom: 72px;
  width: 2px;
  background: rgba(23, 35, 42, 0.14);
}

.client-map::after {
  content: "";
  position: absolute;
  right: 108px;
  top: 50%;
  width: 46px;
  height: 2px;
  background: rgba(23, 35, 42, 0.18);
}

.client-map-label {
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.client-records {
  display: grid;
  gap: 12px;
  padding-top: 38px;
}

.client-records span,
.client-hub {
  border: 2px solid rgba(23, 35, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(23, 35, 42, 0.08);
}

.client-records span {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.client-hub {
  position: relative;
  z-index: 1;
  width: 116px;
  min-height: 116px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--mint);
  font-size: 25px;
  box-shadow: 0 18px 42px rgba(23, 35, 42, 0.18);
}

.method-section {
  margin-top: 84px;
}

.method-section > h2 {
  max-width: 720px;
}

.method-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.method-item,
.reassurance-item {
  border: 1px solid rgba(23, 35, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.72);
  box-shadow: 0 18px 44px rgba(23, 35, 42, 0.08);
}

.method-item {
  min-height: 178px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 26px;
}

.method-number {
  color: var(--coral);
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

.method-item p {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 900;
}

.reassurance-section {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reassurance-item {
  padding: 22px;
}

.reassurance-item h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 950;
}

.signup-section {
  margin-top: 78px;
  padding: 34px;
  border: 8px solid var(--section-cream);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  background: var(--section-cream);
  box-shadow: 0 26px 70px rgba(23, 35, 42, 0.16);
}

.signup-copy {
  max-width: 1040px;
  padding: 0;
}

.signup-copy h2 {
  font-size: 52px;
}

.signup-copy p:last-child {
  margin-top: 12px;
}

.content .form-shell {
  min-height: 100%;
  padding: 24px;
  border-radius: 12px;
  display: grid;
  align-content: center;
  background: var(--form-cream);
}

.content .waitlist-form {
  --form-emphasis-space: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: stretch;
}

.form-title {
  margin: 0 0 var(--form-emphasis-space);
  font-size: 27px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.name-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.content .submit-button {
  width: 100%;
  min-width: 0;
  margin-top: var(--form-emphasis-space);
}

.signup-section .form-shell {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  display: grid;
  background: transparent;
}

.signup-section .waitlist-form {
  display: grid;
  grid-template-columns: minmax(132px, 0.82fr) minmax(132px, 0.82fr) minmax(260px, 1.3fr) auto;
  gap: 14px;
  align-items: end;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  color: var(--ink);
}

input {
  width: 100%;
  height: 52px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 650;
  outline: none;
}

input:hover {
  border-color: #c6c4b0;
}

input:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 174, 141, 0.2);
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.form-message:empty {
  display: none;
}

.submit-button {
  width: auto;
  min-width: 184px;
  margin: 0;
  min-height: 54px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(27, 174, 141, 0.34);
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.submit-button:hover {
  background: var(--green-deep);
  box-shadow: 0 16px 34px rgba(18, 136, 114, 0.32);
}

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

.submit-button:focus-visible {
  outline: 3px solid rgba(23, 35, 42, 0.82);
  outline-offset: 3px;
}

.submit-button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.success-message {
  min-height: 296px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.success-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  box-shadow: 0 16px 38px rgba(23, 35, 42, 0.18);
}

.success-message h2 {
  margin: 8px 0 0;
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
}

.success-message p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
  font-weight: 750;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .page {
    width: min(760px, calc(100% - 36px));
    justify-content: flex-start;
    padding: 18px 0 54px;
  }

  .hero {
    margin: 64px auto 44px;
  }

  h1 {
    font-size: 52px;
  }

  .subhead {
    font-size: 19px;
  }

  .content,
  .problem-section {
    grid-template-columns: 1fr;
    margin-top: 62px;
    padding-top: 58px;
  }

  .content {
    margin-top: 0;
    padding-top: 8px;
  }

  .content .form-shell {
    min-height: 0;
  }

  .client-map {
    grid-column: auto;
    grid-row: auto;
  }

  .method-list,
  .reassurance-section {
    grid-template-columns: 1fr;
  }

  .method-item {
    min-height: 0;
  }

  .signup-section {
    padding: 30px;
  }

  .signup-section .waitlist-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .email-field,
  .submit-button {
    grid-column: 1 / -1;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 480px);
    padding: 14px 0 28px;
  }

  .brand {
    margin-bottom: 18px;
  }

  .hero {
    margin: 38px auto 34px;
  }

  .works-with {
    margin-bottom: 20px;
  }

  h1 {
    font-size: 36px;
  }

  .subhead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.45;
  }

  .content,
  .signup-section {
    gap: 10px;
    border-width: 8px;
    padding: 8px;
  }

  .video-shell {
    border-radius: 10px;
  }

  .content .form-shell {
    padding: 18px;
  }

  .video-play-control {
    width: 64px;
    height: 64px;
  }

  .video-play-icon {
    margin-left: 5px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  h2 {
    font-size: 32px;
  }

  .form-title {
    font-size: 24px;
  }

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

  .problem-section {
    margin-top: 48px;
    padding-top: 46px;
    gap: 24px;
  }

  .problem-text p,
  .signup-copy p,
  .method-item p,
  .reassurance-item p {
    font-size: 16px;
  }

  .client-map {
    min-height: 0;
    padding: 58px 18px 20px;
    grid-template-columns: 1fr;
  }

  .client-map::before,
  .client-map::after {
    display: none;
  }

  .client-map-label {
    left: 18px;
    top: 20px;
  }

  .client-records {
    padding-top: 0;
  }

  .client-hub {
    width: 100%;
    min-height: 74px;
  }

  .method-section,
  .signup-section {
    margin-top: 54px;
  }

  .signup-copy {
    padding: 18px 18px 6px;
  }

  .signup-section .form-shell {
    padding: 0 18px 18px;
  }

  .signup-copy h2 {
    font-size: 31px;
  }

  .signup-section .waitlist-form {
    grid-template-columns: 1fr;
  }

  .submit-button {
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 30px;
  }

  .works-with {
    gap: 8px;
    padding-left: 12px;
  }

  .works-with-label {
    font-size: 12px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit-button {
    transition: none;
  }
}
