:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f6f1e4;
  font-synthesis: none;
  --ink: #111827;
  --body: #374151;
  --muted: #64748b;
  --action: #ffd54a;
  --canvas: #f6f1e4;
  --surface: #ffffff;
  --focus: #1d4ed8;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header,
main,
footer {
  width: min(100% - 144px, 1296px);
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 750;
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-links a,
.footer-links button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--body);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

button:active,
a:active {
  opacity: 0.76;
}

.text-button {
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  position: relative;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 60px 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow.mint {
  color: #a7f3d0;
}

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

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(52px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-support {
  max-width: 610px;
  margin: 28px 0 32px;
  color: var(--body);
  font-size: 22px;
  line-height: 1.5;
}

.primary-action {
  min-width: 250px;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--action);
  color: var(--ink);
  box-shadow: 0 8px 20px rgb(120 84 0 / 12%);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgb(120 84 0 / 18%);
}

.primary-action:disabled {
  background: #d1d5db;
  color: #6b7280;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.product-proof {
  height: 650px;
  min-width: 500px;
  position: relative;
  align-self: end;
}

.product-proof::before {
  content: "";
  position: absolute;
  inset: 64px -48px 30px 40px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 28%, rgb(255 213 74 / 18%), transparent 42%),
    radial-gradient(circle at 30% 70%, rgb(167 243 208 / 16%), transparent 48%);
  filter: blur(24px);
  opacity: 0.8;
  pointer-events: none;
  transform: translateY(var(--hero-glow-shift, 0));
}

.hero.is-motion-ready .product-proof::before,
.hero.is-motion-ready .vibe-shot,
.hero.is-motion-ready .workout-shot {
  will-change: transform;
}

.hero.is-motion-ready .vibe-shot {
  transform: translateY(var(--hero-vibe-shift, 0));
}

.hero.is-motion-ready .workout-shot {
  transform: translateY(var(--hero-workout-shift, 0));
}

.app-shot,
.progress-proof img {
  height: auto;
  display: block;
  border-radius: 40px;
  box-shadow: 0 30px 70px rgb(15 23 42 / 20%);
}

.vibe-shot {
  width: 338px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.workout-shot {
  width: 250px;
  position: absolute;
  right: 250px;
  bottom: -6px;
  z-index: 2;
  border-radius: 34px;
}

.mobile-primary-action {
  display: none;
}

.terminal-action {
  display: block;
  margin-top: 40px;
  text-align: center;
}

.proof-grid {
  max-width: 684px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -4px;
  position: relative;
  z-index: 2;
}

.proof-grid article {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 22px;
}

.proof-grid.is-motion-ready article {
  opacity: 0;
  transform: translateY(14px);
}

.proof-grid.is-motion-ready.is-revealed article {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-grid.is-motion-ready article:nth-child(2) {
  transition-delay: 70ms;
}

.proof-grid.is-motion-ready article:nth-child(3) {
  transition-delay: 140ms;
}

.proof-grid article:nth-child(1) {
  background: #fff1b8;
}

.proof-grid article:nth-child(2) {
  background: #ddf6e8;
}

.proof-grid article:nth-child(3) {
  background: #e4eaff;
}

.proof-grid strong {
  margin: 0 0 8px;
  display: block;
  font-size: 18px;
  line-height: 1.08;
  text-transform: uppercase;
}

.proof-grid span {
  color: var(--body);
  font-size: 17px;
}

.progress-proof {
  height: 400px;
  min-height: 400px;
  margin-top: 96px;
  padding: 32px clamp(32px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  border-radius: 36px;
  background: #111827;
  color: white;
  position: relative;
  z-index: 2;
}

.progress-proof .eyebrow {
  color: #a7f3d0;
}

.progress-proof.is-motion-ready {
  transform: translateY(var(--progress-section-shift, 32px)) scale(var(--progress-section-scale, 0.98));
  transform-origin: center center;
  will-change: transform;
}

.desktop-progress-shot {
  width: 280px;
  position: absolute;
  top: 32px;
  right: clamp(32px, 7vw, 96px);
  border-radius: 34px;
  transform: translateY(-160px);
}

.progress-proof.is-motion-ready .desktop-progress-shot {
  opacity: var(--progress-opacity, 0.58);
  transform: translateY(var(--progress-shift, -160px)) scale(var(--progress-scale, 0.985));
  transform-origin: center center;
  will-change: transform, opacity;
}

.progress-proof.is-motion-ready .progress-copy {
  transform: translateY(var(--progress-copy-shift, 18px));
  will-change: transform;
}

.progress-proof.is-motion-ready .progress-slide img {
  transform: translateY(var(--mobile-progress-shift, 20px));
  will-change: transform;
}

.mobile-progress-carousel {
  display: none;
}

.progress-carousel {
  width: 280px;
  min-width: 0;
  height: 456px;
  position: relative;
  overflow: visible;
  align-self: end;
}

.progress-track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.progress-track::-webkit-scrollbar {
  display: none;
}

.progress-track:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: -3px;
}

.progress-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  scroll-snap-align: center;
}

.progress-slide img {
  width: 280px;
  align-self: flex-start;
  border-radius: 34px;
}

.carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(17 24 39 / 72%);
  backdrop-filter: blur(8px);
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.carousel-controls button::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  content: "";
  transition: width 160ms ease, background 160ms ease;
}

