/* ---------------------------------------------------------
   Bloom · app page stylesheet
   Rose/blush palette · Cormorant Garamond + Nunito Sans
   Adjust the hex values below to match FIGMA_DESIGN_SYSTEM.md
   --------------------------------------------------------- */

:root {
  --blush: #fbf3f4;
  --blush-deep: #f4e3e6;
  --rose: #c96f7b;
  --rose-deep: #a14d5d;
  --ink: #3a2e30;
  --ink-soft: #7a6a6d;
  --card: #ffffff;
  --line: #ecd9dc;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --max: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.studio-link {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
.studio-link:hover { color: var(--ink); }
.site-nav { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); }
.site-nav a:hover { color: var(--rose-deep); }

/* ---- hero ---- */
.hero { padding: 72px 0 80px; }
.hero .hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center;
}
@media (max-width: 780px) {
  .hero { padding-top: 48px; }
  .hero .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 8vw, 84px);
  line-height: 1;
  color: var(--rose-deep);
}
.hero .tagline {
  margin-top: 18px; font-size: 21px; max-width: 34ch;
}
.hero .sub {
  margin-top: 12px; color: var(--ink-soft); max-width: 42ch;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  background: var(--ink); color: #fff;
  text-decoration: none;
  padding: 12px 22px; border-radius: 14px;
  font-size: 15px; font-weight: 700;
}
.store-badge span.small {
  display: block; font-size: 11px; font-weight: 400; opacity: 0.75;
}
.store-note {
  display: block; margin-top: 10px;
  font-size: 13px; color: var(--ink-soft);
}

/* ---- CSS phone mockup ---- */
.phone {
  width: 264px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 42px;
  padding: 16px 14px 22px;
  box-shadow: 0 24px 60px rgba(161, 77, 93, 0.14);
}
.phone .notch {
  width: 90px; height: 8px; border-radius: 6px;
  background: var(--blush-deep); margin: 0 auto 22px;
}
.phone .ring {
  width: 168px; height: 168px; margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(var(--rose) 0 118deg, var(--blush-deep) 118deg 360deg);
  display: grid; place-items: center;
}
.phone .ring-inner {
  width: 128px; height: 128px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center; text-align: center;
}
.phone .ring-inner strong {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  color: var(--rose-deep); display: block; line-height: 1.1;
}
.phone .ring-inner span { font-size: 11.5px; color: var(--ink-soft); }
.phone .rows { margin-top: 24px; display: grid; gap: 10px; }
.phone .row {
  height: 40px; border-radius: 12px;
  background: var(--blush);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  font-size: 12px; color: var(--ink-soft);
}
.phone .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rose);
  flex: none;
}

/* ---- privacy pillars ---- */
.pillars { padding: 8px 0 72px; }
.pillars .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 720px) { .pillars .wrap { grid-template-columns: 1fr; } }
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.pillar h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; color: var(--rose-deep);
}
.pillar p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---- features ---- */
.features { padding: 0 0 88px; }
.features .wrap > h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 5vw, 40px); color: var(--ink);
  margin-bottom: 28px;
}
.feature-list { display: grid; gap: 0; max-width: 640px; }
.feature {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.feature h3 { font-size: 17px; font-weight: 700; }
.feature p { margin-top: 4px; color: var(--ink-soft); font-size: 15.5px; }

/* ---- prose (privacy policy) ---- */
.prose { padding: 64px 0 96px; max-width: 640px; }
.prose h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5vw, 48px); color: var(--rose-deep);
}
.prose .updated { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; margin-top: 36px;
}
.prose p, .prose li { margin-top: 12px; color: var(--ink-soft); }
.prose ul { margin-top: 8px; padding-left: 20px; }
.prose a { color: var(--rose-deep); }

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 48px;
  font-size: 14px; color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--rose-deep); }
.footer-links { display: flex; gap: 24px; }