/* Clurb — the same tokens as the Mac app (docs/DESIGN.md). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Paper */
  --butter: #FFE27A;
  --mint: #BDEBCB;
  --peach: #FFC9AE;
  --lilac: #DCD0FF;
  --paper-clip: #F6F6F2;
  --tag: #FFFFFF;
  --perforation: #8E93A8;
  /* Ink */
  --ink: #1F2340;
  --ink-muted: #555B75;
  /* Pin colors */
  --bubblegum: #FF4FA3;
  --tangerine: #FF8A1F;
  --lagoon: #2EC4B6;
  --cobalt: #3D5AFE;
  --graphite: #3A3F55;
  --lime: #A3D92B;
  /* The desk, from the app icon */
  --desk: #2F4B6B;
  --desk-deep: #1B2C42;
  /* Page */
  --page: #FAFAF7;
  --page-raised: #FFFFFF;
  --text: #1F2340;
  --text-muted: #555B75;
  --hairline: rgba(31, 35, 64, 0.12);
  --fill: #E9EAF0;
  /* Shape and motion */
  --radius-note: 10px;
  --ease: cubic-bezier(.32, .08, .24, 1); /* iCloud's easing */
  --ease-spring: cubic-bezier(.34, 1.36, .5, 1);
  --shadow-paper: 0 1px 1px rgba(20, 24, 48, .25), 0 14px 28px -10px rgba(20, 24, 48, .55);
  --shadow-lifted: 0 1px 1px rgba(20, 24, 48, .2), 0 34px 50px -14px rgba(20, 24, 48, .6);
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 1180px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #12141C;
    --page-raised: #1B1E29;
    --text: #F2F3F7;
    --text-muted: #A9AEC2;
    --hairline: rgba(242, 243, 247, 0.12);
    --fill: #2A2D3A;
    /* Paper dims 10% in Dark Mode, as in the app; ink stays dark on it. */
    --butter: #E6CB6E;
    --mint: #AAD4B7;
    --peach: #E6B59D;
    --lilac: #C6BBE6;
    --paper-clip: #DDDDDA;
    --tag: #E6E6E6;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--bubblegum); outline-offset: 3px; border-radius: 6px; }

.brand { font-family: "Bricolage Grotesque", -apple-system, sans-serif; letter-spacing: -0.02em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--page-raised); padding: 8px 12px; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  background: color-mix(in srgb, var(--page) 72%, transparent);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; }
.logo img { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a { text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; opacity: .85; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
@media (max-width: 640px) { .site-nav a.optional { display: none; } }

.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--bubblegum); color: var(--ink);   /* ink on Bubblegum: 5.0:1 */
  font-weight: 650; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 20px -8px rgba(255, 79, 163, .7);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--hairline); }

/* ——— Paper: notes ——— */
.note {
  width: 236px; min-height: 200px; padding: 34px 22px 20px;
  background: var(--butter); color: var(--ink);
  border-radius: var(--radius-note);
  box-shadow: var(--shadow-paper);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease);
  touch-action: none; user-select: none; -webkit-user-select: none;
  font-size: 15px; line-height: 1.4;
}
.note.mint { background: var(--mint); }
.note.peach { background: var(--peach); }
.note.lilac { background: var(--lilac); }
.note h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; font-weight: 650; }
.note p { margin: 0; }
.note[data-drag] { cursor: grab; }
.note.lifted { cursor: grabbing; box-shadow: var(--shadow-lifted); transform: rotate(calc(var(--tilt, 0deg) + 2.5deg)) scale(1.04); transition: box-shadow .3s var(--ease), transform .25s var(--ease); z-index: 20; }

/* The grab strip: three dots, 5 pt, 5 apart, ink at 35%. */
.grab { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; justify-content: center; align-items: center; gap: 5px; }
.grab i { width: 5px; height: 5px; border-radius: 50%; background: rgba(31, 35, 64, .35); }
.tape { position: absolute; top: -10px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(var(--tape, -3deg)); background: rgba(255,255,255,.55); box-shadow: 0 1px 1px rgba(0,0,0,.08); clip-path: polygon(0 0, 100% 0, 97% 17%, 100% 33%, 97% 50%, 100% 67%, 97% 83%, 100% 100%, 0 100%, 3% 83%, 0 67%, 3% 50%, 0 33%, 3% 17%); }

.check { list-style: none; padding: 0; margin: 6px 0 0; }
.check li { display: flex; gap: 9px; align-items: baseline; margin: 5px 0; }
.check li::before { content: ""; flex: 0 0 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-muted); transform: translateY(2px); }
.check li.done { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--ink-muted); }
.check li.done::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--ink);
}

