/* Prysly site. Tokens follow extension/assets/brand.md. No external requests. */
:root {
  /* Every colour is light-dark(light, dark): color-scheme picks one, and the header toggle flips color-scheme. */
  color-scheme: light dark;
  --bg: light-dark(#F8FAFC, #0B1220); --bg-alt: light-dark(#EEF4F3, #0F1724); --surface: light-dark(#FFFFFF, #0F1724); --soft: light-dark(#F1F5F9, #1A2436);
  --ink: light-dark(#0F172A, #E2E8F0); --muted: light-dark(#5B6779, #94A3B8); --line: light-dark(rgba(15, 23, 42, .1), rgba(226, 232, 240, .1));
  --teal: light-dark(#0B7A75, #2DD4BF); --teal-ink: light-dark(#0F5F5B, #5EEAD4); --teal-tint: light-dark(#E6F4F2, #123B3B); --on-teal: light-dark(#FFFFFF, #0F1724); --link: light-dark(#0B7A75, #2DD4BF);
  --amber: #F5A524; --amber-text: light-dark(#B45309, #FBBF24);
  --good: light-dark(#15803D, #4ADE80); --good-ink: light-dark(#166534, #86EFAC); --good-tint: light-dark(#E8F5EC, #14321F);
  --bad: light-dark(#C2410C, #FB923C); --bad-ink: light-dark(#9A3412, #FDBA74); --bad-tint: light-dark(#FDEEE6, #3A2114);
  --focus: light-dark(#0B7A75, #5EEAD4);
  --shadow: 0 1px 2px light-dark(rgba(15, 23, 42, .06), rgba(0, 0, 0, .4)), 0 8px 24px light-dark(rgba(15, 23, 42, .12), rgba(0, 0, 0, .45)), 0 0 0 1px light-dark(transparent, rgba(226, 232, 240, .08));
  --shadow-lg: 0 1px 2px light-dark(rgba(15, 23, 42, .06), rgba(0, 0, 0, .4)), 0 4px 12px light-dark(rgba(15, 23, 42, .08), transparent), 0 8px 24px light-dark(transparent, rgba(0, 0, 0, .45)), 0 24px 60px light-dark(rgba(15, 23, 42, .16), transparent), 0 0 0 1px light-dark(transparent, rgba(226, 232, 240, .08));
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
}
/* The toggle shows the opposite of the system theme (no script: it resets on each page load). */
@media (prefers-color-scheme: dark) { :root:has(#theme:checked) { color-scheme: light; } }
@media (prefers-color-scheme: light) { :root:has(#theme:checked) { color-scheme: dark; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; /* 3D-tilted cards must not widen the page */ }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--surface); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.brand { display: inline-flex; margin-right: auto; border-radius: 8px; }
.brand { align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.55rem; letter-spacing: -.04em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .45rem .7rem; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
@media (max-width: 760px) {
  .site-header .wrap { gap: 0 .5rem; padding-top: .5rem; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -.7rem; padding-bottom: .35rem; }
  .nav a { font-size: .9rem; white-space: nowrap; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1 var(--font); padding: .9rem 1.3rem; border-radius: 999px; text-decoration: none; border: 1px solid transparent; min-height: 44px; }
.btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 6px 18px rgba(11, 122, 117, .28); }
.btn-primary:hover { background: var(--teal-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-secondary:hover { border-color: var(--teal); }
.btn-small { padding: .6rem 1rem; font-size: .9rem; min-height: 40px; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .75rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 38rem; }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Hero */
.hero { padding-top: clamp(2.5rem, 7vw, 5rem); overflow: hidden; background:
  radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%),
  radial-gradient(40rem 24rem at -10% 110%, color-mix(in srgb, var(--amber) 12%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--teal); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-note b { color: var(--ink); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Hero background: a faint dot grid and example deal tags drifting behind the content. */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
.hero-deals { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.deal { position: absolute; display: inline-flex; align-items: baseline; gap: .35em; white-space: nowrap;
  padding: .35rem .75rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  font-size: .9rem; font-weight: 600; color: var(--ink); opacity: .11; transform: rotate(var(--r, 0deg)); }
.deal b { color: var(--teal); font-weight: 800; }
.deal s { color: var(--muted); font-weight: 500; }
.deal-off { border: 0; padding: 0; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--amber-text); opacity: .14; }
.deal-good { color: var(--good); border-color: currentColor; }
.deal-bad { color: var(--bad); border-color: currentColor; }
.deal-save { color: var(--teal); border-color: currentColor; font-size: 1.1rem; }
.deal:nth-child(1)  { top: 6%;  left: 4%;  --r: -6deg; }
.deal:nth-child(2)  { top: 3%;  left: 40%; --r: 4deg; }
.deal:nth-child(3)  { top: 12%; left: 58%; --r: -8deg; }
.deal:nth-child(4)  { top: 2%;  left: 82%; --r: 5deg; }
.deal:nth-child(5)  { top: 30%; left: 92%; --r: -4deg; }
.deal:nth-child(6)  { top: 88%; left: 6%;  --r: 3deg; }
.deal:nth-child(7)  { top: 86%; left: 56%; --r: -5deg; }
.deal:nth-child(8)  { top: 92%; left: 34%; --r: 6deg; }
.deal:nth-child(9)  { top: 78%; left: 90%; --r: 8deg; }
.deal:nth-child(10) { top: 55%; left: 52%; --r: -3deg; }
.deal:nth-child(11) { top: 95%; left: 70%; --r: -6deg; }
.deal:nth-child(12) { top: 9%;  left: 22%; --r: 3deg; opacity: .07; }
.deal:nth-child(13) { top: 46%; left: -5%; --r: -2deg; opacity: .07; }
.deal:nth-child(14) { top: 4%;  left: 62%; --r: 10deg; opacity: .08; }
.deal:nth-child(3n) { filter: blur(.6px); }
/* Narrow: the copy fills the top half, so keep only the tags around the card and the edges. */
@media (max-width: 880px) {
  .deal { display: none; font-size: .8rem; }
  .deal-off { font-size: 1.8rem; }
  .deal:nth-child(4), .deal:nth-child(6), .deal:nth-child(8), .deal:nth-child(9), .deal:nth-child(11) { display: inline-flex; }
}

/* Price card recreation (mirrors extension/src/badge.ts) */
.demo { position: relative; justify-self: center; width: 100%; max-width: 22rem; margin: 0; perspective: 1400px; perspective-origin: 30% 40%; }
/* A soft teal glow the card floats over. */
.demo::before { content: ""; position: absolute; inset: 12% 6% -6% 10%; z-index: -1; border-radius: 40%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 35%, transparent), transparent);
  filter: blur(28px); }
.demo-card { position: relative; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg),
  -24px 32px 60px -20px color-mix(in srgb, var(--teal) 30%, transparent); font-size: .875rem; line-height: 1.45;
  transform: rotateY(-12deg) rotateX(5deg); transform-origin: 60% 50%; transform-style: preserve-3d; }
/* Depth: the card's parts sit at different heights, so they shift like layers as it tilts. */
.demo-body, .offers { transform-style: preserve-3d; }
.demo-head { transform: translateZ(14px); }
.chip-good, .demo-one { transform: translateZ(22px); }
.demo-price { transform: translateZ(46px); }
.demo-sub, .spark { transform: translateZ(18px); }
.offers li { transform: translateZ(28px); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .45); }
.offers li:first-child { transform: translateZ(52px); outline: 1px solid color-mix(in srgb, var(--teal) 40%, transparent); }
/* Light sweep across the card. */
.demo-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%) 150% 0 / 300% 100% no-repeat;
  transform: translateZ(60px); }
.demo-head { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
.demo-head img { width: 26px; height: 26px; }
.demo-body { padding: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .8rem; padding: .25rem .55rem; border-radius: 8px; }
.chip::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.chip-bad { background: var(--bad-tint); color: var(--bad-ink); }
.chip-good { background: var(--good-tint); color: var(--good-ink); }
.demo-one { color: var(--muted); margin: .6rem 0 .75rem; }
.demo-price { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.demo-price .tag { display: inline-block; vertical-align: middle; margin: 0 0 0 .5rem; letter-spacing: 0; line-height: 1.4; }
.demo-price s { font-size: .95rem; font-weight: 400; color: var(--muted); margin-left: .4rem; letter-spacing: 0; }
.demo-sub { color: var(--muted); font-size: .8rem; margin: .2rem 0 .8rem; }
.spark { color: var(--teal); }
.spark svg { width: 100%; height: 46px; }
.lohi { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; margin-top: .2rem; }
.lohi b { color: var(--ink); }
.demo-label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .5rem; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.offers li { display: flex; align-items: center; gap: .7rem; background: var(--soft); border-radius: 12px; padding: .6rem .7rem; }
.offers .name { flex: 1; min-width: 0; }
.offers .name b, .offers .name small { display: block; }
.offers .name small { color: var(--muted); font-size: .75rem; }
.offers .aff { display: inline-block; margin-top: .2rem; padding: 0 .4rem; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.offers .tot { font-weight: 700; text-align: right; }
.tag { display: block; margin-top: .2rem; background: var(--teal); color: var(--on-teal); font-size: .68rem; font-weight: 700; padding: .12rem .45rem; border-radius: 999px; }
.demo-fine { color: var(--muted); font-size: .72rem; margin: .8rem 0 0; }
.demo-pill { position: absolute; left: -1.5rem; bottom: -1.2rem; display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); box-shadow: var(--shadow-lg), 0 18px 40px -12px rgba(0, 0, 0, .35); border-radius: 999px; padding: .5rem .9rem .5rem .6rem; font-weight: 600; font-size: .85rem;
  transform: translateZ(90px) rotateY(-12deg); }
.demo-pill img { width: 22px; height: 22px; }
.demo-pill .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--good); }
@media (max-width: 480px) { .demo-pill { left: .5rem; } }
@media (max-width: 880px) { .demo-card { transform: rotateY(-6deg) rotateX(3deg); } .demo-pill { transform: translateZ(60px) rotateY(-6deg); } }

@keyframes card-float {
  0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); }
  33% { transform: rotateY(-4deg) rotateX(2deg) translateY(-12px); }
  66% { transform: rotateY(-18deg) rotateX(-2deg) translateY(-4px); }
}
@keyframes pill-float {
  0%, 100% { transform: translateZ(90px) rotateY(-12deg) translateY(0); }
  50% { transform: translateZ(110px) rotateY(-6deg) translateY(-16px) rotate(-1.5deg); }
}
@keyframes card-shine { 0%, 72% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent); }
  100% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes deal-drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--r, 0deg) + 3deg)); }
}
@media (prefers-reduced-motion: no-preference) {
  .demo-card { animation: card-float 9s ease-in-out infinite; transition: transform .6s ease; }
  .demo-card::after { animation: card-shine 7s ease-in-out 2s infinite; }
  .demo-pill { animation: pill-float 6s ease-in-out infinite; }
  .demo-pill .dot { animation: dot-pulse 2s ease-out infinite; }
  .demo:hover .demo-card, .demo:hover .demo-pill { animation-play-state: paused; }
  .deal { animation: deal-drift 14s ease-in-out infinite; }
  .deal:nth-child(2n) { animation-duration: 18s; animation-delay: -4s; }
  .deal:nth-child(3n) { animation-duration: 22s; animation-delay: -9s; }
  .deal:nth-child(5n) { animation-direction: reverse; }
}

/* Store monograms (same colours as the extension's chips) */
.mono { flex: none; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .02em; }
.m-takealot { background: #1D4ED8; } .m-amazon { background: #B45309; } .m-makro { background: #1E3A8A; } .m-game { background: #BE185D; }
.m-incredible { background: #7C3AED; } .m-hifi { background: #0E7490; } .m-superbalist { background: light-dark(#1F2937, #334155); } .m-bash { background: #9F1239; } .m-dischem { background: #047857; } .m-hirschs { background: #B91C1C; } .m-babycity { background: #BE185D; } .m-computermania { background: #1E40AF; } .m-exclusivebooks { background: #7C2D12; } .m-evetech { background: #4338CA; } .m-checkers { background: #0F766E; } .m-shoprite { background: #C2410C; } .m-clicks { background: #1D4ED8; } .m-woolworths { background: #111827; } .m-picknpay { background: #B91C1C; } .m-mrprice { background: #BE123C; } .m-digitalexperience { background: #1E3A8A; } .m-loot { background: #7C2D12; } .m-sportsmans { background: #1D4ED8; } .m-faithfultonature { background: #166534; } .m-leroymerlin { background: #15803D; } .m-ctm { background: #9A3412; } .m-italtile { background: #374151; } .m-chamberlain { background: #991B1B; } .m-adendorff { background: #B45309; } .m-tileafrica { background: #0F766E; } .m-brights { background: #C2410C; } .m-cashbuild { background: #1E40AF; } .m-mica { background: #B91C1C; } .m-lightingwarehouse { background: #6D28D9; } .m-acdc { background: #0369A1; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); font-weight: 700; margin-bottom: 1rem; }
.step p { color: var(--muted); }
.shot { margin: auto 0 0; padding-top: 1rem; display: grid; place-items: center; min-height: 10rem; }
.shot img { border-radius: 16px; box-shadow: var(--shadow); }
.shot-pill img { border-radius: 999px; }
.shot-card img { max-height: 22rem; width: auto; }
.install-art { display: flex; align-items: center; gap: .75rem; background: var(--soft); border-radius: 12px; padding: .75rem 1rem; font-weight: 600; }
.install-art img { width: 36px; height: 36px; }
.install-art small { display: block; font-weight: 400; color: var(--muted); }
.added { margin-left: auto; color: var(--good-ink); background: var(--good-tint); border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.feature p { color: var(--muted); margin: 0; }
.icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-ink); margin-bottom: 1rem; }
.icon svg { width: 1.4rem; height: 1.4rem; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Stores */
.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.stores li { display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; font-weight: 600; }
.stores small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.fineprint { color: var(--muted); font-size: .9rem; margin-top: 1.25rem; }
@media (max-width: 880px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stores { grid-template-columns: 1fr; } }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.trust > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.trust ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.trust li { display: flex; gap: .6rem; }
.trust li::before { flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: .15rem; }
.yes li::before { content: "\2713"; background: var(--good-tint); color: var(--good-ink); }
.no li::before { content: "\00D7"; background: var(--bad-tint); color: var(--bad-ink); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 48rem; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 3rem 1rem 1.25rem; position: relative; list-style: none; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: .55rem; height: .55rem; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.25rem 1rem; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Final CTA */
.final { text-align: center; }
.final .box { background: linear-gradient(135deg, #0B7A75, #0F5F5B); color: #fff; border-radius: 24px; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem; box-shadow: var(--shadow-lg); }
.final .box p { color: #E6F4F2; font-size: 1.15rem; max-width: 34rem; margin: 0 auto; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: #fff; color: #0F5F5B; box-shadow: none; }
.final .btn-primary:hover { background: #E6F4F2; }
.final .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.final .btn-secondary:hover { border-color: #fff; }
.final :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: .92rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--link); }
.site-footer .brand img { margin-bottom: .75rem; }
.legal-line { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: 2.5rem 0 4rem; }
.legal .wrap { max-width: 48rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h3 { margin-top: 1.5rem; }
.legal .meta { color: var(--muted); }
.legal li { margin-bottom: .35rem; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.legal th { background: var(--soft); }
.legal code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 14rem; column-gap: 2.75rem; }
.toc li { break-inside: avoid; }

/* Step illustrations: a tiny browser window */
.shot { position: relative; }
.mini { width: 100%; max-width: 20rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.mini-bar { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.mini-bar img { width: 20px; height: 20px; outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.mini-dots { display: flex; gap: .25rem; }
.mini-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--line); }
.mini-url { flex: 1; height: .9rem; border-radius: 999px; background: var(--surface); }
.mini-body { padding: .9rem; display: grid; gap: .55rem; min-height: 12rem; align-content: start; }
.mini-body .install-art { background: var(--surface); box-shadow: var(--shadow); margin-bottom: .4rem; }
.sk { display: block; height: .6rem; border-radius: 999px; background: var(--soft); }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.sk-img { display: block; height: 5rem; border-radius: 8px; background: var(--soft); }
.btn-sk { width: 45%; height: 1.4rem; background: var(--line); }
.mini-product { min-height: 13rem; }
.mini-pill { position: absolute; right: 0; bottom: -.6rem; }
.mini-pill img { width: 200px; height: auto; border-radius: 999px; box-shadow: var(--shadow); }
.step .shot { flex: 1; margin: 0; place-items: stretch; }
.step .shot-card { place-items: center; }
.mini { max-width: none; display: flex; flex-direction: column; }
.mini-body { flex: 1; }
.mini-pill { right: .8rem; bottom: .8rem; }

/* Section cards: 3D rise into place on scroll, tilt and lift on hover. */
.steps, .features, .trust { perspective: 1200px; }
.step, .feature, .trust > div { transform-style: preserve-3d; }
.feature .icon { transform: translateZ(0); }
@keyframes card-rise {
  from { opacity: 0; transform: translateY(48px) rotateX(32deg) translateZ(-80px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .step, .feature, .trust > div { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease, border-color .45s ease; }
  .step:hover, .feature:hover, .trust > div:hover { transform: translateY(-8px) rotateX(7deg) rotateY(-6deg); border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
    box-shadow: var(--shadow), 18px 28px 50px -22px color-mix(in srgb, var(--teal) 45%, transparent); }
  .step:nth-child(3n):hover, .feature:nth-child(3n):hover, .trust > div:nth-child(2n):hover { transform: translateY(-8px) rotateX(7deg) rotateY(6deg); }
  .feature .icon { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
  .feature:hover .icon { transform: translateZ(42px) rotate(-6deg) scale(1.08); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step, .feature, .trust > div { animation: card-rise linear backwards; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    .step:nth-child(2), .feature:nth-child(3n+2), .trust > div:nth-child(2) { animation-range: entry 15% cover 36%; }
    .step:nth-child(3), .feature:nth-child(3n) { animation-range: entry 25% cover 42%; }
  }
}

/* Theme toggle: a checkbox styled as a round icon button; the moon shows in light, the sun in dark. */
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle:hover { background: var(--soft); }
.theme-toggle input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.theme-toggle:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; pointer-events: none; }
.theme-img img + img { margin: 0; }
.only-dark, .tt-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not(:has(#theme:checked)) :is(.only-dark, .tt-sun) { display: block; }
  :root:not(:has(#theme:checked)) :is(.only-light, .tt-moon) { display: none; }
}
@media (prefers-color-scheme: light) {
  :root:has(#theme:checked) :is(.only-dark, .tt-sun) { display: block; }
  :root:has(#theme:checked) :is(.only-light, .tt-moon) { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .theme-toggle svg { transition: transform .4s ease; } .theme-toggle:hover svg { transform: rotate(-20deg); } }
