:root {
  --bg: #f4eadf;
  --bg-deep: #ead3c7;
  --surface: #fffaf3;
  --surface-strong: #fff5ea;
  --text: #302722;
  --muted: #76675e;
  --rose: #c77f89;
  --rose-soft: #f2d7d9;
  --lavender: #b8a5cf;
  --lavender-soft: #eee6f3;
  --clay: #b9654f;
  --clay-dark: #854635;
  --sage: #98a488;
  --border: rgba(92, 67, 55, 0.16);
  --shadow: 0 22px 70px rgba(90, 57, 42, 0.15);
  --soft-shadow: 0 12px 34px rgba(90, 57, 42, 0.1);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(199, 127, 137, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(184, 165, 207, 0.22), transparent 30rem),
    linear-gradient(180deg, var(--bg), #fbf3ea 52%, #f4eadf);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 1.5rem, calc(var(--max) + 6rem));
  margin: 1rem auto 0;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.15rem;
  color: inherit;
}

.brand-mark svg {
  width: 2.55rem;
  height: 2.08rem;
  display: block;
  overflow: visible;
}

.broken-heart-left {
  fill: url(#logoRose);
}

.broken-heart-right {
  fill: url(#logoPurple);
}

.brand-mark svg {
  filter: drop-shadow(0 5px 10px rgba(90, 57, 42, 0.14));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: white;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: var(--text);
  color: white;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero,
.section,
.page-hero,
.legal-content,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  min-height: auto;
  margin-top: 0.9rem;
  padding: 0.35rem 0 3.2rem;
}

.hero-copy {
  padding-top: clamp(2.6rem, 5vw, 5rem);
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 1.02;
  font-weight: 400;
}

.headline {
  margin: 1.4rem 0 0;
  max-width: 21ch;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.18;
  font-weight: 300;
  color: rgba(48, 39, 34, 0.72);
}

.subheadline {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.theme-line {
  margin: 1.25rem 0 0;
  color: var(--clay-dark);
  font-size: 1.08rem;
  font-weight: 580;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 650;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(145deg, var(--clay), var(--clay-dark));
  color: white;
  box-shadow: 0 16px 30px rgba(133, 70, 53, 0.22);
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255, 250, 243, 0.76);
  color: var(--text);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.trust-line {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 450;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 44rem;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.4), rgba(255, 250, 243, 0.05)),
    radial-gradient(circle at 45% 14%, rgba(255, 255, 255, 0.88), transparent 15rem),
    linear-gradient(155deg, var(--rose-soft), var(--lavender-soft) 52%, #efd4c5);
  box-shadow: var(--shadow);
}

.phone {
  position: relative;
  width: min(100%, 21rem);
  padding: 0.8rem;
  border-radius: 3.1rem;
  background: #221c1a;
  box-shadow: 0 30px 70px rgba(48, 39, 34, 0.3);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.8rem;
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  left: 50%;
  top: 1.18rem;
  width: 5.7rem;
  height: 1.2rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0e0c0b;
  z-index: 2;
}

.phone-screen {
  min-height: 39rem;
  padding: 3.2rem 1rem 1rem;
  border-radius: 2.45rem;
  background: linear-gradient(180deg, #fffaf3, #f5e9df);
  overflow: hidden;
}

.phone-top,
.tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-top span {
  color: var(--text);
  font-size: 1.05rem;
}

.phone h3 {
  margin: 1.4rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1;
  letter-spacing: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip-list span,
.audience-grid article,
.safety-grid article {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-weight: 760;
}

.phone-chips span {
  padding: 0.62rem 0.75rem;
  font-size: 0.78rem;
}

.recommend,
.phone-card,
.message {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.62);
  padding: 1rem;
}

.recommend span,
.phone-card span {
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.recommend ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.message {
  max-width: 82%;
  font-size: 0.92rem;
}

.message.user {
  margin-left: auto;
  background: var(--clay);
  color: white;
}

.message.ai {
  background: white;
}

.tabbar {
  margin-top: 1.1rem;
  padding: 0.8rem 0.25rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
  background: rgba(255, 250, 243, 0.52);
  border-block: 1px solid rgba(92, 67, 55, 0.08);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 500;
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.feature-grid,
.audience-grid,
.space-grid,
.need-grid,
.support-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.space-grid article,
.need-grid article,
.support-grid article,
.companion-grid article,
.profile-card,
.tab-preview article,
.contact-form,
.waitlist-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  min-height: 10rem;
  padding: 1.35rem;
}

.feature-card span {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rose), var(--lavender));
}

.feature-card h3,
.space-grid h3,
.need-grid h3,
.profile-card h3,
.companion-grid h3,
.tab-preview h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  line-height: 1.18;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article {
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.82), rgba(242, 215, 217, 0.5));
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.step span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--text);
  color: white;
  font-weight: 850;
}

