/* Albumagic's website: colour A from the Oct 24 wireframes, Rubik headings and Assistant text, served from
   this site (no font service). Light only, like the app. */
@font-face { font-family: 'Rubik'; font-weight: 500; font-display: swap; src: url('/fonts/rubik-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 600; font-display: swap; src: url('/fonts/rubik-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-weight: 700; font-display: swap; src: url('/fonts/rubik-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Assistant'; font-weight: 400; font-display: swap; src: url('/fonts/assistant-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Assistant'; font-weight: 600; font-display: swap; src: url('/fonts/assistant-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Assistant'; font-weight: 700; font-display: swap; src: url('/fonts/assistant-latin-700-normal.woff2') format('woff2'); }

/* The lettering the video's titles are drawn in (memory-video-engine, engine/titles.py: FONTS), per script. */
@font-face { font-family: 'Albumagic Titles'; font-weight: 700; font-display: swap; src: url('/fonts/playfair-display-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Albumagic Titles'; font-weight: 400; font-display: swap; src: url('/fonts/playfair-display-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Albumagic Titles'; font-weight: 700; font-display: swap; src: url('/fonts/frank-ruhl-libre-hebrew-700-normal.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Albumagic Titles'; font-weight: 700; font-display: swap; src: url('/fonts/noto-naskh-arabic-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --cream: #FFF8F1; --ink: #261A3A; --muted: #645A78; --line: #E9DFF5; --purple: #6A3FB5; --purple-dark: #55309A;
  --lavender: #F1EAFB; --coral: #FF5A7A; --sun: #FFC53D; --sun-soft: #FFF1C9; --dusk: #3E4A61; --night: #2E2140;
  --head: 'Rubik', system-ui, sans-serif; --text: 'Assistant', system-ui, sans-serif; --title: 'Albumagic Titles', Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.55; }
img, svg, video { max-width: 100%; }
a { color: var(--purple); text-underline-offset: 0.15em; }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.25rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3, .h3 { font-size: 1.25rem; font-family: var(--head); font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 0.75rem; }
ul, ol { margin: 0; padding-left: 1.2rem; }
[role="list"] { list-style: none; padding: 0; }
.muted { color: var(--muted); font-size: 1rem; }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); line-height: 1.5; }
.eyebrow { font-weight: 700; color: var(--purple); text-transform: none; font-size: 1rem; }
.error { color: #B3261E; font-size: 1rem; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.25rem; } }
main.wrap { display: flex; flex-direction: column; gap: 4rem; padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { main.wrap { gap: 4.5rem; padding-top: 3rem; } }

.skip { position: absolute; left: -9999px; top: 0.5rem; background: var(--ink); color: #FFFFFF; padding: 0.5rem 1rem; border-radius: 0.5rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* Header */
nav.top { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 1.25rem; }
.brand { display: flex; gap: 0.6rem; align-items: center; text-decoration: none; font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--purple); }
.brand.small { font-size: 1.35rem; }
.mark { width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; background: var(--purple); display: flex; align-items: center; justify-content: center; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 1.05rem; font-weight: 600; }
.links a[aria-current="page"] { color: var(--ink); text-decoration-thickness: 2px; }
@media (max-width: 720px) { .links { order: 3; width: 100%; } }
.btn { min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: 0.75rem; background: var(--purple); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--purple-dark); color: #FFFFFF; }
.btn.quiet { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn:disabled { opacity: 0.6; cursor: default; }
.pill-soon { min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--lavender); color: var(--purple); display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; }
button.link { border: 0; background: none; padding: 0.25rem 0; font: inherit; color: var(--purple); text-decoration: underline; cursor: pointer; }

/* Store buttons and "coming soon" */
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store { min-height: 3.25rem; padding: 0 1.25rem; border-radius: 0.75rem; background: var(--ink); color: #FFFFFF; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
.store:hover { color: #FFFFFF; background: #3B2A5C; }
.soon { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.5rem 1.1rem; border-radius: 0.75rem; background: var(--lavender); color: var(--ink); font-weight: 600; }
.soon.light { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }

/* Cards and grids */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card.big { padding: 1.75rem; gap: 0.9rem; }
.card.dark { background: var(--night); color: #FFFFFF; border-color: var(--night); }
.card.dark p { color: #E9E1F5; }
.card.soft { background: var(--lavender); border-color: var(--lavender); }
.card.sun { background: var(--sun); border-color: var(--sun); }
.card.sun a { color: var(--ink); font-weight: 700; }
.card h2 + h3, .card p + h3 { margin-top: 0.5rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; list-style: none; padding: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1rem; }
.block { display: flex; flex-direction: column; gap: 1.25rem; }
.block .head { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; justify-content: space-between; }
.block .head a { font-weight: 700; }
.intro { display: flex; flex-direction: column; gap: 1rem; max-width: 52rem; }
.n { width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: var(--sun); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 1rem; }
.n.big { width: 3rem; height: 3rem; font-size: 1.35rem; }

/* Home: hero */
.hero { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.hero-art { flex: 1 1 440px; min-width: 0; position: relative; aspect-ratio: 16 / 10; border-radius: 1.5rem; overflow: hidden; background: var(--night); }
.hero-art .track { display: flex; width: 600%; height: 100%; animation: slides 30s ease-in-out infinite; }
.slide { position: relative; width: 16.6667%; height: 100%; display: flex; align-items: center; justify-content: center; }
.slide .album { width: 46%; height: auto; }
.slide.still { width: 100%; aspect-ratio: 16 / 10; border-radius: 1.5rem; overflow: hidden; }
.slide.still .album { width: 46%; }
.sl-sun { background: linear-gradient(135deg, #FFC53D, #FF9F43); }
.sl-night { background: linear-gradient(135deg, #2E2140, #4A3566); }
.sl-purple { background: linear-gradient(135deg, #6A3FB5, #9469DD); }
.sl-coral { background: linear-gradient(135deg, #FF5A7A, #FF9DB0); }
.sl-lavender { background: linear-gradient(135deg, #F1EAFB, #D9CBEF); }
.tag { position: absolute; left: 1rem; bottom: 1rem; min-height: 2rem; padding: 0 0.85rem; border-radius: 1rem; display: flex; align-items: center; font-weight: 700; font-size: 1rem; }
.tag-ink { background: var(--ink); color: #FFFFFF; }
.tag-sun { background: var(--sun); color: var(--ink); }
.tag-white { background: #FFFFFF; color: var(--ink); }
.tag-purple { background: var(--purple); color: #FFFFFF; }
.segs { position: absolute; left: 1rem; right: 1rem; top: 0.9rem; display: flex; gap: 0.4rem; z-index: 1; }
.seg { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); overflow: hidden; }
.seg i { display: block; height: 4px; width: 0; background: #FFFFFF; animation: 30s linear infinite; }
.s1 i { animation-name: f1; } .s2 i { animation-name: f2; } .s3 i { animation-name: f3; } .s4 i { animation-name: f4; } .s5 i { animation-name: f5; }
@keyframes slides { 0%, 18% { transform: translateX(0); } 20%, 38% { transform: translateX(-16.6667%); } 40%, 58% { transform: translateX(-33.3333%); } 60%, 78% { transform: translateX(-50%); } 80%, 98% { transform: translateX(-66.6667%); } 100% { transform: translateX(-83.3333%); } }
@keyframes f1 { 0% { width: 0; } 20% { width: 100%; } 99.9% { width: 100%; } 100% { width: 0; } }
@keyframes f2 { 0%, 20% { width: 0; } 40% { width: 100%; } 99.9% { width: 100%; } 100% { width: 0; } }
@keyframes f3 { 0%, 40% { width: 0; } 60% { width: 100%; } 99.9% { width: 100%; } 100% { width: 0; } }
@keyframes f4 { 0%, 60% { width: 0; } 80% { width: 100%; } 99.9% { width: 100%; } 100% { width: 0; } }
@keyframes f5 { 0%, 80% { width: 0; } 100% { width: 100%; } }
.album { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Home: facts, pills, steps */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; list-style: none; padding: 0; margin-top: -1.5rem; }
.fact { flex-direction: row; align-items: center; gap: 0.9rem; padding: 1rem 1.25rem; }
.fact svg { width: 26px; height: 26px; color: var(--purple); flex: none; }
.fact > span { display: flex; flex-direction: column; line-height: 1.3; }
.fact > span span { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: center; font-weight: 700; font-size: 1.05rem; }
.p-sun { background: var(--sun); border-color: var(--sun); }
.p-lavender { background: var(--lavender); border-color: var(--lavender); }
.p-coral { background: #FFE3EA; border-color: #FFE3EA; color: #8A1C38; }
.p-dusk { background: #E7E9EF; border-color: #E7E9EF; color: var(--dusk); }
.steps3 { list-style: none; padding: 0; }
.step { gap: 1rem; }
.step .phone { width: 120px; height: 200px; align-self: center; }
.step h3 { display: flex; gap: 0.75rem; align-items: center; }

/* Home: In every video, drawn (src/visuals.mjs) */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.features .feature { gap: 0.75rem; }
.visual { position: relative; aspect-ratio: 16 / 10; border-radius: 0.9rem; overflow: hidden; background: var(--lavender); margin-bottom: 0.25rem; }
.card.dark .visual { background: #1B1426; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tband { position: absolute; left: 8%; right: 8%; bottom: 10%; padding: 0.45rem 0.7rem; border-radius: 0.5rem; background: rgba(0, 0, 0, 0.45);
  color: #FFFAF0; text-align: center; display: flex; flex-direction: column; gap: 0.1rem; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.55); }
.tband .t { font-family: var(--title); font-weight: 700; font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.2rem); line-height: 1.2; }
.tband .s { font-family: var(--title); font-weight: 400; font-size: 0.8em; opacity: 0.95; }
.tband .ht { width: 0.85em; height: 0.78em; margin-inline-start: 0.3em; vertical-align: -0.05em; }
.stage .curtain { position: absolute; top: 0; bottom: 0; width: 51%; background: repeating-linear-gradient(90deg, #8E1B3A 0 10px, #A72449 10px 20px);
  box-shadow: inset -8px 0 14px rgba(0, 0, 0, 0.35); animation: curtain-l 9s ease-in-out infinite; }
.stage .curtain.l { left: 0; }
.stage .curtain.r { right: 0; transform-origin: right; animation-name: curtain-r; box-shadow: inset 8px 0 14px rgba(0, 0, 0, 0.35); }
.stage .valance { position: absolute; left: 0; right: 0; top: 0; height: 12%; background: #6E1230; border-bottom: 3px solid #FFC53D; }
.stage .tband { animation: rise 9s ease-in-out infinite; }
@keyframes curtain-l { 0%, 12% { transform: translateX(0); } 32%, 82% { transform: translateX(-92%); } 96%, 100% { transform: translateX(0); } }
@keyframes curtain-r { 0%, 12% { transform: translateX(0); } 32%, 82% { transform: translateX(92%); } 96%, 100% { transform: translateX(0); } }
@keyframes rise { 0%, 30% { opacity: 0; transform: translateY(8px); } 40%, 80% { opacity: 1; transform: translateY(0); } 90%, 100% { opacity: 0; } }
.flow .scene { opacity: 0; animation: flow 9s ease-in-out infinite; }
.flow .f2 { animation-delay: 3s; } .flow .f3 { animation-delay: 6s; }
@keyframes flow { 0% { opacity: 0; transform: scale(1.12) translateX(3%); } 6% { opacity: 1; } 33% { opacity: 1; transform: scale(1) translateX(0); } 40%, 100% { opacity: 0; transform: scale(1); } }
.music { background: linear-gradient(135deg, #2E2140, #6A3FB5); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.9rem; }
.music .eq { display: flex; align-items: flex-end; gap: 5px; height: 42%; }
.music .bar { width: 8px; border-radius: 4px; background: linear-gradient(180deg, #FFC53D, #FF5A7A); height: 30%; animation: eq 1.1s ease-in-out infinite alternate; }
.music .b2 { animation-delay: -0.3s; } .music .b3 { animation-delay: -0.6s; } .music .b4 { animation-delay: -0.15s; }
.music .b5 { animation-delay: -0.45s; } .music .b6 { animation-delay: -0.8s; } .music .b7 { animation-delay: -0.95s; }
@keyframes eq { 0% { height: 18%; } 50% { height: 70%; } 100% { height: 100%; } }
.music .note { position: absolute; color: #FFF1C9; font-size: 1.4rem; opacity: 0; animation: note 4s ease-in-out infinite; }
.music .n1 { left: 18%; top: 22%; } .music .n2 { right: 18%; top: 30%; animation-delay: 2s; }
@keyframes note { 0% { opacity: 0; transform: translateY(10px); } 30%, 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }
.music .len { width: 70%; display: flex; align-items: center; gap: 0.5rem; color: #FFF8F1; font-size: 0.85rem; font-weight: 700; }
.music .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.music .track i { display: block; height: 100%; width: 0; background: #FFF8F1; animation: track 9s linear infinite; }
.music .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A7A; }
@keyframes track { from { width: 0; } to { width: 100%; } }
.cycle .slot { position: absolute; inset: 0; opacity: 0; animation: slot 12s ease-in-out infinite; }
.cycle .s2 { animation-delay: 3s; } .cycle .s3 { animation-delay: 6s; } .cycle .s4 { animation-delay: 9s; }
.cycle .tband { bottom: 26%; }
.cycle .tband .t { font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.35rem); }
@keyframes slot { 0% { opacity: 0; } 5%, 22% { opacity: 1; } 28%, 100% { opacity: 0; } }
.screens { background: linear-gradient(135deg, #F1EAFB, #FFF8F1); }
.screens .tv { position: absolute; left: 6%; top: 12%; width: 60%; }
.screens .tv .glass { position: relative; aspect-ratio: 16 / 9; border: 5px solid #261A3A; border-radius: 6px; overflow: hidden; background: #000; }
.screens .stand { display: block; margin: 0 auto; width: 30%; height: 7px; border-radius: 0 0 4px 4px; background: #261A3A; }
.screens .phone { position: absolute; right: 8%; top: 9%; width: 20%; }
.screens .phone .glass { position: relative; aspect-ratio: 9 / 16; border: 4px solid #261A3A; border-radius: 10px; overflow: hidden; background: #000; }
.screens .tband { left: 6%; right: 6%; bottom: 10%; padding: 0.2rem 0.3rem; }
.screens .tband .t { font-size: 0.7rem; }
.screens .phone .tband .t { font-size: 0.5rem; }
.screens .scene { animation: pan 10s ease-in-out infinite alternate; }
@keyframes pan { from { transform: scale(1.05) translateX(-2%); } to { transform: scale(1.12) translateX(2%); } }
.screens .lbl { position: absolute; bottom: 6%; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.screens .l1 { left: 6%; } .screens .l2 { right: 6%; }
.checks { background: #FFFFFF; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
.card.soft .checks { background: #FFFFFF; }
.checks .mo { position: relative; border-radius: 6px; overflow: hidden; }
.checks .tick { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: #2E9D5B; display: flex;
  align-items: center; justify-content: center; transform: scale(0); animation: tick 8s ease-out infinite; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.checks .tick svg { width: 18px; height: 18px; }
.checks .k2 { animation-delay: 0.6s; } .checks .k3 { animation-delay: 1.2s; } .checks .k4 { animation-delay: 1.8s; }
@keyframes tick { 0%, 8% { transform: scale(0); } 14% { transform: scale(1.2); } 18%, 85% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
.flicker { animation: flicker 1.4s ease-in-out infinite alternate; transform-origin: center bottom; transform-box: fill-box; }
@keyframes flicker { from { transform: scaleY(0.85); } to { transform: scaleY(1.1); } }
.bob { animation: bob 4s ease-in-out infinite; } .bob.d2 { animation-delay: -1.3s; } .bob.d3 { animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.twinkle { animation: twinkle 2.4s ease-in-out infinite; } .twinkle.d2 { animation-delay: -0.8s; } .twinkle.d3 { animation-delay: -1.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* Home: title examples */
.titles-block { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.75rem; }
.title-strip { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.frame { position: relative; height: 170px; border-radius: 0.8rem; overflow: hidden; flex: none; box-shadow: 0 1px 0 var(--line); }
.frame.tv { aspect-ratio: 16 / 9; }
.frame.ph { aspect-ratio: 9 / 16; }
.frame .tband { left: 7%; right: 7%; bottom: 9%; }
.frame.tv .tband .t { font-size: 1.1rem; }
.frame.ph .tband { left: 5%; right: 5%; padding: 0.35rem 0.4rem; }
.frame.ph .tband .t { font-size: 0.82rem; }
/* On a phone the examples are one row to swipe, edge to edge, with the next one peeking in. */
@media (max-width: 640px) {
  .title-strip { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1rem; padding: 0.1rem 1rem 0.7rem;
    scroll-padding-inline: 1rem; scrollbar-width: thin; }
  .frame { height: 180px; scroll-snap-align: start; }
}

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 0.9rem; }
.price { gap: 0.25rem; padding: 1.1rem 1.25rem; }
.price b { font-family: var(--head); font-size: 1.9rem; line-height: 1.2; }
.price .suits { margin-top: 0.4rem; font-size: 1rem; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0.1rem; top: 0.45em; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--purple); border-bottom: 3px solid var(--purple); transform: rotate(-45deg); }

/* Questions */
.qs { display: flex; flex-direction: column; gap: 0.75rem; }
details.q { background: #FFFFFF; border: 1px solid var(--line); border-radius: 1rem; padding: 0 1.25rem; scroll-margin-top: 1rem; }
details.q summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; padding: 1rem 0; list-style-position: inside; }
details.q .a { padding: 0 0 1.1rem; }
details.q[open] summary { padding-bottom: 0.5rem; }
.card[id] { scroll-margin-top: 1rem; }

/* How it works */
.howsteps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.howstep { display: flex; gap: 1.25rem; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; }
.howstep h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; list-style: none; padding: 0; }
.timeline li { border-top: 4px solid var(--purple); padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.timeline b { font-family: var(--head); font-size: 1.2rem; }

/* Bands */
.band { background: var(--purple); color: #FFFFFF; border-radius: 1.5rem; padding: 3rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.band p { color: #F1EAFB; font-size: 1.2rem; }
.band .stores { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-top: 2rem; padding-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; }
.foot .about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 0.4rem; color: var(--muted); }
.foot h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.foot ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.foot .legal { color: var(--muted); font-size: 0.95rem; }
.foot.bare { border: 0; padding-top: 0; }

/* Watch and invite pages */
body.bare .wrap { max-width: 800px; }
.heart { color: var(--coral); }
.watch, .invite { display: flex; flex-direction: column; gap: 1rem; }
.player { width: 100%; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; background: #000000; }
.player.tall { aspect-ratio: 9 / 16; max-height: 80vh; width: auto; align-self: center; }
.player video { width: 100%; height: 100%; display: block; background: #000000; }
.state { background: #FFFFFF; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.report form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.report label { font-weight: 700; }
.report textarea { font: inherit; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.75rem; resize: vertical; background: #FFFFFF; color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.make { gap: 0.9rem; }
.code-card { gap: 0.4rem; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.code { font-family: var(--head); font-size: 2rem; letter-spacing: 0.12em; }
.copy { min-height: 2.5rem; padding: 0 1rem; border-radius: 0.75rem; border: 2px solid var(--purple); background: #FFFFFF; color: var(--purple); font: inherit; font-weight: 700; cursor: pointer; }
.copy:disabled { opacity: 0.5; cursor: default; }
.mini-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.mini-steps li { display: flex; gap: 0.75rem; align-items: flex-start; }
.mini-steps .n { background: var(--lavender); color: var(--purple); }

/* Legal pages */
.legal-text { max-width: 50rem; display: flex; flex-direction: column; gap: 1.5rem; }
.legal-text section { display: flex; flex-direction: column; gap: 0.75rem; scroll-margin-top: 1rem; }
.legal-text h2 { font-size: 1.5rem; }
.legal-text h3 { font-size: 1.15rem; }
.legal-text .updated { color: var(--muted); }
.legal-text .short { background: var(--lavender); border-radius: 1.25rem; padding: 1.5rem; }
.legal-text .contents ol { columns: 2 16rem; }
.legal-text li + li { margin-top: 0.3rem; }
.legal-text table { border-collapse: collapse; width: 100%; font-size: 1rem; display: block; overflow-x: auto; }
.legal-text th, .legal-text td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.legal-text th { font-family: var(--head); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-art .track, .seg i, .album { animation: none; }
  .s1 i { width: 100%; }
  .visual *, .title-strip * { animation: none !important; }
  .stage .curtain.l { transform: translateX(-92%); } .stage .curtain.r { transform: translateX(92%); }
  .flow .f1, .cycle .s1 { opacity: 1; } .checks .tick { transform: scale(1); } .music .track i { width: 60%; }
}
