/* Cepa pages on top of /appshift.css: the app's own palette (porcelain canvas, aubergine ink,
   wine accent, pastel tone cards), Outfit headings (Light, SemiBold for <b>) and Figtree body.
   Shared by /cepa/, /cepa/es/ and their privacy, terms and support pages. */

:root {
  --background: #f6f1ee;
  --foreground: #241519;
  --muted: #6e5e63;
  --faint: #a8989c;
  --surface: #ffffff;
  --elevated: #fbf7f5;
  --border: rgba(36, 21, 25, 0.09);
  --border-strong: rgba(36, 21, 25, 0.16);
  --accent: #7a2438;
  --accent-deep: #6e1f33;
  --accent-soft: #f2d9d0;
  --accent-glow: rgba(122, 36, 56, 0.3);
  --success: #4f7d5f;
  --ink: #241519;
  --tone-rose: #f2d9d0; --tone-rose-fg: #8e2c3f;
  --tone-chard: #eed98f; --tone-chard-fg: #7a5d10;
  --tone-sauv: #cfe2d4; --tone-sauv-fg: #3f6b50;
  --tone-lav: #cec8f0; --tone-lav-fg: #4f4596;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Outfit', var(--font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --background: #1a1114; --foreground: #f3eae7; --muted: #b9a8ad; --faint: #7f6e73;
    --surface: #241a1d; --elevated: #2c2024;
    --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.15);
    --accent: #e7a9b8; --accent-deep: #f0bfcb; --accent-soft: rgba(176, 104, 123, 0.22);
    --accent-glow: rgba(231, 169, 184, 0.35); --success: #8fc4a0; --ink: #2c2024;
    --tone-rose: rgba(217, 164, 150, 0.2); --tone-rose-fg: #f0b9ab;
    --tone-chard: rgba(226, 195, 92, 0.18); --tone-chard-fg: #ebd081;
    --tone-sauv: rgba(141, 179, 156, 0.2); --tone-sauv-fg: #a9cdb4;
    --tone-lav: rgba(157, 148, 214, 0.22); --tone-lav-fg: #c3bbf0;
  }
  :root:not([data-theme='light']) .nav.is-expanded { background: rgba(36, 26, 29, 0.86); }
}
/* Dark chosen in the footer, whatever the system says */
:root[data-theme='dark'] {
  --background: #1a1114; --foreground: #f3eae7; --muted: #b9a8ad; --faint: #7f6e73;
  --surface: #241a1d; --elevated: #2c2024;
  --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.15);
  --accent: #e7a9b8; --accent-deep: #f0bfcb; --accent-soft: rgba(176, 104, 123, 0.22);
  --accent-glow: rgba(231, 169, 184, 0.35); --success: #8fc4a0; --ink: #2c2024;
  --tone-rose: rgba(217, 164, 150, 0.2); --tone-rose-fg: #f0b9ab;
  --tone-chard: rgba(226, 195, 92, 0.18); --tone-chard-fg: #ebd081;
  --tone-sauv: rgba(141, 179, 156, 0.2); --tone-sauv-fg: #a9cdb4;
  --tone-lav: rgba(157, 148, 214, 0.22); --tone-lav-fg: #c3bbf0;
}
:root[data-theme='dark'] .nav.is-expanded { background: rgba(36, 26, 29, 0.86); }

/* Type: Outfit Light for display, SemiBold for the emphasised word, as in the app */
h1, h2, h3, .brand { font-family: var(--display); letter-spacing: -0.02em; }
h1 { font-weight: 300; }
h1 b { font-weight: 600; }
h2 { font-weight: 500; }
h3 { font-weight: 600; }
.nav-links a:hover { background: rgba(36, 21, 25, 0.05); }
.legal h3 { font-size: 19px; margin: 26px 0 6px; letter-spacing: -0.01em; }
.legal h3 + p { color: var(--muted); }
.legal .card a, .legal a { color: var(--accent); }