/* ——— Paper: bookmark tag ——— */
.tag {
  display: flex; align-items: center; gap: 14px;
  width: 300px; height: 92px; padding: 0 18px;
  background: var(--tag); color: var(--ink);
  border-radius: 16px 46px 46px 16px;
  box-shadow: var(--shadow-paper);
  transform: rotate(var(--tilt, 0deg));
}
.tag .favicon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; }
.tag b { display: block; font-size: 16px; font-weight: 650; line-height: 1.25; }
.tag small { color: var(--ink-muted); font-size: 13px; }
.tag .hole { margin-left: auto; flex: 0 0 14px; height: 14px; border-radius: 50%; background: var(--desk); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }

/* ——— Paper: clip receipt ——— */
.receipt {
  width: 250px; padding: 14px 16px 14px 20px;
  background: var(--paper-clip); color: var(--ink);
  border-radius: 6px; box-shadow: var(--shadow-paper);
  font: 500 13px/1.45 ui-monospace, "SF Mono", Menlo, monospace;
  transform: rotate(var(--tilt, 0deg));
}
.receipt::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; border-left: 2px dotted var(--perforation); }
.receipt .meta { display: flex; justify-content: space-between; font: 600 11px/1 -apple-system, sans-serif; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.stripes { display: grid; gap: 6px; padding: 4px 0; }
.stripes span { height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(31,35,64,.28) 0 10px, rgba(31,35,64,.12) 10px 14px); }

/* ——— Board ——— */
.board { display: flex; gap: 12px; width: 100%; max-width: 560px; }
.board .col { flex: 1 1 0; min-width: 0; min-height: 230px; padding: 10px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.6); background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 8px; }
.label { align-self: flex-start; padding: 4px 12px; background: rgba(255,255,255,.88); color: var(--ink); font-weight: 650; font-size: 13px; clip-path: polygon(0 0, 100% 0, 98% 25%, 100% 50%, 98% 75%, 100% 100%, 0 100%, 2% 75%, 0 50%, 2% 25%); }
.label .n { color: var(--ink-muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.card { background: var(--butter); color: var(--ink); border-radius: var(--radius-note); padding: 10px 12px; font-size: 13px; line-height: 1.35; box-shadow: 0 1px 2px rgba(20,24,48,.25); }
.card.mint { background: var(--mint); } .card.peach { background: var(--peach); } .card.lilac { background: var(--lilac); }
.card b { display: block; font-size: 14px; margin-bottom: 2px; }

/* ——— The pin ——— */
.pin { width: 68px; height: 56px; filter: drop-shadow(0 3px 3px rgba(20,24,48,.35)); }
.pin .eyes { transform-origin: center; animation: blink 6s infinite var(--ease); }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

/* ——— Sections ——— */
section.band { padding-block: clamp(56px, 7vw, 104px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--bubblegum)); }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; margin: 14px 0 18px; font-weight: 720; }
.lede-2 { font-size: clamp(18px, 2vw, 21px); color: var(--text-muted); max-width: 46ch; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
@media (max-width: 560px) { .stage { padding: 24px 16px; border-radius: 22px; } .stage .note { width: min(236px, 64%); } }
.stage { position: relative; min-height: 360px; border-radius: 28px; padding: 40px; background: linear-gradient(160deg, var(--desk) 0%, var(--desk-deep) 100%); overflow: hidden; display: grid; place-items: center; }
.stage .note, .stage .tag, .stage .receipt { position: relative; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.facts li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 6px; border-radius: 50%; background: var(--dot, var(--bubblegum)); }
kbd { font: 600 14px/1 -apple-system, sans-serif; padding: 3px 7px; border-radius: 6px; background: var(--fill); border: 1px solid var(--hairline); white-space: nowrap; }

/* The three-dot divider, the grab strip as a motif. */
.dots-rule { display: flex; justify-content: center; gap: 7px; padding: 0; }
.dots-rule i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); opacity: .45; }

/* ——— Promises grid ——— */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.promise { background: var(--page-raised); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px; }
.promise h3 { margin: 12px 0 6px; font-size: 20px; }
.promise p { margin: 0; color: var(--text-muted); font-size: 16px; }
.promise .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }

