/* Bloo site. A classical serif for the loud things, a wide-and-tall variable sans for the rest, and motion that is meant to be noticed. */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..900,0..100,0..1;1,9..144,300..900,0..100,0..1&family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap");

:root {
  --paper: #fbf6ec;
  --ink: #15130f;
  --ink-soft: #3d3a33;
  --rust: #e2552b;
  --rust-ink: #b23a14;
  --sun: #ffc83d;
  --sky: #6fc3ff;
  --mint: #8fe3b1;
  --plum: #3b1f4a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Roboto Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14110d;
    --ink: #fbf6ec;
    --ink-soft: #d8d0bf;
    --plum: #2a1638;
    --rust-ink: #ff9a78;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; }

/* Type. Fraunces for statements; Roboto Flex stretched wide or tall for the big ones. */
.display {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 800;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0;
}
.display em { font-style: italic; font-weight: 300; color: var(--rust); }
.stretch-wide { font-family: var(--sans); font-variation-settings: "wdth" 151, "wght" 900; text-transform: uppercase; letter-spacing: -0.02em; }
.stretch-tall { display: inline-block; transform: scaleY(1.45); transform-origin: bottom; }
.h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 50, "WONK" 1;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.h2 em { font-style: italic; font-weight: 400; }
.h3 { font-family: var(--serif); font-variation-settings: "opsz" 48; font-weight: 650; font-size: 30px; line-height: 1.05; margin: 0 0 10px; }
.kicker {
  font-family: var(--sans); font-variation-settings: "wdth" 130, "wght" 800;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block; margin-bottom: 18px;
  background: var(--ink); color: var(--paper); padding: 6px 12px; border-radius: 999px;
}
.lede { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; font-variation-settings: "wdth" 96; max-width: 34ch; margin: 0 0 28px; color: var(--ink-soft); }
p { margin: 0 0 16px; }

/* Buttons: chunky, pill, and they bounce. */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 700 17px/1 var(--sans); font-variation-settings: "wdth" 110; text-decoration: none; cursor: pointer;
  transition: transform 0.5s var(--spring), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-4px) rotate(-1.5deg); background: var(--rust); border-color: var(--rust); color: #fff; }
.btn:active { transform: scale(0.94); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sun); border-color: var(--ink); color: var(--ink); }

/* Top bar: floats, sticks, and the wordmark wobbles when you look at it. */
.bar { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: var(--paper); border-bottom: 2px solid var(--ink); }
.bar .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 16px; }
.logo { font-family: var(--serif); font-variation-settings: "opsz" 72, "WONK" 1; font-weight: 800; font-size: 30px; text-decoration: none; letter-spacing: -0.03em; transition: transform 0.6s var(--spring); display: inline-flex; gap: 10px; align-items: center; }
.logo:hover { transform: rotate(-4deg) scale(1.06); }
.logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bar nav { display: flex; gap: 20px; font-size: 15px; font-variation-settings: "wdth" 115; font-weight: 600; }
.bar nav a { text-decoration: none; position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--spring); }
.bar nav a:hover::after { transform: scaleX(1); }

/* Hero. */
.hero { padding: 24px 0 0; overflow: hidden; }
.hero-title span { display: block; }
.hero-title .wide { font-family: var(--sans); font-variation-settings: "wdth" 151, "wght" 900; font-size: clamp(38px, 8.6vw, 124px); letter-spacing: -0.03em; line-height: 0.9; text-transform: uppercase; }
.swap { display: inline-block; min-width: 4ch; color: var(--rust); font-style: italic; font-weight: 300; }
.swap span { display: inline-block; transition: transform 0.6s var(--spring), opacity 0.4s; }
.swap span.out { transform: translateY(-60%) rotate(-6deg); opacity: 0; }
.hero-foot { display: grid; gap: 28px; margin-top: 44px; align-items: end; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1.1fr 0.9fr; } }
.badge { display: inline-grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); color: var(--ink); text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.05; transform: rotate(-12deg); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(348deg); } }

