/* sales.duxels.com, the store. On top of duxels-shared's chrome.css (the Worker links /shared/<version>/chrome/chrome.css AFTER this file: the tokens --bg, --bg2, --fg, --mut, --line,
   --font, the header, the language menu and the footer). Only this origin's styles: the page's CSP has style-src 'self' (no inline style anywhere). Mobile first (375 px), one
   column that becomes a grid. Served only on the sales host (src/index.js, STORE_ASSETS). */
/* ---- the page's own base ---------------------------------------------------------------------------------------------------------------------------------------------- */
html { background: var(--bg); color-scheme: dark; -webkit-tap-highlight-color: transparent; }
.privacy-page { background: radial-gradient(ellipse at 70% 0%, var(--bg2), var(--bg) 42%) fixed; }
body { margin: 0; background: transparent; color: var(--fg); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
main { position: relative; z-index: 1; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; }
.skip:focus, .skip:focus-visible { left: 12px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }

:root { --soft: #c4cce0; --raised: rgba(18, 26, 51, 0.72); --accent: #2a86ff; --accent-ink: #0b1020; --radius: 14px; }

/* the room under the fixed header and above the footer */
.store-main { margin: 0 auto; width: min(100% - 32px, 1040px); padding: max(112px, calc(88px + env(safe-area-inset-top))) 0 max(64px, env(safe-area-inset-bottom)); }
@media (max-width: 600px) { .store-main { padding-top: max(94px, calc(80px + env(safe-area-inset-top))); } }
.store-main:focus { outline: none; }
.store-main > section + section { margin-top: 48px; }

.hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.08; }
.lead { color: var(--soft); font-size: 1.05rem; margin-top: 12px; max-width: 40em; }
h2 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; line-height: 1.3; }

/* the three cards: WebSaite, quote, sales */
.cards { display: grid; gap: 16px; margin-top: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card, .product { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--soft); margin-top: 8px; }
.card .actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* buttons: the call to action carries the accent; the rest are quiet */
.cta, .buy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 650; text-decoration: none; }
.cta:hover, .buy:hover { filter: brightness(1.08); }
.quiet { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.quiet:hover { color: var(--fg); }
.cta:focus-visible, .buy:focus-visible, .quiet:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* the plans of each product */
.products { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .products { grid-template-columns: repeat(3, 1fr); } }
.tiers { margin-top: 12px; display: grid; gap: 8px; }
.tiers li { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 8px; }
.tier { font-weight: 650; }
.price { color: var(--soft); font-variant-numeric: tabular-nums; }
.per { color: var(--mut); font-size: 0.9rem; }
.buy { min-height: 36px; padding: 0 14px; font-size: 0.92rem; }
.product .free { margin-top: 12px; color: var(--mut); font-size: 0.9rem; }

.discounts { display: grid; gap: 24px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .discounts { grid-template-columns: repeat(2, 1fr); } }
.discounts section { margin: 0; }
.discounts li { color: var(--soft); margin-top: 6px; }
.published { color: var(--mut); font-size: 0.9rem; margin-top: 24px; }

.notice { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--raised); color: var(--soft); border-radius: 0 10px 10px 0; }
.plans-missing p + p { margin-top: 16px; }
