/* Bloom Blocks: shared styles for the product, support, privacy and terms pages. */
:root {
  --bg0: #0b1026; --bg1: #141a3d; --bg2: #0a0f22;
  --text: #f4f6ff; --dim: rgba(244,246,255,0.68); --faint: rgba(244,246,255,0.42);
  --accent: #7c9cff; --accent2: #36d6c3; --petal: #ff8fc2; --gold: #ffb860;
  --card: rgba(255,255,255,0.055); --line: rgba(255,255,255,0.11);
  --font: ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", Roboto, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 17px/1.65 var(--font); color: var(--text);
  background: var(--bg0) linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 55%, var(--bg2) 100%) fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before, body::after { content: ""; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(10px); }
body::before { width: 70vw; height: 70vw; left: -20vw; top: -10vw; background: radial-gradient(circle, rgba(84,110,255,0.32), transparent 65%); }
body::after { width: 60vw; height: 60vw; right: -20vw; bottom: -15vw; background: radial-gradient(circle, rgba(0,214,190,0.22), transparent 65%); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #a9bdff; }
img { max-width: 100%; height: auto; display: block; }
.wrap { position: relative; z-index: 1; width: min(100% - 40px, 1040px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); }

.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a { color: var(--dim); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--card); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 900; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; }
p { margin: 0 0 1em; color: var(--dim); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--dim); max-width: 34em; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; color: #0b1026; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.store svg { width: 20px; height: 20px; fill: currentColor; }
.store.soon { background: var(--card); color: var(--dim); border: 1px solid var(--line); cursor: default; }
.store.soon small { font-weight: 700; color: var(--faint); margin-left: 4px; }

section { padding: 56px 0; }
.legal h1 { font-size: clamp(34px, 6vw, 50px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--dim); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal strong, .legal b { color: var(--text); }
.meta { color: var(--faint); font-size: 15px; margin-bottom: 28px; }
.tldr { border-left: 4px solid var(--accent2); }
.tldr p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--dim); }
th { color: var(--text); font-weight: 800; }
.tablewrap { overflow-x: auto; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent2); font-weight: 900; }
details[open] summary::after { content: "–"; }
details p:last-child { margin-bottom: 16px; }

footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 46px; color: var(--faint); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--dim); text-decoration: none; margin-left: 16px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
.brand { white-space: nowrap; }
.nav-links { flex-wrap: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .brand { font-size: 15px; gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 13.5px; padding: 7px 8px; }
}
