:root {
  color-scheme: light;
  --ink: #211333;
  --muted: #766a82;
  --surface: rgba(255, 255, 255, 0.84);
  --line: rgba(61, 37, 82, 0.12);
  --berry: #fb6fa5;
  --berry-deep: #d94e8c;
  --violet: #8a4fba;
  --teal: #48a98f;
  --gold: #c99637;
  --device: #1c1129;
  --device-edge: #33213f;
  --shadow-soft: 0 18px 44px rgba(62, 40, 78, 0.08);
  --shadow-phone: 0 40px 110px rgba(42, 24, 56, 0.22);
  --section-space: clamp(86px, 11vw, 154px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--ambient-x, 16%) var(--ambient-y, 10%), rgba(255, 216, 231, 0.62), transparent 31rem),
    radial-gradient(circle at 88% 38%, rgba(225, 214, 255, 0.54), transparent 36rem),
    linear-gradient(115deg, #fff8fb 0%, #faf7ff 52%, #eef8f5 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(255, 255, 255, 0.72), transparent 42%),
    radial-gradient(ellipse at 76% 20%, rgba(255, 239, 248, 0.5), transparent 36%),
    radial-gradient(ellipse at 78% 76%, rgba(228, 246, 240, 0.48), transparent 38%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto 9vh 50%;
  z-index: -1;
  width: min(680px, 78vw);
  aspect-ratio: 1.6;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 45%, rgba(251, 111, 165, 0.12), transparent 38%),
    radial-gradient(circle at 64% 54%, rgba(138, 79, 186, 0.12), transparent 46%);
  filter: blur(34px);
  opacity: 0.72;
  transform: translateX(-50%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.revealable {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link,
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(62, 40, 78, 0.08);
  color: var(--violet);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-link {
  gap: 9px;
  padding: 0 16px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-link {
  padding: 0 22px;
}

.social-link:hover,
.nav-link:hover,
.site-footer a:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(62, 40, 78, 0.075);
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(64px, 8vw, 116px);
  min-height: 900px;
  padding-bottom: 68px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  color: var(--violet);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.05rem, 4.8vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text,
.section-copy p,
.tour-copy p,
.care-copy p,
.waitlist p,
.founding-note p,
.feature-card p,
.care-gallery p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.48;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

.hero-waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  min-height: 68px;
  margin-top: 34px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-waitlist:focus-within {
  border-color: rgba(138, 79, 186, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(62, 40, 78, 0.1);
}

.hero-waitlist input {
  height: 54px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-waitlist button,
.button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-waitlist button {
  padding: 0 24px;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  text-transform: uppercase;
}

.button:hover,
.hero-waitlist button:hover,
.tour-tab:hover {
  transform: translateY(-2px);
}

.hero-waitlist button:disabled,
.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  padding: 0 26px;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  box-shadow: 0 16px 36px rgba(217, 78, 140, 0.26);
}

.button.primary:hover,
.hero-waitlist button:hover {
  box-shadow: 0 18px 42px rgba(217, 78, 140, 0.28);
}

.button.full {
  width: 100%;
}

.hero-note,
.form-note {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-note {
  margin-top: 14px;
}

.hero-note.is-success,
.form-note.is-success {
  color: var(--teal);
}

.hero-preview {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 880px;
  justify-content: center;
  padding: 28px 0 42px;
  overflow-x: hidden;
}

.hero-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  width: min(640px, 102%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 30%, rgba(251, 111, 165, 0.18), transparent 32%),
    radial-gradient(circle at 70% 68%, rgba(72, 169, 143, 0.1), transparent 31%),
    radial-gradient(circle, rgba(138, 79, 186, 0.12), transparent 66%);
  filter: blur(18px);
  opacity: 0.82;
  transform: translateX(-50%);
}

.iphone-frame {
  --phone-width: 356px;
  --screen-width: 93%;
  --phone-radius: 52px;
  --screen-radius: 43px;
  position: relative;
  width: var(--phone-width);
  aspect-ratio: 71.5 / 149.6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--phone-radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.12)),
    linear-gradient(145deg, #3a2848 0%, #1b1026 34%, #0b0610 58%, #33213f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 4px rgba(0, 0, 0, 0.32),
    inset 0 0 0 7px rgba(255, 255, 255, 0.035),
    var(--shadow-phone);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--screen-width);
  aspect-ratio: 1206 / 2622;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: var(--screen-radius);
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    inset 0 0 28px rgba(255, 255, 255, 0.055);
}

.iphone-frame::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 1.8%;
  z-index: 4;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0.95;
}

.iphone-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--screen-width);
  height: auto;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  border-radius: var(--screen-radius);
  background: #fff;
  transform: translate(-50%, -50%) translateZ(0);
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.iphone-screen img.is-swapping {
  opacity: 0.18;
  transform: scale(0.99);
}

.device-island {
  display: none;
}

.device-button {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2d1d3a, #160d20);
}

.device-button-left {
  left: -4px;
  top: 21%;
  width: 4px;
  height: 12%;
}

.device-button-right {
  right: -4px;
  top: 29%;
  width: 4px;
  height: 16%;
}

.hero-phone {
  --phone-width: 438px;
  --shadow-phone:
    0 22px 44px rgba(42, 24, 56, 0.13),
    0 56px 96px rgba(42, 24, 56, 0.08);
  z-index: 1;
  margin: 28px 0 26px;
  animation: floatPhone 7.2s ease-in-out infinite;
  transition: transform 260ms ease, filter 260ms ease;
}

.statement-panel {
  display: grid;
  gap: 30px;
  min-height: 370px;
  place-items: center;
  text-align: center;
}

.statement-panel p {
  max-width: 1080px;
  color: rgba(33, 19, 51, 0.54);
  font-size: clamp(2.75rem, 7.2vw, 5.9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.story-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 34px;
  border: 1px solid rgba(138, 79, 186, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 10%, rgba(251, 111, 165, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 252, 0.76));
  box-shadow:
    0 18px 44px rgba(62, 40, 78, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--violet);
  font-size: 1.08rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.story-link::after {
  content: "→";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(138, 79, 186, 0.1);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
}

.story-link:hover {
  border-color: rgba(138, 79, 186, 0.38);
  box-shadow:
    0 24px 54px rgba(62, 40, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 104px);
  align-items: start;
  margin: var(--section-space) 0;
}

.section-copy {
  position: sticky;
  top: 24px;
  padding: 18px 0;
}

.section-copy h2,
.tour-copy h2,
.care-copy h2,
.waitlist h2 {
  margin: 18px 0;
}

.feature-grid {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(61, 37, 82, 0.075);
}

.feature-card:last-child {
  padding-bottom: 0;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
  transform: translateY(-4px);
}

.community-icon {
  background: rgba(138, 79, 186, 0.12);
}

.care-icon {
  color: var(--teal);
  background: rgba(72, 169, 143, 0.13);
}

.tools-icon {
  color: var(--gold);
  background: rgba(201, 150, 55, 0.13);
}

.app-tour,
.waitlist {
  border: 1px solid rgba(61, 37, 82, 0.055);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 46px rgba(62, 40, 78, 0.045);
  backdrop-filter: blur(12px);
}

.app-tour {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(420px, 0.94fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: center;
  margin: var(--section-space) 0;
  padding: clamp(26px, 4vw, 46px) clamp(18px, 3vw, 34px);
  overflow-x: hidden;
}

.tour-copy {
  max-width: 560px;
  min-width: 0;
}

.tour-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 38px;
  padding: 7px;
  border: 1px solid rgba(61, 37, 82, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.tour-tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.tour-tab.is-active {
  border-color: rgba(251, 111, 165, 0.22);
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  box-shadow: 0 12px 24px rgba(217, 78, 140, 0.18);
  color: #fff;
}

.tour-stage {
  display: grid;
  min-height: 760px;
  min-width: 0;
  place-items: center;
}

.tour-phone {
  --phone-width: 410px;
  transition: transform 260ms ease, filter 260ms ease;
}

.tour-phone:hover {
  filter: saturate(1.04);
  transform: translateY(-4px);
}

.care-story {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  margin: var(--section-space) 0 92px;
  padding: clamp(12px, 3vw, 28px) 0;
}

.care-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 58px);
}

.care-gallery article {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 0;
  text-align: center;
}

.care-gallery h3 {
  margin-top: 6px;
}

.care-gallery p {
  max-width: 330px;
  font-size: 0.98rem;
}

.gallery-phone {
  --phone-width: 318px;
}

.founding-note {
  display: grid;
  margin: calc(var(--section-space) * 0.85) 0 24px;
  place-items: center;
  text-align: center;
}

.founding-note p {
  max-width: 760px;
  color: rgba(33, 19, 51, 0.66);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(46px, 8vw, 92px);
  align-items: center;
  margin-top: 42px;
  padding: clamp(42px, 7vw, 82px);
  background:
    radial-gradient(circle at 8% 4%, rgba(251, 111, 165, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.48);
}

.waitlist-copy {
  align-self: start;
}

.beta-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.beta-steps p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.beta-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(138, 79, 186, 0.1);
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 900;
}

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

.support-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.support-form label:nth-of-type(1),
.support-form label:nth-of-type(2) {
  grid-column: span 1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(61, 37, 82, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: 0;
  box-shadow: 0 12px 30px rgba(62, 40, 78, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(118, 106, 130, 0.62);
}

input,
select {
  height: 58px;
  padding: 0 18px;
}

textarea {
  min-height: 112px;
  padding: 18px;
  border-radius: 26px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.tour-tab:focus-visible {
  border-color: rgba(138, 79, 186, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 5px rgba(138, 79, 186, 0.13);
  outline: 0;
}

.nav-link:focus-visible,
.social-link:focus-visible,
.hero-waitlist button:focus-visible,
.button:focus-visible {
  box-shadow: 0 0 0 5px rgba(138, 79, 186, 0.13);
  outline: 0;
}

.form-note {
  max-width: 36ch;
  margin-inline: auto;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(61, 37, 82, 0.06);
}

.site-footer a,
.page-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(61, 37, 82, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--violet);
  font-size: 0.94rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(62, 40, 78, 0.035);
}

.legal-shell {
  width: min(1040px, calc(100% - 32px));
}

.legal-hero {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 56px auto 44px;
  text-align: center;
}

.legal-hero h1 {
  max-width: 820px;
  margin-inline: auto;
}

.legal-hero p {
  max-width: 760px;
  margin-inline: auto;
}

.page-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: fit-content;
  margin: 10px auto 0;
  padding: 6px;
  border: 1px solid rgba(61, 37, 82, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-tabs a {
  min-height: 40px;
  background: transparent;
  box-shadow: none;
}

.page-tabs a[aria-current="page"] {
  border-color: rgba(251, 111, 165, 0.26);
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  box-shadow: 0 12px 24px rgba(217, 78, 140, 0.16);
  color: #fff;
}

.legal-card {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.legal-section {
  display: grid;
  gap: 14px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(61, 37, 82, 0.08);
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.42rem, 3vw, 2.15rem);
  line-height: 1.02;
}

.legal-section h3 {
  margin-top: 12px;
  color: var(--ink);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
}

.legal-section a {
  color: var(--violet);
  font-weight: 900;
}

.legal-callout {
  padding: 22px 24px;
  border: 1px solid rgba(138, 79, 186, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 34px rgba(62, 40, 78, 0.045);
}

.support-request {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(138, 79, 186, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 4% 0%, rgba(251, 111, 165, 0.14), transparent 38%),
    radial-gradient(circle at 92% 18%, rgba(138, 79, 186, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(62, 40, 78, 0.09);
}

.support-card {
  gap: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.support-card .legal-section {
  padding-bottom: 28px;
}

.support-card .legal-section:not(.support-request) {
  width: min(100%, 760px);
  max-width: none;
  margin-inline: auto;
}

.support-card .support-request {
  max-width: 820px;
  width: 100%;
  margin-inline: auto;
}

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

.support-card .support-form label:nth-of-type(3),
.support-card .support-form label:nth-of-type(4),
.support-card .support-form button,
.support-card .support-form .form-note {
  grid-column: 1 / -1;
}

.story-shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  isolation: isolate;
  --story-progress: 0%;
}

.story-shell .nav,
.story-shell .story-hero,
.story-shell .story-article,
.story-shell .site-footer {
  position: relative;
  z-index: 1;
}

.story-shell::before {
  content: "";
  position: fixed;
  inset: 12vh auto auto 50%;
  z-index: -1;
  width: min(860px, 92vw);
  aspect-ratio: 1.4;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 111, 165, 0.11), transparent 34%),
    radial-gradient(circle at 78% 64%, rgba(72, 169, 143, 0.08), transparent 36%),
    radial-gradient(circle at 52% 46%, rgba(138, 79, 186, 0.08), transparent 48%);
  filter: blur(30px);
  opacity: 0.86;
  pointer-events: none;
  transform: translateX(-50%);
  animation: storyAtmosphere 18s ease-in-out infinite alternate;
}

.story-shell::after {
  display: none;
}

.story-hero {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 820px;
  min-height: auto;
  margin: 86px auto 92px;
  text-align: left;
}

.story-hero::before {
  content: "";
  position: absolute;
  inset: 10% 3% auto;
  z-index: -1;
  height: min(360px, 54vh);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 30%, rgba(251, 111, 165, 0.14), transparent 36%),
    radial-gradient(circle at 72% 56%, rgba(138, 79, 186, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.24);
  filter: blur(10px);
  transform: rotate(-3deg);
}

.story-hero::after {
  content: "";
  width: min(280px, 52vw);
  height: 1px;
  margin: 20px auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--berry), rgba(138, 79, 186, 0.35), transparent);
}

.story-hero h1 {
  max-width: 820px;
  margin-inline: 0;
}

.story-hero p {
  max-width: 700px;
  margin-inline: 0;
}

.story-article {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 58px);
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(18px, 5vw, 38px) 0 42px;
}

.story-article::before {
  display: none;
}

.story-article p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  font-weight: 650;
  line-height: 1.68;
}

.story-scene,
.story-emphasis,
.story-built {
  scroll-margin-top: 80px;
}

.story-reveal {
  --reveal-distance: 22px;
  --story-rotate: 0deg;
}

.story-reveal.revealable {
  transform: translateY(var(--reveal-distance));
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.story-reveal.revealable.is-visible {
  transform: translateY(0);
}

.story-scene[data-story-step]::after,
.story-emphasis[data-story-step]::after,
.story-built[data-story-step]::after {
  display: none;
}

.story-article .story-lede {
  max-width: 680px;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 900;
  line-height: 1.08;
}

.story-article .story-lede::after {
  content: "";
  display: block;
  width: min(124px, 36vw);
  height: 2px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--berry), rgba(138, 79, 186, 0.2));
}

.story-scene {
  position: relative;
  display: grid;
  gap: 18px;
}

.story-scene::before,
.story-observation::before,
.story-emphasis::before,
.story-closing::before {
  display: none;
}

.story-scene-opening {
  margin: 0;
  padding: 0 0 clamp(22px, 4vw, 34px);
  border-bottom: 1px solid rgba(138, 79, 186, 0.12);
}

.story-observation {
  position: relative;
  max-width: 780px;
  padding-left: clamp(18px, 3vw, 24px);
}

.story-observation p {
  color: rgba(33, 19, 51, 0.76);
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-weight: 800;
  line-height: 1.36;
}

.story-observation::after {
  content: "";
  position: absolute;
  top: 0.2em;
  bottom: 0.2em;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--berry), rgba(138, 79, 186, 0.18));
}

.story-pull {
  position: relative;
  margin: clamp(8px, 2vw, 18px) 0;
  padding: clamp(18px, 4vw, 30px) 0 clamp(18px, 4vw, 30px) clamp(20px, 4vw, 34px);
  border-left: 1px solid rgba(251, 111, 165, 0.28);
}

.story-pull:nth-of-type(1) {
  --story-rotate: 0deg;
}

.story-pull::before {
  display: none;
}

.story-pull p {
  max-width: 680px;
  color: rgba(33, 19, 51, 0.74);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.16;
}

.story-pull-soft {
  margin-left: clamp(18px, 5vw, 44px);
  margin-right: 0;
  --story-rotate: 0deg;
}

.story-emphasis,
.story-closing {
  position: relative;
  display: grid;
  gap: 8px;
  margin: clamp(6px, 2vw, 16px) 0;
  padding: clamp(12px, 3vw, 22px) 0;
}

.story-emphasis p,
.story-closing p {
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  font-weight: 900;
  line-height: 1.24;
}

.story-emphasis p,
.story-closing p {
  max-width: 760px;
}

.story-emphasis p:nth-child(2),
.story-closing p:nth-child(2) {
  color: rgba(33, 19, 51, 0.7);
}

.story-emphasis p:nth-child(3),
.story-closing p:nth-child(3) {
  color: rgba(33, 19, 51, 0.7);
}

.story-closing {
  margin-top: clamp(18px, 5vw, 44px);
  text-align: left;
  padding: clamp(34px, 7vw, 64px) 0 0;
}

.story-closing p {
  margin-inline: 0;
}

.story-closing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(160px, 40vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(251, 111, 165, 0.75), rgba(138, 79, 186, 0.28), transparent);
}

