/* style.css : the look of the landing page (/) and the maker (/make). Brand colours and the season's accents are
   variables: the season comes ONLY from <html data-season="..."> (set by the page's script from config.featured). */
@font-face { font-family: "CT Sans"; src: url(/fonts/Poppins-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "CT Sans"; src: url(/fonts/Poppins-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: "CT Sans"; src: url(/fonts/Poppins-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: "CT Serif"; src: url(/fonts/DMSerifDisplay-Regular.ttf); font-display: swap; }
@font-face { font-family: "CT Lobster"; src: url(/fonts/Lobster-Regular.ttf); font-display: swap; }

:root {
  --night: #1d1230; --plum: #2c1a44; --plum2: #43215a; --ink: #2a1a2e; --berry: #c2185b; --coral: #ff6b5e; --gold: #f2b632; --cream: #fff8ee; --cream2: #fbeede; --sand: #f3e2cd;
  --paper: #ffffff; --muted: #6b5a6e; --on-dark: #fff8ee; --on-dark-2: #d9c9e6; --line: rgba(42, 26, 46, .12); --line-dark: rgba(255, 248, 238, .16);
  --a: #c2185b; --a-deep: #9c1249; --b: #ff6b5e; --glow1: rgba(255, 107, 94, .42); --glow2: rgba(194, 24, 91, .5); --glow3: rgba(242, 182, 50, .22); --tint: #fdeef0;
  --r: 20px; --shadow: 0 1px 2px rgba(42, 26, 46, .06), 0 12px 32px -12px rgba(42, 26, 46, .22); --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "CT Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "CT Serif", Georgia, serif;
}
html[data-season="christmas"] { --a: #b3202c; --a-deep: #8c1722; --b: #1f7a5a; --glow1: rgba(31, 122, 90, .5); --glow2: rgba(179, 32, 44, .5); --glow3: rgba(242, 182, 50, .25); --tint: #eef6f0; }
html[data-season="love"] { --a: #d81b60; --a-deep: #a81049; --b: #ff8fab; --glow1: rgba(255, 143, 171, .45); --glow2: rgba(216, 27, 96, .55); --glow3: rgba(255, 107, 94, .25); --tint: #fdeef3; }
html[data-season="birthday"] { --glow3: rgba(242, 182, 50, .36); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--a); text-underline-offset: 3px; }
img, canvas, video { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .center { text-align: center; }
.eyebrow { font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--a); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* the lockup the server writes for {{brand}} */
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; line-height: 1; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 400 25px/1 "CT Lobster", Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
a.brand-link { color: inherit; text-decoration: none; display: inline-flex; border-radius: 10px; }

/* ---------- buttons, chips, fields ---------- */
.btn { --bg: linear-gradient(135deg, #e2365c, var(--berry) 55%, #a3134d); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--bg); color: #fff; font: 700 16.5px/1.1 var(--sans); text-decoration: none; text-align: center; box-shadow: 0 10px 24px -10px rgba(194, 24, 91, .75), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .18s var(--ease), box-shadow .18s, filter .18s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; box-shadow: none; }
.btn.big { min-height: 56px; padding: 15px 30px; font-size: 18px; }
.btn.sm { min-height: 44px; padding: 9px 16px; font-size: 14.5px; }
.btn.block { display: flex; width: 100%; }
.btn.gold { --bg: linear-gradient(135deg, #ffd15c, var(--gold)); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(242, 182, 50, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42, 26, 46, .28); }
.btn.ghost:hover { --bg: rgba(42, 26, 46, .05); }
.btn.soft { --bg: var(--cream2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.quiet { --bg: transparent; color: var(--muted); box-shadow: none; font-weight: 600; padding-inline: 14px; }
.btn.quiet:hover { color: var(--ink); --bg: rgba(42, 26, 46, .05); }
.btn.danger { --bg: transparent; color: #b3202c; box-shadow: inset 0 0 0 1.5px rgba(179, 32, 44, .4); }
.on-dark .btn.ghost, .btn.ghost.on-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 248, 238, .45); }
.on-dark .btn.ghost:hover, .btn.ghost.on-dark:hover { --bg: rgba(255, 248, 238, .1); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; flex: none; }
.icon-btn:hover { background: rgba(42, 26, 46, .07); }
.on-dark .icon-btn:hover { background: rgba(255, 248, 238, .12); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 20px; margin-inline: -20px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 14.5px/1.1 var(--sans); white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
button.chip:hover { border-color: var(--a); transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip.soon { background: transparent; border-style: dashed; color: var(--muted); font-weight: 400; min-height: 36px; padding: 5px 13px; font-size: 13.5px; }
select.input.chip-select { flex: none; width: auto; min-height: 44px; padding: 8px 38px 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 14.5px/1.1 var(--sans); }
.chip.sm { min-height: 38px; padding: 6px 13px; font-size: 13.5px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--cream2); color: var(--ink); font: 600 12px/1.2 var(--sans); white-space: nowrap; }
.mailchips input, .field .mailchips input { border: 0; box-shadow: none; min-height: 34px; padding: 4px 6px; border-radius: 8px; width: auto; }
.field .mailchips input:focus { border: 0; box-shadow: none; }
.field > span.hint { font-weight: 400; font-size: 13.5px; color: var(--muted); }
@media (max-width: 719px) { .composer { margin-left: 0; padding: 16px 14px; } }
.tag.is-ready { background: #e2f3ea; color: #14573f; } .tag.is-draft { background: #fdf0cf; color: #6d4d00; } .tag.is-down { background: #ece6ee; color: #55455a; } .tag.gold { background: var(--gold); color: var(--ink); }

.field { display: grid; gap: 6px; }
.field > span, .label { font: 600 13.5px/1.2 var(--sans); color: var(--ink); }
.input, .field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid rgba(42, 26, 46, .2); border-radius: 14px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field textarea, textarea.input { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #9a8a9c; }
select.input { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%232a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.search { position: relative; flex: 1 1 220px; min-width: 0; }
.search input { padding-left: 42px; border-radius: 999px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.counter { font: 400 12.5px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.near { color: #a05a00; } .counter.full { color: #b3202c; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--berry); flex: none; }
.err { color: #a3141f; font-weight: 600; font-size: 14.5px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font: 600 14px var(--sans); color: var(--muted); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(42, 26, 46, .15); border-top-color: var(--a); animation: spin .8s linear infinite; flex: none; }
.btn .spin { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; width: 18px; height: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots { display: inline-flex; gap: 5px; align-items: center; height: 20px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--a); animation: hop 1.1s infinite var(--ease); }
.dots i:nth-child(2) { animation-delay: .15s; background: var(--coral); } .dots i:nth-child(3) { animation-delay: .3s; background: var(--gold); }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-7px); opacity: 1; } }
.skel { background: linear-gradient(100deg, var(--cream2) 30%, #fff 50%, var(--cream2) 70%); background-size: 300% 100%; animation: skel 1.4s linear infinite; border-radius: 14px; }
@keyframes skel { to { background-position: -300% 0; } }

/* the phone that plays a card */
.phone { position: relative; width: min(280px, 72vw); padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #4a3566, #140b22 60%); box-shadow: 0 0 0 1.5px rgba(242, 182, 50, .4), 0 34px 80px -24px rgba(0, 0, 0, .7), 0 0 110px -18px var(--glow2); flex: none; }
.phone .screen { position: relative; aspect-ratio: 9 / 16; border-radius: 31px; overflow: hidden; background: #120a1f; isolation: isolate; }
.phone.square .screen { aspect-ratio: 1; }
.phone .screen > canvas, .phone .screen > video, .phone .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--plum2), var(--night)); }
.thumb canvas, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

#ambient { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .8; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; max-width: min(520px, calc(100% - 28px)); padding: 13px 20px; border-radius: 16px; background: var(--night); color: var(--cream); font: 600 15px/1.35 var(--sans); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); animation: rise .3s var(--ease); }
.toast.bad { background: #7d1420; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }

/* =============================================== THE LANDING PAGE =============================================== */
body.site { background: var(--night); }
.site-head { position: sticky; top: 0; z-index: 40; color: var(--on-dark); transition: background .25s, box-shadow .25s; }
.site-head.stuck { background: rgba(29, 18, 48, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.site-head .wrap { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.site-head nav { display: none; margin-left: auto; gap: 4px; }
.site-head nav a { color: var(--on-dark-2); text-decoration: none; font: 600 15px var(--sans); padding: 12px 14px; border-radius: 999px; }
.site-head nav a:hover { color: #fff; background: rgba(255, 248, 238, .1); }
.site-head .btn { margin-left: auto; }
.site-head .menu-btn { margin-right: -8px; }
.site-head.open nav { display: grid; position: absolute; top: 64px; left: 12px; right: 12px; padding: 10px; background: var(--plum); border: 1px solid var(--line-dark); border-radius: 20px; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .7); animation: pop .2s var(--ease); }
.site-head.open nav a { padding: 14px 16px; font-size: 17px; }

.hero { color: var(--on-dark); padding: 26px 0 88px; margin-top: -68px; padding-top: 104px; background: radial-gradient(90% 60% at 85% 8%, var(--glow1), transparent 62%), radial-gradient(70% 55% at 0% 100%, var(--glow2), transparent 65%), radial-gradient(50% 40% at 55% 55%, var(--glow3), transparent 70%), linear-gradient(170deg, #23143a, var(--night) 55%, #2b1338); }
.hero .wrap { display: grid; gap: 44px; justify-items: center; text-align: center; }
.season-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px; border-radius: 999px; background: rgba(255, 248, 238, .1); border: 1px solid var(--line-dark); font: 600 13.5px/1.2 var(--sans); color: var(--on-dark); }
.season-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 182, 50, .25); }
.hero h1 { font-size: clamp(42px, 11.4vw, 78px); margin: 18px 0 0; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--gold), var(--coral) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { font: 400 clamp(25px, 6.6vw, 34px)/1.15 "CT Lobster", Georgia, serif; color: var(--gold); margin-top: 14px; }
.hero .lede { font-size: clamp(16.5px, 4.4vw, 19px); color: var(--on-dark-2); max-width: 33em; margin: 16px auto 0; text-wrap: pretty; }
.hero .says { display: inline-block; min-width: 9.5em; text-align: left; color: #fff; font-weight: 600; }
.hero .says span { display: inline-block; animation: says .5s var(--ease); }
@keyframes says { from { opacity: 0; transform: translateY(8px); } }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.hero .fine { margin-top: 14px; font-size: 14px; color: #cbb9d8; }
.player { display: grid; justify-items: center; gap: 14px; position: relative; }
.player .phone { width: min(292px, 74vw); transform: rotate(-2.2deg); }
.player .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.player .slide.on { opacity: 1; }
.player .slide canvas, .player .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .sound { position: absolute; right: 10px; bottom: 10px; z-index: 3; min-height: 44px; padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; background: rgba(18, 10, 31, .72); color: #fff; font: 600 13.5px var(--sans); display: inline-flex; gap: 7px; align-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.player .sound svg { width: 20px; height: 20px; }
.player .live { position: absolute; left: 12px; top: 12px; z-index: 3; }
.player .cap { text-align: center; min-height: 46px; }
.player .cap b { display: block; font: 400 21px/1.15 var(--serif); }
.player .cap span { font-size: 13.5px; color: #cbb9d8; }
.dotsnav { display: flex; gap: 2px; justify-content: center; }
.dotsnav button { width: 44px; height: 32px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.dotsnav button::before { content: ""; width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 248, 238, .35); transition: width .25s var(--ease), background .25s; }
.dotsnav button[aria-current="true"]::before { width: 26px; background: var(--gold); }
.player .float { position: absolute; z-index: 2; pointer-events: none; }
.player .float.n1 { left: -6%; top: 16%; width: 78px; height: 78px; } .player .float.n2 { right: -8%; top: 52%; width: 86px; height: 86px; }

.sec { position: relative; z-index: 1; background: var(--cream); padding: 72px 0; }
.sec.first { border-radius: 34px 34px 0 0; margin-top: -34px; }
.sec.alt { background: var(--cream2); }
.sec.tint { background: linear-gradient(180deg, var(--cream), var(--tint)); }
.sec-head { max-width: 36em; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(32px, 8vw, 48px); margin-top: 12px; text-wrap: balance; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 24px; overflow: hidden; }
.step canvas { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(160deg, var(--plum2), var(--night)); margin-bottom: 18px; }
.step h3 { font-size: 25px; display: flex; gap: 12px; align-items: baseline; }
.step h3::before { counter-increment: step; content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #fff; font: 700 16px/1 var(--sans); transform: translateY(-3px); }
.step p { margin-top: 8px; color: var(--muted); }
.soon-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 22px; }
.tools select { flex: 0 1 220px; border-radius: 999px; }
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tpl { display: flex; flex-direction: column; padding: 8px 8px 14px; border-radius: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.tpl:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42, 26, 46, .06), 0 24px 44px -18px rgba(42, 26, 46, .35); }
.tpl .thumb { border-radius: 16px; cursor: pointer; }
.tpl .meta { padding: 12px 6px 0; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.tpl h3 { font-size: 20px; } .tpl .fam { font: 600 12px var(--sans); color: var(--a); letter-spacing: .04em; text-transform: uppercase; }
.tpl p { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpl .btn { margin-top: auto; align-self: stretch; }
.tpl .meta > p { margin-bottom: 10px; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); border: 1.5px dashed rgba(42, 26, 46, .2); border-radius: var(--r); grid-column: 1 / -1; }
.empty b { display: block; font: 400 24px var(--serif); color: var(--ink); margin-bottom: 6px; }
.packs { display: grid; gap: 16px; align-items: stretch; }
.pack { position: relative; padding: 26px 22px 20px; display: flex; flex-direction: column; text-align: center; }
.pack.best { border: 2px solid var(--a); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--a) 70%, transparent); }
.pack .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.pack h3 { font-size: 26px; }
.pack .price { font: 400 54px/1 var(--serif); margin-top: 10px; }
.pack .each { color: var(--muted); font-size: 14.5px; min-height: 22px; margin-top: 6px; }
.pack .each b { color: #14573f; }
.pack .btn { margin-top: 18px; }
.pack .final { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.includes { margin-top: 26px; padding: 24px 22px; display: grid; gap: 18px; }
.includes h3 { font-size: 24px; }
.includes ul, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.includes li, .ticks li { position: relative; padding-left: 30px; }
.includes li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.500 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.free-note { padding: 16px 18px; border-radius: 16px; background: var(--tint); font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font: 600 17px/1.3 var(--sans); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%23c2185b' stroke-width='2.400' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); display: grid; gap: 10px; }
.closing { color: var(--on-dark); text-align: center; padding: 84px 0; background: radial-gradient(70% 90% at 50% 100%, var(--glow2), transparent 70%), radial-gradient(40% 60% at 20% 0%, var(--glow1), transparent 70%); }
.closing h2 { font-size: clamp(36px, 9vw, 60px); text-wrap: balance; }
.closing p { color: var(--on-dark-2); margin: 14px auto 26px; max-width: 30em; font-size: 17px; }
.site-foot { color: var(--on-dark-2); padding: 40px 0 46px; border-top: 1px solid var(--line-dark); font-size: 14.5px; }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot .brand { color: var(--on-dark); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-foot a { color: var(--on-dark-2); text-decoration: none; padding: 6px 0; display: inline-block; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.glyphh-mark { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 600 12.5px/1 var(--sans); width: max-content; text-decoration: none; }
.glyphh-mark img { height: 16px; width: auto; display: block; }

/* =============================================== THE MAKER (/make) =============================================== */
body.app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.app[data-stage="dark"] { background: radial-gradient(80% 50% at 80% 0%, var(--glow1), transparent 62%), radial-gradient(70% 55% at 0% 100%, var(--glow2), transparent 65%), var(--night); background-attachment: fixed; color: var(--on-dark); }
body.app:not([data-stage="dark"]) #ambient { display: none; }
.app-head { position: sticky; top: 0; z-index: 40; background: var(--night); color: var(--on-dark); }
body.app[data-stage="dark"] .app-head { background: transparent; }
.app-head .in { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 14px; max-width: 1240px; margin: 0 auto; }
.app-head .brand svg { width: 30px; height: 30px; } .app-head .brand b { font-size: 22px; }
.app-head .sp { flex: 1; }
.credits { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 13px 6px 9px; border: 0; border-radius: 999px; background: rgba(255, 248, 238, .12); color: var(--on-dark); font: 600 14px/1 var(--sans); }
.credits:hover { background: rgba(255, 248, 238, .2); }
.credits i { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); font: 700 12px/1 var(--sans); font-style: normal; }
.credits.bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.14); background: rgba(242, 182, 50, .45); } }
.avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--coral), var(--berry)); color: #fff; font: 700 16px/1 var(--sans); }
.menu { position: absolute; right: 12px; top: 56px; z-index: 60; width: min(300px, calc(100vw - 24px)); padding: 8px; background: var(--paper); color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .45); animation: pop .18s var(--ease); }
.menu .who { padding: 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who b { display: block; } .menu .who span { font-size: 13.5px; color: var(--muted); word-break: break-all; }
.menu button, .menu a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; background: none; border-radius: 12px; font: 600 15px var(--sans); color: var(--ink); text-decoration: none; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--cream2); }
main#main { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.screen { width: min(100% - 32px, 760px); margin: 0 auto; padding: 22px 0 60px; animation: fade .3s; }
.screen.wide { width: min(100% - 32px, 1180px); }
.screen > h1, .screen-head h1 { font-size: clamp(32px, 8.5vw, 44px); }
.screen h1:focus { outline: 0; }
.screen-head { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -6px 0 2px -10px; padding: 6px 12px 6px 6px; border: 0; background: none; border-radius: 999px; color: var(--muted); font: 600 14.5px var(--sans); text-decoration: none; }
.back:hover { color: var(--ink); background: rgba(42, 26, 46, .06); } .back svg { width: 20px; height: 20px; }
.center-screen { flex: 1; display: grid; place-items: center; padding: 24px 16px 60px; }
.loading { display: grid; justify-items: center; gap: 14px; color: var(--muted); padding: 80px 0; }

/* sign in */
.signin { width: min(100%, 440px); padding: 30px 24px 26px; text-align: center; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); animation: pop .4s var(--ease); }
.signin .avatar { margin: -62px auto 12px; }
.signin h1 { font-size: 34px; } .signin > p { color: var(--muted); margin: 10px 0 22px; }
.signin .gbtn { display: grid; justify-content: center; min-height: 44px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin form { display: grid; gap: 10px; text-align: left; }
.signin .fine { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #3a2352, var(--night)); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold), 0 8px 18px -6px rgba(29, 18, 48, .6); flex: none; }
.avatar svg { width: 62%; height: 62%; }
.avatar.sm { width: 38px; height: 38px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--gold); }
.avatar.lg { width: 84px; height: 84px; }
.avatar.sing svg { animation: sing 1s infinite var(--ease); transform-origin: 50% 80%; }
@keyframes sing { 50% { transform: rotate(-7deg) scale(1.08) translateY(-2px); } }

/* my carols */
.home-hero { display: grid; gap: 16px; padding: 24px 22px; border-radius: 26px; color: var(--on-dark); background: radial-gradient(80% 120% at 100% 0%, var(--glow1), transparent 60%), radial-gradient(60% 100% at 0% 100%, var(--glow2), transparent 65%), var(--night); margin-bottom: 26px; position: relative; overflow: hidden; }
.home-hero h1 { font-size: clamp(30px, 8vw, 42px); } .home-hero p { color: var(--on-dark-2); max-width: 30em; }
.home-hero .btn { justify-self: start; }
.carol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.carol { display: flex; flex-direction: column; padding: 8px 8px 12px; border-radius: 22px; text-decoration: none; color: inherit; text-align: left; transition: transform .25s var(--ease), box-shadow .25s; }
.carol:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42, 26, 46, .06), 0 24px 44px -18px rgba(42, 26, 46, .35); }
.carol .thumb { aspect-ratio: 1; }
.carol .thumb .tag { position: absolute; left: 8px; top: 8px; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.carol b { font: 400 18px/1.2 var(--serif); margin: 10px 6px 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carol span.sub { font-size: 12.5px; color: var(--muted); margin: 0 6px; }

/* the conversation with the agent */
.convo { display: grid; gap: 16px; }
.msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: end; animation: pop .35s var(--ease) both; }
.msg .bubble { justify-self: start; max-width: 100%; padding: 13px 17px; border-radius: 20px 20px 20px 6px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(42, 26, 46, .25); font-size: 16.5px; }
.msg .bubble.say { font: 400 20px/1.25 var(--serif); }
.msg.me { grid-template-columns: minmax(0, 1fr); }
.msg.me .bubble { justify-self: end; background: var(--ink); color: var(--cream); border: 0; border-radius: 20px 20px 6px 20px; text-align: left; max-width: 88%; display: inline-flex; gap: 10px; align-items: center; font: 600 15.5px/1.35 var(--sans); min-height: 46px; }
.msg.me .bubble small { font: 400 12px var(--sans); color: #cbb9d8; white-space: nowrap; border-left: 1px solid rgba(255, 248, 238, .25); padding-left: 10px; }
.msg.me button.bubble:hover { background: #3a2540; }
.msg.me .bubble img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; margin: -4px 0; }
.composer { margin-left: 48px; padding: 18px; display: grid; gap: 16px; animation: pop .35s .08s var(--ease) both; }
.composer .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.composer .row.end { justify-content: flex-end; }
.composer .two { display: grid; gap: 12px; }
.prompt-line { font-size: 14px; color: var(--muted); min-height: 21px; }
.prompt-line b { color: var(--ink); font-weight: 600; }
details.more { border: 1.5px dashed rgba(42, 26, 46, .22); border-radius: 16px; }
details.more summary { cursor: pointer; padding: 13px 16px; font-weight: 600; min-height: 48px; list-style: none; display: flex; align-items: center; gap: 10px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; width: 24px; height: 24px; border-radius: 50%; background: var(--cream2); display: grid; place-items: center; font-weight: 700; color: var(--a); }
details.more[open] summary::before { content: "\2013"; }
details.more > div { padding: 0 16px 16px; display: grid; gap: 8px; }
.writing { display: grid; gap: 10px; }
.writing .bar { height: 6px; border-radius: 6px; background: var(--cream2); overflow: hidden; }
.writing .bar i { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--coral), var(--berry)); animation: slide 1.6s infinite var(--ease); }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* the mini gallery (the mood step and the editor's template switcher) */
.gal { display: grid; gap: 14px; }
.gal-pre { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 20px; background: linear-gradient(150deg, var(--plum2), var(--night)); color: var(--on-dark); }
.gal-pre .thumb { border-radius: 14px; box-shadow: 0 0 0 1.5px rgba(242, 182, 50, .5), 0 14px 30px -12px rgba(0, 0, 0, .7); }
.gal-pre h3 { font-size: 24px; } .gal-pre .fam { font: 600 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.gal-pre p { font-size: 13.5px; color: var(--on-dark-2); margin-top: 6px; line-height: 1.45; }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gal-item { padding: 0; border: 0; background: none; text-align: center; border-radius: 16px; display: grid; gap: 6px; color: var(--ink); font: 600 12.5px/1.2 var(--sans); }
.gal-item .thumb { border-radius: 14px; outline: 0 solid var(--a); transition: outline-width .15s, transform .2s var(--ease); }
.gal-item:hover .thumb { transform: translateY(-2px); }
.gal-item[aria-pressed="true"] .thumb { outline-width: 3.5px; outline-offset: 2px; }
.gal-item[aria-pressed="true"] { color: var(--a); }

/* photos */
.drop { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 22px 16px; border: 2px dashed color-mix(in srgb, var(--a) 45%, transparent); border-radius: 20px; background: var(--tint); }
.drop.over { background: #fff; border-style: solid; }
.ph-grid { display: grid; gap: 10px; }
.ph { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.ph .pic { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--cream2); position: relative; }
.ph .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .pic .spin { position: absolute; inset: 0; margin: auto; border-color: rgba(255, 255, 255, .5); border-top-color: #fff; }
.ph .pic.busy img { filter: brightness(.6); }
.ph .st { font-size: 13px; color: var(--muted); } .ph.bad { border-color: rgba(179, 32, 44, .5); background: #fdf1f1; } .ph.bad .st { color: #a3141f; font-weight: 600; }
.ph input { min-height: 44px; padding: 8px 12px; border-radius: 12px; font-size: 15px; }
.ph .bar { height: 5px; border-radius: 5px; background: var(--cream2); overflow: hidden; margin-top: 6px; }
.ph .bar i { display: block; height: 100%; width: 40%; background: var(--a); border-radius: 5px; animation: slide 1.2s infinite var(--ease); }

/* the editor */
.ed { display: grid; gap: 0; width: 100%; max-width: 1180px; margin: 0 auto; }
.stage { position: sticky; top: 58px; z-index: 30; background: linear-gradient(160deg, #2a1741, var(--night)); color: var(--on-dark); padding: 12px 14px 10px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
.stage-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ph side" "bar bar"; gap: 10px 14px; align-items: center; max-width: 480px; margin: 0 auto; }
.stage .phone { grid-area: ph; width: auto; padding: 5px; border-radius: 22px; box-shadow: 0 0 0 1.5px rgba(242, 182, 50, .4), 0 20px 40px -18px rgba(0, 0, 0, .8); }
.stage .phone .screen { height: min(36vh, 300px); border-radius: 17px; }
.pv-side { grid-area: side; display: grid; gap: 9px; justify-items: start; min-width: 0; }
.pv-side .now { font: 400 19px/1.15 var(--serif); } .pv-side .sub { font-size: 12.5px; color: #cbb9d8; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 248, 238, .12); }
.seg button { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--on-dark-2); font: 600 13.5px var(--sans); }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.tog { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 13px 6px 9px; border-radius: 999px; border: 1.5px solid var(--line-dark); background: none; color: var(--on-dark); font: 600 13.5px var(--sans); }
.tog i { width: 30px; height: 18px; border-radius: 18px; background: rgba(255, 248, 238, .25); position: relative; transition: background .2s; }
.tog i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.tog[aria-pressed="true"] i { background: var(--gold); } .tog[aria-pressed="true"] i::after { transform: translateX(12px); }
.pv-bar { grid-area: bar; display: flex; align-items: center; gap: 8px; }
.pv-bar .play { background: var(--cream); color: var(--ink); }
.pv-bar .play:hover { background: #fff; }
.pv-bar time { font: 600 12.5px var(--sans); font-variant-numeric: tabular-nums; color: var(--on-dark-2); min-width: 78px; text-align: right; }
.scrub { position: relative; flex: 1; height: 44px; display: flex; align-items: center; }
.scrub .marks { position: absolute; left: 9px; right: 9px; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: rgba(255, 248, 238, .2); pointer-events: none; overflow: hidden; }
.scrub .marks i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--night); }
.scrub .marks b { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--gold), var(--coral)); }
.scrub input { position: relative; width: 100%; margin: 0; height: 44px; background: none; appearance: none; -webkit-appearance: none; }
.scrub input::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.scrub input::-moz-range-track { height: 6px; background: transparent; }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.scrub input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.stage[data-min="true"] .stage-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ph bar min"; }
.stage[data-min="true"] .phone .screen { height: 64px; border-radius: 8px; } .stage[data-min="true"] .phone { padding: 3px; border-radius: 11px; }
.stage[data-min="true"] .pv-side > :not(.minbtn) { display: none; }
.stage[data-min="true"] .pv-side { grid-area: min; } .stage[data-min="true"] .pv-bar time { display: none; }
.minbtn { color: var(--on-dark-2); }
.ed-form { padding: 18px 16px 130px; display: grid; gap: 18px; min-width: 0; }
.panel { padding: 20px 18px; display: grid; gap: 16px; }
.panel > h2 { font-size: 25px; display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.panel > h2 small { font: 400 13px var(--sans); color: var(--muted); }
.agent-note { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.agent-note .bubble { padding: 12px 16px; border-radius: 6px 18px 18px 18px; background: var(--tint); font: 400 19px/1.3 var(--serif); }
.ask { display: grid; gap: 12px; }
.ask .row { display: flex; gap: 8px; } .ask .row .input { flex: 1; min-width: 0; border-radius: 999px; }
.verse { display: grid; gap: 8px; padding: 14px 12px 12px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.verse.hook { background: var(--tint); }
.verse > .label { display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--a); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 2px; align-items: center; position: relative; }
.line input { min-height: 46px; padding: 9px 78px 9px 13px; border: 1.5px solid transparent; border-radius: 12px; background: var(--paper); font: 400 16px var(--sans); width: 100%; box-shadow: 0 1px 0 var(--line); }
.line input:focus { outline: 0; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.line .counter { position: absolute; right: 54px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.line .icon-btn { color: var(--muted); }
.addline { justify-self: start; }
.strip { display: grid; gap: 10px; }
.shot { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.shot[draggable="true"] { cursor: grab; } .shot.drag { opacity: .4; } .shot.over { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 22%, transparent); }
.shot img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; display: block; background: var(--cream2); }
.shot .input { min-height: 44px; padding: 8px 12px; border-radius: 12px; font-size: 15px; }
.shot .mv { display: flex; } .shot .mv .icon-btn { width: 40px; color: var(--muted); }
.look { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.slug { display: flex; align-items: stretch; border: 1.5px solid rgba(42, 26, 46, .2); border-radius: 14px; background: var(--paper); overflow: hidden; }
.slug:focus-within { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.slug span { display: flex; align-items: center; padding: 0 2px 0 14px; color: var(--muted); background: var(--cream); white-space: nowrap; font-size: 15px; }
.slug input { flex: 1; min-width: 0; min-height: 48px; border: 0; padding: 10px 12px 10px 2px; background: none; font: 600 16px var(--sans); outline: 0; }
.slug.locked { background: var(--cream); } .slug.locked input { color: var(--muted); }
.ok { color: #14573f; font-weight: 600; font-size: 14.5px; }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 238, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.actionbar .in { max-width: 1180px; margin: 0 auto; display: grid; gap: 6px; }
.actionbar .row { display: flex; gap: 10px; align-items: center; }
.actionbar .btn { flex: 1; }
.actionbar .note { font-size: 13px; color: var(--muted); text-align: center; }
.saved { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--sans); color: var(--muted); min-width: 68px; }
.saved::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e6e; } .saved.busy::before { background: var(--gold); animation: hop 1s infinite; } .saved.bad::before { background: #b3202c; }

/* dialogs and sheets */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(20, 10, 34, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.dialog { width: 100%; max-width: 560px; max-height: min(92vh, 92dvh); overflow: auto; overscroll-behavior: contain; background: var(--cream); color: var(--ink); border-radius: 28px 28px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, .5); animation: sheet .32s var(--ease); }
.dialog::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: rgba(42, 26, 46, .2); margin: 0 auto 8px; }
.dialog.wide { max-width: 760px; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: -10px; background: var(--cream); z-index: 2; padding: 6px 0; margin: 0 -6px 8px 0; }
.dialog-head h2 { font-size: 28px; }
.dialog .body { display: grid; gap: 16px; }
.dialog .foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.payrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px; position: relative; }
.payrow.best { border: 2px solid var(--a); }
.payrow h3 { font-size: 23px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .payrow .each { font-size: 13.5px; color: var(--muted); }
.payrow .buy { grid-row: span 2; display: grid; gap: 2px; justify-items: stretch; text-align: center; }
.payrow .buy .btn { min-width: 118px; }
.payrow .final { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 9px; margin-top: 8px; }
.payrow .final b { color: var(--ink); font-weight: 600; }
.balance { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--tint); font-weight: 600; }

/* making it: progress */
.progress { width: min(100%, 460px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.ring { position: relative; width: 236px; height: 236px; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .tr { stroke: rgba(255, 248, 238, .14); } .ring .fg { stroke: url(#ringg); transition: stroke-dashoffset .8s var(--ease); }
.ring canvas { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--plum2), #1a0f2b); }
.ring.spin-slow .fg { animation: ringspin 1.6s linear infinite; transform-origin: 50% 50%; }
@keyframes ringspin { to { transform: rotate(360deg); } }
.progress h1 { font-size: clamp(32px, 9vw, 42px); } .progress .pct { font: 700 15px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); min-height: 22px; }
.progress p { color: var(--on-dark-2); max-width: 26em; }
.stages { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.stages span { padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--sans); color: #cbb9d8; border: 1px solid var(--line-dark); }
.stages span.on { background: var(--cream); color: var(--ink); border-color: var(--cream); } .stages span.done { color: var(--gold); border-color: rgba(242, 182, 50, .5); }

/* ready: share it */
.ready { display: grid; gap: 22px; }
.ready-top { display: grid; gap: 18px; justify-items: center; padding: 26px 18px; border-radius: 28px; color: var(--on-dark); text-align: center; background: radial-gradient(80% 60% at 100% 0%, var(--glow1), transparent 60%), radial-gradient(70% 60% at 0% 100%, var(--glow2), transparent 65%), var(--night); }
.ready-top h1 { font-size: clamp(32px, 8.5vw, 46px); } .ready-top p { color: var(--on-dark-2); }
.ready-top .phone { width: min(250px, 66vw); }
.ready-top .phone video { background: #000; }
.downed { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(20, 10, 34, .78); color: #fff; font-weight: 600; }
.linkbox { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); min-width: 0; }
.linkbox output { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15.5px var(--sans); }
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.share-grid a, .share-grid button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; min-height: 76px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 12.5px var(--sans); text-decoration: none; transition: transform .15s var(--ease), border-color .15s; }
.share-grid a:hover, .share-grid button:hover { transform: translateY(-2px); border-color: var(--a); }
.share-grid svg { width: 26px; height: 26px; color: var(--a); }
.takes { display: grid; gap: 8px; }
.take { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.take.cur { border-color: var(--a); background: var(--tint); }
.take b { flex: 1; font-weight: 600; } .take b small { display: block; font: 400 12.5px var(--sans); color: var(--muted); }
.take .icon-btn { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rowbtns { display: flex; flex-wrap: wrap; gap: 10px; } .rowbtns .btn { flex: 1 1 150px; }
.stat { display: flex; gap: 18px; justify-content: center; font-size: 13.5px; color: var(--on-dark-2); }
.stat b { color: #fff; }
.mailchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; min-height: 52px; border: 1.5px solid rgba(42, 26, 46, .2); border-radius: 14px; background: var(--paper); cursor: text; }
.mailchips:focus-within { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.mailchips .tag { font-size: 13.5px; padding: 3px 4px 3px 11px; background: var(--ink); color: var(--cream); font-weight: 400; }
.mailchips .tag button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: inherit; display: grid; place-items: center; padding: 0; }
.mailchips .tag button:hover { background: rgba(255, 255, 255, .2); }
.mailchips input { flex: 1 1 160px; min-width: 120px; border: 0; outline: 0; min-height: 34px; padding: 4px 6px; background: none; font-size: 16px; }
.preview-mail { padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.preview-mail b { color: var(--ink); font: 400 19px/1.2 var(--serif); }
.result { padding: 14px 16px; border-radius: 16px; background: #e2f3ea; color: #14573f; font-weight: 600; }
.banner { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: #fdf0cf; color: #5a4000; font-weight: 600; font-size: 14.5px; }
.banner.bad { background: #fde8e8; color: #7d1420; }

/* ---------- round two: small-screen tightening ---------- */
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible { outline: 0; }
.site-head .btn { white-space: nowrap; padding-inline: 15px; }
.soon-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 20px; margin-inline: -20px; white-space: nowrap; }
.soon-row::-webkit-scrollbar { display: none; }
.sec.last { border-radius: 0 0 34px 34px; }
.glyphh-mark img { height: 18px; margin: 0 -2px; }
.payrow .final a { white-space: nowrap; }
.ready-top .phone { width: min(210px, 56vw); padding: 7px; border-radius: 32px; }
.ready-top .phone .screen { border-radius: 25px; }
@media (max-width: 959px) {
  /* a phone: the headline, the example playing, and the one button are all on the first screen; the long words come after */
  .hero { padding-top: 80px; padding-bottom: 64px; }
  .hero .wrap { gap: 0; }
  .hero .hero-copy { display: contents; }
  .hero .season-pill { order: 6; margin-top: 22px; }
  .hero h1 { order: 1; font-size: clamp(38px, 11.6vw, 66px); margin-top: 0; line-height: 1; }
  .hero .tagline { order: 2; margin-top: 8px; font-size: clamp(23px, 6.4vw, 32px); }
  .hero .player { order: 3; margin-top: 14px; gap: 4px; }
  .hero .player .phone { width: calc(min(43svh, 430px) * 9 / 16 + 14px); max-width: 78vw; padding: 7px; border-radius: 30px; }
  .hero .player .phone .screen { border-radius: 24px; }
  .hero .player .cap { display: none; }
  .hero .cta { order: 4; margin-top: 4px; gap: 4px; flex-direction: column; align-items: center; width: 100%; }
  .hero .cta .btn.big:not(.ghost) { width: min(100%, 360px); min-height: 60px; font-size: 20px; }
  .hero .fine { order: 5; margin-top: 10px; font-size: 14.5px; color: #e6d8f0; max-width: 22em; }
  .hero .cta .btn.ghost { box-shadow: none; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding-block: 6px; font-size: 15.5px; }
  .hero .lede { order: 7; margin-top: 12px; }
  .ready-top { padding: 20px 16px; gap: 14px; }
}

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  .wrap { width: min(1120px, 100% - 64px); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tpl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .packs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .includes { grid-template-columns: 1.5fr 1fr; align-items: center; padding: 30px; }
  .carol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .composer .two { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gal-pre { grid-template-columns: 150px minmax(0, 1fr); padding: 16px; }
  .ph-grid { grid-template-columns: 1fr 1fr; }
  .scrim { align-items: center; padding: 24px; }
  .dialog { border-radius: 28px; padding: 18px 26px 26px; animation-name: pop; }
  .dialog::before { display: none; }
  .dialog-head { top: -18px; }
  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .share-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-hero { grid-template-columns: 1fr auto; align-items: center; padding: 30px 32px; }
  .home-hero .btn { justify-self: end; }
}
@media (min-width: 960px) {
  .site-head nav { display: flex; }
  .site-head .btn { margin-left: 8px; }
  .site-head .menu-btn { display: none; }
  .hero { padding-bottom: 96px; padding-top: 112px; }
  .hero .wrap { grid-template-columns: 1.2fr .8fr; text-align: left; justify-items: start; align-items: center; gap: 30px; }
  .hero h1 { font-size: clamp(64px, 7.4vw, 104px); line-height: .98; }
  .hero .tagline { font-size: clamp(30px, 3.2vw, 42px); margin-top: 18px; }
  .hero .lede { margin-left: 0; font-size: 20px; } .hero .cta { justify-content: flex-start; margin-top: 30px; }
  .hero .cta .btn.big { min-height: 64px; padding-inline: 40px; font-size: 20px; }
  .hero .fine { font-size: 15px; color: #e6d8f0; }
  .player { justify-self: center; } .player .phone { width: min(372px, calc((100vh - 232px) * 9 / 16 + 18px)); min-width: 280px; }
  .player .float.n1 { width: 104px; height: 104px; left: -14%; } .player .float.n2 { width: 112px; height: 112px; right: -15%; }
  .sec { padding: 104px 0; }
  .tpl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ed { grid-template-columns: 400px minmax(0, 1fr); align-items: start; gap: 8px; padding: 22px 16px 0; }
  .stage { top: 80px; border-radius: 28px; padding: 24px 22px 18px; }
  .stage-in { grid-template-columns: 1fr; grid-template-areas: "ph" "bar" "side"; justify-items: center; gap: 14px; }
  .stage .phone { padding: 8px; border-radius: 36px; } .stage .phone .screen { height: min(52vh, 500px); border-radius: 28px; }
  .pv-bar { width: 100%; } .pv-side { grid-auto-flow: column; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
  .pv-side .txt { display: none; } .minbtn { display: none; }
  .ed-form { padding: 0 8px 140px 14px; }
  .panel { padding: 24px; }
  .actionbar .in { grid-template-columns: 1fr auto; align-items: center; } .actionbar .row { order: 2; } .actionbar .btn { flex: 0 0 auto; min-width: 260px; } .actionbar .note { text-align: left; }
  .ready { grid-template-columns: 400px minmax(0, 1fr); align-items: start; }
  .ready-top { position: sticky; top: 80px; }
  .ready-top .phone { width: 250px; padding: 9px; border-radius: 40px; }
  .soon-row { flex-wrap: wrap; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
