:root {
  color-scheme: light;
  --ink: #22313b;
  --muted: #64727a;
  --line: #e3e9ec;
  --accent: #007f98;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.intro {
  padding: 32px 20px 44px;
  text-align: center;
}

.intro h1 {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.28;
}

h1 span {
  color: var(--muted);
}

.walkthrough {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  scroll-margin-top: 120px;
}

.tour-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.tour-heading .tour-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tour-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  text-align: left;
}

.tour-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
}

.tour-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px -30px rgba(27, 70, 81, 0.25);
}

.feature-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f5f8f9;
  scrollbar-width: thin;
  scrollbar-color: #a1bfc5 transparent;
}

.feature-tab {
  flex: 1 0 auto;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #53636c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.feature-tab > span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}

.feature-tab:hover {
  border-color: transparent;
  background: #e6eff1;
  color: #185262;
}

.feature-tab[aria-selected="true"] {
  background: #006f83;
  border-color: #006f83;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 111, 131, 0.16);
}

.feature-tab:focus-visible {
  outline-offset: 2px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 2fr);
  align-items: center;
  min-width: 0;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel:focus-visible {
  outline-offset: -4px;
  border-radius: 0 0 16px 16px;
}

.feature-copy {
  padding: 32px clamp(24px, 2.6vw, 38px);
}

.feature-index {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.feature-index span {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 400;
}

.feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.feature-benefit {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 24px;
  color: #006f83;
  font-size: 13px;
  font-weight: 600;
}

.feature-cta:hover,
.feature-caption a:hover {
  text-decoration: underline;
}

.feature-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  padding: clamp(16px, 2vw, 28px);
  border-left: 1px solid #edf1f2;
  background: linear-gradient(135deg, #eef6f8, #f3f8f5);
}

.feature-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #d6e2e6;
  border-radius: 12px;
  background: #101b22;
  object-fit: contain;
  box-shadow: 0 10px 24px -12px rgba(27, 70, 81, 0.3);
}

.feature-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  margin-top: 8px;
  color: #596e76;
  font-size: 11px;
}

.feature-caption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #006f83;
  font-weight: 600;
}

.waitlist {
  width: min(500px, calc(100% - 40px));
  margin: 76px auto 80px;
  scroll-margin-top: 120px;
}

h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
  text-align: center;
}

.waitlist-intro {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid #cfd8dd;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input::placeholder {
  color: #718087;
  font-size: 14px;
  opacity: 1;
}

input:focus-visible {
  border-color: var(--accent);
  outline-width: 2px;
  outline-offset: 2px;
}

.honeypot {
  display: none;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  border-color: var(--accent);
  background: var(--accent);
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.privacy-note {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.form-status {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

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

.form-status.is-success {
  color: #08745b;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  display: block;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-bottom small {
  font-size: inherit;
}

@media (max-width: 720px) {
  .walkthrough {
    width: calc(100% - 32px);
    scroll-margin-top: 24px;
  }

  .tour-heading {
    display: block;
    padding-inline: 4px;
  }

  .tour-heading > p {
    margin-top: 10px;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-copy {
    padding: 24px;
  }

  .feature-index {
    margin-bottom: 16px;
  }

  .feature-cta {
    margin-top: 12px;
  }

  .feature-media {
    border-top: 1px solid #edf1f2;
    border-left: 0;
  }

  .waitlist {
    scroll-margin-top: 24px;
  }
}

@media (max-width: 540px) {
  .intro {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .waitlist {
    margin-top: 52px;
    margin-bottom: 56px;
  }

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

  .site-footer nav {
    gap: 4px 20px;
  }

  .site-header .nav {
    gap: 18px;
    font-size: 13px;
  }
}

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