@import url("./tokens.css");

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 0, 122, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--blonde), var(--cream-soft) 46%, #fff);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(230, 0, 122, 0.18);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 249, 238, 0.88);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(255, 249, 238, 0.36), transparent 42%),
    linear-gradient(135deg, var(--pink), var(--berry-shadow) 54%, var(--cocoa));
  color: var(--text-inverse);
  box-shadow: var(--shadow-pink);
  font-weight: 900;
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rose);
}

.brand__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  color: var(--text-strong);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand__sub {
  color: var(--text-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav__link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav__link:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text-strong);
}

.nav__link:focus-visible,
.btn:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: none;
  border-color: var(--focus-line);
  box-shadow: 0 0 0 4px var(--focus);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(117, 43, 72, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink-ink));
  color: var(--text-inverse);
  cursor: pointer;
  font-weight: 850;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-pink);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(230, 0, 122, 0.24);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.btn--sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(72px, 9vw, 124px) 0 clamp(58px, 7vw, 96px);
  background:
    radial-gradient(circle at 85% 18%, rgba(230, 0, 122, 0.18), transparent 26rem),
    radial-gradient(circle at 68% 88%, rgba(117, 43, 72, 0.14), transparent 24rem),
    linear-gradient(135deg, #fffaf0, #fff4d6 62%, rgba(243, 191, 208, 0.72));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero__streak {
  position: absolute;
  right: -12vw;
  top: 52px;
  width: min(58vw, 680px);
  height: 188px;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 249, 238, 0.1), rgba(230, 0, 122, 0.62), rgba(81, 44, 63, 0.72));
  filter: blur(2px);
  opacity: 0.78;
  transform: rotate(-10deg);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.hero__copy {
  max-width: 720px;
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--pink-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kicker__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(230, 0, 122, 0.13);
}

h1,
h2,
h3 {
  color: var(--text-strong);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p,
li,
summary {
  overflow-wrap: break-word;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 7.4vw, 94px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.disclosure,
.note {
  color: var(--text-soft);
  font-size: 13px;
}

.disclosure {
  max-width: 640px;
  margin: 22px 0 0;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 380px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 214, 0.8)),
    var(--surface);
  box-shadow: var(--shadow-plum);
  padding: 24px;
}

.phone-topline,
.working-set__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.phone-topline strong,
.working-set__header strong {
  color: var(--pink-ink);
}

.today-stack {
  display: grid;
  gap: 12px;
}

.today-item,
.feature-card,
.boundary-list article,
.steps li,
.legal-panel,
.mini-panel,
.thanks-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.today-item {
  display: grid;
  gap: 7px;
  border-radius: 22px;
  padding: 16px;
}

.today-item--active {
  border-color: var(--line-pink);
  background: rgba(255, 244, 250, 0.86);
}

.today-item strong {
  color: var(--text-strong);
  line-height: 1.2;
}

.today-item span:last-child {
  color: var(--text-muted);
  font-size: 13px;
}

.chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.chip--pink {
  background: rgba(230, 0, 122, 0.12);
  color: var(--pink-ink);
}

.chip--mauve {
  background: rgba(155, 127, 151, 0.18);
  color: var(--plum-root);
}

.chip--sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.chip--cream {
  background: var(--cream);
  color: var(--cocoa);
}

.phone-action {
  margin-top: 16px;
  border-radius: 999px;
  background: var(--panel-cocoa);
  color: var(--cream);
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.section {
  padding: var(--section-y) 0;
}

.section__head {
  max-width: 820px;
  margin: 0 0 34px;
}

.section__head p,
.recognition__copy p,
.waitlist-band__copy p,
.legal-hero .lead {
  color: var(--text-muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.section__head--narrow {
  max-width: 570px;
}

.recognition {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 244, 214, 0.42));
}

.recognition__grid,
.split-layout,
.boundaries__grid,
.waitlist-band__inner,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.recognition__copy {
  display: grid;
  gap: 16px;
}

.recognition__copy p {
  margin: 0;
}

.daily-flow,
.section--cream {
  background: rgba(255, 244, 214, 0.5);
}

.split-layout--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.working-set {
  border: 1px solid var(--line-plum);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 0, rgba(230, 0, 122, 0.11), transparent 16rem),
    var(--panel-solid);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}

.work-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.78);
  padding: 16px;
}