.story-built {
  margin: clamp(8px, 2vw, 18px) 0;
  padding: clamp(24px, 5vw, 42px) 0;
  border-top: 1px solid rgba(251, 111, 165, 0.14);
  border-bottom: 1px solid rgba(138, 79, 186, 0.1);
}

.story-section {
  max-width: 760px;
}

.story-section-wide {
  margin-left: 0;
  padding-left: clamp(22px, 4vw, 42px);
  border-left: 1px solid rgba(251, 111, 165, 0.18);
}

.story-section:nth-of-type(even) {
  justify-self: stretch;
  max-width: 760px;
}

@media (max-width: 960px) {
  :root {
    --section-space: 54px;
  }

  .page-shell {
    width: min(100% - 24px, 680px);
    padding-top: 18px;
  }

  .nav {
    margin-bottom: 30px;
  }

  .hero,
  .experience,
  .app-tour,
  .care-story,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    min-height: auto;
  }

  .hero-phone {
    --phone-width: 360px;
  }

  .hero-preview {
    min-height: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 18px 0 4px;
  }

  .section-copy {
    position: static;
  }

  .tour-stage {
    min-height: auto;
  }

  .tour-phone {
    --phone-width: 320px;
  }

  .gallery-phone {
    --phone-width: 240px;
  }

}

