/* Bloom Sends product page. Builds on studio.css: same paper, ink, lines and type. */
.page-bloom { --bubble: #34c759; --received: #e9e9eb; --soft: oklch(96% .008 150); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bloom-hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: center; padding-block: 80px 88px; }
.product-name { display: flex; align-items: center; gap: 14px; font: 500 26px/1.2 "Figtree", sans-serif; letter-spacing: -.3px; margin-bottom: 28px; }
.product-name img { width: 32px; height: 38px; }
.bloom-hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -1.4px; font-weight: 600; max-width: none; text-wrap: balance; margin-bottom: 26px; }
.bloom-hero .lead { max-width: 44ch; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 6px; font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

.phone-stage { display: grid; justify-items: center; gap: 10px; }
.phone { width: 100%; height: 540px; padding: 9px; border-radius: 44px; background: var(--ink); font-family: -apple-system, "Helvetica Neue", sans-serif; }
.screen { height: 100%; border-radius: 36px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; padding-top: 34px; }
.phone-top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 18px 12px; }
.phone-top b { font-size: 20px; }
.phone-top span { font-size: 12px; opacity: .7; }
.compose { margin: 0 12px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 13px; line-height: 1.45; }
.token { color: var(--accent); font-weight: 600; }
.stack { flex: 1; min-height: 0; overflow: hidden; padding-inline: 12px; display: flex; flex-direction: column; gap: 9px; }
.copy { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; align-items: end; animation: copy-in .45s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes copy-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 11px; font-weight: 600; }
.phone-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 20px; }
.phone-foot b { font-size: 13px; }
.phone-foot span { background: var(--accent); color: #fff; border-radius: 9px; padding: 6px 14px; font-size: 14px; font-weight: 600; }

.bubble { margin: 0; max-width: none; background: var(--bubble); color: #fff; padding: 9px 12px; border-radius: 16px 16px 5px 16px; font: 400 13px/1.4 -apple-system, "Helvetica Neue", sans-serif; overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble.received { background: var(--received); color: #1d1d1f; border-radius: 16px 16px 16px 5px; }

.text-link { background: none; border: 0; padding: 10px 4px; min-height: 44px; font: 500 13px/1.4 "Inter", sans-serif; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
button:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.bloom-section { border-top: 1px solid var(--line); padding-block: 56px; }
.bloom-section h2 { font-size: 28px; letter-spacing: -.5px; margin: 0 0 30px; }
.bloom-section h3 { font-size: 18px; letter-spacing: -.2px; margin: 0 0 8px; }
.bloom-section p { font-size: 15px; }
.note { font-size: 13px !important; opacity: .75; margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split h2 { margin-bottom: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 500 15px/1 "Figtree", sans-serif; color: var(--accent); margin-bottom: 16px; }
.steps p { margin: 0; }

.demo { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; }
.demo label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.demo textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 400 15px/1.5 "Inter", sans-serif; color: var(--ink); background: var(--paper); }
.demo-tools { display: flex; justify-content: space-between; margin-bottom: 8px; }
.picker { display: flex; gap: 8px; margin-bottom: 14px; }
.picker button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 400 13px/1 "Inter", sans-serif; color: var(--ink); cursor: pointer; }
.picker button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.demo .bubble { font-size: 15px; padding: 11px 14px; }

.thread { margin: 0; display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.thread-date { text-align: center; font-size: 11px !important; opacity: .6; margin: 0 0 4px; max-width: none; }
.thread .bubble { font-size: 15px; padding: 11px 14px; max-width: 86%; justify-self: end; }
.thread .bubble.received { justify-self: start; }

.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.audience p { margin: 0; font-size: 14px !important; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 12px; background: #fff; }
.plan h3 { margin-bottom: 4px; }
.price { font: 500 26px/1.3 "Figtree", sans-serif; letter-spacing: -.4px; color: var(--accent); margin-bottom: 16px; }
.plan ul { margin: 0 0 14px; padding-left: 18px; font-size: 14px; }
.plan li { margin-bottom: 6px; }
.plan li::marker { color: var(--accent); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; font-size: 14px !important; }

.bloom-final { border-top: 1px solid var(--line); padding-block: 72px 24px; text-align: center; display: grid; justify-items: center; }
.bloom-final img { width: 34px; height: 41px; margin-bottom: 22px; }
.bloom-final h2 { font-size: 32px; letter-spacing: -.6px; margin: 0 0 14px; }
.bloom-final p { margin-bottom: 12px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) { .copy { animation: none; } }
@media (max-width: 820px) {
  .bloom-hero { grid-template-columns: 1fr; gap: 48px; padding-block: 52px 64px; }
  .phone-stage { width: min(290px, 100%); justify-self: center; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
  .bloom-hero h1 { font-size: 38px; letter-spacing: -.9px; }
  .bloom-section { padding-block: 44px; }
  .bloom-section h2 { font-size: 24px; }
  .plans, .audience { grid-template-columns: 1fr; }
  .bloom-final h2 { font-size: 26px; }
}