.step h3,
.step p {
  margin: 0;
}

.step p,
.space-grid p,
.need-grid p,
.profile-card p,
.companion-grid p,
.tab-preview p {
  color: var(--muted);
}

.tab-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.tab-preview article {
  min-height: 15rem;
  padding: 1.15rem;
}

.tab-preview strong,
.tab-preview em {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
}

.tab-preview em {
  color: var(--clay-dark);
  font-weight: 750;
}

.product-panel {
  display: grid;
  place-items: center;
}

.space-grid article,
.need-grid article,
.support-grid article {
  padding: 1.4rem;
}

.companion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.companion-grid article {
  padding: 1.1rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lavender), var(--rose-soft));
  color: var(--text);
  font-weight: 900;
}

.avatar.large {
  width: 4rem;
  height: 4rem;
  font-size: 1.5rem;
}

.disclaimer,
.warning,
.notice {
  border: 1px solid rgba(185, 101, 79, 0.26);
  border-radius: var(--radius-sm);
  background: rgba(255, 245, 234, 0.86);
  padding: 1rem;
  color: var(--clay-dark);
  font-weight: 720;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  padding: 1.35rem;
}

.profile-head {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-head h3 {
  margin: 0;
}

.profile-head span {
  color: var(--muted);
}

blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--rose);
  color: var(--clay-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.18;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profile-actions button {
  min-height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 850;
}

.boundary-chips {
  align-content: start;
}

.safety-panel {
  padding: 2rem;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(48, 39, 34, 0.94), rgba(133, 70, 53, 0.88));
  color: white;
  box-shadow: var(--shadow);
}

.safety-panel .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.safety-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.warning {
  background: rgba(255, 250, 243, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.waitlist-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.waitlist-form,
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 820;
}

label span {
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  padding: 0.88rem 0.95rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(185, 101, 79, 0.14);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--clay-dark);
  font-weight: 780;
}

.form-status.success {
  color: #4f6b43;
}

.faq > div {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 243, 0.74);
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 2rem;
}

.page-hero.narrow,
.section.narrow {
  max-width: 780px;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  font-weight: 500;
}

.page-hero p {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.16rem;
}

.legal-hero h1 {
  max-width: none;
}

.legal-content {
  max-width: 820px;
  padding: 2rem 0 5rem;
}

.legal-content h2 {
  margin: 2rem 0 0.4rem;
  font-size: 1.28rem;
}

.legal-content p {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer p {
  max-width: 22rem;
  color: rgba(118, 103, 94, 0.46);
  font-size: 0.92rem;
}

.site-footer nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.site-footer h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.site-footer a {
  text-decoration: none;
}

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

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    border-radius: 1.65rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.85rem;
  }

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

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .feature-grid,
  .space-grid,
  .need-grid,
  .support-grid,
  .safety-grid,
  .profile-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .audience-grid,
  .tab-preview {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .page-hero,
  .legal-content,
  .site-footer {
    width: min(100% - 1rem, var(--max));
  }

  .site-header {
    padding: 0.7rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .headline {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .hero-actions,
  .profile-actions {
    flex-direction: column;
  }

  .button,
  .profile-actions button {
    width: 100%;
  }

  .phone {
    width: min(100%, 19rem);
  }

  .phone-screen {
    min-height: 36rem;
  }

  .feature-grid,
  .audience-grid,
  .space-grid,
  .need-grid,
  .support-grid,
  .safety-grid,
  .profile-grid,
  .companion-grid,
  .tab-preview,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .safety-panel {
    width: min(100% - 1rem, var(--max));
    padding: 1rem;
    border-radius: 1.6rem;
  }

  .page-hero h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone {
    animation: float-phone 7s ease-in-out infinite;
  }

  .feature-card,
  .space-grid article,
  .profile-card,
  .companion-grid article,
  .tab-preview article {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .feature-card:hover,
  .space-grid article:hover,
  .profile-card:hover,
  .companion-grid article:hover,
  .tab-preview article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

@keyframes float-phone {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}