@media (max-width: 560px) {
  :root {
    --section-space: 44px;
    --shadow-phone: 0 24px 54px rgba(42, 24, 56, 0.2);
    --shadow-soft: 0 14px 32px rgba(62, 40, 78, 0.1);
  }

  body::before {
    opacity: 0.82;
  }

  body::after {
    width: 110vw;
    opacity: 0.46;
    filter: blur(28px);
  }

  .page-shell {
    width: min(100% - 24px, 420px);
    padding-bottom: 56px;
  }

  .brand {
    overflow: hidden;
    font-size: clamp(1.05rem, 4.8vw, 1.28rem);
    white-space: nowrap;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    margin-bottom: 30px;
  }

  .nav-actions {
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    gap: 6px;
  }

  .social-link {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .social-link span {
    display: none;
  }

  .nav-link {
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10.4vw, 3rem);
    line-height: 1.02;
    margin-bottom: 16px;
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.75rem);
    line-height: 1.02;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.78rem;
  }

  .hero-text,
  .section-copy p,
  .tour-copy p,
  .care-copy p,
  .waitlist p,
  .feature-card p,
  .care-gallery p {
    font-size: 1rem;
    line-height: 1.42;
  }

  .section-copy h2,
  .tour-copy h2,
  .care-copy h2,
  .waitlist h2 {
    margin: 14px 0;
  }

  .hero-waitlist {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
    padding: 8px;
    border-radius: 30px;
  }

  .hero-waitlist input {
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-waitlist button {
    min-height: 50px;
    font-size: 0.9rem;
  }

  .hero-waitlist button,
  .button {
    width: 100%;
  }

  .hero-note {
    max-width: 28ch;
  }

  .hero-preview {
    min-height: auto;
    margin-top: 14px;
    padding-top: 4px;
  }

  .hero-phone {
    --phone-width: 306px;
    margin-top: 10px;
  }

  .statement-panel {
    min-height: 160px;
    gap: 22px;
  }

  .statement-panel p {
    font-size: clamp(2rem, 10vw, 3.05rem);
  }

  .story-link {
    min-height: 50px;
    padding: 0 18px 0 20px;
    font-size: 0.92rem;
  }

  .story-link::after {
    width: 26px;
    height: 26px;
    font-size: 0.94rem;
  }

  .experience,
  .care-story {
    gap: 22px;
  }

  .feature-grid {
    gap: 0;
    padding-top: 0;
  }

  .feature-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .feature-card p {
    grid-column: auto;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    transform: none;
  }

  .care-gallery {
    grid-template-columns: 1fr;
  }

  .tour-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
    border-radius: 28px;
  }

  .tour-tab {
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .app-tour,
  .waitlist {
    padding: 20px;
    border-radius: 28px;
  }

  .app-tour {
    margin: 38px 0;
  }

  .tour-stage {
    padding-top: 8px;
  }

  .tour-phone {
    --phone-width: 280px;
  }

  .care-gallery article {
    gap: 12px;
    padding: 4px 0 14px;
  }

  .gallery-phone {
    --phone-width: 206px;
  }

  .founding-note {
    margin: 38px 0 20px;
  }

  .founding-note p {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1.04;
  }

  .waitlist {
    gap: 20px;
  }

  .waitlist-form {
    gap: 12px;
  }

  .support-form {
    gap: 12px;
  }

  .support-card {
    gap: 26px;
  }

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

  .support-request {
    padding: 22px;
    border-radius: 30px;
  }

  .story-hero {
    min-height: auto;
    margin: 34px 0 44px;
    text-align: left;
  }

  .story-shell::after {
    display: none;
  }

  .story-hero::before {
    inset: 12% -18% auto -12%;
    height: 300px;
    filter: blur(18px);
  }

  .story-hero::after {
    margin-inline: 0 auto;
  }

  .story-hero h1,
  .story-hero p {
    margin-inline: 0;
  }

  .story-article {
    gap: 34px;
    padding-top: 14px;
  }

  .story-article::before,
  .story-scene::before,
  .story-observation::before,
  .story-emphasis::before,
  .story-closing::before {
    display: none;
  }

  .story-article p {
    line-height: 1.58;
  }

  .story-article .story-lede {
    margin-bottom: 2px;
  }

  .story-article .story-lede::after {
    height: 2px;
    margin-top: 18px;
  }

  .story-emphasis,
  .story-closing {
    margin: 12px 0;
    padding: 20px 0;
    background: transparent;
  }

  .story-emphasis p,
  .story-closing p {
    font-size: clamp(1.18rem, 6vw, 1.58rem);
  }

  .story-scene-opening {
    margin-inline: 0;
    padding: 18px 0 28px;
  }

  .story-observation {
    padding-left: 18px;
  }

  .story-observation p {
    font-size: clamp(1.12rem, 5.8vw, 1.48rem);
  }

  .story-pull,
  .story-pull-soft,
  .story-built {
    margin-inline: 0;
    padding: 24px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    --story-rotate: 0deg;
  }

  .story-pull p {
    font-size: clamp(1.22rem, 6.5vw, 1.7rem);
  }

  .story-pull::before {
    top: 14px;
    left: 0;
    width: 34px;
    height: 3px;
  }

  .story-scene[data-story-step]::after,
  .story-emphasis[data-story-step]::after,
  .story-built[data-story-step]::after {
    display: none;
  }

  .story-section,
  .story-section-wide {
    max-width: none;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .beta-steps {
    gap: 10px;
    margin-top: 18px;
  }

  .beta-steps p {
    gap: 10px;
    font-size: 0.94rem;
  }

  .beta-steps span {
    width: 28px;
    height: 28px;
  }

  input,
  select {
    height: 52px;
    border-radius: 22px;
  }

  textarea {
    min-height: 96px;
    border-radius: 24px;
  }

  .site-footer {
    margin-top: 26px;
  }

  .site-footer a,
  .page-tabs a {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 12px;
  }

  .legal-hero {
    margin: 28px 0 22px;
    text-align: left;
  }

  .legal-hero h1,
  .legal-hero p {
    margin-inline: 0;
  }

  .page-tabs {
    display: flex;
    width: 100%;
    margin-inline: 0;
    border-radius: 30px;
  }

  .legal-card {
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-section {
    padding: 24px 0;
  }

}

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

@keyframes storyAtmosphere {
  from {
    transform: translateX(-52%) translateY(0) scale(0.98);
  }

  to {
    transform: translateX(-48%) translateY(28px) scale(1.04);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-preview:hover .hero-phone {
    filter: saturate(1.03);
    transform: translateY(-4px) rotate(-0.7deg);
  }

  .care-gallery article:hover .gallery-phone {
    transform: translateY(-5px);
  }
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}
