/* CoupleCue — site styles. Brand tokens mirror App/Theme/AppTheme.swift */
:root {
  --primary: #e91e23;
  --accent: #7b1fa2;
  --gold: #e6b85c;
  --indigo: #5c6bc0;
  --ink: #1f1a17;
  --ink-2: rgba(31, 26, 23, .66);
  --ink-3: rgba(31, 26, 23, .45);
  --bg: #f8f5ff;
  --bg-warm: #fff5fa;
  --card: #fffdf8;
  --line: rgba(31, 26, 23, .09);
  --grad: linear-gradient(135deg, var(--primary), var(--accent));
  --grad-soft: linear-gradient(135deg, #fff5fa 0%, #f8f5ff 55%, #f3eefb 100%);
  --shadow: 0 1px 2px rgba(31, 26, 23, .04), 0 12px 32px -12px rgba(31, 26, 23, .14);
  --shadow-lg: 0 2px 4px rgba(31, 26, 23, .04), 0 30px 60px -20px rgba(123, 31, 162, .28);
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1140px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(123, 31, 162, .45); outline-offset: 2px; border-radius: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 255, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(233, 30, 35, .5); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; text-decoration: none; border-radius: 999px; padding: 14px 24px; transition: transform .15s ease, box-shadow .2s ease, background .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(233, 30, 35, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(123, 31, 162, .7); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(123, 31, 162, .35); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 22px 10px 18px; min-height: 58px; transition: transform .15s, box-shadow .2s; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .65); }
.appstore:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .75); }
.appstore svg { width: 28px; height: 34px; fill: #fff; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.appstore strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.appstore.sm { min-height: 46px; padding: 7px 16px 7px 13px; border-radius: 12px; }
.appstore.sm svg { width: 20px; height: 24px; }
.appstore.sm strong { font-size: 1.05rem; }
.appstore.sm small { font-size: .62rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; background: var(--grad-soft); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero::before { width: 460px; height: 460px; background: rgba(233, 30, 35, .16); top: -140px; right: -80px; }
.hero::after { width: 420px; height: 420px; background: rgba(123, 31, 162, .14); bottom: -160px; left: -120px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; grid-template-areas: "copy play" "after play"; column-gap: 56px; align-items: center; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-grid > #play { grid-area: play; }
.hero-after { grid-area: after; align-self: start; }
@media (max-width: 960px) {
  .hero-grid { grid-template-areas: "copy" "play" "after"; row-gap: 24px; }
  .hero-after { text-align: center; }
  .hero-copy .lead { font-size: 1.02rem; margin-bottom: 0; }
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .92rem; font-weight: 600; padding: 0; margin: 0; list-style: none; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; flex: none; }
.stars { color: #f5a623; letter-spacing: 1px; }
@media (max-width: 960px) {
  .hero { padding: 28px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-ctas, .proof { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }
.bg-white { background: #fff; }
.bg-soft { background: var(--grad-soft); }
@media (max-width: 700px) { section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* Download strip */
.download-band { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.download-app { display: flex; align-items: center; gap: 18px; }
.download-app img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow); }
.download-app h2 { font-size: 1.45rem; margin: 0 0 4px; }
.download-app p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.stat span { font-size: .82rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 760px) { .download-inner { justify-content: center; text-align: center; } .download-app { flex-direction: column; } .stats { justify-content: center; gap: 24px; } }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 1260 / 2736; object-fit: cover; width: 100%; background: #f3dbe0; }
.shots figcaption { text-align: center; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-top: 12px; }
@media (max-width: 900px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px 26px 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.depths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.depth { background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); border-top: 4px solid var(--c); }
.depth strong { display: block; margin-bottom: 2px; }
.depth span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .depths { grid-template-columns: 1fr 1fr; } }

/* Guides grid */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--r-md); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .2s; border: 1px solid transparent; }
.guide-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(123, 31, 162, .15); }
.guide-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.guide-card h3 { margin: 0; font-size: 1.12rem; }
.guide-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.guide-card .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; color: var(--primary); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding-bottom: 20px; color: var(--ink-2); }
.faq .answer p { margin-bottom: .7em; }
.learn { font-weight: 700; text-decoration: none; color: var(--primary); }
.learn::after { content: " →"; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad); color: #fff; padding: 64px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta h2 { color: #fff; position: relative; }
.cta p { color: rgba(255, 255, 255, .86); max-width: 34em; margin: 0 auto 28px; position: relative; font-size: 1.1rem; }
.cta .row { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 600px) { .cta { padding: 48px 22px; border-radius: var(--r-lg); } }

/* Footer */
.site-footer { background: #1d1420; color: rgba(255, 255, 255, .72); padding: 64px 0 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-family: var(--font); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Sticky mobile download bar */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; gap: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 10px 10px 10px 12px; box-shadow: 0 16px 40px -12px rgba(31, 26, 23, .35); transform: translateY(140%); transition: transform .3s ease; }
.mbar.show { transform: none; }
.mbar img { width: 40px; height: 40px; border-radius: 10px; }
.mbar div { flex: 1; line-height: 1.2; min-width: 0; }
.mbar strong { display: block; font-size: .95rem; }
.mbar span { font-size: .78rem; color: var(--ink-2); }
@media (max-width: 760px) { .mbar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- Guide (article) pages ---------- */
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.article-hero { background: var(--grad-soft); padding: 40px 0 48px; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: .88rem; font-weight: 600; margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 48px 20px 80px; }
.prose { font-size: 1.06rem; }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-top: 1.8em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #3a322d; }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; background: #fff; border-left: 4px solid var(--primary); border-radius: 0 var(--r-md) var(--r-md) 0; box-shadow: var(--shadow); font-family: var(--display); font-size: 1.15rem; }
.prose blockquote p { margin: 0; color: var(--ink); }
.toc { position: sticky; top: 92px; display: grid; gap: 18px; align-self: start; }
.toc-box { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 20px; }
.toc-box h2 { font-family: var(--font); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; }
.toc-box ol { margin: 0; padding-left: 1.1em; font-size: .9rem; display: grid; gap: 6px; }
.toc-box a { color: var(--ink-2); text-decoration: none; }
.toc-box a:hover { color: var(--accent); }
.side-cta { background: var(--grad); color: #fff; border-radius: var(--r-md); padding: 22px; text-align: center; }
.side-cta img { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 10px; }
.side-cta strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.side-cta p { font-size: .88rem; color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
.side-cta .appstore { min-height: 46px; }
.play-block { margin: 2.2em 0; padding: 26px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid rgba(123, 31, 162, .12); }
.play-block > h2 { margin-top: 0 !important; font-size: 1.45rem !important; }
.play-block > p { color: var(--ink-2); font-size: .98rem; }
.inline-cta { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); margin: 2em 0; }
.inline-cta img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.inline-cta div { flex: 1; }
.inline-cta strong { display: block; font-size: 1.05rem; }
.inline-cta p { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }
@media (max-width: 600px) { .inline-cta { flex-direction: column; text-align: center; } .play-block { padding: 18px 14px; margin-left: -6px; margin-right: -6px; } }

/* ======================================================================
   Web app (assets/js/app.js) — mirrors the iOS QuestionCardView
   ====================================================================== */
.cc-app { --tint: var(--gold); position: relative; width: 100%; max-width: 520px; margin: 0 auto; font-family: var(--font); }
.cc-shell { position: relative; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 30px; padding: 18px; box-shadow: var(--shadow-lg); }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cc-label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cc-progress { font-size: .85rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: rgba(31, 26, 23, .05); padding: 5px; border-radius: 16px; margin-bottom: 14px; }
.cc-tab { appearance: none; border: 0; background: transparent; font: inherit; font-size: .84rem; font-weight: 700; color: var(--ink-2); padding: 9px 4px; border-radius: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.15; transition: background .2s, color .2s; }
.cc-tab small { font-size: .66rem; font-weight: 600; color: var(--ink-3); }
.cc-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(31, 26, 23, .15); }
.cc-tab[aria-selected="true"] small { color: var(--tc); }
.cc-tab .lock { font-size: .62rem; }
.cc-stage { position: relative; min-height: 290px; perspective: 1200px; }
.cc-card { position: relative; background: var(--card); border-radius: 24px; padding: 30px 26px 24px; min-height: 290px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(31, 26, 23, .05), 0 18px 40px -18px rgba(31, 26, 23, .3); border-top: 5px solid var(--tint); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cc-card.enter { animation: cc-in .42s cubic-bezier(.2, .8, .2, 1); }
.cc-card.enter-back { animation: cc-in-back .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes cc-in { from { opacity: 0; transform: translateX(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes cc-in-back { from { opacity: 0; transform: translateX(-40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.cc-quote { font-family: var(--display); font-size: 4.2rem; line-height: .6; color: var(--tint); opacity: .55; height: 30px; }
.cc-q { font-family: var(--display); font-weight: 600; font-size: clamp(1.32rem, 3.2vw, 1.6rem); line-height: 1.28; letter-spacing: -.012em; margin: 10px 0 18px; color: var(--ink); flex: 1; text-wrap: pretty; }
.cc-dots { display: flex; gap: 5px; margin-top: auto; }
.cc-dots i { height: 5px; flex: 1; border-radius: 4px; background: rgba(31, 26, 23, .1); transition: background .3s; }
.cc-dots i.on { background: var(--tint); }
.cc-actions { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.cc-icon { appearance: none; width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform .15s, background .2s; }
.cc-icon:active { transform: scale(.92); }
.cc-icon svg { width: 21px; height: 21px; }
.cc-icon[aria-pressed="true"] { color: var(--primary); background: #fff0f1; box-shadow: inset 0 0 0 1px rgba(233, 30, 35, .25); }
.cc-icon[aria-pressed="true"] svg { fill: currentColor; animation: cc-pop .35s; }
@keyframes cc-pop { 50% { transform: scale(1.3); } }
.cc-next { flex: 1; height: 50px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 1.02rem; color: var(--on-tint, #fff); background: var(--tint); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 22px -12px var(--tint); transition: transform .15s, filter .2s; }
.cc-next:hover { filter: brightness(1.05); }
.cc-next:active { transform: scale(.97); }
.cc-hint { text-align: center; font-size: .8rem; color: var(--ink-3); margin: 12px 0 0; }
.cc-hint a { font-weight: 700; }
.cc-toast { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(8px); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; z-index: 3; }
.cc-toast.show { opacity: 1; transform: translateX(-50%); }
/* Summary + upsell panels */
.cc-panel { background: var(--card); border-radius: 24px; padding: 30px 24px; min-height: 290px; text-align: center; box-shadow: 0 18px 40px -18px rgba(31, 26, 23, .3); animation: cc-in .42s cubic-bezier(.2, .8, .2, 1); }
.cc-panel .big { font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
.cc-panel h3 { font-size: 1.45rem; margin-bottom: 8px; }
.cc-panel p { color: var(--ink-2); font-size: .96rem; margin: 0 auto 18px; max-width: 26em; }
.cc-panel .appstore { margin: 0 auto 12px; }
.cc-panel .row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cc-saved { text-align: left; margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; max-height: 180px; overflow: auto; }
.cc-saved li { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line); }
.cc-perks { list-style: none; padding: 0; margin: 0 auto 20px; display: grid; gap: 6px; text-align: left; max-width: 300px; font-size: .92rem; color: var(--ink-2); }
.cc-perks li::before { content: "✓"; color: var(--primary); font-weight: 800; margin-right: 8px; }
.cc-link { background: none; border: 0; font: inherit; font-weight: 700; color: var(--accent); cursor: pointer; padding: 6px; }
.cc-link:hover { color: var(--primary); }
.cc-favs { margin-top: 14px; }
.cc-favs summary { cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--ink-2); list-style: none; text-align: center; }
.cc-favs summary::-webkit-details-marker { display: none; }
.cc-favs ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.cc-favs li { display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: .88rem; box-shadow: inset 0 0 0 1px var(--line); }
.cc-favs li span { flex: 1; }
.cc-favs li button { border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 1rem; line-height: 1; padding: 2px; }
@media (max-width: 420px) { .cc-shell { padding: 12px; border-radius: 24px; } .cc-card { padding: 24px 20px 20px; } .cc-tab { font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
