/* KeyMood website. Warm paper, pastel blocks, white sheets. Mobile first. No framework. */
:root {
  --bg: #f7f4ed;
  --paper: #ffffff;
  --ink: #1e1b16;
  --muted: #5e594f;
  --faint: #8d877a;
  --line: #e6e0d3;
  --orange: #f26a1b;
  --orange-ink: #d9530a;
  --screen: #141311;

  --peach: #fdd9c6;
  --sky: #d0e1f5;
  --butter: #f9e6ab;
  --lilac: #dfd9f6;
  --sage: #d4e6cf;
  --rose: #f8d5dc;
  --mint: #cdeadf;

  --r-lg: 24px;
  --r-md: 18px;
  --gut: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --r-lg: 36px; --r-md: 22px; --gut: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--peach); }

.wrap { max-width: 1184px; margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tones */
.tone, .tone-peach { --tone: var(--peach); }
.tone-sky { --tone: var(--sky); } .tone-butter { --tone: var(--butter); } .tone-lilac { --tone: var(--lilac); }
.tone-sage { --tone: var(--sage); } .tone-rose { --tone: var(--rose); } .tone-mint { --tone: var(--mint); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(44px, 12.5vw, 96px); line-height: .96; }
h2 { font-size: clamp(34px, 8.4vw, 58px); }
h3 { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.45; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.hint { font-size: 13px; color: var(--faint); text-align: center; margin-top: 18px; }
.hint.left { text-align: left; }
.mono-label, .lbl, .count { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(30, 27, 22, .55); }
.btn-light { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { box-shadow: inset 0 0 0 1px #cfc8b8, 0 8px 20px -12px rgba(30, 27, 22, .35); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #ff7a2e; box-shadow: 0 12px 28px -10px rgba(242, 106, 27, .7); }
.btn-ghost-dark { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 237, .82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.brand img { width: 34px; height: 34px; margin: -3px; }
.nav-links { display: none; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav .wrap { height: 76px; } .nav-links { display: flex; } }

/* ---------- motion ---------- */
[data-r] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-r].in { opacity: 1; transform: none; filter: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-words .w > i { display: inline-block; font-style: normal; transform: translateY(105%); filter: blur(8px); opacity: 0; transition: transform 1s var(--ease), filter 1s var(--ease), opacity .6s; transition-delay: calc(var(--i) * 70ms + 80ms); }
.ready .split-words .w > i { transform: none; filter: none; opacity: 1; }
.studio-stage { opacity: 0; transform: translateY(48px) scale(.97); transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
.ready .studio-stage { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-r], .split-words .w > i, .studio-stage { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 20px; text-align: center; }
.hero h1 { max-width: 11ch; margin: 0 auto; }
.hero-lead { margin: 20px auto 0; }
.kicker-line { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); }
.kicker-line::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
.cta { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
@media (min-width: 560px) { .cta { flex-direction: row; justify-content: center; } }
@media (min-width: 760px) { .hero { padding: 72px 0 30px; } .hero h1 { max-width: none; font-size: clamp(56px, 7.4vw, 92px); } }

.sheet { background: var(--paper); border-radius: var(--r-md); box-shadow: 0 1px 0 rgba(30, 27, 22, .04), 0 18px 40px -22px rgba(30, 27, 22, .28); }

/* ---------- sound studio ---------- */
.studio { position: relative; margin-top: 36px; text-align: left; border-radius: var(--r-lg); background: var(--ink); padding: 0 6px; box-shadow: 0 40px 80px -40px rgba(30, 27, 22, .6); }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 10px 12px; color: #f6f4ef; font-size: 14px; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 9px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--butter); padding: 5px 10px; border-radius: 7px; transform: rotate(2deg); box-shadow: 2px 2px 0 rgba(0, 0, 0, .4); }
.studio-body { position: relative; background: var(--tone); border-radius: calc(var(--r-lg) - 8px); padding: 16px 12px 4px; overflow: hidden; transition: background-color .6s var(--ease); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.studio-controls { position: relative; z-index: 4; display: grid; gap: 14px; }
.ctl { display: grid; gap: 9px; }
.ctl .chips .chip { box-shadow: 0 1px 0 rgba(30, 27, 22, .06); }
.ctl .chips .chip[aria-pressed="true"] { box-shadow: 2px 2px 0 rgba(30, 27, 22, .25); }
.chip-link { display: inline-flex; align-items: center; background: transparent !important; box-shadow: inset 0 0 0 1px rgba(30, 27, 22, .25) !important; }
.chip-link:hover { background: rgba(255, 255, 255, .5) !important; }
.ctl-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.vol { display: inline-flex; align-items: center; gap: 12px; }
.vol input { width: 140px; }
.way { display: inline-flex; align-items: center; gap: 12px; }
.way-dots { display: flex; gap: 7px; }
.way-dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(30, 27, 22, .2); transition: transform .2s var(--ease), box-shadow .2s; }
.way-dot:hover { transform: scale(1.12); }
.way-dot[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(30, 27, 22, .2), 0 0 0 2px var(--tone), 0 0 0 4px var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 96px; height: 4px; border-radius: 4px; background: rgba(30, 27, 22, .18); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(30, 27, 22, .14), 0 2px 5px rgba(30, 27, 22, .22); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(30, 27, 22, .14), 0 2px 5px rgba(30, 27, 22, .22); }

.tester { position: relative; z-index: 4; margin-top: 16px; overflow: hidden; transition: box-shadow .3s; }
.tester:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -22px rgba(30, 27, 22, .28); }
#testBox { display: block; width: 100%; border: 0; outline: 0; resize: none; background: transparent; padding: 14px 16px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.03em; min-height: 74px; caret-color: var(--orange); }
#testBox::placeholder { color: #c4bdae; }

.studio-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 13px 10px 14px; font-family: var(--mono); font-size: 12px; color: #a9a397; }
#studioMsg { text-transform: uppercase; letter-spacing: .08em; color: #f6f4ef; }
.stats { display: flex; gap: 14px; white-space: nowrap; }
.stats b { font-weight: 500; color: #f6f4ef; }
.stat-pack { display: none; color: #f6f4ef; }

.buy-band { margin-top: 12px; padding: 18px; border-radius: var(--r-md); background: var(--ink); color: #f6f4ef; display: grid; gap: 14px; text-align: left; box-shadow: 4px 4px 0 var(--orange); }
.buy-band p { font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.buy-band .btn { height: 48px; }

@media (min-width: 560px) { .stat-pack { display: inline; } }
@media (min-width: 760px) {
  .studio { margin-top: 56px; padding: 0 8px; }
  .studio-bar { padding: 16px 14px; }
  .studio-body { padding: 26px 28px 6px; }
  .studio-foot { padding: 16px 14px 18px; }
  #testBox { font-size: 28px; padding: 20px 24px; min-height: 96px; }
  .buy-band { grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; margin-top: 16px; }
}

/* ---------- 3D keyboard ---------- */
/* Phones: the full board is wider than the screen and scrolls sideways. */
.kbd-scroll { position: relative; z-index: 2; margin: 0 -12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
.kbd-scroll::-webkit-scrollbar { display: none; }
.kbd-scene { width: 680px; perspective: 1300px; perspective-origin: 50% 0%; padding: 22px 24px 34px; }
.kbd-wrap {
  --case-1: #f4f3f1; --case-2: #e2e0dc; --case-3: #b9b6af;
  --skirt: #cdcac3; --cap-1: #ffffff; --cap-2: #f2f1ee; --legend: #1e1b16;
  --mskirt: #aeaaa1; --mcap-1: #e4e2dd; --mcap-2: #d6d3cd; --mlegend: #3d3a34;
  --askirt: #b9440a; --acap-1: #ff8b4d; --acap-2: #f26a1b; --alegend: #ffffff;
  --rx: 0deg; --ry: 0deg; --base: 18deg; --lift: 7px;
  position: relative; padding: 11px; border-radius: 18px; margin: 0 auto;
  background: linear-gradient(180deg, var(--case-1), var(--case-2));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(0, 0, 0, .08);
  transform: rotateX(calc(var(--base) + var(--rx))) rotateY(var(--ry));
  transform-origin: 50% 60%; transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.kbd-wrap[data-way="graphite"] {
  --case-1: #403e3b; --case-2: #2c2b28; --case-3: #131211;
  --skirt: #1d1c1a; --cap-1: #4d4b47; --cap-2: #3d3b38; --legend: #f6f4ef;
  --mskirt: #11100f; --mcap-1: #33312e; --mcap-2: #292826; --mlegend: #cbc7be;
  --askirt: #b9440a; --acap-1: #ff8b4d; --acap-2: #f26a1b; --alegend: #fff;
}
.kbd-wrap[data-way="retro"] {
  --case-1: #ece5d3; --case-2: #d9d1bc; --case-3: #a99f85;
  --skirt: #bdb49b; --cap-1: #f6f1e4; --cap-2: #e8e2d1; --legend: #4a4335;
  --mskirt: #7f7969; --mcap-1: #bab4a5; --mcap-2: #a9a393; --mlegend: #2f2b22;
  --askirt: #8a2a23; --acap-1: #e4635a; --acap-2: #c9443b; --alegend: #fff;
}
.kbd-wrap[data-way="matcha"] {
  --case-1: #f0f3e8; --case-2: #dde3d0; --case-3: #a9b196;
  --skirt: #c0c7ae; --cap-1: #fcfdf8; --cap-2: #eef1e4; --legend: #2f3a25;
  --mskirt: #6b8350; --mcap-1: #a9c08b; --mcap-2: #96af76; --mlegend: #1f2a16;
  --askirt: #1b3417; --acap-1: #457a3c; --acap-2: #2f5729; --alegend: #fff;
}
.kbd-wrap::after {   /* front wall of the case */
  content: ""; position: absolute; left: 8px; right: 8px; top: 100%; height: 16px; margin-top: -1px;
  background: linear-gradient(180deg, var(--case-3), color-mix(in srgb, var(--case-3) 76%, #000));
  border-radius: 0 0 8px 8px; transform-origin: 50% 0; transform: rotateX(-90deg);
}
.kbd-wrap::before {  /* shadow on the desk */
  content: ""; position: absolute; inset: 6% 2% -8%; border-radius: 30px;
  background: rgba(60, 40, 20, .32); filter: blur(22px); transform: translateZ(-14px) translateY(14px);
}
.kbd { display: grid; gap: 5px; user-select: none; -webkit-user-select: none; transform-style: preserve-3d; position: relative; }
.kbd-row { display: flex; gap: 5px; transform-style: preserve-3d; }
.kbd-row.frow { display: none; }
.key {
  --w: 1; flex: var(--w) 1 0; min-width: 0; height: 42px; padding: 0; position: relative;
  border-radius: 8px; background: var(--skirt);
  transform-style: preserve-3d; touch-action: pan-x pan-y; -webkit-tap-highlight-color: transparent;
}
.key .cap {
  position: absolute; inset: 1px 2px 4px; border-radius: 6px;
  background: linear-gradient(180deg, var(--cap-1), var(--cap-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(0, 0, 0, .07), 0 1px 1px rgba(0, 0, 0, .12);
  color: var(--legend); font-family: var(--body); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(var(--lift)); transition: transform .07s ease-out, filter .07s; pointer-events: none;
}
.key.mod { background: var(--mskirt); }
.key.mod .cap { background: linear-gradient(180deg, var(--mcap-1), var(--mcap-2)); color: var(--mlegend); font-size: 10.5px; align-items: flex-end; justify-content: flex-start; padding: 0 0 5px 7px; }
.key.mod.c .cap { align-items: center; justify-content: center; padding: 0; font-size: 13px; }
.key.accent-key { background: var(--askirt); }
.key.accent-key .cap { background: linear-gradient(180deg, var(--acap-1), var(--acap-2)); color: var(--alegend); font-size: 10.5px; align-items: flex-end; justify-content: flex-start; padding: 0 0 5px 7px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.key.down .cap, .key.hover .cap { transform: translateZ(1px); filter: brightness(.93); }
.drag-hint { position: relative; z-index: 3; margin: -6px 0 12px; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(30, 27, 22, .55); transition: opacity .5s; }
.drag-hint.gone { opacity: 0; }
@media (min-width: 760px) {
  .kbd-scroll { margin: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .kbd-scene { width: auto; perspective: 1900px; padding: 14px 0 76px; }
  .kbd-wrap { max-width: 980px; padding: 16px; border-radius: 24px; --lift: 10px; --base: 40deg; }
  .kbd-wrap::after { height: 26px; left: 10px; right: 10px; border-radius: 0 0 10px 10px; }
  .kbd-wrap::before { filter: blur(34px); transform: translateZ(-27px) translateY(26px); }
  .kbd, .kbd-row { gap: 7px; }
  .kbd-row.frow { display: flex; }
  .key { height: 54px; border-radius: 9px; }
  .key .cap { inset: 1px 3px 5px; border-radius: 7px; font-size: 15px; }
  .key.mod .cap, .key.accent-key .cap { font-size: 11.5px; padding: 0 0 6px 8px; }
  .key.mod.c .cap { font-size: 14px; }
  .drag-hint { display: none; }
}
@media (max-width: 759px) {
  /* phones: the sideways scroller clips anything below it, so a big blurred desk shadow
     showed as a hard brown band. Keep it small and soft so it fades out inside the box. */
  .kbd-scene { padding-bottom: 30px; }
  .kbd-wrap::before { inset: 10% 4% 2%; background: rgba(60, 40, 20, .16); filter: blur(10px); transform: translateZ(-10px) translateY(6px); }
}
@media (prefers-reduced-motion: reduce) { .kbd-wrap { transition: none; } }

/* ---------- numbers ---------- */
.numbers { padding: 56px 0 8px; }
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; border-top: 1px solid var(--line); padding-top: 30px; }
.num-grid b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 9vw, 72px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.num-grid span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .numbers { padding: 90px 0 0; } .num-grid { grid-template-columns: repeat(4, 1fr); padding-top: 40px; } .num-grid span { font-size: 15px; } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.paper { background: var(--paper); }
.head { display: grid; gap: 16px; margin-bottom: 30px; }
.head.center { text-align: center; justify-items: center; }
.head h2 { max-width: 16ch; }
@media (min-width: 760px) { .sec { padding: 120px 0; } .head { margin-bottom: 48px; gap: 20px; } }

.duo { display: grid; gap: 30px; }
.duo > * { min-width: 0; }
.copy { display: grid; gap: 18px; align-content: center; }
.copy h2 { max-width: 13ch; }
@media (min-width: 940px) {
  .duo { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 72px; align-items: center; }
  .duo.rev { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
  .duo.rev .copy { order: 2; }
  .copy { gap: 22px; }
}

.block { position: relative; border-radius: var(--r-lg); background: var(--tone); padding: 16px; display: grid; place-items: center; min-height: 340px; overflow: hidden; }
.block > * { width: 100%; }
.block.col { align-content: center; gap: 14px; }
@media (min-width: 760px) { .block { padding: 44px; min-height: 520px; } }

.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--tone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.6 8.3 2.3 2.2 4.500-5' stroke='%231e1b16' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
@media (min-width: 940px) { .chips.scroll { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.chip { flex: none; height: 36px; padding: 0 15px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--ease); }
.chip:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #cfc8b8; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.opt { display: grid; gap: 9px; }

/* ---------- screens (dark demo surfaces) ---------- */
.screen { border-radius: var(--r-md); overflow: hidden; background: var(--screen); box-shadow: 0 24px 50px -24px rgba(30, 27, 22, .55); }
.pad { position: relative; height: 300px; cursor: crosshair; touch-action: none; background: radial-gradient(100% 80% at 50% 0%, #24221e 0%, #100f0d 78%); outline-offset: -4px; }
.pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pad-hint { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; pointer-events: none; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; color: #57534a; transition: opacity .4s; }
.pad.used .pad-hint { opacity: 0; }
@media (min-width: 760px) { .pad { height: 400px; } .pad-hint { font-size: 24px; } }
.mouse-ico { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 66px; border-radius: 21px; border: 1.5px solid #45423b; overflow: hidden; pointer-events: none; }
.mouse-ico::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 52%; width: 1.5px; margin-left: -.75px; background: #45423b; }
.mouse-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 48%; height: 1.5px; background: #45423b; }
.mouse-ico .l, .mouse-ico .r { position: absolute; top: 0; height: 48%; width: 50%; transition: background .08s; }
.mouse-ico .l { left: 0; } .mouse-ico .r { right: 0; }
.mouse-ico .l.on, .mouse-ico .r.on { background: var(--orange); }
.mouse-ico .wheel { position: absolute; left: 50%; top: 11px; width: 6px; height: 13px; margin-left: -3px; border-radius: 3px; background: #7a756a; z-index: 2; transition: background .08s; }
.mouse-ico .wheel.on { background: #fff; }

/* ---------- ambient ---------- */
.amb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 520px) { .amb-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.amb { padding: 14px; border-radius: 18px; background: var(--paper); display: grid; gap: 10px; box-shadow: 0 12px 26px -20px rgba(30, 27, 22, .4); transition: background .35s, color .35s, transform .35s var(--ease); }
.amb .top { display: flex; align-items: center; justify-content: space-between; }
.amb .ico { width: 26px; height: 26px; cursor: pointer; }
.amb .ico svg { width: 26px; height: 26px; }
.amb .nm { font-weight: 600; font-size: 14.5px; letter-spacing: -0.015em; }
.amb input[type=range] { width: 100%; opacity: .5; transition: opacity .2s; }
.amb.on { background: var(--ink); color: #fff; transform: translateY(-2px); }
.amb.on input[type=range] { opacity: 1; background: #4a463e; }
.amb .sw, .switch { width: 40px; height: 24px; border-radius: 12px; background: #ddd7c9; position: relative; transition: background .25s; flex: none; }
.amb .sw::after, .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 4px rgba(30, 27, 22, .25); }
.amb.on .sw, .switch[aria-checked="true"] { background: var(--orange); }
.amb.on .sw::after, .switch[aria-checked="true"]::after { transform: translateX(16px); }

/* ---------- music ---------- */
.music-box { padding: 14px; }
.music-input { display: block; width: 100%; min-height: 110px; resize: none; border-radius: 14px; padding: 14px 16px; border: 0; outline: 0; background: var(--bg); font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; line-height: 1.3; caret-color: var(--orange); transition: box-shadow .25s; }
.music-input::placeholder { color: #c4bdae; }
.music-input:focus { box-shadow: 0 0 0 2px var(--ink); }
.notes { height: 76px; position: relative; overflow: hidden; margin-top: 10px; background: repeating-linear-gradient(180deg, transparent 0 14px, var(--line) 14px 15px); }
.note-dot { position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: rise 1.5s ease-out forwards; }
.note-dot:nth-child(3n) { background: var(--orange); }
@keyframes rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-90px); opacity: 0; } }
.music-opts { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 520px) { .music-opts { grid-template-columns: 1fr 1fr; } .music-box { padding: 20px; } }
.music-opts label { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.select { appearance: none; -webkit-appearance: none; width: 100%; height: 42px; padding: 0 36px 0 14px; border-radius: 12px; border: 0; cursor: pointer; font-family: var(--body); font-size: 14.5px; font-weight: 500; color: var(--ink);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.500 6 7.500 9 4.500' stroke='%231e1b16' stroke-width='1.500' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 15px; font-weight: 500; }

/* ---------- buddy ---------- */
.buddy-stage { min-height: 380px; display: block; padding: 0; }
.buddy-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5)); pointer-events: none; }
.buddy { position: absolute; z-index: 2; left: 50%; bottom: 6%; width: 230px !important; height: 230px; margin-left: -115px; cursor: pointer; transition: left 2.6s cubic-bezier(.45, .05, .4, 1); }
.buddy .body { width: 100%; height: 100%; }
/* the 3D buddy animates itself (breathing, hops, walk cycle, blinks, lip-sync); clicks go to .buddy */
.buddy iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; pointer-events: none; color-scheme: light; }
@keyframes breathe { 50% { transform: scale(1.02, .98); } }
@keyframes hop { 40% { transform: translateY(-36px) scale(.96, 1.04); } 80% { transform: translateY(0) scale(1.05, .95); } }
@keyframes waddle { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) translateY(-6px); } }
.bubble { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 8px) scale(.9); opacity: 0; background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px; padding: 9px 15px; border-radius: 18px; white-space: nowrap; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.bubble::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.zzz { position: absolute; right: 12px; top: 0; font-family: var(--mono); font-weight: 500; color: var(--muted); opacity: 0; pointer-events: none; }
.buddy.sleeping .zzz { animation: zz 2.4s ease-in-out infinite; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0) scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(18px, -40px) scale(1.2); } }
.buddy-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.bp { width: 50px; height: 50px; border-radius: 15px; background: var(--paper); padding: 2px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.bp:hover { transform: translateY(-3px) rotate(-3deg); }
.bp[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.buddy-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.reminder-card { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; width: auto !important; padding: 12px 14px; display: flex; gap: 12px; align-items: center; transform: translateY(-160%); transition: transform .6s var(--ease); }
.reminder-card.show { transform: none; }
.reminder-card .ri { width: 36px; height: 36px; flex: none; background: url("../img/icon.png") center/122% no-repeat; }
.reminder-card b { display: block; font-size: 14.5px; font-weight: 600; }
.reminder-card span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
@media (min-width: 760px) { .buddy-stage { min-height: 520px; } .buddy { width: 300px !important; height: 300px; margin-left: -150px; } .reminder-card { left: auto; top: 22px; right: 22px; width: 300px !important; } }

/* ---------- menu bar replica ---------- */
.desktop { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; background: linear-gradient(150deg, var(--sky) 0%, #e2e6ef 50%, var(--peach) 100%); }
.menubar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: rgba(255, 255, 255, .4); font-size: 13px; font-weight: 500; position: relative; }
.menubar .left, .menubar .right { display: flex; gap: 16px; align-items: center; }
.menubar .left b { font-weight: 700; }
.menubar .left span { display: none; }
.menubar .mb-icon { width: 24px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: rgba(30, 27, 22, .14); }
.menubar .mb-icon svg { width: 15px; height: 15px; }
.notch { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 30px; min-width: 112px; padding: 0 12px; background: #000; border-radius: 0 0 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: min-width .5s var(--ease); }
.notch .np { display: none; font-size: 11.5px; color: #f6f4ef; font-weight: 600; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.viz { display: flex; gap: 2.5px; align-items: center; height: 16px; }
.viz i { width: 3px; height: 3px; border-radius: 2px; background: var(--orange); transition: height .09s; }
.panel { position: absolute; left: 12px; right: 12px; top: 42px; padding: 14px; border-radius: 22px; }
.panel .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel .ph img { width: 38px; height: 38px; margin: -3px; }
.panel .ph b { display: block; font-size: 15px; font-weight: 600; }
.panel .ph span { font-size: 12.5px; color: var(--muted); }
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mood { height: 38px; border-radius: 12px; background: var(--bg); font-size: 13px; font-weight: 500; transition: background .3s, color .3s; }
.mood[aria-pressed="true"] { background: var(--accent, var(--orange)); color: #fff; }
.ptiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 4px; margin-top: 14px; }
.pt { display: grid; justify-items: center; gap: 5px; min-width: 0; font-size: 11px; color: var(--faint); }
.pt-l { white-space: nowrap; }
.pt i { width: min(44px, 100%); height: auto; aspect-ratio: 1; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.pt:active i { transform: scale(.9); }
.pt i svg { width: 21px; height: 21px; }
.pt[aria-pressed="true"] { color: var(--ink); }
.pt[aria-pressed="true"] i { background: var(--accent, var(--orange)); color: #fff; }
.pfocus { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--bg); font-size: 14px; }
.pfocus b { font-family: var(--mono); font-weight: 500; margin-left: 6px; }
@media (max-width: 420px) {
  /* small phones: five tiles a row must fit the card, labels included */
  .panel { padding: 12px; }
  .ptiles { gap: 10px 0; }
  .pt { font-size: clamp(9.5px, 2.9vw, 11px); letter-spacing: -0.01em; }
  .pt i svg { width: 19px; height: 19px; }
  .mood { font-size: 12.5px; }
}
.desk-buddy { position: absolute; left: 8%; bottom: 14px; width: 84px; transition: left 3s cubic-bezier(.45, .05, .4, 1); }
.desk-buddy img { animation: waddle .5s ease-in-out infinite; }
@media (min-width: 760px) {
  .desktop { min-height: 600px; }
  .menubar .left span { display: inline; }
  .notch { min-width: 190px; } .notch .np { display: inline; } .notch.wide { min-width: 300px; } .notch.wide .np { opacity: 1; }
  .panel { left: auto; right: 16px; width: 330px; padding: 16px; }
  .desk-buddy { width: 100px; }
}

/* ---------- focus ---------- */
.focus-card { padding: 22px; text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 380px; margin: 0 auto; }
.f-time { font-family: var(--display); font-weight: 700; font-size: 72px; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.f-bar { width: 100%; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: #8f7fe0; transition: width 1s linear; }
.garden { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 380px; margin: 0 auto; }
.plot { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, .6); display: grid; place-items: end center; overflow: hidden; }
.plot svg { width: 80%; height: 80%; transform-origin: 50% 100%; animation: grow .7s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes grow { from { transform: scale(0); } }
@media (min-width: 760px) { .focus-card { padding: 30px; } .f-time { font-size: 88px; } }

/* ---------- small things ---------- */
.small { display: grid; gap: 34px; }
.small-head { display: grid; gap: 16px; align-content: start; }
.small-head h2 { max-width: 11ch; }
.rows { border-top: 1px solid var(--line); }
.row { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.row p { color: var(--muted); font-size: 15px; }
@media (min-width: 940px) {
  .small { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 72px; }
  .small-head { position: sticky; top: 120px; }
  .row { grid-template-columns: 210px 1fr; gap: 24px; padding: 22px 0; align-items: baseline; transition: padding .35s var(--ease); }
  .row:hover { padding-left: 12px; }
}

/* ---------- themes ---------- */
.themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .themes { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1040px) { .themes { grid-template-columns: repeat(6, 1fr); } }
.th { border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.th:hover { transform: translateY(-4px) rotate(-1deg); }
.th .swatch { height: 84px; padding: 13px; display: grid; gap: 6px; align-content: end; }
.th .swatch i { display: block; height: 7px; border-radius: 4px; }
.th .nm { padding: 10px 13px 12px; font-size: 13.5px; font-weight: 600; }

/* ---------- privacy ---------- */
.wide { border-radius: var(--r-lg); background: var(--tone); padding: 28px 18px 18px; display: grid; gap: 26px; }
.wide-copy { display: grid; gap: 14px; }
.priv-points { display: grid; gap: 8px; }
.priv-points .sheet { padding: 16px 18px; box-shadow: none; }
.priv-points b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.015em; }
.priv-points span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
@media (min-width: 560px) { .priv-points { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (min-width: 940px) { .wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 56px; padding: 64px; align-items: center; } }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%231e1b16' stroke-width='1.500' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); }
.faq a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .faq summary { font-size: 19px; padding: 24px 0; } }

/* ---------- pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, #f6e1d3 100%); padding-bottom: 96px; }
.price-card { max-width: 440px; margin: 0 auto; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 12px; box-shadow: 0 40px 80px -40px rgba(30, 27, 22, .7); }
.price-top { display: flex; align-items: center; gap: 12px; }
.price-top img { width: 64px; height: 64px; margin: -6px; }
.price-top b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.04em; }
.price-top span { font-size: 14px; color: #b3ad9f; }
.price { font-family: var(--display); font-weight: 700; font-size: 76px; letter-spacing: -0.05em; line-height: 1; margin: 10px 0 8px; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 400; letter-spacing: 0; color: #b3ad9f; margin-left: 8px; }
.price-list { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 11px; font-size: 14.5px; }
.price-list li { display: flex; gap: 11px; }
.price-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.500 3.200 3 6.800-7.500' stroke='%23f26a1b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.price-foot { margin-top: 8px; font-size: 12px; line-height: 1.6; color: #8d877a; }
@media (min-width: 760px) { .price-card { padding: 36px; } .price { font-size: 92px; } .pricing { padding-bottom: 140px; } }

/* ---------- footer ---------- */
footer { background: #f6e1d3; padding: 26px 0 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(30, 27, 22, .1); padding-top: 26px; }
footer .brand { font-size: 18px; color: var(--ink); }
footer .brand img { width: 28px; height: 28px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 56px var(--gut) 100px; }
.legal h1 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 14px; }
.legal h2 { font-size: 26px; margin: 44px 0 10px; letter-spacing: -0.035em; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { font-family: var(--mono); color: var(--faint); font-size: 12.5px; }
.legal a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 170%); z-index: 80; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--ink); color: #fff; box-shadow: 0 14px 34px -10px rgba(30, 27, 22, .55); transition: transform .55s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.toast { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: max-content; line-height: 1.35; display: flex; align-items: center; gap: 10px; }
.toast .t-ico { flex: none; width: 18px; height: 18px; }
@media (max-width: 600px) {
  /* phones: full-width card above the home bar, wraps cleanly, easy to read */
  .toast { left: 16px; right: 16px; width: auto; max-width: none; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(calc(100% + 40px)); border-radius: 16px; padding: 13px 16px; font-size: 14.5px; justify-content: center; text-align: left; }
  .toast.show { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity .2s; } }


/* ---------- numbers: Sound lab link ---------- */
.lab-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.lab-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 34px -22px rgba(30, 27, 22, .4); }
.lab-link b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 4px; }
.lab-link span { color: var(--muted); font-size: 15px; }
.lab-link .arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; transition: transform .35s var(--ease); }
.lab-link:hover .arrow { transform: translateX(4px) rotate(-8deg); }
@media (min-width: 760px) { .lab-link { padding: 26px 30px; margin-top: 48px; } .lab-link b { font-size: 32px; } }

/* ---------- Sound lab page ---------- */
.lab-pick { display: flex; gap: 8px; align-items: center; }
.lab-pick .select { flex: 1; height: 46px; background-color: var(--paper); font-size: 15.5px; font-weight: 600; box-shadow: 0 1px 0 rgba(30, 27, 22, .06); }
.icon-btn { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; box-shadow: 0 1px 0 rgba(30, 27, 22, .06); transition: transform .2s var(--ease), background .2s; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.pick-desc { font-size: 14px; color: rgba(30, 27, 22, .7); min-height: 1.4em; }

.lineup-sec { padding-top: 56px; }
.lab-cats { position: sticky; top: 64px; z-index: 20; margin: 0 calc(var(--gut) * -1) 8px; padding: 10px 0; background: rgba(247, 244, 237, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lab-cats .chips.scroll { flex-wrap: nowrap !important; overflow-x: auto !important; margin: 0 !important; padding: 2px var(--gut) !important; }
.lab-cats .chip { display: inline-flex; align-items: center; }
@media (min-width: 900px) { .lab-cats { top: 76px; } }
.lgroup { padding-top: 40px; scroll-margin-top: 140px; }
.lhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.lhead h3 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.lcount { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.lrow { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background-color .3s; }
.lrow .ltext { cursor: pointer; min-width: 0; }
.lrow .nm { font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em; }
.lrow .ds { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.lplay { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background .25s, color .25s, transform .25s var(--ease); }
.lplay svg { width: 16px; height: 16px; margin-left: 2px; }
.lplay .eq { display: none; gap: 2.5px; align-items: center; height: 14px; }
.lplay .eq i { width: 3px; height: 4px; border-radius: 2px; background: #fff; animation: eq .45s ease-in-out infinite alternate; }
.lplay .eq i:nth-child(2) { animation-delay: .12s; } .lplay .eq i:nth-child(3) { animation-delay: .24s; }
@keyframes eq { to { height: 14px; } }
.lrow:hover .lplay { background: var(--ink); color: #fff; box-shadow: none; transform: scale(1.05); }
.lrow.playing .lplay { background: var(--orange); color: #fff; box-shadow: none; }
.lrow.playing .lplay svg { display: none; }
.lrow.playing .lplay .eq { display: flex; }
.luse { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.luse:hover { background: var(--ink); color: #fff; box-shadow: none; }
.lrow.current .luse { background: var(--ink); color: #fff; box-shadow: none; }
.lrow.current .nm::after { content: "In the studio"; margin-left: 10px; padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; vertical-align: 2px; background: var(--peach); }
@media (min-width: 760px) {
  .lhead h3 { font-size: 34px; }
  .lrow { grid-template-columns: 52px minmax(0, 260px) minmax(0, 1fr) auto; gap: 22px; padding: 16px 0; }
  .lrow .ltext { display: contents; }
  .lrow .ds { margin-top: 0; font-size: 15px; }
  .lrow:hover { padding-left: 10px; }
  .lplay { width: 52px; height: 52px; }
}

/* studio: effect picker row */
.studio .ctl .chips.scroll { margin: 0 -12px; padding: 2px 12px; }
@media (min-width: 760px) { .studio .ctl .chips.scroll { margin: 0 -28px; padding: 2px 28px; } }
@media (min-width: 940px) { .studio .ctl .chips.scroll { margin: 0; padding: 0; } }

/* studio: sound + effect pickers in one row */
.pick-row { display: grid; gap: 14px; }
@media (min-width: 760px) { .pick-row { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } }
.lbl-link { margin-left: 8px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30, 27, 22, .3); }
.lbl-link:hover { text-decoration-color: var(--ink); }

/* ---------- custom dropdown ---------- */
.dd-trigger { flex: 1; min-width: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 0 16px; border-radius: 12px; background: var(--paper); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; text-align: left; box-shadow: 0 1px 0 rgba(30, 27, 22, .06); transition: box-shadow .2s; }
.dd-trigger:hover { box-shadow: 0 1px 0 rgba(30, 27, 22, .06), 0 0 0 1px rgba(30, 27, 22, .14); }
.dd-trigger[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--ink); }
.dd-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-chev { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.dd-trigger[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }

.dd-pop {
  position: fixed; z-index: 120; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 6px;
  background: var(--paper); border-radius: 16px; outline: none;
  box-shadow: 0 0 0 1px rgba(30, 27, 22, .08), 0 28px 60px -18px rgba(30, 27, 22, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: 50% 0;
  transition: opacity .18s ease, transform .28s var(--ease), visibility 0s linear .28s;
  scrollbar-width: thin; scrollbar-color: #d6cfc0 transparent;
}
.dd-pop.up { transform: translateY(6px) scale(.98); transform-origin: 50% 100%; }
.dd-pop.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .28s var(--ease), visibility 0s; }
.dd-head { display: none; }
.dd-group { position: sticky; top: 0; z-index: 1; margin: 0 -6px; padding: 12px 16px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dd-sec:first-of-type > .dd-opt:first-child { margin-top: 6px; }
.dd-trigger .dd-chev { transition: transform .3s var(--ease); }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; -webkit-user-select: none; }
.dd-opt.active { background: var(--bg); }
.dd-opt[aria-selected="true"] { font-weight: 600; }
.dd-opt[aria-selected="true"]::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%23f26a1b' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* phones: bottom sheet */
.dd-pop.sheet { left: 0 !important; right: 0; bottom: 0 !important; top: auto !important; width: auto !important; max-height: min(74vh, 600px) !important; border-radius: 24px 24px 0 0; padding: 0 10px calc(14px + env(safe-area-inset-bottom)); transform: translateY(100%); transform-origin: 50% 100%; box-shadow: 0 -20px 60px -20px rgba(30, 27, 22, .45); transition: opacity .2s ease, transform .42s var(--ease), visibility 0s linear .42s; }
.dd-pop.sheet.open { transform: none; transition: opacity .2s ease, transform .42s var(--ease), visibility 0s; }
.dd-pop.sheet .dd-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 -10px; padding: 22px 16px 12px 20px; background: var(--paper); }
.dd-pop.sheet .dd-head::before { content: ""; position: absolute; left: 50%; top: 8px; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: #ddd6c8; }
.dd-pop.sheet .dd-head b { font-family: var(--display); font-size: 22px; letter-spacing: -0.035em; }
.dd-close { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.dd-close svg { width: 16px; height: 16px; }
.dd-pop.sheet .dd-group { top: 66px; margin: 0 -10px; padding: 12px 20px 6px; }
.dd-pop.sheet .dd-opt { min-height: 48px; font-size: 16px; padding: 10px 14px; }
.dd-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(30, 27, 22, .38); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.dd-backdrop.show { opacity: 1; pointer-events: auto; }
html.dd-lock, html.dd-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .dd-pop, .dd-pop.sheet, .dd-backdrop { transition: none !important; } }

/* ---------- docs ---------- */
.docs-hero { padding-top: 40px; padding-bottom: 8px; }
.docs-hero h1 { font-size: clamp(44px, 9vw, 76px); margin-bottom: 14px; }
.docs-hero .lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.docs { display: grid; gap: 24px; padding-top: 22px; padding-bottom: 100px; }
.docs > * { min-width: 0; }

.toc { position: sticky; top: 64px; z-index: 30; margin: 0 calc(var(--gut) * -1); }
.toc-box { background: rgba(247, 244, 237, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.toc-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); font-weight: 600; font-size: 15px; }
.toc-box > summary::-webkit-details-marker { display: none; }
.toc-box > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.toc-box[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.toc-search { display: block; width: calc(100% - var(--gut) * 2); margin: 0 var(--gut) 10px; height: 42px; padding: 0 14px 0 38px; border: 0; border-radius: 12px; outline: none; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d877a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 12px center / 17px; box-shadow: inset 0 0 0 1px var(--line); }
.toc-search:focus { box-shadow: 0 0 0 2px var(--ink); }
#tocNav { max-height: 56vh; overflow-y: auto; padding: 0 var(--gut) 14px; overscroll-behavior: contain; scrollbar-width: thin; }
.toc-h { margin: 14px 0 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
#tocNav a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 9px; font-size: 14.5px; color: var(--muted); transition: background .2s, color .2s; }
#tocNav a:hover { color: var(--ink); background: rgba(30, 27, 22, .05); }
#tocNav a.on { color: var(--ink); font-weight: 600; background: var(--paper); box-shadow: inset 2px 0 0 var(--orange); }
.toc-empty { padding: 4px var(--gut) 14px; font-size: 14px; color: var(--faint); }

@media (min-width: 940px) {
  .docs { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 40px; }
  .toc { top: 96px; align-self: start; margin: 0; }
  .toc-box { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
  .toc-box > summary { display: none; }
  .toc-search { width: 100%; margin: 0 0 12px; }
  #tocNav { max-height: calc(100vh - 170px); padding: 0 6px 20px 0; }
}

.doc { max-width: 760px; font-size: 16.5px; line-height: 1.65; }
.doc section { padding: 34px 0 6px; scroll-margin-top: 140px; border-top: 1px solid var(--line); }
.doc section:first-child { border-top: 0; padding-top: 4px; }
.doc .doc-kicker { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); }
.doc h2 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 14px; }
.doc h3 { margin: 24px 0 8px; font-size: 18px; }
.doc p { margin: 0 0 14px; color: #3d3931; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; color: #3d3931; }
.doc li { margin: 6px 0; }
.doc b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(242, 106, 27, .55); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.doc a:hover { text-decoration-color: var(--orange); }
.doc ol.steps { list-style: none; padding: 0; counter-reset: s; }
.doc ol.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 42px; margin: 12px 0; }
.doc ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 13px; display: grid; place-items: center; }
.doc ol.chain { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: c; }
.doc ol.chain li { counter-increment: c; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.doc ol.chain li::before { content: counter(c) "  "; font-family: var(--mono); color: var(--orange-ink); white-space: pre; }
.note { margin: 6px 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--peach); font-size: 15.5px; line-height: 1.55; color: #3d3931; }
.table-wrap { margin: 4px 0 18px; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.doc th { text-align: left; padding: 11px 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); background: #fbfaf6; }
.doc td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #3d3931; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 600; color: var(--ink); min-width: 140px; }
.doc table.keys td:first-child { white-space: nowrap; }
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin: 0 1px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 2px 0 var(--line); font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink); vertical-align: 1px; line-height: 1; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 20px; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa ol, .qa p { margin-bottom: 14px; }

/* ---------- studio: liquid glass frame ---------- */
.studio-stage { position: relative; margin-top: 36px; isolation: isolate; }
@media (min-width: 760px) { .studio-stage { margin-top: 56px; } }
.studio-stage .studio { margin-top: 0; }

/* soft color behind the glass, so there's something to refract */
.studio-glow { position: absolute; inset: -6% -4% -4%; z-index: -1; pointer-events: none; filter: blur(46px); opacity: .95; }
.studio-glow i { position: absolute; border-radius: 50%; transition: background-color .8s var(--ease); }
.studio-glow i:nth-child(1) { left: 2%; top: 4%; width: 42%; height: 46%; background: var(--tone, var(--peach)); animation: drift1 16s ease-in-out infinite alternate; }
.studio-glow i:nth-child(2) { right: 0; top: 0; width: 38%; height: 40%; background: var(--sky); animation: drift2 19s ease-in-out infinite alternate; }
.studio-glow i:nth-child(3) { left: 30%; bottom: 0; width: 46%; height: 36%; background: var(--peach); opacity: .9; animation: drift3 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8%, 10%) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-10%, 14%) scale(.94); } }
@keyframes drift3 { to { transform: translate(12%, -8%) scale(1.06); } }

.studio {
  background: linear-gradient(165deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 46%, rgba(255, 255, 255, .5) 100%);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .4),
    inset 0 0 0 1px rgba(255, 255, 255, .25),
    0 0 0 1px rgba(30, 27, 22, .05),
    0 30px 70px -36px rgba(30, 27, 22, .38);
  padding: 0 7px;
}
/* specular sheen across the top-left of the glass */
.studio::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(150deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 26%), radial-gradient(60% 40% at 100% 100%, rgba(255, 255, 255, .35), transparent 70%); mix-blend-mode: soft-light; }
.studio-bar, .studio-foot, .studio-body { position: relative; z-index: 1; }
.studio-bar { color: var(--ink); }
.live i { box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); }
.tag { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 4px 12px -4px rgba(30, 27, 22, .35); background: rgba(249, 230, 171, .92); }
.studio-body { box-shadow: 0 1px 2px rgba(30, 27, 22, .06), inset 0 1px 0 rgba(255, 255, 255, .45); }
.studio-foot { color: var(--muted); }
#studioMsg, .stats b, .stat-pack { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .studio-glow i { animation: none; } }
/* browsers without backdrop blur: keep it solid and readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .studio { background: rgba(255, 255, 255, .88); }
}
/* glass, tuned: clearer body, brighter edges, depth */
.studio-glow { filter: blur(40px); opacity: 1; inset: -8% -5% -5%; }
.studio-glow i:nth-child(2) { background: #b9d3f2; }
.studio {
  background: linear-gradient(165deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .18) 40%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .32) 100%);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.04); -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 22px 30px -24px rgba(255, 255, 255, .95),
    inset 0 -22px 30px -26px rgba(30, 27, 22, .14),
    inset 1px 0 0 rgba(255, 255, 255, .5), inset -1px 0 0 rgba(255, 255, 255, .5),
    0 0 0 1px rgba(30, 27, 22, .06),
    0 30px 70px -36px rgba(30, 27, 22, .4);
  padding: 0 8px;
}
.studio-body { box-shadow: 0 2px 6px -2px rgba(30, 27, 22, .14), 0 0 0 1px rgba(255, 255, 255, .55); }

/* ---------- buy bar: same liquid glass as the studio ---------- */
.studio-stage .buy-band {
  position: relative; color: var(--ink);
  background: linear-gradient(165deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .2) 45%, rgba(255, 255, 255, .34) 100%);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.04); -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 18px 26px -22px rgba(255, 255, 255, .95),
    inset 0 -18px 26px -24px rgba(30, 27, 22, .12),
    0 0 0 1px rgba(30, 27, 22, .06),
    0 24px 50px -30px rgba(30, 27, 22, .35);
}
.studio-stage .buy-band::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(150deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 30%); mix-blend-mode: soft-light; }
.studio-stage .buy-band p { position: relative; color: var(--ink); }
.studio-stage .buy-band .btn { position: relative; box-shadow: 0 10px 24px -10px rgba(242, 106, 27, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.studio-glow { bottom: -3%; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .studio-stage .buy-band { background: rgba(255, 255, 255, .88); }
}

/* ---------- price card: liquid glass ---------- */
.price-stage { position: relative; isolation: isolate; max-width: 440px; margin: 0 auto; }
.price-glow { inset: -14% -18% -10%; }
.price-glow i:nth-child(1) { background: var(--peach); }
.price-glow i:nth-child(2) { background: #b9d3f2; }
.price-glow i:nth-child(3) { background: #f9c9a0; }
.price-stage .price-card {
  position: relative; max-width: none; color: var(--ink);
  background: linear-gradient(165deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .24) 45%, rgba(255, 255, 255, .4) 100%);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.04); -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 26px 36px -28px rgba(255, 255, 255, .95),
    inset 0 -26px 36px -30px rgba(30, 27, 22, .12),
    0 0 0 1px rgba(30, 27, 22, .06),
    0 40px 80px -40px rgba(30, 27, 22, .45);
}
.price-stage .price-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(150deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 28%); mix-blend-mode: soft-light; }
.price-stage .price-card > * { position: relative; }
.price-stage .price-top span, .price-stage .price small, .price-stage .price-foot { color: var(--muted); }
.price-stage .price-list { border-top-color: rgba(30, 27, 22, .12); }
.price-stage .price-list li { color: #3d3931; }
.price-stage .btn-accent { box-shadow: 0 12px 26px -12px rgba(242, 106, 27, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.price-stage .btn-ghost-dark { color: var(--ink); background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(30, 27, 22, .16); }
.price-stage .btn-ghost-dark:hover { background: rgba(255, 255, 255, .75); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .price-stage .price-card { background: rgba(255, 255, 255, .9); }
}

/* ---------- glass glow: warm and quiet (no blue, no loud color) ---------- */
.studio-glow { opacity: .55; filter: blur(50px); }
.studio-glow i:nth-child(1) { background: #f6d2bd; }
.studio-glow i:nth-child(2) { background: #f3e2c8; }
.studio-glow i:nth-child(3) { background: #f7d9c4; opacity: 1; }
.price-glow { opacity: .6; }
.price-glow i:nth-child(1) { background: #f6d2bd; }
.price-glow i:nth-child(2) { background: #f3e2c8; }
.price-glow i:nth-child(3) { background: #f5d6bf; }

/* price card: no glow behind it */
.price-glow { display: none; }

/* tighter hand-off from the FAQ to pricing */
#faq { padding-bottom: 24px; }
.sec.pricing { padding-top: 40px; }
@media (min-width: 760px) { #faq { padding-bottom: 32px; } .sec.pricing { padding-top: 56px; } }

/* ---------- tighter rhythm: less blank space between and inside sections ---------- */
.sec { padding: 48px 0; }
.head { margin-bottom: 24px; }
.numbers { padding: 40px 0 0; }
.block { min-height: 0; padding: 14px; }
.block.col { gap: 12px; }
.buddy-stage { min-height: 340px; }
.sec.pricing { padding-bottom: 64px; }
#faq { padding-bottom: 20px; }
.sec.pricing { padding-top: 36px; }
@media (min-width: 760px) {
  .sec { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .numbers { padding: 64px 0 0; }
  .block { padding: 32px; }
  .buddy-stage { min-height: 440px; }
  .sec.pricing { padding-top: 48px; padding-bottom: 96px; }
  #faq { padding-bottom: 24px; }
}
@media (min-width: 940px) { .duo { gap: 56px; } }

/* ---------- header: Download + Buy ---------- */
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-dl { gap: 6px; padding: 0 14px; }
.nav-dl svg { width: 16px; height: 16px; }
@media (max-width: 380px) { .nav-dl span { display: none; } .nav-dl { width: 38px; padding: 0; } }

/* header download: Apple logo, primary */
.nav-dl { gap: 7px; padding: 0 16px 0 14px; }
.nav-dl svg { width: 15px; height: 15px; margin-top: -2px; }
@media (max-width: 380px) { .nav-dl span { display: inline; } .nav-dl { width: auto; padding: 0 14px 0 12px; } }

/* ---------- Dodo test-mode badge (only in test mode) ---------- */
.test-badge { position: fixed; right: 12px; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 90; padding: 5px 10px; border-radius: 999px;
  background: #ffd60a; color: #1e1b16; font: 600 11px/1.2 var(--mono); letter-spacing: .02em; box-shadow: 0 6px 16px -8px rgba(30, 27, 22, .5); pointer-events: none; }

/* ---------- thank-you page ---------- */
.thanks { max-width: 620px; margin: 0 auto; padding: 120px 20px 80px; text-align: center; }
.thanks .t-mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); }
.thanks .t-mark.bad { background: var(--rose); }
.thanks .t-mark svg { width: 30px; height: 30px; }
.thanks h1 { font-family: var(--display); font-size: clamp(32px, 6vw, 46px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 14px; }
.thanks p.lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.thanks ol { text-align: left; display: grid; gap: 14px; margin: 0 auto 30px; padding: 20px 22px 20px 44px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.thanks ol li { padding-left: 4px; }
.thanks .t-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thanks .t-small { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.bp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.buddy .bubble { bottom: 90%; }

/* "Notarized by Apple" trust line */
.trust { display: block; margin: 16px auto 0; max-width: 34em; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.trust svg { width: 17px; height: 17px; vertical-align: -3.5px; margin-right: 6px; color: #2f9e5b; }
@media (max-width: 600px) { .trust { font-size: 13px; } .trust .trust-more { display: none; } }
.trust b { color: inherit; font-weight: 650; }
.trust-card { text-wrap: pretty; max-width: none; display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(47, 158, 91, .08); border: 1px solid rgba(47, 158, 91, .22); font-size: 13px; }
.trust-card svg { flex: none; margin: 1px 0 0; vertical-align: 0; }