/* ——— Closing ——— */
.closing { text-align: center; }
.closing h2 { max-width: 16ch; margin-inline: auto; }
.closing .lede-2 { margin-inline: auto; }
.closing .actions { justify-content: center; display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ——— Footer ——— */
.site-footer { border-top: 1px solid var(--hairline); padding-block: 40px 56px; font-size: 14px; color: var(--text-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ——— Long-form pages (privacy, terms, support) ——— */
.doc { padding-block: 56px 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 12px 0 8px; font-weight: 750; }
.doc .updated { color: var(--text-muted); margin: 0 0 40px; }
.doc h2 { font-size: 26px; margin: 44px 0 10px; line-height: 1.2; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--butter); color: var(--ink); border-radius: var(--radius-note); padding: 26px 26px 22px; box-shadow: var(--shadow-paper); transform: rotate(-.6deg); margin: 8px 0 40px; position: relative; }
.doc .summary .grab { height: 22px; }
.doc .summary p { color: var(--ink); margin: 6px 0 0; }
.doc a { color: inherit; text-decoration-color: var(--bubblegum); text-underline-offset: 3px; text-decoration-thickness: 2px; }
details.q { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
details.q summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-weight: 400; color: var(--text-muted); transition: transform .3s var(--ease); }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { margin: 10px 0 0; color: var(--text-muted); }

/* ——— Design system page ——— */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.swatch { border-radius: 14px; overflow: hidden; border: 1px solid var(--hairline); background: var(--page-raised); }
.swatch .chip { height: 86px; background: var(--c); display: flex; align-items: flex-end; padding: 8px 10px; color: var(--on, var(--ink)); font-weight: 700; font-size: 20px; }
.swatch .meta { padding: 10px 12px 12px; font-size: 13px; line-height: 1.4; }
.swatch .meta b { display: block; font-size: 14px; }
.swatch code, .doc code { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.spec th, .spec td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec th { color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.demo-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--desk), var(--desk-deep)); margin: 16px 0; }
.demo-row .note, .demo-row .tag, .demo-row .receipt { position: relative; }
.ease-demo { height: 10px; border-radius: 5px; background: var(--fill); position: relative; overflow: hidden; margin: 8px 0 18px; }
.ease-demo span { position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--bubblegum); animation: ride 2.4s var(--ease) infinite alternate; }
.ease-demo.spring span { animation-timing-function: var(--ease-spring); background: var(--lagoon); }
@keyframes ride { to { left: calc(100% - 10px); } }

/* ——— Reveal on scroll (fade and barely scale, like iCloud) ——— */
.reveal { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ——— The Clurb window, drawn ——— */
.window { width: min(100%, 520px); background: var(--page-raised); color: var(--text); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; font-size: 14px; }
.win-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.win-body { display: grid; grid-template-columns: 150px 1fr; min-height: 240px; }
.win-side, .win-list { list-style: none; margin: 0; padding: 10px; }
.win-side { background: color-mix(in srgb, var(--fill) 55%, transparent); }
.win-side li { padding: 6px 10px; border-radius: 8px; font-weight: 500; }
.win-side li.sub { padding-left: 22px; color: var(--text-muted); }
.win-side li.on, .win-list li.on { background: color-mix(in srgb, var(--bubblegum) 22%, transparent); }
.win-list li { display: grid; grid-template-columns: 18px 1fr; gap: 0 10px; padding: 8px 10px; border-radius: 8px; }
.win-list li i { grid-row: span 2; width: 18px; height: 18px; border-radius: 5px; margin-top: 2px; }
.win-list small { color: var(--text-muted); font-size: 12px; }
@media (max-width: 520px) { .win-body { grid-template-columns: 1fr; } .win-side { display: none; } }
@media (max-width: 420px) { .board .optional-col { display: none; } }


/* ——— Hero: Clurb in the middle, its features circling ——— */
.desk { position: relative; color: #fff; background: radial-gradient(120% 90% at 85% 0%, #3E6390 0%, transparent 60%), linear-gradient(180deg, var(--desk) 0%, var(--desk-deep) 100%); }
.hero-light { background: radial-gradient(90% 70% at 75% 40%, color-mix(in srgb, var(--bubblegum) 7%, transparent), transparent 70%); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; min-height: min(820px, calc(100svh - 60px)); padding-block: 56px 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; margin: 0 0 22px; font-weight: 750; }
.hero h1 em { font-style: normal; color: var(--bubblegum); }
.hero p.lede { font-size: clamp(18px, 2vw, 22px); color: var(--text-muted); max-width: 32ch; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 32px 56px; } }

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.orbit-holder { display: grid; justify-items: center; }
.orbit { position: relative; width: min(620px, 100%); aspect-ratio: 1; container-type: size; }
.core {
  position: absolute; left: 50%; top: 50%; width: 46cqw; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #FFE3F0 0%, #FBD3E6 70%, #F6C3DB 100%);
  box-shadow: 0 30px 60px -20px rgba(255, 79, 163, .45), inset 0 0 0 1px rgba(255,255,255,.6);
}
.core-pin { width: 30cqw; height: auto; filter: drop-shadow(0 6px 10px rgba(20,24,48,.25)); }
.sat {
  position: absolute; left: 50%; top: 50%; width: var(--size); aspect-ratio: 1;
  --rx: 39cqw; --ry: 36cqw;
  translate: calc(-50% + cos(var(--a) + var(--start)) * var(--rx)) calc(-50% + sin(var(--a) + var(--start)) * var(--ry));
  animation: orbit 90s linear infinite;
}
@keyframes orbit { to { --a: 360deg; } }
.bubble {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: #fff; box-shadow: 0 18px 36px -14px rgba(20,24,48,.35), 0 0 0 1px rgba(20,24,48,.04);
  animation: bob 7s ease-in-out infinite alternate; animation-delay: calc(var(--start) / 360deg * -7s);
}
@keyframes bob { from { translate: 0 -3%; } to { translate: 0 3%; } }
.b-notes { background: var(--butter); }
.b-tags { background: var(--cobalt); }
.b-clips { background: var(--paper-clip); }
.b-draw { background: var(--peach); }
.b-archive { background: var(--lilac); }
.b-draw svg, .b-archive svg { width: 62%; }
.mini-note { width: 56%; aspect-ratio: 1; background: #FFF3B8; border-radius: 12%; position: relative; display: grid; align-content: start; gap: 9%; padding: 26% 14% 0; box-shadow: 0 4px 8px -4px rgba(20,24,48,.4); rotate: -4deg; }
.mini-note i { position: absolute; top: 9%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: rgba(31,35,64,.35); left: 50%; }
.mini-note i:nth-child(1) { translate: -230% 0; } .mini-note i:nth-child(2) { translate: -50% 0; } .mini-note i:nth-child(3) { translate: 130% 0; }
.mini-note b { display: block; height: 7%; min-height: 3px; border-radius: 9px; background: rgba(31,35,64,.55); }
.mini-note b.short { width: 60%; }
.mini-board { display: flex; gap: 6%; width: 64%; height: 54%; }
.mini-board > span { flex: 1; border: 2px dashed rgba(31,35,64,.25); border-radius: 18%; padding: 6%; display: grid; align-content: start; gap: 8%; }
.mini-board i { display: block; aspect-ratio: 1.6; border-radius: 22%; }
.mini-board .y { background: var(--butter); } .mini-board .p { background: var(--peach); } .mini-board .m { background: var(--mint); } .mini-board .l { background: var(--lilac); }
.mini-tag { width: 62%; height: 30%; background: #fff; border-radius: 14% 46% 46% 14% / 30% 50% 50% 30%; position: relative; }
.mini-tag::after { content: ""; position: absolute; right: 12%; top: 50%; translate: 0 -50%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--cobalt); }
.mini-receipt { width: 52%; height: 58%; background: #fff; border-radius: 6%; padding: 14% 12%; display: grid; align-content: start; gap: 12%; box-shadow: 0 4px 8px -5px rgba(20,24,48,.4); }
.mini-receipt b { height: 9%; min-height: 4px; border-radius: 9px; background: repeating-linear-gradient(90deg, rgba(31,35,64,.35) 0 6px, rgba(31,35,64,.14) 6px 9px); }
.mini-receipt b.short { width: 55%; }
/* Reminders, the way the app shows them: a white bell chip hanging off a note's bottom edge. */
.b-remind { background: var(--mint); }
.mini-remind { position: relative; width: 52%; aspect-ratio: 1; background: #E4F7EA; border-radius: 12%; padding: 24% 13% 0; display: grid; align-content: start; gap: 11%; rotate: 3deg; box-shadow: 0 4px 8px -4px rgba(20,24,48,.4); }
.mini-remind b { display: block; height: 8%; min-height: 3px; border-radius: 9px; background: rgba(31,35,64,.5); }
.mini-remind b.short { width: 55%; }
.mini-remind .chip { position: absolute; left: -12%; bottom: -13%; display: flex; align-items: center; gap: .6cqw; padding: .6cqw 1.6cqw .6cqw 1.2cqw; background: #fff; border-radius: 999px; color: var(--ink); font: 650 2.5cqw/1 -apple-system, sans-serif; box-shadow: 0 3px 6px -2px rgba(20,24,48,.35); white-space: nowrap; }
.mini-remind .chip svg { width: 2.6cqw; height: 2.6cqw; }
.orbit-caption { margin: 8px 0 0; font-size: 14px; color: var(--text-muted); text-align: center; letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .sat, .bubble { animation: none; } }