/* Home: a product page in the app's style. Phones hold real captures from the app. */
.tone-rose { background: var(--tone-rose); } .tone-rose .eyebrow { color: var(--tone-rose-fg); }
.tone-chard { background: var(--tone-chard); } .tone-chard .eyebrow { color: var(--tone-chard-fg); }
.tone-sauv { background: var(--tone-sauv); } .tone-sauv .eyebrow { color: var(--tone-sauv-fg); }
.tone-lav { background: var(--tone-lav); } .tone-lav .eyebrow { color: var(--tone-lav-fg); }
.tone-gren { background: var(--tone-gren); } .tone-gren .eyebrow { color: var(--tone-rose-fg); }
.tone-ink { background: #241519; color: #f6f1ee; } .tone-ink .eyebrow { color: #e2c35c; }
.cepa-features .tone-ink .feature-copy p, .cepa-features .tone-ink .feature-copy li { color: rgba(246, 241, 238, 0.86); opacity: 1; }
:root { --tone-gren: #f5d3c8; }
:root[data-theme='dark'] { --tone-gren: rgba(200, 102, 79, 0.2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --tone-gren: rgba(200, 102, 79, 0.2); } }

.cepa-phone { position: relative; width: min(300px, 74vw); border-radius: 46px; background: #1b1013; padding: 9px;
  box-shadow: 0 40px 90px -36px rgba(36, 21, 25, 0.55); }
.cepa-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 38px; background: #f6f1ee; }
.sticker { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 17px/1 var(--display); letter-spacing: -0.01em; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 14px 30px -14px rgba(36, 21, 25, 0.5); background: #fff; color: #241519; }
.sticker.gold { background: #e2c35c; } .sticker.wine { background: #7a2438; color: #fff; }
.sticker.ok { background: #4f7d5f; color: #fff; } .sticker.ink { background: #241519; color: #fff; }
.sticker svg { width: 20px; height: 20px; flex: none; }
.blob { position: absolute; border-radius: 50%; z-index: -1; }

.cepa-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.cepa-hero .pill { background: var(--surface); box-shadow: var(--shadow-soft); }
.cepa-hero .pill .dot { background: #c9a93f; }
.cepa-hero h1 { font-size: clamp(46px, 6.6vw, 80px); line-height: 1.02; margin: 20px 0 18px; }
.cepa-hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cepa-hero .facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.cepa-hero .facts li { padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }
.hero-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-stage .cepa-phone { transform: rotate(-3deg); }
.hero-stage .s1 { top: 18%; right: 2%; transform: rotate(8deg); }
.hero-stage .s2 { bottom: 26%; left: 0; transform: rotate(-6deg); }
.hero-stage .b1 { width: 340px; height: 340px; background: var(--tone-chard); top: 4%; left: 6%; }
.hero-stage .b2 { width: 200px; height: 200px; background: var(--tone-lav); bottom: 6%; right: 6%; }
@media (max-width: 860px) { .cepa-hero { grid-template-columns: 1fr; padding-top: 40px; } }

.cepa-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 24px 0 8px; }
.cepa-stats div { background: var(--surface); border-radius: 26px; padding: 22px 20px; }
.cepa-stats strong { display: block; font: 600 40px/1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.cepa-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .cepa-stats { grid-template-columns: repeat(2, 1fr); } }

.cepa-features { display: grid; gap: 22px; padding: 48px 0 24px; }
.cepa-features .feature { overflow: hidden; }
.cepa-features .feature-copy h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; margin: 6px 0 10px; }
.cepa-features .feature-copy h2 b { font-weight: 600; }
.cepa-features .feature-copy p { font-size: 18px; color: var(--foreground); opacity: 0.84; }
.cepa-features .feature-copy ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.cepa-features .feature-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.cepa-features .feature-copy li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; background: currentColor; opacity: 0.7;
  -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; }
.shot-stage { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.shot-stage .cepa-phone { transform: rotate(2.5deg); }
.feature:nth-child(even) .shot-stage .cepa-phone { transform: rotate(-2.5deg); }
.shot-stage .sticker { top: 22%; right: 4%; transform: rotate(7deg); }
.feature:nth-child(even) .shot-stage .sticker { right: auto; left: 2%; transform: rotate(-7deg); }

.cepa-account { max-width: 820px; margin: 40px auto 24px; background: var(--surface); border-radius: 34px; padding: 36px; box-shadow: var(--shadow-soft); }
.cepa-account h2 { font-size: clamp(28px, 4vw, 38px); margin: 10px 0 12px; }
.cepa-account h2 b { font-weight: 600; }
.cepa-account p + p { margin-top: 12px; }
.cepa-account ul { padding-left: 22px; margin: 12px 0; }
.cepa-account li { margin: 6px 0; }

.cepa-faq { padding: 48px 0 24px; }
.cepa-faq h2 { text-align: center; font-size: clamp(30px, 4vw, 44px); margin: 10px 0 26px; }
.cepa-faq h2 b { font-weight: 600; }
.cepa-faq details { background: var(--surface); border: 0; }
.cepa-faq summary { font-family: var(--display); font-weight: 500; }
.cepa-faq summary::after { background: var(--accent); }

.cepa-final { text-align: center; padding: 56px 0 24px; }
.cepa-final img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 18px; box-shadow: var(--shadow-soft); }
.cepa-final h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 12px; }
.cepa-final h2 b { font-weight: 600; }
.cepa-final p { color: var(--muted); font-size: 18px; }
.cepa-note { max-width: 760px; margin: 0 auto 40px; text-align: center; color: var(--muted); font-size: 14px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }
