:root {
  color-scheme: light;
  --ink: #101820;
  --ink-soft: #263746;
  --muted: #697989;
  --paper: #f6f1e8;
  --paper-soft: #fbf8f2;
  --wash: #e7f5f8;
  --white: #ffffff;
  --blue: #45acd0;
  --blue-deep: #072033;
  --blue-dark: #0d3148;
  --copper: #b8754c;
  --mint: #8ddfd4;
  --line: rgba(16, 24, 32, 0.12);
  --shadow: 0 28px 80px rgba(16, 24, 32, 0.16);
  --shell: min(100% - 40px, 1180px);
  --wide: min(100% - 40px, 1380px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.045) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(180deg, #fbf8f2 0%, #eef7f8 52%, #fbf8f2 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 12%, rgba(69, 172, 208, 0.22), transparent 26%),
    radial-gradient(circle at 8% 34%, rgba(184, 117, 76, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
small,
strong,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  width: var(--wide);
  min-height: 66px;
  margin: 12px auto 0;
  padding: 10px 12px;
  background: rgba(251, 248, 242, 0.78);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 6px;
  object-fit: contain;
  background: #07131e;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(7, 19, 30, 0.18);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #52677a;
  font-size: 14px;
  font-weight: 800;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-action,
.button.primary,
button {
  color: var(--white);
  background: var(--blue-deep);
  box-shadow: 0 14px 28px rgba(7, 32, 51, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(16, 24, 32, 0.1);
}

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

.button svg,
button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(69, 172, 208, 0.42);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  width: var(--wide);
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 92px) 0 clamp(58px, 8vw, 108px);
}

.hero-copy {
  order: 1;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 15px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-top: 24px;
  color: #586d80;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 14px;
  color: #687a89;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.04);
  backdrop-filter: blur(12px);
}

.trust-row strong {
  color: var(--ink);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  order: 2;
  min-height: clamp(500px, 54vw, 690px);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 160ms ease;
}

.visual-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx, 52%) var(--my, 36%), rgba(69, 172, 208, 0.32), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(231, 245, 248, 0.9));
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(69, 172, 208, 0.16);
  border-radius: 999px;
}

.visual-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(16, 24, 32, 0.18), transparent 67%);
  filter: blur(10px);
}

.visual-card img {
  position: relative;
  z-index: 2;
  width: min(96%, 760px);
  height: auto;
  filter: drop-shadow(0 34px 42px rgba(16, 24, 32, 0.2));
  animation: product-float 5.8s ease-in-out infinite;
}

.liquid-orbit {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(72%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(69, 172, 208, 0.24);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-18deg);
  animation: orbit 15s linear infinite;
}

.liquid-orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 48%;
  width: 10px;
  height: 10px;
  background: var(--copper);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(184, 117, 76, 0.12);
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 176px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(14px);
}

.floating-note span {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.floating-note strong {
  font-size: 15px;
}

.note-top {
  top: 17%;
  left: 4%;
}

.note-bottom {
  right: 5%;
  bottom: 17%;
}

.section,
.routine,
.proof-band,
.waitlist {
  padding: clamp(76px, 9vw, 128px) max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: end;
  margin-bottom: 34px;
}

.split-heading p,
.routine-copy p,
.waitlist-copy p,
.faq p {
  color: #617484;
  font-size: 18px;
  line-height: 1.64;
}

.formula {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(circle at 86% 12%, rgba(69, 172, 208, 0.26), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(184, 117, 76, 0.16), transparent 26%),
    #07131e;
}

.formula .section-kicker,
.waitlist .eyebrow {
  color: #9de2ef;
}

.formula .split-heading p,
.waitlist-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.proof-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

.feature-card {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 310px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.feature-card::before,
.proof-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 32%), rgba(69, 172, 208, 0.26), transparent 31%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover,
.proof-item:hover {
  transform: translateY(-5px);
}

.feature-card:hover::before,
.proof-item:hover::before {
  opacity: 1;
}

.feature-card > *,
.proof-item > * {
  position: relative;
}

.feature-card span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: #9de2ef;
  font-weight: 950;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.routine {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.86fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: start;
  background: linear-gradient(135deg, rgba(231, 245, 248, 0.96), rgba(251, 248, 242, 0.92));
}

.routine-copy {
  position: sticky;
  top: 110px;
}

.routine-copy h2 {
  margin-bottom: 18px;
}

.routine-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.routine-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.06);
}

.routine-steps span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 8px;
  font-weight: 950;
}

.routine-steps strong {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
}

.routine-steps small {
  color: #627585;
  font-size: 15px;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--paper-soft);
}

.proof-item {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 240px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.07);
}

.proof-item span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-item strong {
  font-size: 28px;
  line-height: 1;
}

.proof-item p {
  color: #637687;
  line-height: 1.55;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.64fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(circle at 78% 50%, rgba(69, 172, 208, 0.32), transparent 28%),
    #07131e;
}

.waitlist h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.signup-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

label {
  font-weight: 950;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  min-width: 0;
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 850;
}

.form-status.success {
  color: #9de2ef;
}

.form-status.error {
  color: #ffd0c0;
}

.signup-card small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.faq {
  background: var(--paper);
}

.faq .split-heading {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.faq-list {
  display: grid;
  max-width: 900px;
}

details {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 950;
}

details p {
  margin-top: 14px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2 + 20px));
  color: rgba(255, 255, 255, 0.68);
  background: #050607;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: var(--white);
}

.footer p {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: reveal-up 680ms ease both;
  animation-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal-up {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes product-float {
  0%,
  100% {
    transform: translateY(0) scale(1.02);
  }

  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotateX(68deg) rotateZ(342deg);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .routine,
  .waitlist,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .feature-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .proof-item {
    min-height: 220px;
  }

  .routine-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1180px);
    --wide: min(100% - 28px, 1380px);
  }

  body {
    background-size: 68px 68px, auto;
  }

  .site-header {
    top: 8px;
    width: min(100% - 18px, 1380px);
    margin-top: 8px;
    gap: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-action {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 13px;
  }

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

  h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .lede,
  .split-heading p,
  .routine-copy p,
  .waitlist-copy p,
  .faq p {
    font-size: 16px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 1;
    min-height: 380px;
  }

  .hero-copy {
    order: 2;
  }

  .visual-card img {
    width: 108%;
    max-width: none;
  }

  .floating-note {
    min-width: 138px;
    padding: 11px;
  }

  .floating-note strong {
    font-size: 13px;
  }

  .note-top {
    top: 8%;
    left: 3%;
  }

  .note-bottom {
    right: 3%;
    bottom: 8%;
  }

  .section,
  .routine,
  .proof-band,
  .waitlist {
    padding: 70px 16px;
  }

  .routine-steps li {
    min-height: 112px;
    padding: 18px;
  }

  .routine-steps strong {
    font-size: 21px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer p {
    text-align: left;
  }
}