/* Marquee: the words keep going. */
.marquee { overflow: hidden; border-block: 3px solid var(--ink); margin: 72px 0 0; background: var(--sun); }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee-track span { font-family: var(--serif); font-variation-settings: "opsz" 144, "WONK" 1; font-style: italic; font-weight: 500; font-size: clamp(34px, 5vw, 64px); padding: 14px 26px; white-space: nowrap; }
.marquee-track span:nth-child(even) { font-style: normal; font-weight: 800; color: var(--rust); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections. */
section { padding: 72px 0 0; }
.story { display: grid; gap: 44px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; align-items: center; } }
.tall-word { font-family: var(--serif); font-variation-settings: "opsz" 144, "WONK" 1; font-weight: 800; font-size: clamp(120px, 22vw, 340px); line-height: 0.8; letter-spacing: -0.05em; margin: 0; transform: scaleY(1.4); transform-origin: top left; color: var(--rust); }

/* Facts: stretched numbers, no boxes. */
.numbers { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.numbers b { display: block; font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 900; font-size: clamp(96px, 16vw, 200px); line-height: 0.8; letter-spacing: -0.05em; }
.numbers b.tall { transform: scaleY(1.5); transform-origin: bottom; display: inline-block; }
.numbers span { display: block; margin-top: 14px; font-size: 18px; color: var(--ink-soft); max-width: 22ch; }

/* What it does: a grid of stickers that tilt when you touch them. */
.stickers { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 48px; }
@media (min-width: 720px) { .stickers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stickers { grid-template-columns: repeat(3, 1fr); } }
.sticker {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 28px; padding: 26px 26px 30px;
  box-shadow: 8px 8px 0 var(--ink); transition: transform 0.5s var(--spring), box-shadow 0.5s var(--spring), background 0.4s var(--ease);
}
.sticker:nth-child(3n+1) { background: var(--sky); }
.sticker:nth-child(3n+2) { background: var(--mint); }
.sticker:nth-child(3n) { background: var(--sun); }
.sticker:hover { transform: rotate(-2.5deg) translateY(-6px); box-shadow: 14px 14px 0 var(--ink); }
.sticker .num { font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 500; display: block; margin-bottom: 14px; }
.sticker p { margin: 0; font-size: 16px; color: var(--ink); }
.sticker.big { grid-column: auto; }
@media (min-width: 1000px) { .sticker.wide { grid-column: span 2; } }

/* Steps: a trail. */
.trail { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 0; counter-reset: s; }
.trail li { counter-increment: s; display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 32px 0; border-top: 3px solid var(--ink); }
.trail li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(64px, 9vw, 120px); line-height: 0.8; color: var(--rust); transition: transform 0.7s var(--spring); }
.trail li:hover::before { transform: scale(1.15) rotate(-6deg); }
.trail li:last-child { border-bottom: 3px solid var(--ink); }
.trail p { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.trail a { font-weight: 700; color: var(--rust); }

/* Quotes and asides. */
.aside { background: var(--plum); color: #fbf6ec; border-radius: 40px; padding: clamp(28px, 6vw, 64px); margin-top: 56px; position: relative; overflow: hidden; }
.aside .h2 { color: #fbf6ec; }
.aside p { color: #e8dfd0; max-width: 56ch; font-size: 19px; }
.aside::after { content: "\201C"; position: absolute; right: 20px; top: -40px; font-family: var(--serif); font-size: 340px; line-height: 1; color: rgba(255, 200, 61, 0.18); }

/* Questions: a stack of little cards that open. */
.qa { display: grid; gap: 14px; margin-top: 40px; max-width: 880px; }
.qa details { border: 3px solid var(--ink); border-radius: 22px; padding: 4px 22px; background: var(--paper); transition: background 0.4s var(--ease); }
.qa details[open] { background: var(--sun); }
.qa summary { cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 650; font-size: clamp(22px, 2.6vw, 30px); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--sans); font-weight: 800; font-size: 34px; transition: transform 0.5s var(--spring); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa details p { padding-bottom: 20px; margin: 0; font-size: 18px; }

/* Closing: a bold block that wiggles. */
.final { margin: 72px 0 0; background: var(--rust); color: #fff; border-radius: 48px; padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; overflow: hidden; }
.final .display { font-size: clamp(60px, 13vw, 190px); color: #fff; }
.final .display em { color: var(--sun); }
.final .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.final .btn { border-color: #fff; background: #fff; color: var(--rust); }
.final .btn.ghost { background: transparent; color: #fff; }
.final .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

footer { padding: 80px 0 60px; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Entrance: things arrive with a little bounce, once. Driven by the .in class the script adds. */
.rise { opacity: 0; transform: translateY(40px) rotate(var(--tilt, 0deg)); transition: opacity 0.8s var(--ease), transform 1s var(--spring); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }
.stretch-in { display: inline-block; transform: scaleX(0.2) scaleY(0.2); transform-origin: center; transition: transform 1.1s var(--spring); transition-delay: var(--d, 0s); }
.stretch-in.in { transform: none; }

/* Cursor glow behind the hero. */
.glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 55%, transparent), transparent); transform: translate(-50%, -50%); z-index: -1; left: var(--mx, -999px); top: var(--my, -999px); transition: opacity 0.4s; opacity: 0.8; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .glow { mix-blend-mode: screen; } }

/* Privacy policy: the same loud chrome, a readable column with jokes. */
.doc-hero { padding: 80px 0 40px; }
.doc { max-width: 760px; margin: 0 auto; padding: 40px 0 40px; }
.doc h2 { font-family: var(--serif); font-variation-settings: "opsz" 72, "WONK" 1; font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -0.02em; margin: 64px 0 18px; }
.doc h2 .n { display: inline-block; color: var(--rust); font-style: italic; font-weight: 400; margin-right: 10px; }
.doc p, .doc li { font-size: 18px; color: var(--ink-soft); }
.doc p strong, .doc li strong { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 10px; }
.doc .aside-note { border-left: 6px solid var(--sun); padding: 6px 0 6px 20px; font-style: italic; font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 26px 0; }
.doc .changes li { margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rise, .stretch-in { opacity: 1; transform: none; }
  .glow { display: none; }
}

/* Small screens: the header keeps only the name, so nothing crowds the hero text; sections and rows are tighter. */
@media (max-width: 620px) {
  .bar nav { display: none; }
  section { padding-top: 56px; }
  .hero { padding-top: 12px; }
  .numbers { gap: 16px; }
  .numbers b { font-size: clamp(72px, 24vw, 120px); }
  .stickers { gap: 16px; margin-top: 32px; }
  .sticker { padding: 22px 22px 26px; }
  .trail li { grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; }
  .aside { margin-top: 40px; border-radius: 28px; }
  .final { border-radius: 32px; margin-top: 56px; }
  .marquee { margin-top: 48px; }
}

/* Privacy policy: the same design as the homepage, with a contents list beside the text on wide screens. */
.doc-layout { display: block; padding-bottom: 24px; }
.toc { margin: 0 0 32px; padding: 20px 22px; border: 3px solid var(--ink); border-radius: 24px; background: var(--paper); }
.toc-title { font-family: var(--sans); font-variation-settings: "wdth" 130, "wght" 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--rust); text-decoration: underline; }
.doc h2 { scroll-margin-top: 24px; }
.callout { border: 3px solid var(--ink); border-radius: 24px; padding: 20px 24px; background: var(--sun); color: var(--ink); margin: 24px 0; box-shadow: 8px 8px 0 var(--ink); }
.callout.warm { background: var(--mint); }
.callout p { margin: 0; color: var(--ink); }
.doc details { border-top: 3px solid var(--ink); padding: 14px 0; }
.doc details:last-of-type { border-bottom: 3px solid var(--ink); }
.doc summary { cursor: pointer; font-family: var(--serif); font-weight: 650; font-size: 22px; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--wash, #ecebe6); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; word-break: break-word; }
.doc hr { border: 0; border-top: 3px solid var(--ink); margin: 56px 0 24px; }
.doc .fine { font-size: 15px; color: var(--ink-soft); }
.doc a { color: var(--rust); font-weight: 600; }
@media (min-width: 960px) {
  .doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1180px; }
  .toc { position: sticky; top: 24px; margin: 0; }
}

/* Without scripts (or without the features the animation needs) content is simply shown. */
html:not(.js) .rise, html:not(.js) .stretch-in { opacity: 1; transform: none; }

/* The brand: a small chip top left, with a little blur behind it, and nothing else across the top. */
.brand-chip {
  position: fixed; top: 14px; left: 14px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px;
  border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border: 2px solid var(--ink);
}
.brand-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
main { padding-top: 84px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
@media (max-width: 420px) { .facts-grid { grid-template-columns: 1fr; } }
.fact { border: 3px solid var(--ink); border-radius: 20px; padding: 14px 16px; background: var(--paper); }
.fact b { display: block; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 700; font-size: 26px; line-height: 1.1; }
.fact span { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }


/* The floating bar: the three places that matter, always one thumb away. */
.dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 2px solid var(--ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--ink) 40%, transparent);
  max-width: calc(100% - 24px);
}
.dock a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ink); }
.dock a:hover { background: var(--sun); }
.dock a[aria-current="page"] { background: var(--ink); color: var(--paper); }
body { padding-bottom: 96px; }
@media (max-width: 420px) { .dock a { padding: 9px 11px; font-size: 13px; } }

/* The plain HTML policy, pinned to the top bar so it is one tap from anywhere. */
.bar nav .plain-cta { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); }
.bar nav .plain-cta:hover { background: var(--ink); color: var(--paper); }


/* Contrast: small text uses the deeper accent; the bright one is for large display type only. */
a { color: var(--rust-ink); }
.trail a, .doc a, .fine a, footer a { color: var(--rust-ink); }
.marquee-track span:nth-child(even) { color: var(--ink); }
.kicker { color: var(--paper); }
.toc a:hover, .toc a:focus-visible { color: var(--rust-ink); }
.lede { color: var(--ink-soft); }
footer, .fine, .doc .fine { color: var(--ink-soft); }

/* Reflow: a changing word keeps its room, so the line never shifts what sits under it. */
.swap { min-width: 0; text-align: left; }
.hero-foot { min-height: 0; }
.toc { contain: layout style; }

/* Details open with a height animation rather than snapping the content below them down. */
:root { interpolate-size: allow-keywords; }
.doc details::details-content, .qa details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}
.doc details[open]::details-content, .qa details[open]::details-content { block-size: auto; }

