/* cards.vuedia.com (index.html, fr/index.html, served by worker/index.js) and the add-on pages (agency/addons/).
   Same look as agency/home.css: very heavy Poppins titles, one bright blue, rounded cards with a soft shadow.
   Red belongs to the example loyalty card only. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 900; font-style: normal; font-display: swap; src: url(/fonts/poppins-900.woff2) format("woff2"); }
:root {
  --paper: #ffffff; --ink: #0b0d12; --muted: #5b6170; --red: #c8281c; --gold: #f5b82e;
  --blue: #1153fe; --link: #1153fe; --card: #ffffff; --shadow: 0 14px 34px -14px rgba(17,83,254,.22);
  --wash: #f5f5f7; --rule: rgba(0,0,0,.08);
  --round: "Poppins", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #000000; --ink: #f5f5f7; --muted: #a1a1a6; --red: #ff7a6e; --wash: #1c1c1e; --rule: rgba(255,255,255,.14); --link: #8aa8ff; --card: #111214; --shadow: none; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--round); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 900; letter-spacing: -0.035em; }
.hl { color: var(--link); } /* a highlighted phrase in a title */
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.1; max-width: 22ch; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; max-width: 62ch; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 18px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 9; }

.btn { display: inline-block; font: 600 1rem var(--sans); padding: 13px 24px; border-radius: 980px; border: 2px solid var(--blue); background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--link); }
.btn:hover { opacity: .88; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 60px; }
.brand { font: 900 1.25rem var(--round); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.top nav { display: flex; gap: 22px; }
.top nav a, .top .lang { text-decoration: none; font-size: .95rem; color: var(--muted); }
.top nav a:hover, .top .lang:hover { color: var(--ink); }
.top .btn { padding: 8px 14px; font-size: .9rem; white-space: nowrap; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.demo { display: grid; gap: 14px; justify-items: stretch; max-width: 360px; width: 100%; justify-self: end; }
.pass { background: #c8281c; color: #fff; border-radius: 22px; padding: 0 22px 22px; display: grid; gap: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.22); overflow: hidden; }
.pass img { width: calc(100% + 44px); max-width: none; margin: 0 -22px 4px; aspect-ratio: 3 / 1; object-fit: cover; }
.pass .biz { font: 800 1.6rem/1.1 var(--round); letter-spacing: -0.02em; }
.pass p { font-size: .95rem; }
.pass .perk { font-weight: 600; }
.dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dots span { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.dots span.on { background: #fff; color: #c8281c; border-color: #fff; }
.pass.full { background: #1d1d1f; }
.pass.full .dots span.on { background: var(--gold); border-color: var(--gold); color: #1d1d1f; }
@media (prefers-reduced-motion: no-preference) {
  .dots span.hit { animation: press .28s ease-out; }
  @keyframes press { from { transform: scale(1.5) rotate(-12deg); opacity: .4; } to { transform: none; opacity: 1; } }
  .pass { transition: background-color .3s; }
}
.demo .hint { font-size: .9rem; color: var(--muted); text-align: center; max-width: none; }

/* Sections */
section { padding: 72px 0; }
.band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); } /* white or black pages: bands are split by hairlines, not tinted */
/* Section titles are centered; content below them keeps its own layout. */
section:not(.intro) > .wrap > :is(h2, .lead), .end .wrap { text-align: center; margin-left: auto; margin-right: auto; }
.end .acts { justify-content: center; }
.intro p + p { margin-top: 14px; }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }

.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li, .row, .say div { background: var(--card); border: 1px solid var(--rule); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font: 900 1.35rem/1 var(--round); margin-bottom: 14px; }
.steps p { margin-top: 6px; color: var(--muted); }

.rows { margin-top: 28px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 40px; margin-top: 16px; }
.row > div > p + p { margin-top: 10px; }
.row .mock { grid-column: 2; }
.mock { border: 1px solid var(--rule); border-radius: 20px; padding: 18px; background: var(--card); box-shadow: var(--shadow); font-size: .95rem; max-width: 460px; }
.mock .cap { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.mock ul { list-style: none; margin: 0; padding: 0; }
.mock li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.mock li:first-child { border-top: 0; }
.mock li small { color: var(--muted); font-size: .85rem; }
.mock li b { font-weight: 600; }
.mock .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock .pick div { border: 1px solid var(--rule); border-radius: 12px; padding: 12px; }
.mock .pick b { display: block; }
.mock progress { width: 100%; height: 10px; accent-color: var(--blue); margin-top: 8px; }
.mock .lock { background: var(--wash); border-radius: 12px; padding: 12px; margin-top: 12px; }
.mock .lock b { display: block; font-size: .9rem; }

.say { margin: 28px 0 0; }
.say div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; margin-top: 16px; }
.say dt { font: 600 1.2rem/1.3 var(--round); letter-spacing: -0.01em; }
.say dd { margin: 0; color: var(--muted); max-width: 62ch; }

table { width: 100%; border-collapse: collapse; margin-top: 32px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--rule); }
thead th { border-top: 0; font: 600 1.1rem var(--round); }
tbody th { font-weight: 600; width: 24%; }
tbody td:first-of-type { color: var(--muted); width: 34%; }
tbody td:last-child::before { content: "✓ "; color: var(--link); font-weight: 700; }

.designs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.designs img { border-radius: 12px; aspect-ratio: 3 / 1; object-fit: cover; width: 100%; background: var(--wash); }
.designs span { display: block; margin-top: 6px; font-size: .95rem; }

.price { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border: 2px solid var(--blue); border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.price > div { padding: 32px; }
.price > div + div { border-left: 1px solid var(--rule); }
.price .amt { font: 900 2.8rem/1 var(--round); color: var(--link); letter-spacing: -0.03em; margin: 10px 0 4px; }
.price ul { margin: 16px 0 22px; padding-left: 20px; }
.price li { margin: 6px 0; }
.after { margin-top: 20px; color: var(--muted); }

.faq { max-width: 780px; margin: 32px auto 0; }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 1.05rem var(--round); list-style-position: outside; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

.end .acts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 820px) {
  .top nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .intro .wrap, .row, .say div { grid-template-columns: 1fr; }
  .hero .wrap { gap: 36px; }
  .demo { justify-self: center; }
  .row .mock { grid-column: 1; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: 1fr; }
  .price > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  section { padding: 52px 0; }
  th, td { padding-right: 10px; font-size: .95rem; }
}

/* Add-on pages (agency/addons/, made by make-addons.mjs) */
.hero .mock { justify-self: end; width: 100%; }
.mock .talk { display: grid; gap: 8px; }
.mock .talk p { padding: 9px 13px; border-radius: 14px; background: var(--wash); max-width: 85%; }
.mock .talk p.me { justify-self: end; background: var(--blue); color: #fff; }
.buy { display: grid; gap: 14px; }
.buy fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.buy legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.buy label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 14px; border: 1px solid var(--rule); border-radius: 16px; cursor: pointer; }
.buy label:has(:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.buy input { accent-color: var(--blue); margin-top: 5px; width: 18px; height: 18px; }
.buy label small { display: block; color: var(--muted); }
.buy .btn { justify-self: start; }
@media (max-width: 820px) { .hero .mock { justify-self: start; } }