.carousel-controls button[aria-current="true"]::before {
  width: 24px;
  background: var(--action);
}

footer {
  padding-block: 48px 56px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  color: #4b5563;
  font-size: 14px;
}

footer p {
  margin: 13px 0 0;
}

.floating-action {
  min-width: 0;
  min-height: 48px;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8;
  padding: 12px 22px;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.94);
  transition:
    opacity 220ms ease-in,
    transform 220ms ease-in,
    visibility 0s linear 220ms;
  will-change: transform, opacity;
}

.floating-action.has-shown:not(.is-visible) {
  transform: translateY(12px) scale(1);
}

.floating-action.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.floating-action.is-visible:hover {
  transform: translateY(-2px) scale(1);
}

.waitlist-dialog {
  width: min(720px, calc(100% - 40px));
  max-height: min(760px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(17 24 39 / 14%);
  border-radius: 28px;
  background: white;
  box-shadow: 0 30px 90px rgb(15 23 42 / 32%);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 220ms ease-in,
    transform 220ms ease-in,
    display 220ms,
    overlay 220ms;
  transition-behavior: allow-discrete;
}

.waitlist-dialog[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    display 320ms,
    overlay 320ms;
}

.waitlist-dialog::backdrop {
  background: rgb(17 24 39 / 62%);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition:
    opacity 200ms ease-in,
    display 220ms,
    overlay 220ms;
  transition-behavior: allow-discrete;
}

.waitlist-dialog[open]::backdrop {
  opacity: 1;
  transition-duration: 260ms;
  transition-timing-function: ease-out;
}

@starting-style {
  .waitlist-dialog[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  .waitlist-dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog-header {
  flex: 0 0 auto;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-radius: 27px 27px 0 0;
  background: var(--ink);
  color: white;
}

.dialog-header .eyebrow {
  margin-bottom: 8px;
  color: var(--action);
}

.dialog-header h2 {
  margin: 0;
  color: white;
}

.dialog-header h2:focus {
  outline: none;
}

.dialog-body {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: none;
  scrollbar-width: none;
  background: white;
}

.dialog-body::-webkit-scrollbar {
  display: none;
}

.dialog-body > p {
  margin: 24px 28px 18px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.5;
}

.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: white;
  font-size: 0;
  cursor: pointer;
}

.icon-button::before,
.icon-button::after {
  content: "";
  width: 16px;
  height: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: currentcolor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.icon-button:hover {
  background: rgb(255 255 255 / 20%);
}

.dialog-header .icon-button:focus-visible {
  outline-color: var(--action);
}

.dialog-body form {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-body form > * {
  flex-shrink: 0;
}

.field-label,
legend {
  color: var(--ink);
  font-weight: 700;
}

input[type="email"],
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 0 rgb(17 24 39 / 4%);
}

input[aria-invalid="true"] {
  border-color: #b91c1c;
}

.choice-row,
.struggle-options label {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body);
  line-height: 1.45;
}

input[type="checkbox"],
input[type="radio"] {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 1px;
  accent-color: var(--ink);
}

.waitlist-dialog .choice-row {
  padding: 14px 16px;
  border: 1px solid rgb(17 24 39 / 10%);
  border-radius: 16px;
  background: white;
  cursor: pointer;
}

.waitlist-dialog .choice-row > span {
  min-width: 0;
}

.waitlist-dialog .choice-row + .choice-row {
  background: #e4eaff;
}

.research-fields {
  margin: 2px 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  border: 1px solid #c7d2fe;
  border-radius: 18px;
  background: #e4eaff;
}

.research-fields[hidden] {
  display: none;
}

.research-fields > legend {
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  float: left;
  grid-column: 1 / -1;
}

.struggle-options {
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.struggle-title {
  margin: 0 0 6px;
  line-height: 1.3;
}

.struggle-options label {
  padding-block: 6px;
  align-items: center;
  line-height: 1.3;
}

.submit-action {
  margin-top: 6px;
  justify-self: end;
}

.form-error {
  margin: 0 28px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fee2e2;
  color: #7f1d1d;
}

output {
  min-height: 24px;
  color: var(--focus);
  font-weight: 700;
}

.trap-field {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
}

.analytics-panel {
  max-width: 430px;
  max-height: calc(100dvh - 48px);
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9;
  padding: 20px;
  overflow-y: auto;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgb(15 23 42 / 24%);
}

.analytics-panel p {
  margin-top: 0;
  color: var(--body);
  line-height: 1.45;
}

.analytics-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.analytics-actions button {
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.legal-page main {
  max-width: 760px;
  min-height: 65vh;
  margin-inline: auto;
  padding-block: 80px;
}

.legal-page h1 {
  margin-bottom: 12px;
}

.legal-page .effective-date {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2;
}

.legal-page main p:not(.eyebrow, .effective-date),
.legal-page li {
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page address {
  color: var(--body);
  font-size: 18px;
  font-style: normal;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .site-header,
  main,
  footer {
    width: min(100% - 64px, 900px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
  }

  .product-proof {
    min-width: 380px;
  }

  .vibe-shot {
    width: 290px;
  }

  .workout-shot {
    width: 220px;
    right: 180px;
  }
}

@media (min-width: 761px) {
  html {
    scrollbar-gutter: stable;
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  main,
  footer {
    width: calc(100% - 48px);
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    min-height: 0;
    display: block;
    padding-top: 42px;
    order: 1;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-support {
    max-width: 330px;
    margin-block: 18px 0;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-copy > .primary-action {
    margin-top: 24px;
  }

  body[data-launch-mode="prelaunch"] .hero-copy > .primary-action {
    display: none;
  }

  .product-proof {
    display: none;
  }

  .mobile-primary-action {
    margin-top: 32px;
    display: block;
    order: 2;
  }

  .mobile-primary-button {
    width: 100%;
    min-width: 0;
  }

  .terminal-action {
    margin-top: 32px;
    display: block;
    order: 5;
  }

  .terminal-action-button {
    width: 100%;
    min-width: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
    order: 4;
  }

  .proof-grid article {
    min-height: 116px;
  }

  .progress-proof {
    height: auto;
    min-height: 620px;
    margin-top: 32px;
    padding: 36px 24px 0;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
    align-items: start;
    order: 3;
  }

  .mobile-progress-carousel {
    display: block;
    width: calc(100% + 48px);
    height: 420px;
    margin-inline: -24px;
  }

  .progress-proof .desktop-progress-shot {
    display: none;
  }

  .progress-slide img {
    width: min(72vw, 280px);
  }

  footer {
    padding-block: 36px;
    display: block;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0 16px;
  }

  .footer-links a,
  .footer-links button {
    justify-content: flex-start;
  }

  footer p {
    margin-top: 16px;
  }

  .waitlist-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 58px);
    margin: auto 0 0;
    padding: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(32px) scale(0.99);
  }

  .waitlist-dialog[open] {
    transform: none;
    transition-duration: 300ms, 360ms, 360ms, 360ms;
  }

  .dialog-header {
    padding: 24px;
  }

  .dialog-body > p {
    margin: 20px 24px 16px;
  }

  .dialog-body form {
    padding: 0 24px max(24px, env(safe-area-inset-bottom));
  }

  .form-error {
    margin: 0 24px 14px;
  }

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

  .submit-action {
    width: 100%;
    min-width: 0;
  }

  .floating-action {
    right: 16px;
    bottom: 16px;
  }

  .has-analytics-choice .floating-action {
    top: 16px;
    bottom: auto;
  }

  .analytics-panel {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 16px;
  }

  .legal-page main {
    padding-block: 48px;
  }

  @starting-style {
    .waitlist-dialog[open] {
      transform: translateY(32px) scale(0.99);
    }
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .waitlist-dialog {
    max-height: calc(100dvh - 16px);
  }

  .dialog-header {
    padding: 14px 20px;
    align-items: center;
  }

  .dialog-header .eyebrow {
    margin-bottom: 2px;
  }

  .dialog-header h2 {
    font-size: clamp(28px, 4vw, 32px);
    line-height: 1.05;
  }

  .dialog-body > p {
    margin: 16px 20px 12px;
  }

  .dialog-body form {
    padding: 0 20px max(20px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .app-shot {
    transform: none !important;
  }

  .product-proof::before,
  .progress-proof,
  .progress-copy,
  .progress-proof img,
  .proof-grid article {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
  }

  .progress-proof .desktop-progress-shot {
    opacity: 1 !important;
    transform: translateY(-160px) !important;
  }

  .floating-action {
    transform: none !important;
    transition-delay: 0s !important;
  }

  .waitlist-dialog,
  .waitlist-dialog[open] {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
  }

  .waitlist-dialog,
  .waitlist-dialog::backdrop {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
