/* Bloom marketing site — no webfonts, no third-party requests. */

:root {
  --pink: #d9195f;
  --pink-deep: #b3144c;
  --pink-soft: #ffe3ee;
  --pink-wash: #fff0f6;
  --cream: #fff5f9;
  --white: #ffffff;
  --ink: #2b1b24;
  --muted: #6f5a66;
  --navy: #0f1420;
  --navy-soft: #1a2233;
  --navy-line: #2b3752;
  --navy-text: #eaf0ff;
  --navy-muted: #a3b0cc;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica,
    Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(43, 27, 36, 0.28);
  --page: min(1180px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Keep anchor targets clear of the sticky header. */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--pink);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pink-deep);
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0 12px 0;
}

.skip:focus {
  left: 0;
}

.page {
  width: var(--page);
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--pink-soft) 70%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a:not(.brand) {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.78;
}

.nav a:not(.brand):hover {
  opacity: 1;
  color: var(--pink);
}

.lang {
  padding: 0.28rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--pink) 28%, transparent);
  border-radius: 999px;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25% 0 auto 0;
  height: 85%;
  background: radial-gradient(
    60% 70% at 82% 12%,
    rgba(255, 143, 184, 0.38),
    rgba(255, 143, 184, 0) 70%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  font-weight: 800;
}

h1 em,
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--pink);
}

.hero-lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(217, 25, 95, 0.75);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgba(217, 25, 95, 0.7);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.button--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

.button small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-note li::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--pink);
  font-weight: 800;
}

.hero-note li:first-child::before {
  content: none;
  margin: 0;
}

/* ---------- Phone ---------- */

.phone {
  position: relative;
  width: min(300px, 100%);
  margin-inline: 0;
  padding: 7px;
  border-radius: 24px;
  background: #17131a;
  box-shadow:
    0 50px 90px -45px rgba(43, 27, 36, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone img {
  width: 100%;
  border-radius: 17px;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  background: var(--pink-wash);
}

.phone--dark {
  background: #0a0e16;
}

.hero-phones {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.hero-phones .phone:first-child {
  width: min(300px, 60%);
  margin-right: -7%;
  transform: rotate(-4deg) translateY(-6px);
  z-index: 1;
}

.hero-phones .phone:last-child {
  width: min(250px, 50%);
  margin-left: -5%;
  transform: rotate(5deg) translateY(12px);
  z-index: 2;
}

/* ---------- Sections ---------- */

section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
}

.section-head p:not(.kicker) {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--flip .split-copy {
  order: 2;
}

.split--flip .split-visual {
  order: 1;
}

.split-copy p {
  color: var(--muted);
}

.feature-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  font-weight: 600;
}

.feature-list li span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  font-size: 0.94rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 6px var(--pink-wash);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--pink);
}

.step h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0.5rem 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
}

/* ---------- AI (dark) ---------- */

.ai {
  background:
    radial-gradient(
      circle at 82% 0%,
      rgba(77, 124, 255, 0.28),
      transparent 42%
    ),
    var(--navy);
  color: var(--navy-text);
  border-radius: 36px;
  width: min(1320px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.ai .kicker {
  color: #9db8ff;
}

.ai h2 em {
  color: #9db8ff;
}

.ai .section-head p {
  color: var(--navy-muted);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-card {
  padding: 1.6rem;
  background: var(--navy-soft);
}

.ai-card h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.ai-card p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--navy-muted);
}

.ai-privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--navy-line);
  font-size: 0.9rem;
  color: var(--navy-muted);
}

.ai-privacy strong {
  color: var(--navy-text);
}

.ai-privacy a {
  color: #9db8ff;
}

.chat {
  display: grid;
  gap: 0.75rem;
  max-width: 30rem;
  margin-top: 2.5rem;
}

.bubble {
  width: fit-content;
  max-width: 85%;
  padding: 0.85rem 1.1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.bubble--me {
  justify-self: end;
  background: #5585ff;
  color: #0b1020;
  border-bottom-right-radius: 6px;
  font-weight: 600;
}

.bubble--bloom {
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
  border-bottom-left-radius: 6px;
  color: var(--navy-text);
}

.bubble--bloom small {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy-muted);
  font-size: 0.78rem;
}

/* ---------- Privacy ---------- */

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

.privacy-card {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
}

.privacy-card h3 {
  font-size: 1rem;
}

.privacy-card p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

details {
  background: var(--white);
  border: 1px solid var(--pink-soft);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

details[open] {
  box-shadow: var(--shadow);
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--pink);
  transition: transform 160ms ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- CTA + footer ---------- */

.cta {
  text-align: center;
  background: var(--pink-wash);
  border: 1px solid var(--pink-soft);
  border-radius: 36px;
  width: min(1320px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta .hero-actions {
  justify-content: center;
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--pink-soft);
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--pink);
}

.fine {
  margin: 2rem 0 0;
  max-width: 46rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Motion ---------- */

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

  .hero-phones .phone:last-child {
    animation-delay: -4.5s;
  }
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip .split-copy,
  .split--flip .split-visual {
    order: initial;
  }

  .hero-phones {
    min-height: 500px;
    margin-top: 1rem;
  }

  .steps,
  .ai-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  html {
    /* The nav wraps to a second row on small screens. */
    scroll-padding-top: 112px;
  }

  body {
    font-size: 16px;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 0.65rem;
  }

  .nav nav {
    display: flex;
    gap: 1rem;
    order: 3;
    width: 100%;
    padding-bottom: 0.55rem;
  }

  .nav a:not(.brand) {
    font-size: 0.85rem;
  }

  @media (max-width: 380px) {
    .nav nav {
      gap: 0.7rem;
    }

    .nav a:not(.brand) {
      font-size: 0.8rem;
    }
  }

  .hero-phones {
    min-height: 430px;
  }

  .hero-phones .phone:first-child {
    width: min(270px, 60%);
    margin-right: -7%;
    transform: rotate(-3deg) translateY(-4px);
  }

  .hero-phones .phone:last-child {
    width: min(225px, 50%);
    margin-left: -5%;
    transform: rotate(4deg) translateY(8px);
  }

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

  .ai,
  .cta {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
