/* Warm storefront. Layout idea: a mixtape made for one person.
   Cream "daylight" bands hold the reading parts, deep wine "evening" bands hold the music,
   a berry band holds the conversation. Colors: wine (depth), rose (action), peach (warmth), cream (paper).
   No image files: the cassette, the waves and the cards are all drawn in CSS and canvas. */

:root {
  --wine-0: #1E0A11;  --wine-1: #2B0E19;  --wine-2: #3D1424;  --wine-3: #55203A;
  --berry: #8A1F40;   --berry-2: #B4324F;
  --rose: #F0668A;    --rose-2: #FF9DB4;  --rose-deep: #B01E48;
  --peach: #FFC2A1;
  --cream: #FFF7F0;   --paper: #FFFDFA;   --blush: #FBE4E1;  --blush-2: #F4CFD0;
  --line-d: rgba(255, 255, 255, .13);     --line-l: rgba(43, 14, 25, .13);
  --on-d: #FBEDEA;    --mut-d: #D2ADB5;   --on-l: #2A0D17;   --mut-l: #6E4A55;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", "Segoe Script", cursive;

  --r: 22px;
  --shadow: 0 24px 60px -24px rgba(40, 8, 20, .5);

  /* buttons and focus rings on light backgrounds */
  --btn-bg: linear-gradient(180deg, #A52C4E, #7E1B3A);
  --btn-ink: #fff;
  --btn-glow: rgba(138, 31, 64, .55);
  --ring: var(--rose-deep);
}
/* ...and on dark ones */
.dark, .deep, .mini, .np {
  --btn-bg: linear-gradient(180deg, var(--rose-2), var(--rose));
  --btn-ink: #2A0A14;
  --btn-glow: rgba(240, 102, 138, .6);
  --ring: var(--rose-2);
}
.mid { --ring: #fff; }
.sheet, .plan.pop, .chat {
  --btn-bg: linear-gradient(180deg, #A52C4E, #7E1B3A);
  --btn-ink: #fff;
  --btn-glow: rgba(138, 31, 64, .55);
  --ring: var(--rose-deep);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--wine-0); color: var(--on-d); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 650; line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--rose-2); }
.light h2 em, .hero h1 em, .final h2 em { color: var(--rose-deep); }
.mid h2 em { color: var(--peach); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: currentColor; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.dark { background: var(--wine-1); color: var(--on-d); }
.deep { background: var(--wine-0); color: var(--on-d); }
.mid { background: linear-gradient(135deg, var(--berry) 0%, var(--berry-2) 100%); color: #fff; }
.light { background: var(--cream); color: var(--on-l); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--rose-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.light .eyebrow, .hero .eyebrow { color: var(--rose-deep); }
.mid .eyebrow { color: var(--peach); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--mut-d); max-width: 60ch; margin-top: 18px; }
.light .lead { color: var(--mut-l); }
.mid .lead { color: rgba(255, 255, 255, .88); }
.head { margin-bottom: clamp(32px, 5vw, 56px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 16px 28px; font: 700 17px/1 var(--f-body); text-decoration: none; background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 12px 28px -12px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.sm { padding: 11px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
[data-rv] { transform: translateY(22px); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-rv].in { transform: none; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; background: transparent; margin-bottom: -72px; color: var(--on-l); padding-top: env(safe-area-inset-top, 0px); }
.nav.solid { background: rgba(255, 247, 240, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-l); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; width: auto; height: 58px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--rose-deep); }
.page-langs { position: relative; flex: none; margin-left: 2px; border-radius: 999px; background: rgba(43, 14, 25, .07); box-shadow: inset 0 0 0 1px var(--line-l); }
.page-langs::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; opacity: .7; }
.page-langs select { appearance: none; -webkit-appearance: none; display: block; width: auto; max-width: 142px; border: 0; border-radius: 999px; padding: 10px 34px 10px 14px; background: transparent; color: inherit; font: 700 13px/1 var(--f-body); cursor: pointer; }
.langs { display: flex; border-radius: 999px; padding: 3px; background: rgba(43, 14, 25, .07); box-shadow: inset 0 0 0 1px var(--line-l); }
.langs button { border: 0; background: none; border-radius: 999px; padding: 7px 12px; font: 700 13px/1 var(--f-body); letter-spacing: .06em; }
.langs button[aria-pressed="true"] { background: var(--berry); color: #fff; }
@media (max-width: 1020px) { .nav nav { display: none; } .nav .page-langs { margin-left: auto; } }
@media (max-width: 520px) { .nav .btn { display: none; } .nav .brand img { height: 48px; } .page-langs select { max-width: 126px; } }

/* ---------- HERO ---------- */
.hero { background:
    radial-gradient(820px 480px at 92% 0%, rgba(240, 102, 138, .24), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(255, 194, 161, .42), transparent 60%),
    var(--cream);
  color: var(--on-l); padding-top: calc(72px + clamp(36px, 6vw, 80px)); padding-bottom: clamp(120px, 14vw, 180px); overflow: hidden; }
#wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: center; position: relative; }
h1 { font-size: clamp(44px, 6.8vw, 88px); }
.hero .lead { color: var(--mut-l); font-size: clamp(18px, 1.7vw, 21px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 15px; font-weight: 500; color: var(--mut-l); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--rose-deep); flex: none; }

.art { position: relative; max-width: 480px; width: 100%; margin-inline: auto; padding-bottom: 46px; }
.chip { position: absolute; background: var(--paper); color: var(--on-l); border-radius: 16px; padding: 10px 14px; font: 600 14px/1.25 var(--f-body); box-shadow: var(--shadow), 0 0 0 1px var(--line-l); display: flex; gap: 9px; align-items: center; animation: float 6s ease-in-out infinite; z-index: 2; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex: none; }
.chip.c1 { top: -7%; left: -3%; }
.chip.c2 { top: 56%; right: -6%; animation-delay: -2s; } .chip.c2 i { background: var(--berry); }
.chip.c3 { top: 37%; left: -11%; animation-delay: -4s; } .chip.c3 i { background: var(--peach); box-shadow: 0 0 0 1px rgba(43, 14, 25, .2); }
@keyframes float { 50% { transform: translateY(-10px); } }
.np { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(92%, 340px); background: var(--wine-1); color: var(--on-d); border-radius: 20px; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); z-index: 3; }
.np small { display: block; color: var(--mut-d); font-size: 13px; }
.np strong { font: 650 17px/1.2 var(--f-display); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np div { min-width: 0; }
.rbtn { width: 50px; height: 50px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 8px 22px -8px var(--btn-glow); }
.rbtn svg { width: 22px; height: 22px; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 20px; margin-left: auto; flex: none; }
.eq i { width: 3px; height: 30%; background: var(--rose); border-radius: 2px; }
.playing .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 50% { height: 100%; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .art { max-width: 380px; margin-top: 34px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .chip.c3 { display: none; }   /* no room beside the cassette */
}

/* ---------- THE CASSETTE (sizes follow the width of .tape-box) ---------- */
.tape-box { container-type: inline-size; width: 100%; }
.tape { --p: 0; --h1: #F0668A; --h2: #FFC2A1; position: relative; aspect-ratio: 1.58; border-radius: 5cqw;
  background: linear-gradient(160deg, #C13A5A 0%, #8A1F40 58%, #6E1632 100%);
  box-shadow: 0 7cqw 10cqw -6cqw rgba(60, 10, 25, .6), inset 0 .6cqw 0 rgba(255, 255, 255, .22), inset 0 -1cqw 0 rgba(0, 0, 0, .18); }
.hero .tape { transform: rotate(-5deg); }
.screw { position: absolute; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: radial-gradient(circle, #3D1424 0 30%, #F4CFD0 34%); opacity: .85; }
.s1 { top: 2.8cqw; left: 2.8cqw; } .s2 { top: 2.8cqw; right: 2.8cqw; } .s3 { bottom: 2.8cqw; left: 2.8cqw; } .s4 { bottom: 2.8cqw; right: 2.8cqw; }
.tape-label { position: absolute; inset: 8% 7.5% 25% 7.5%; border-radius: 2.6cqw; overflow: hidden; background:
  linear-gradient(var(--h1), var(--h1)) 0 100% / 100% 13% no-repeat,
  linear-gradient(var(--h2), var(--h2)) 0 83% / 100% 7% no-repeat,
  var(--cream); }
.tape-side { position: absolute; left: 3cqw; top: 2.6cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; display: grid; place-items: center; background: var(--wine-1); color: var(--cream); font: 700 3.4cqw/1 var(--f-body); }
.tape-write { position: absolute; left: 12cqw; right: 4cqw; top: 1.4cqw; height: 9.4cqw; display: block; font: 600 7.6cqw/9.4cqw var(--f-hand); color: var(--wine-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: .35cqw solid rgba(43, 14, 25, .22); }
.tape-write b { font-weight: 600; display: inline-block; }
.tape-write b.sw { animation: sw .5s; }
@keyframes sw { from { opacity: 0; transform: translateY(1.5cqw); } to { opacity: 1; transform: none; } }
.tape-win { position: absolute; left: 24%; right: 24%; top: 40%; height: 27%; border-radius: 99cqw; background: var(--wine-0); box-shadow: 0 0 0 .7cqw rgba(43, 14, 25, .16); overflow: hidden; }
.spool { position: absolute; top: 50%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: repeating-radial-gradient(circle, #4A1A2A 0 .45cqw, #33101D .45cqw .9cqw); }
.spool.l { left: 22%; width: calc(13cqw + 15cqw * (1 - var(--p))); }
.spool.r { left: 78%; width: calc(13cqw + 15cqw * var(--p)); }
.reel { position: absolute; top: 50%; width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; border-radius: 50%;
  background: radial-gradient(circle, var(--wine-0) 0 24%, transparent 26%), repeating-conic-gradient(var(--cream) 0 30deg, var(--blush-2) 30deg 60deg);
  box-shadow: 0 0 0 .5cqw var(--cream); animation: spin 2.6s linear infinite; animation-play-state: paused; }
.reel.l { left: 22%; } .reel.r { left: 78%; }
.playing .reel { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.tape-foot { position: absolute; left: 17%; right: 17%; bottom: 0; height: 19%; background: linear-gradient(180deg, #6A1530, #55102A); clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); display: flex; justify-content: center; align-items: center; gap: 9cqw; }
.tape-foot i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--wine-0); box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .12); }

/* ---------- FACTS ---------- */
.facts { padding-block: 34px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact b { display: block; font: 650 clamp(32px, 4.4vw, 54px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 15px; opacity: .9; display: block; margin-top: 6px; }
@media (max-width: 720px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- PLAYER ---------- */
.player { display: grid; grid-template-columns: 310px 1fr; grid-template-areas: "deck sheet" "list list"; gap: 22px; }
.card-d { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px var(--line-d); border-radius: var(--r); }
.deck { grid-area: deck; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; color-scheme: dark; }
.deck .tape-box { max-width: 250px; margin-inline: auto; }
.tt { text-align: center; }
.tt strong { display: block; font: 650 23px/1.15 var(--f-display); }
.tt span { color: var(--mut-d); font-size: 14px; }
.seek { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font: 500 13px/1 var(--f-body); font-variant-numeric: tabular-nums; color: var(--mut-d); }
input[type=range] { width: 100%; accent-color: var(--rose); min-width: 0; height: 22px; margin: 0; }
.ctl { display: flex; justify-content: center; align-items: center; gap: 16px; }
.ibtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.ibtn:hover { background: rgba(255, 255, 255, .16); }
.ibtn svg { width: 20px; height: 20px; }
.ctl .rbtn { width: 62px; height: 62px; } .ctl .rbtn svg { width: 26px; height: 26px; }
.deck-foot { display: grid; gap: 12px; margin-top: auto; }
.vol { display: flex; align-items: center; gap: 10px; color: var(--mut-d); }
.vol svg { width: 18px; height: 18px; flex: none; }
@media (hover: none) { .vol { display: none; } }   /* phones set the volume with their own buttons */
.hear { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--mut-d); }
.deck .langs { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-d); }
.deck .langs button[aria-pressed="true"] { background: var(--rose); color: #2A0A14; }

/* the lyric sheet: a page of paper on the dark band */
.sheet { grid-area: sheet; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-radius: var(--r); color: var(--on-l); color-scheme: light;
  background: linear-gradient(180deg, var(--paper), var(--cream)); box-shadow: var(--shadow); position: relative; }
.sheet::before { content: ""; position: absolute; left: 24px; right: 24px; top: 66px; height: 1px; background: var(--line-l); }
.sheet-top { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; min-height: 40px; }
.sheet-tag { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--mut-l); min-width: 0; }
.sheet-tag b { font: 700 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); border: 1.5px solid currentColor; border-radius: 999px; padding: 5px 9px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 9px 14px 9px 10px; background: rgba(43, 14, 25, .06); box-shadow: inset 0 0 0 1px var(--line-l); font-weight: 700; font-size: 14.5px; }
.toggle i { width: 34px; height: 20px; border-radius: 999px; background: rgba(43, 14, 25, .22); position: relative; transition: background .2s; flex: none; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle[aria-pressed="true"] { background: var(--blush); box-shadow: inset 0 0 0 1.5px var(--rose-deep); color: var(--rose-deep); }
.toggle[aria-pressed="true"] i { background: var(--rose-deep); }
.toggle[aria-pressed="true"] i::after { transform: translateX(14px); }
.stage { position: relative; height: 320px; overflow: hidden; flex: 1 0 320px; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.stage-in { position: absolute; left: 0; right: 0; top: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.kline { font: 500 clamp(20px, 2.4vw, 28px)/1.25 var(--f-display); letter-spacing: -.012em; padding: 10px 4px; color: rgba(42, 13, 23, .36); cursor: pointer; transition: color .3s; text-wrap: balance; }
.kline.past { color: rgba(42, 13, 23, .22); }
.kline:hover { color: rgba(42, 13, 23, .6); }
.kline.on { color: var(--on-l); font-weight: 650; }
.kw { transition: color .18s; }
.kline.on .kw.sung { color: var(--rose-deep); }
.kmode .player { grid-template-areas: "deck list" "sheet sheet"; }
.kmode .stage { height: 400px; flex-basis: 400px; }
.kmode .kline { font-size: clamp(27px, 4.4vw, 50px); text-align: center; }
.sheet-err { color: var(--rose-deep); font-weight: 600; font-size: 15px; }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; color: var(--mut-l); font-size: 14px; }
.sheet-foot span { flex: 1 1 240px; }

.list { grid-area: list; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 0; }
.kmode .list { grid-template-columns: 1fr 1fr; align-content: start; }
.trk { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: transparent; border-radius: 14px; padding: 10px; min-width: 0; }
.trk:hover { background: rgba(255, 255, 255, .07); }
.trk[aria-current="true"] { background: rgba(240, 102, 138, .14); box-shadow: inset 0 0 0 1px rgba(240, 102, 138, .5); }
/* a little cassette for each sample */
.trk i { width: 48px; height: 32px; border-radius: 7px; flex: none; background:
  radial-gradient(circle at 30% 56%, var(--wine-0) 0 3.5px, transparent 4.2px),
  radial-gradient(circle at 70% 56%, var(--wine-0) 0 3.5px, transparent 4.2px),
  linear-gradient(var(--cream), var(--cream)) 50% 56% / 64% 38% no-repeat,
  linear-gradient(135deg, var(--h1), var(--h2)); }
.trk b { display: block; font: 650 16px/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk small { color: var(--mut-d); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk span { min-width: 0; }
@media (max-width: 900px) {
  .player, .kmode .player { grid-template-columns: 1fr; grid-template-areas: "deck" "sheet" "list"; }
  .list, .kmode .list { grid-template-columns: 1fr 1fr; }
  .stage, .kmode .stage { height: 270px; flex-basis: 270px; }
}
@media (max-width: 520px) { .list, .kmode .list { grid-template-columns: 1fr; } .sheet { padding-inline: 18px; } .sheet::before { display: none; } }

/* ---------- HOW ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--r); padding: 28px; box-shadow: 0 0 0 1px var(--line-l), 0 20px 40px -30px rgba(43, 14, 25, .4); counter-increment: s; position: relative; }
.step::before { content: counter(s); font: italic 500 64px/1 var(--f-display); color: var(--rose-deep); display: block; margin-bottom: 10px; }
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step p { color: var(--mut-l); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- SONG GUIDE ---------- */
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--peach); margin-top: 2px; }
.chat { background: var(--paper); color: var(--on-l); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; color-scheme: light; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--blush); font-size: 14px; color: var(--mut-l); }
.chat-head svg { width: 18px; height: 18px; color: var(--berry); flex: none; }
.chat-head b { font: 650 17px/1 var(--f-display); color: var(--on-l); margin-right: auto; }
.msgs { height: 330px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: 16px; line-height: 1.4; animation: pop .3s; overflow-wrap: anywhere; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.msg.bot { background: var(--blush); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--berry); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mut-l); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-5px); } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.quick button { border: 0; border-radius: 999px; padding: 9px 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--berry); color: var(--berry); font-weight: 600; font-size: 14.5px; }
.quick button:hover, .quick button.go { background: var(--berry); color: #fff; }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-l); }
.chat form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; background: var(--blush); padding: 13px 18px; font: 500 16px/1.2 var(--f-body); color: var(--on-l); }
.chat form input::placeholder { color: var(--mut-l); }
.chat form input:disabled { opacity: .5; }
.chat form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--berry); color: #fff; display: grid; place-items: center; flex: none; }
.chat form svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .story .wrap { grid-template-columns: 1fr; } }

/* ---------- STYLES ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sty { border: 0; border-radius: 999px; padding: 13px 20px; font: 600 clamp(15px, 1.5vw, 18px)/1 var(--f-body); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--on-d); transition: transform .2s, background .2s; }
.sty:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }
.sty[aria-pressed="true"] { background: var(--rose); color: #2A0A14; box-shadow: 0 10px 26px -10px var(--rose); }
.sty:nth-child(5n+1) { font: italic 500 clamp(19px, 1.9vw, 23px)/1 var(--f-display); padding-block: 11px; }
.style-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; color: var(--mut-d); }

/* ---------- OCCASIONS ---------- */
.occs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.occ { border: 0; text-align: left; background: var(--paper); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; box-shadow: 0 0 0 1px var(--line-l); transition: transform .25s, box-shadow .25s; color: var(--on-l); position: relative; overflow: hidden; }
.occ::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--hue); opacity: .2; transition: transform .4s; }
.occ:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line-l), 0 24px 40px -24px rgba(43, 14, 25, .5); }
.occ:hover::after { transform: scale(2.6); }
.occ b { font: 650 21px/1.15 var(--f-display); letter-spacing: -.015em; }
.occ q { font: italic 400 18px/1.3 var(--f-display); color: var(--mut-l); quotes: "\201C" "\201D"; }
.occ span { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--rose-deep); position: relative; z-index: 1; }
.occ-other { grid-column: 1 / -1; min-height: 110px; }
.occ-other::after { display: none; }
@media (max-width: 980px) { .occs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .occs { grid-template-columns: 1fr; } .occ { min-height: 0; } }

/* ---------- PRICES ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border-radius: 26px; padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; position: relative; min-width: 0; }
.plan.pop { background: linear-gradient(170deg, var(--paper), var(--blush)); color: var(--on-l); box-shadow: 0 30px 70px -30px rgba(240, 102, 138, .55); transform: translateY(-10px); }
.plan h3 { font-size: 31px; }
.plan .pr { font: 650 58px/1 var(--f-display); letter-spacing: -.03em; display: flex; align-items: flex-start; gap: 4px; }
.plan .pr .price-value { display: inline-flex; align-items: flex-start; white-space: nowrap; min-width: 0; }
.plan .pr sup { font-size: 24px; margin-top: 8px; }
.plan .pr small { font: 500 14px/1.3 var(--f-body); letter-spacing: 0; align-self: flex-end; margin: 0 0 9px 6px; opacity: .75; }
.plan .pr .from-label { align-self: flex-end; margin: 0 2px 9px 0; }
.plan .price-note { margin-top: -10px; color: var(--rose-2); font-weight: 700; font-size: 14px; }
.plan .quote { font: 650 26px/1.15 var(--f-display); color: var(--rose-2); }
.plan p { font-size: 15.5px; color: var(--mut-d); } .plan.pop p { color: var(--mut-l); }
.plan ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rose); }
.plan.pop li svg { color: var(--rose-deep); }
.plan li.highlight { color: var(--rose-2); font-weight: 700; }
.plan.pop li.highlight { color: var(--rose-deep); }
.plan-marker { width: 18px; flex: none; line-height: 1.2; text-align: center; }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: -14px; left: 26px; background: var(--rose-deep); color: #fff; font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.launch-badge { align-self: flex-start; background: var(--rose-2); color: var(--wine-0); font: 800 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; }
.assure { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; margin-top: 40px; color: var(--mut-d); font-weight: 600; font-size: 15px; }
.assure li { display: inline-flex; gap: 9px; align-items: center; }
.assure svg { width: 18px; height: 18px; color: var(--rose); flex: none; }
@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan.pop { transform: none; }
  .plan-corporate { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan-corporate { grid-column: auto; } }

/* ---------- REVIEWS (only shown when config.js has some) ---------- */
.revs { columns: 3; column-gap: 20px; }
.rev { break-inside: avoid; background: var(--paper); border-radius: 20px; padding: 24px; margin: 0 0 20px; box-shadow: 0 0 0 1px var(--line-l); }
.rev blockquote { margin: 0 0 16px; font: 400 21px/1.32 var(--f-display); color: var(--on-l); }
.rev footer { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.rev footer i { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 16px/1 var(--f-display); font-style: normal; color: #fff; background: var(--hue, var(--berry)); }
.rev footer span { color: var(--mut-l); display: block; }
@media (max-width: 900px) { .revs { columns: 2; } }
@media (max-width: 600px) { .revs { columns: 1; } }

/* ---------- QUESTIONS ---------- */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.qa { display: grid; gap: 10px; min-width: 0; align-content: start; }
details { background: rgba(255, 255, 255, .1); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
summary { list-style: none; cursor: pointer; padding: 18px 20px; font: 600 19px/1.3 var(--f-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--f-body); color: var(--peach); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 20px; color: rgba(255, 255, 255, .9); }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- CLOSING + FOOTER ---------- */
.final { background: radial-gradient(700px 400px at 12% 10%, rgba(255, 194, 161, .7), transparent 65%), radial-gradient(700px 420px at 92% 100%, rgba(240, 102, 138, .28), transparent 62%), var(--blush); color: var(--on-l); text-align: center; }
.final h2 { font-size: clamp(38px, 6.2vw, 76px); }
.final p { margin: 18px auto 30px; font-size: 19px; max-width: 48ch; font-weight: 500; color: var(--mut-l); }
.final .btn { padding: 20px 36px; font-size: 19px; }
.final small { display: block; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--mut-l); }
footer.site { background: var(--wine-0); padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); color: var(--mut-d); font-size: 14.5px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
footer.site .brand img { height: 60px; }
footer.site p { max-width: 62ch; }

/* ---------- FLOATING PLAYER ---------- */
.mini { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: min(540px, calc(100vw - 24px)); padding: 8px 10px 8px 8px; border-radius: 999px; background: rgba(30, 10, 17, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line-d); display: flex; align-items: center; gap: 12px; color: var(--on-d); transform: translate(-50%, 160%); visibility: hidden; transition: transform .35s, visibility 0s .35s; }
.mini.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s; }
.mini .rbtn { width: 44px; height: 44px; }
.mini div { min-width: 0; flex: 1; }
.mini strong { display: block; font: 650 16px/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini small { color: var(--mut-d); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { position: absolute; left: 64px; right: 28px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--rose); }
@media (max-width: 440px) { .mini .btn { padding-inline: 13px; font-size: 14px; } }

/* ---------- ORDER ---------- */
dialog { border: 0; padding: 0; width: min(720px, calc(100vw - 20px)); max-width: none; max-height: calc(100dvh - 20px); border-radius: 26px; background: var(--paper); color: var(--on-l); box-shadow: 0 40px 100px -20px #000; color-scheme: light; overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; animation: din .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes din { from { opacity: 0; transform: translateY(24px) scale(.97); } }
dialog::backdrop { background: rgba(24, 6, 12, .76); backdrop-filter: blur(6px); }
.m-head { padding: 20px 24px 16px; background: linear-gradient(135deg, var(--wine-1), var(--berry)); color: #fff; display: flex; flex-direction: column; gap: 14px; --ring: #fff; }
.m-head div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.m-head h3 { font-size: 25px; }
.m-head .x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; flex: none; }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; }
.prog.corp-prog { grid-template-columns: repeat(5, 1fr); }
.prog li { font: 700 12px/1.2 var(--f-body); letter-spacing: .04em; color: rgba(255, 255, 255, .6); border-top: 3px solid rgba(255, 255, 255, .24); padding-top: 8px; }
.prog li.on { color: #fff; border-color: var(--rose-2); }
.m-body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.m-body h4 { font: 650 23px/1.15 var(--f-display); margin: 0 0 4px; letter-spacing: -.015em; }
.m-body h4.sub { font-size: 18px; margin: 20px 0 10px; }
.m-body .hint { color: var(--mut-l); font-size: 15px; margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 14px; }
.f label { font: 700 13px/1.2 var(--f-body); letter-spacing: .02em; color: var(--on-l); }
.f input, .f select, .f textarea, .order-text { width: 100%; border: 1.5px solid var(--blush-2); border-radius: 12px; background: #fff; padding: 12px 14px; font: 500 16px/1.35 var(--f-body); color: var(--on-l); }
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--berry); box-shadow: 0 0 0 3px rgba(138, 31, 64, .18); }
.f [aria-invalid="true"] { border-color: var(--rose-deep); }
.err { color: var(--rose-deep); font-size: 13.5px; font-weight: 600; }
.err:empty { display: none; }
.count { font-size: 13px; color: var(--mut-l); text-align: right; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--mut-l); background: var(--blush); border-radius: 14px; padding: 12px 14px; }
.note svg { width: 20px; height: 20px; color: var(--berry); flex: none; margin-top: 1px; }
.pick { display: grid; gap: 10px; margin-bottom: 18px; }
.pick label { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--blush-2); border-radius: 14px; padding: 13px 14px; cursor: pointer; background: #fff; font-weight: 500; font-size: 15.5px; }
.pick label:has(input:checked) { border-color: var(--berry); background: var(--blush); box-shadow: 0 0 0 2px rgba(138, 31, 64, .14); }
.pick label.inc { cursor: default; }
.pick input { accent-color: var(--berry); width: 18px; height: 18px; flex: none; margin: 0; }
.pick b { font: 650 17px/1.2 var(--f-display); }
.pick small { display: block; color: var(--mut-l); font-size: 13.5px; }
.pick .amt { margin-left: auto; font: 650 17px/1 var(--f-display); white-space: nowrap; }
.pick .inc .amt { font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--rose-deep); }
.sumbox { background: var(--blush); border-radius: 14px; padding: 14px 16px; font-size: 15px; margin-bottom: 16px; overflow-wrap: anywhere; }
.check-group { border: 0; padding: 0; }
.check-group legend { font: 650 18px/1.2 var(--f-display); margin-bottom: 10px; }
.check-group label { display: flex; gap: 9px; align-items: center; padding: 8px 0; font: 500 15.5px/1.3 var(--f-body); }
.check-group input, .legal-check input { width: 18px; height: 18px; flex: none; accent-color: var(--berry); }
.corp-more { margin: 8px 0 18px; background: var(--blush); box-shadow: inset 0 0 0 1px var(--blush-2); }
.corp-more summary { color: var(--on-l); font-size: 18px; }
.corp-more summary::after { color: var(--berry); }
.corp-more > p { padding: 0 20px 16px; color: var(--mut-l); font-size: 14.5px; }
.corp-more .grid2 { padding: 0 20px 6px; }
.corp-breakdown { display: grid; gap: 9px; background: var(--blush); border-radius: 14px; padding: 16px; margin-bottom: 16px; font-size: 15px; }
.corp-breakdown .row { display: flex; justify-content: space-between; gap: 18px; }
.corp-breakdown .row span:last-child { white-space: nowrap; font-weight: 700; }
.corp-breakdown .total { border-top: 1px solid var(--blush-2); padding-top: 10px; margin-top: 3px; font-weight: 800; }
.corp-breakdown .note-row { color: var(--mut-l); font-size: 14px; }
.legal-check { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--blush-2); border-radius: 13px; padding: 13px 14px; font-size: 14.5px; }
.legal-check a { color: var(--berry); font-weight: 700; }
.m-foot { padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-l); display: flex; gap: 12px; align-items: center; background: #fff; }
.m-foot .tot { margin-right: auto; line-height: 1.1; }
.m-foot .tot small { display: block; color: var(--mut-l); font-size: 12.5px; font-weight: 600; }
.m-foot .tot b { font: 650 27px/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-foot .btn.ghost, .send .btn.ghost { color: var(--berry); }
.m-foot .btn { padding: 14px 22px; font-size: 16px; }
.ok { text-align: center; padding: 6px 0; }
.ok .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--berry), var(--rose)); display: grid; place-items: center; color: #fff; animation: pop .5s; }
.ok .tick svg { width: 34px; height: 34px; }
.ok p { color: var(--mut-l); max-width: 50ch; margin: 8px auto 16px; font-size: 15.5px; }
.order-text { display: block; font: 500 14px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--cream); resize: vertical; text-align: left; }
.send { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.send .btn { padding: 14px 22px; font-size: 16px; }
@media (max-width: 560px) {
  .grid2 { grid-template-columns: 1fr; }
  .prog li { font-size: 0; padding-top: 0; }
  .m-body { padding: 18px 16px; } .m-head { padding: 16px; } .m-foot { padding-inline: 16px; }
  .m-foot .btn { padding: 13px 16px; }
  .corp-breakdown .row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-rv] { transform: none; }
}
