@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --color-primary: #c97b93;
  --color-primary-deep: #a85f78;
  --color-primary-light: #fdf0f4;
  --color-accent: #9b87b8;
  --color-accent-light: #f4f0fa;
  --color-surface: #fffcfa;
  --color-background: #fbf6f3;
  --color-text: #4a3a42;
  --color-text-muted: #9a848e;
  --color-border: #f2e6ea;
  --color-success: #4c8c6a;
  --font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --shadow-soft: 0 2px 8px rgba(201, 123, 147, 0.07), 0 8px 28px rgba(201, 123, 147, 0.1), 0 1px 2px rgba(74, 58, 66, 0.04);
  --shadow-lift: 0 16px 40px rgba(168, 95, 120, 0.16);
  --radius-card: 24px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

.font-display {
  font-family: var(--font-display);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Background blobs ——— */

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--color-primary);
  opacity: 0.12;
  top: -140px;
  right: -120px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--color-accent);
  opacity: 0.12;
  top: 620px;
  left: -160px;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: var(--color-primary);
  opacity: 0.08;
  bottom: -120px;
  right: -100px;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 243, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-text);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-primary-deep);
  background: var(--color-primary-light);
}

.main-nav a.active {
  color: var(--color-primary-deep);
  background: var(--color-primary-light);
}

.nav-cta {
  margin-left: 6px;
  background: linear-gradient(110deg, #d98da2 0%, #c97b93 45%, #a85f78 100%) !important;
  color: #fff !important;
}

.nav-cta:hover {
  color: #fff !important;
  opacity: 0.92;
  background: linear-gradient(110deg, #d98da2 0%, #c97b93 45%, #a85f78 100%) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(110deg, #d98da2 0%, #c97b93 45%, #a85f78 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(168, 95, 120, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(168, 95, 120, 0.34);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary-deep);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ——— Hero ——— */

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--color-text);
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, #d4849a 0%, #b8a4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ——— Phone mockup ——— */

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.phone {
  position: relative;
  z-index: 1;
  width: 288px;
  height: 588px;
  border-radius: 46px;
  background: #1c1518;
  padding: 12px;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--color-background);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.precision-demo-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  background: #1c1518;
  border-radius: 16px;
  z-index: 5;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
}

.phone-body {
  flex: 1;
  padding: 14px 16px 18px;
  overflow: hidden;
}

.float-1,
.float-2 {
  position: absolute;
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-lift);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}

.float-1 {
  top: 10%;
  left: 0;
  animation-delay: 0.3s;
}

.float-2 {
  bottom: 10%;
  right: -12%;
  animation-delay: 1s;
}

.float-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.float-dot.pink { background: var(--color-primary-light); }
.float-dot.lav { background: var(--color-accent-light); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* mock UI chrome inside phone */
.mock-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mock-pill.pink { background: var(--color-primary-light); color: var(--color-primary-deep); }
.mock-pill.lav { background: var(--color-accent-light); color: var(--color-accent); }
.mock-pill.green { background: #eaf4ee; color: var(--color-success); }

.mock-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.mock-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 6px 0 2px;
  color: var(--color-text);
}

.mock-muted {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
  margin: 8px 0;
}

.mock-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(110deg, #d98da2 0%, #a85f78 100%);
}

.mock-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 4px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.mock-tab.active {
  color: var(--color-primary-deep);
}

/* ——— Section shells ——— */

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.4rem;
  margin: 0 0 14px;
  color: var(--color-text);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  margin: 0;
}

/* ——— Feature rows ——— */

.feature-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-row.reverse .feature-visual {
  order: 2;
}

.feature-row.reverse .feature-text {
  order: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--color-primary-light);
  margin-bottom: 20px;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.feature-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0 0 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--color-text);
}

.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.mini-phone {
  width: 260px;
  border-radius: 34px;
  background: #1c1518;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}

.mini-phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--color-surface);
}

/* ——— Care callout (rest day) ——— */

.care-card {
  background: linear-gradient(150deg, #fffcfa 0%, #f6f2fb 100%);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 14px;
  margin-top: 10px;
}

.care-card .label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin-bottom: 6px;
}

.care-card p {
  font-size: 0.72rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

/* ——— Grid feature cards (why bloom) ——— */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 30px 26px;
}

.info-card .feature-icon {
  margin-bottom: 18px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.info-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ——— Disclaimer banner ——— */

.disclaimer-banner {
  background: linear-gradient(135deg, #fdf0f4 0%, #f4f0fa 100%);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: flex-start;
}

.disclaimer-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.disclaimer-banner h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.disclaimer-banner p {
  color: var(--color-text);
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.65;
}

.disclaimer-banner p:last-child {
  margin-bottom: 0;
}

.disclaimer-banner strong {
  color: var(--color-primary-deep);
}

/* ——— CTA band ——— */

.cta-band {
  background: linear-gradient(135deg, #d4849a 0%, #b8a4d4 100%);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.3rem;
  margin: 0 0 14px;
}

.cta-band p {
  font-size: 1.08rem;
  opacity: 0.92;
  max-width: 50ch;
  margin: 0 auto 30px;
}

.cta-band .btn-secondary {
  background: #fff;
  color: var(--color-primary-deep);
  border: none;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 32px;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 0 0 20px;
}

.footer-legal-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--color-primary-deep);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-disclaimer {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  max-width: 760px;
  line-height: 1.6;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--color-primary-light);
  border-radius: 16px;
}

/* ——— Legal pages ——— */

.legal-hero {
  padding: 64px 0 20px;
  text-align: center;
}

.legal-hero .eyebrow {
  margin-bottom: 18px;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.8rem;
  margin: 0 0 12px;
}

.legal-hero p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 24px 96px;
}

.legal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 48px;
}

.legal-toc {
  background: var(--color-primary-light);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 40px;
}

.legal-toc h2 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin: 0 0 12px;
}

.legal-toc ol {
  columns: 2;
  margin: 0;
  padding-left: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--color-text);
}

.legal-toc a:hover {
  color: var(--color-primary-deep);
}

.legal-section {
  margin-bottom: 38px;
  scroll-margin-top: 100px;
}

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

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--color-text);
}

.legal-section h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 20px 0 8px;
  color: var(--color-primary-deep);
}

.legal-section p {
  margin: 0 0 14px;
  color: var(--color-text);
  font-size: 0.98rem;
}

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--color-text);
  font-size: 0.98rem;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-callout {
  background: linear-gradient(150deg, #fffcfa 0%, #fdf3f6 70%, #faeef4 100%);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 0 0 14px;
}

.legal-callout p {
  margin: 0;
}

.legal-callout p + p {
  margin-top: 10px;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

/* ——— Responsive ——— */

@media (max-width: 920px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-visual,
  .feature-row.reverse .feature-text {
    order: initial;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .disclaimer-banner {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .float-1, .float-2 {
    display: none;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .legal-card {
    padding: 28px 22px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .cta-band {
    padding: 44px 26px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .phone {
    width: 240px;
    height: 490px;
  }

  .section-head h2 {
    font-size: 1.9rem;
  }
}