/* Refinements: the rotating word wraps with the headline; the brand facts breathe; the bar and chip are larger frosted glass. */
.hero-title { text-wrap: balance; }
.swap { display: inline; }
.numbers { gap: 56px; }
@media (min-width: 720px) { .numbers { gap: 48px; } }
.numbers span { max-width: 26ch; }
.brand-chip {
  top: 18px; left: 18px; padding: 8px 22px 8px 8px; gap: 12px; font-size: 22px;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 8px 26px -14px rgba(0, 0, 0, 0.35);
}
.brand-chip img { width: 46px; height: 46px; }
.dock {
  bottom: 22px; padding: 8px; gap: 6px;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.4);
}
.dock a { font-size: 17px; padding: 12px 20px; }
@media (max-width: 420px) { .dock a { font-size: 15px; padding: 11px 13px; } .brand-chip { font-size: 19px; } }
/* A short, plain read ahead of each section of the policy. */
.simple { font-weight: 600; color: var(--ink); background: var(--wash, #ecebe6); border-left: 6px solid var(--sun); padding: 12px 16px; border-radius: 0 14px 14px 0; margin: 0 0 14px; }

/* Light callouts stay light in dark mode, so their dark text always has contrast. */
.callout, .callout p, .simple { color: #15130f; }
.callout { background: #ffc83d; }
.callout.warm { background: #a6e3bf; }
.simple { background: #ecebe6; border-left-color: #ffc83d; }
.callout strong, .simple strong { color: #15130f; }
.doc .callout p strong, .doc .simple strong, .doc .callout strong { color: #15130f; }