.work-list__time {
  width: fit-content;
  border-radius: 999px;
  background: var(--panel-rose);
  color: var(--pink-ink);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.work-list strong {
  color: var(--text-strong);
}

.work-list p {
  margin: 5px 0 0;
  color: var(--text-muted);
}

.features {
  background: linear-gradient(180deg, #fff, rgba(255, 244, 214, 0.34));
}

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

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

.feature-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 28px);
}

.feature-card--large {
  grid-column: span 1;
  background:
    linear-gradient(150deg, rgba(255, 244, 214, 0.86), rgba(255, 255, 255, 0.88)),
    var(--panel-solid);
}

.feature-card__eyebrow {
  color: var(--pink-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-card p,
.steps p,
.boundary-list p,
.legal-panel p,
.legal-panel li,
.mini-panel p,
.thanks-card p {
  margin: 0;
  color: var(--text-muted);
}

.flow {
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 0, 122, 0.09), transparent 20rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.6), rgba(243, 191, 208, 0.24));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 14px;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-index {
  color: var(--pink-ink);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
}

.boundaries {
  background: var(--panel-plum);
  color: var(--text-inverse);
}

.boundaries h2,
.boundaries h3,
.boundaries .section-label {
  color: var(--text-inverse);
}

.boundaries .section__head p {
  color: rgba(255, 249, 238, 0.72);
}

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

.boundary-list article {
  border-color: rgba(255, 249, 238, 0.16);
  background: rgba(255, 249, 238, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: none;
}

.boundary-list strong {
  color: var(--cream);
}

.boundary-list p {
  margin-top: 8px;
  color: rgba(255, 249, 238, 0.74);
}

.waitlist-band {
  padding: var(--section-y) 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(230, 0, 122, 0.14), transparent 22rem),
    linear-gradient(180deg, var(--cream-soft), var(--cream));
}

.waitlist-band__inner {
  align-items: center;
  border: 1px solid var(--line-pink);
  border-radius: var(--radius-xxl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 4vw, 46px);
}

.waitlist-band__copy h2 {
  max-width: 10ch;
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-strong);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--input-bg);
  color: var(--text);
  padding: 14px 16px;
}

.turnstile-mount {
  min-height: 70px;
}

.status {
  min-height: 22px;
  font-weight: 800;
}

.status.is-error {
  color: var(--danger);
}

.status.is-ok {
  color: var(--success);
}

.footer {
  background: var(--root-black);
  color: rgba(255, 249, 238, 0.82);
  padding: 44px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer .brand__name,
.footer .brand__sub {
  color: var(--text-inverse);
}

.footer p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 249, 238, 0.68);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer__links a {
  color: rgba(255, 249, 238, 0.84);
}

.footer__fine {
  grid-column: 1 / -1;
  color: rgba(255, 249, 238, 0.52);
  font-size: 13px;
}

.legal-shell {
  background:
    radial-gradient(circle at 100% 0, rgba(230, 0, 122, 0.12), transparent 24rem),
    var(--blonde);
}

.legal-hero {
  padding: clamp(56px, 8vw, 94px) 0 34px;
}

.legal-hero h1,
.thanks-card h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-layout {
  padding-bottom: var(--section-y);
}

.legal-panel,
.mini-panel,
.thanks-card {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 42px);
}

.legal-panel h2,
.mini-panel h2 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 36px);
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel ul {
  margin-top: 0;
  color: var(--text-muted);
}

.mini-panel {
  position: sticky;
  top: 96px;
  background: rgba(255, 244, 214, 0.82);
}

.thanks-card {
  max-width: 760px;
  margin: clamp(64px, 10vw, 120px) auto;
  text-align: center;
}

.thanks-card .btn {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .hero__grid,
  .recognition__grid,
  .split-layout,
  .split-layout--reverse,
  .boundaries__grid,
  .waitlist-band__inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid--six,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .topbar__inner {
    min-height: 66px;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .brand__sub {
    display: none;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav__link {
    padding-inline: 8px;
    font-size: 13px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .lead {
    font-size: 18px;
  }

  .feature-grid,
  .feature-grid--six,
  .steps,
  .boundary-list {
    grid-template-columns: 1fr;
  }

  .work-list li {
    grid-template-columns: 1fr;
  }

  .waitlist-band__copy h2 {
    max-width: none;
  }

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

  .footer__links {
    justify-content: flex-start;
  }

  .mini-panel {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
