/* Pixel Proof website. Design tokens first; everything else uses them. */
:root {
  --ink: #161A33;
  --ink-soft: #2A2F52;
  --magenta: #E5007D;
  --magenta-dark: #B80064;
  --paper: #FFFFFF;
  --stone: #F4F2ED;
  --line: #E2DFD7;
  --muted: #4F5470;
  --on-ink-muted: #B9BCD0;
  --ok: #157A4C;
  --bad: #B3261E;
  --radius: 14px;
  --gutter: 16px;
  --max: 1120px;
  --font: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--stone); line-height: 1.55; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: inherit; }
p a, li a { color: var(--magenta-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

/* Header */
.site-header { padding: 18px 0; position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-block; text-decoration: none; }
.logo svg { display: block; height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(22,26,51,.06); }
.nav a[aria-current="page"] { color: var(--magenta-dark); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; font: inherit; font-weight: 700; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: 0 20px 40px rgba(22,26,51,.15); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover, .btn:focus-visible { background: var(--magenta-dark); border-color: var(--magenta-dark); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--small { padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Type */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta-dark); margin-bottom: 14px; }
.dark .eyebrow { color: #FF7AC0; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 20px; }
h1 em, h2 em { font-style: normal; color: var(--magenta-dark); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.intro { color: var(--muted); max-width: 42em; margin: 0 0 36px; font-size: 18px; }
.dark .intro, .dark .lede { color: var(--on-ink-muted); }
.small { font-size: 14px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 72px 0; }
.page-hero { padding: 48px 0 24px; }
.dark { background: var(--ink); color: var(--paper); }
.grid-2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1.1fr 0.9fr; } }
.cards { display: grid; gap: 20px; }
@media (min-width: 800px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 800; margin-bottom: 16px; }

.benefits { display: grid; gap: 28px 40px; }
@media (min-width: 800px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.px { width: 14px; height: 14px; background: var(--magenta); margin-top: 7px; }
.benefit p { margin: 0; color: var(--muted); }
.dark .benefit p { color: var(--on-ink-muted); }

.split { display: grid; gap: 20px; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.before, .after { border-radius: var(--radius); padding: 28px; }
.before { background: var(--paper); border: 1px solid var(--line); }
.after { background: var(--ink); color: var(--paper); }
.before ol, .after ol { margin: 12px 0 0; padding-left: 22px; }
.before li, .after li { margin-bottom: 6px; }
.after li { color: var(--on-ink-muted); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: var(--stone); }
.after .tag { background: var(--magenta); color: #fff; }

/* Hero visual: a phone ordering a card (fictional client) */
.visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.phone { width: 230px; aspect-ratio: 9/18.5; background: var(--ink); border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(22,26,51,.25); position: relative; z-index: 1; }
.screen { background: var(--paper); border-radius: 24px; height: 100%; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.screen .bar { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.mini-card { background: #0F4C5C; color: #fff; border-radius: 8px; padding: 14px 12px; aspect-ratio: 85/55; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; }
.mini-card b { color: #F2C14E; font-size: 13px; }
.field { height: 26px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; display: flex; align-items: center; padding: 0 8px; color: var(--muted); }
.approve { margin-top: auto; background: var(--ink); color: #fff; border-radius: 999px; text-align: center; padding: 9px; font-size: 11px; font-weight: 700; }
.stamp { position: absolute; right: max(0px, calc(50% - 190px)); top: 40px; z-index: 2; background: var(--paper); border-radius: 12px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(22,26,51,.18); display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.stamp svg { width: 34px; height: 34px; }
.stamp small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.stamp--2 { top: auto; bottom: 96px; left: max(0px, calc(50% - 235px)); right: auto; }
.stamp .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--stone); font-size: 18px; }

/* Lead magnet panels */
.magnet { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 48px); display: grid; gap: 28px; }
@media (min-width: 900px) { .magnet { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.magnet--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.magnet--ink .small { color: var(--on-ink-muted); }

/* Pricing */
.prices { display: grid; gap: 20px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.price--feature { border: 2px solid var(--ink); }
.price .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price .amount small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price ul { margin: 0; padding-left: 20px; color: var(--muted); }
.price li { margin-bottom: 6px; }
.price .btn { margin-top: auto; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq details + details { margin-top: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form label span.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #C9C5BB; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(229,0,125,.25); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-weight: 400; font-size: 14px; color: var(--muted); }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.status { min-height: 1.4em; font-weight: 600; margin: 0; }
.status.ok { color: var(--ok); }
.status.err { color: var(--bad); }
.done { display: none; }
.form-panel.is-done .form { display: none; }
.form-panel.is-done .done { display: block; }
.done h3 { font-size: 24px; }

/* Calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc .form-panel { padding: clamp(20px, 4vw, 32px); }
.slider { display: grid; gap: 8px; }
.slider + .slider { margin-top: 18px; }
.slider .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.slider output { font-weight: 800; color: var(--magenta-dark); white-space: nowrap; }
.slider input[type=range] { width: 100%; accent-color: var(--magenta); }
.result { background: var(--ink); color: var(--paper); border-radius: 20px; padding: clamp(24px, 4vw, 36px); position: sticky; top: 16px; }
.result .big { font-size: clamp(40px, 7vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 4px; }
.result .big.save { color: #FF7AC0; }
.result p { color: var(--on-ink-muted); margin: 0 0 18px; }
.result dl { display: grid; gap: 8px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.result dl div { display: flex; justify-content: space-between; gap: 16px; }
.result dt { color: var(--on-ink-muted); }
.result dd { margin: 0; font-weight: 700; text-align: right; }
.result .locked { filter: blur(6px); user-select: none; }
.result .form input { border-color: transparent; }
.result .form label { color: var(--paper); }
.result .form .consent { color: var(--on-ink-muted); }
.result .btn { background: var(--magenta); border-color: var(--magenta); }
.result .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.result .status.ok { color: #7EE2B0; }
.result .status.err { color: #FFB4AB; }

/* Screens strip */
.shots { display: grid; gap: 20px; }
@media (min-width: 800px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot .frame { aspect-ratio: 4/3; background: var(--stone); display: grid; place-items: center; padding: 20px; }
.shot .cap { padding: 18px 20px; }
.shot .cap p { margin: 0; color: var(--muted); font-size: 15px; }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: var(--muted); }

/* Footer */
.site-footer { padding: 48px 0 56px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo svg { height: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--magenta-dark); }

/* Scroll-scrubbed film panels (.scrub), adapted from the OOG site.
   Without JavaScript: a static end frame with all captions. With it: the film follows the scroll. */
.scrub { position: relative; background: var(--ink); color: var(--paper); }
.scrub-stick { position: relative; min-height: 78vh; overflow: hidden; display: grid; }
.scrub-video, .scrub-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50%) 50%; }
.scrub-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,26,51,.55) 0%, rgba(22,26,51,.15) 35%, rgba(22,26,51,.25) 65%, rgba(22,26,51,.85) 100%); }
.scrub-label { position: absolute; top: 28px; left: var(--gutter); z-index: 2; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(22,26,51,.6); padding: 6px 12px; border-radius: 999px; }
.scrub-caps { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; list-style: none; margin: 0; padding: 120px var(--gutter) 48px; }
.scrub-cap { max-width: 18ch; font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-shadow: 0 2px 24px rgba(22,26,51,.6); }
.scrub-cap em { font-style: normal; color: #FF7AC0; }
.scrub-progress { display: none; }
.scrub [hidden] { display: none !important; }
.scrub.is-live { height: var(--scrub-h, 280vh); }
.scrub.is-live .scrub-stick { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.scrub.is-live .scrub-caps { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); gap: 0; }
.scrub.is-live .scrub-cap { grid-area: 1 / 1; max-width: 15ch; font-size: clamp(2.2rem, 6.5vw, 5rem); text-align: center; opacity: 0; will-change: opacity, transform; }
.scrub.is-live .scrub-progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 3px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; z-index: 2; }
.scrub-progress span { display: block; height: 100%; background: var(--magenta); transform-origin: left; transform: scaleX(0); }
@media (max-width: 600px) { .scrub.is-live { height: var(--scrub-h-sm, 240vh); } .scrub-label { top: 18px; } }

/* Photos */
.photo { margin: 0; border-radius: 20px; overflow: hidden; background: var(--line); box-shadow: 0 24px 50px rgba(22,26,51,.14); }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); background: var(--paper); }
.magnet--ink .intro { color: var(--on-ink-muted); }
.magnet--ink .eyebrow { color: #FF7AC0; }

/* Film panels, refined (16 Nov): no section padding (it showed as a navy band above the film),
   and captions anchored bottom-left in line with the page content, over a soft fade. */
.scrub { padding: 0; --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.scrub-shade { background:
  linear-gradient(180deg, rgba(22,26,51,.45) 0%, rgba(22,26,51,0) 28%, rgba(22,26,51,0) 48%, rgba(22,26,51,.88) 100%),
  linear-gradient(90deg, rgba(22,26,51,.6) 0%, rgba(22,26,51,0) 62%); }
.scrub-label { left: var(--edge); }
.scrub.is-live .scrub-caps { grid-template-columns: minmax(0, 1fr); place-items: end start; padding: 0 var(--edge) clamp(80px, 13vh, 132px); }
.scrub.is-live .scrub-cap { text-align: left; max-width: 12ch; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; }
.scrub.is-live .scrub-progress { left: var(--edge); right: var(--edge); }
@media (max-width: 600px) {
  .scrub.is-live .scrub-caps { padding-bottom: 72px; }
  .scrub.is-live .scrub-cap { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* Wider layout on large screens (16 Nov) */
@media (min-width: 1440px) { :root { --max: 1320px; --gutter: 40px; } }
@media (min-width: 1800px) { :root { --max: 1440px; } body { font-size: 18px; } }

/* Fixes (16 Nov) */
/* The menu's link hover rule was beating the button's own hover, leaving white text on a pale background. */
.nav a.btn:hover, .nav a.btn:focus-visible { background: var(--magenta-dark); border-color: var(--magenta-dark); color: var(--paper); }

/* Form labels: keep "(optional)" on the same line, and line up side-by-side boxes along the bottom. */
.form label { display: block; }
.form label input, .form label select, .form label textarea { display: block; margin-top: 6px; }
.form .row { align-items: end; }
.form label span.opt { font-weight: 400; color: var(--muted); }

/* Drop-down: same look as the text boxes in every browser (Safari draws its own small one otherwise). */
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23161A33' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}

/* House typography: balanced headings, no single-word last lines (the build also joins the last two words). */
h1, h2, h3, .scrub-cap, .tag { text-wrap: balance; }
p, li, dd, summary, figcaption { text-wrap: pretty; }

/* =========================================================
   MOTION AND PRODUCT MOCK-UPS (16 Nov)
   Everything here is decoration on top of a page that already works without it.
   With "reduce motion" switched on, nothing slides or loops: items simply appear.
   ========================================================= */

/* Scroll reveals: site.js adds .rv to cards, headings and panels, then .is-in as they arrive. */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.is-in { opacity: 1; transform: none; }

/* The approval tick on the hero stamp draws itself in, pixel by pixel */
.stamp svg rect { animation: px-pop .35s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(.6s + var(--d, 0) * 70ms); transform-box: fill-box; transform-origin: center; }
@keyframes px-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.stamp { animation: stamp-in .6s .3s cubic-bezier(.2,.8,.2,1) both; }
.stamp--2 { animation-delay: 1.4s; }
@keyframes stamp-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Speed facts strip ---------- */
.facts { padding: 0 0 56px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--paper); padding: 24px 22px; }
.facts b { display: block; font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.facts b em { font-style: normal; color: var(--magenta-dark); }
.facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.facts small { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; }

/* ---------- 7-day timeline ---------- */
.tl { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; position: relative; --p: 0; }
.tl::before, .tl::after { content: ""; position: absolute; border-radius: 3px; }
.tl li { position: relative; padding-left: 44px; }
.tl li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; border-radius: 4px; background: var(--paper); border: 3px solid var(--line); transition: background .4s, border-color .4s, transform .4s; }
.tl li.is-lit::before { background: var(--magenta); border-color: var(--magenta); transform: scale(1.12); }
.tl .day { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta-dark); margin-bottom: 6px; }
.tl h3 { margin-bottom: 6px; }
.tl p { margin: 0; color: var(--muted); font-size: 16px; }
/* phone: line runs down the left */
.tl::before { left: 13px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.tl::after { left: 13px; top: 8px; width: 3px; height: calc((100% - 16px) * var(--p)); background: var(--magenta); }
@media (min-width: 960px) {
  .tl { grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 40px; }
  .tl li { padding-left: 0; }
  .tl li::before { left: 0; top: -40px; }
  .tl::before { left: 8px; right: 8px; top: 9px; bottom: auto; width: auto; height: 3px; }
  .tl::after { left: 8px; top: 9px; height: 3px; width: calc((100% - 16px) * var(--p)); }
}
.dark .tl::before { background: rgba(255,255,255,.18); }
.dark .tl li::before { background: var(--ink); border-color: rgba(255,255,255,.3); }
.dark .tl li.is-lit::before { background: var(--magenta); border-color: var(--magenta); }
.dark .tl p { color: var(--on-ink-muted); }
.dark .tl .day { color: #FF7AC0; }
.tl-end { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 24px 28px; border-radius: 16px; background: var(--magenta); color: #fff; }
.tl-end b { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.tl-end span { opacity: .92; }
.tl-end .btn { margin-left: auto; background: #fff; border-color: #fff; color: var(--ink); }
.tl-end .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Animated product walkthrough ---------- */
.walk { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .walk { grid-template-columns: minmax(260px, .8fr) 1.6fr; gap: 48px; } }
.walk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: ws; }
.walk-steps li { counter-increment: ws; display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; transition: background .4s, border-color .4s, opacity .4s; opacity: .55; }
.walk-steps li::before { content: counter(ws); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--line); font-weight: 800; transition: background .4s, color .4s; }
.walk-steps b { font-size: 18px; }
.walk-steps span { color: var(--muted); font-size: 15px; }
.walk-steps li.is-on { opacity: 1; background: var(--paper); border-color: var(--line); box-shadow: 0 10px 30px rgba(22,26,51,.08); }
.walk-steps li.is-on::before { background: var(--magenta); color: #fff; }
.walk-steps li.is-done { opacity: 1; }
.walk-steps li.is-done::before { background: var(--ink); color: #fff; }
.walk-replay { margin-top: 12px; font: inherit; font-weight: 700; font-size: 15px; background: none; border: 0; color: var(--magenta-dark); cursor: pointer; padding: 8px 0; }

.walk-stage { position: relative; container-type: inline-size; aspect-ratio: 16 / 10.5; }
/* laptop */
.w-laptop { position: absolute; left: 0; top: 2%; width: 78%; }
.w-lid { background: #23273F; border-radius: 3.06cqw 3.06cqw 0 0; padding: 2.22cqw 2.22cqw 2.78cqw; box-shadow: 0 4.17cqw 8.33cqw rgba(22,26,51,.25); }
.w-screen { background: #fff; border-radius: 0.83cqw; aspect-ratio: 16 / 10; overflow: hidden; position: relative; font-size: 2.01cqw; color: var(--ink); }
.w-base { height: 3.06cqw; background: linear-gradient(#D9D6CF, #BDB9B0); border-radius: 0 0 2.78cqw 2.78cqw; margin: 0 -4%; }
.w-bar { display: flex; align-items: center; gap: 1.94cqw; padding: 1.81cqw 2.5cqw; border-bottom: 1px solid #ECEAE4; }
.w-bar .logo-block { width: 3.61cqw; height: 3.61cqw; border-radius: 0.83cqw; background: var(--ink); }
.w-bar b { font-size: 2.22cqw; }
.w-bar .tab { margin-left: auto; padding: 0.69cqw 1.67cqw; border-radius: 99px; background: var(--stone); font-weight: 700; }
.w-body { padding: 2.22cqw 2.5cqw; }
.w-body h4 { margin: 0 0 1.67cqw; font-size: 2.5cqw; }
.w-row { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr .9fr; gap: 1.39cqw; align-items: center; padding: 1.39cqw 1.67cqw; border-radius: 1.11cqw; margin-bottom: 0.83cqw; background: #F8F7F3; }
.w-row.head { background: none; color: var(--muted); font-size: 1.67cqw; text-transform: uppercase; letter-spacing: .05em; padding-top: 0; padding-bottom: 0; }
.pill { display: inline-block; padding: .25cqw .9cqw; border-radius: 99px; font-size: 1.15cqw; font-weight: 700; background: #E7E5DF; justify-self: start; }
.pill.new { background: var(--magenta); color: #fff; }
.pill.print { background: #DCE9F7; color: #1D4F8C; }
.pill.done { background: #DDF1E6; color: #157A4C; }
.pdf { display: inline-flex; align-items: center; gap: .5cqw; font-weight: 700; color: var(--magenta-dark); }
.pdf::before { content: "PDF"; font-size: 1.3cqw; padding: .2cqw .5cqw; border-radius: .4cqw; background: var(--magenta-dark); color: #fff; }
.w-row.is-new { transform: translateY(-2.08cqw); opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; transition: all .6s cubic-bezier(.2,.8,.2,1); background: #FFF0F7; box-shadow: inset 0 0 0 2px rgba(229,0,125,.35); }
.walk.s5 .w-row.is-new { transform: none; opacity: 1; max-height: 11.11cqw; padding-top: 1.39cqw; padding-bottom: 1.39cqw; margin-bottom: 0.83cqw; }
.w-toast { position: absolute; right: 2.22cqw; bottom: 2.22cqw; background: var(--ink); color: #fff; border-radius: 1.39cqw; padding: 1.67cqw 2.22cqw; display: flex; gap: 1.39cqw; align-items: center; font-weight: 700; box-shadow: 0 2.08cqw 4.17cqw rgba(22,26,51,.3); transform: translateY(150%); opacity: 0; transition: all .6s .3s cubic-bezier(.2,.8,.2,1); }
.w-toast i { width: 2.78cqw; height: 2.78cqw; border-radius: 0.56cqw; background: var(--magenta); display: inline-block; }
.w-toast small { display: block; font-weight: 400; opacity: .75; }
.walk.s5 .w-toast { transform: none; opacity: 1; }
/* phone */
.w-phone { position: absolute; right: 2%; bottom: 0; width: 30%; aspect-ratio: 9 / 19; background: var(--ink); border-radius: 4.4cqw; padding: 1.3cqw; box-shadow: 0 3cqw 6cqw rgba(22,26,51,.35); }
.w-pscreen { background: #fff; border-radius: 12.83cqw; height: 100%; overflow: hidden; position: relative; font-size: 5.66cqw; color: var(--ink); }
.w-pbar { padding: 9.81cqw 7.55cqw 4.53cqw; font-weight: 800; font-size: 5.09cqw; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid #ECEAE4; }
.w-view { position: absolute; inset: 21.89cqw 0 0; padding: 6.79cqw; opacity: 0; transform: translateX(8%); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.walk.s1 .v-pick, .walk.s2 .v-edit, .walk.s3 .v-edit, .walk.s4 .v-edit, .walk.s5 .v-done { opacity: 1; transform: none; }
.v-pick h5, .v-edit h5 { margin: 0 0 5.28cqw; font-size: 6.42cqw; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.53cqw; }
.tpl { border-radius: 3.77cqw; background: #F4F2ED; padding: 3.77cqw; font-size: 4.34cqw; font-weight: 700; display: grid; gap: 3.02cqw; transition: box-shadow .3s, transform .3s; }
.tpl i { display: block; border-radius: 1.89cqw; background: #0F4C5C; }
.tpl.card i { aspect-ratio: 85/55; }
.tpl.flyer i { aspect-ratio: 148/210; background: linear-gradient(#0F4C5C 55%, #F2C14E 55%); width: 62%; justify-self: center; }
.tpl.poster i { aspect-ratio: 297/420; background: linear-gradient(160deg, #0F4C5C, #1B6E80); width: 62%; justify-self: center; }
.tpl.letter i { aspect-ratio: 210/297; background: #fff; box-shadow: inset 0 3.02cqw 0 #0F4C5C; width: 62%; justify-self: center; }
.tpl.banner i { aspect-ratio: 85/200; width: 34%; justify-self: center; background: linear-gradient(#0F4C5C 70%, #F2C14E 70%); }
.tpl.sign i { aspect-ratio: 3/2; background: #F2C14E; }
.walk.tap .tpl.flyer { box-shadow: 0 0 0 1.89cqw var(--magenta); transform: scale(.97); }
/* the flyer being edited */
.flyer-wrap { perspective: 226.42cqw; width: 56%; margin: 0 auto 5.28cqw; }
.flyer { position: relative; aspect-ratio: 148 / 210; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.walk.flip .flyer { transform: rotateY(180deg); }
.flyer > div { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 2.26cqw; overflow: hidden; box-shadow: 0 3.77cqw 7.55cqw rgba(22,26,51,.2); }
.f-front { background: #0F4C5C; color: #fff; padding: 5.28cqw; display: flex; flex-direction: column; font-size: 3.96cqw; }
.f-front .brand { font-weight: 800; letter-spacing: .08em; font-size: 3.4cqw; color: #F2C14E; }
.f-front .head { font-size: 7.92cqw; font-weight: 800; line-height: 1.02; margin: 6.04cqw 0 3.02cqw; min-height: 16.6cqw; }
.f-front .sub { opacity: .85; min-height: 9.06cqw; }
.f-front .foot { margin-top: auto; background: #F2C14E; color: #0F4C5C; margin: auto -5.28cqw -5.28cqw; padding: 3.77cqw 5.28cqw; font-weight: 700; min-height: 15.85cqw; }
.f-back { background: #fff; transform: rotateY(180deg); padding: 5.28cqw; font-size: 3.77cqw; color: var(--ink); display: grid; align-content: start; gap: 3.02cqw; }
.f-back i { display: block; height: 3.02cqw; border-radius: 1.13cqw; background: #E7E5DF; }
.f-back i.w60 { width: 60%; }
.f-back b { color: #0F4C5C; }
.crop { position: absolute; inset: -3.77cqw; pointer-events: none; opacity: 0; transition: opacity .4s; }
.crop::before, .crop::after { content: ""; position: absolute; width: 7.55cqw; height: 7.55cqw; border: 0.94cqw solid var(--magenta); }
.crop::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.crop::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.walk.s4 .crop { opacity: 1; }
.typing::after { content: ""; display: inline-block; width: 0.57cqw; height: 1em; background: currentColor; margin-left: 0.38cqw; vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fields { display: grid; gap: .9cqw; }
.fld { border: 1px solid #DDDAD2; border-radius: 2.64cqw; padding: 3.02cqw 3.77cqw; font-size: 4.53cqw; min-height: 12.08cqw; display: flex; align-items: center; gap: 2.26cqw; }
.fld em { font-style: normal; color: var(--muted); font-size: 3.77cqw; min-width: 18.87cqw; }
.fld.is-active { border-color: var(--magenta); box-shadow: 0 0 0 1.13cqw rgba(229,0,125,.15); }
.approve-btn { margin-top: 5.28cqw; text-align: center; padding: 4.15cqw; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; transition: background .3s, transform .2s; }
.walk.press .approve-btn { background: var(--magenta); transform: scale(.96); }
.v-done { display: grid; place-items: center; text-align: center; align-content: center; gap: 5.28cqw; }
.v-done .big-tick { width: 41.51cqw; height: 41.51cqw; border-radius: 50%; background: #FFF0F7; display: grid; place-items: center; }
.v-done .big-tick svg { width: 26.42cqw; height: 26.42cqw; }
.v-done b { font-size: 8.3cqw; }
.v-done span { color: var(--muted); }
@media (max-width: 999px) { .walk-stage { aspect-ratio: 16 / 12; } }

/* ---------- Printer-side screens ---------- */
.screens { display: grid; gap: 24px; }
@media (min-width: 900px) { .screens { grid-template-columns: repeat(2, 1fr); } }
.scr { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.scr-win { margin: 20px 20px 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 -2px 0 #ECEAE4, 0 18px 40px rgba(22,26,51,.10); overflow: hidden; container-type: inline-size; flex: 1; }
.scr-chrome { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #F1EFE9; }
.scr-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #D3CFC6; }
.scr-chrome span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 60%; }
.scr-body { padding: 4cqw; font-size: max(12px, 2.6cqw); min-height: 52cqw; position: relative; }
.scr-cap { padding: 22px 24px 26px; }
.scr-cap h3 { margin-bottom: 6px; }
.scr-cap p { margin: 0; color: var(--muted); }
/* 1: brand set-up */
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.setup .upl { border: 2px dashed #CFCBC2; border-radius: 2cqw; display: grid; place-items: center; text-align: center; padding: 3cqw; color: var(--muted); gap: 1.5cqw; }
.setup .upl b { display: grid; place-items: center; width: 22cqw; height: 9cqw; border-radius: 1.4cqw; background: var(--ink); color: #fff; font-size: 3.4cqw; letter-spacing: .04em; }
.swatches { display: flex; gap: 1.6cqw; margin: 1.2cqw 0 3cqw; }
.swatches i { width: 6.5cqw; height: 6.5cqw; border-radius: 1.4cqw; }
.lbl { color: var(--muted); font-size: max(11px, 2.2cqw); text-transform: uppercase; letter-spacing: .05em; }
.domain { border: 1.5px solid #DDDAD2; border-radius: 1.4cqw; padding: 1.8cqw 2.2cqw; margin-top: 1.2cqw; font-weight: 700; }
.domain em { font-style: normal; color: var(--magenta-dark); }
.scr.is-in .swatches i { animation: px-pop .45s both; }
.scr.is-in .swatches i:nth-child(2) { animation-delay: .15s; } .scr.is-in .swatches i:nth-child(3) { animation-delay: .3s; } .scr.is-in .swatches i:nth-child(4) { animation-delay: .45s; }
/* 2: template builder */
.builder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3cqw; align-items: start; }
.b-doc { aspect-ratio: 210/297; background: #fff; box-shadow: 0 1cqw 3cqw rgba(22,26,51,.15); border-radius: 1cqw; padding: 3cqw; display: grid; align-content: start; gap: 2cqw; position: relative; }
.b-doc .bar { height: 5cqw; background: #0F4C5C; border-radius: .8cqw; }
.b-doc .ed { border: 2px dashed var(--magenta); border-radius: .8cqw; padding: 1.2cqw 1.6cqw; color: var(--magenta-dark); font-weight: 700; font-size: max(10px, 2.2cqw); background: rgba(229,0,125,.05); }
.b-doc .lk { height: 2.4cqw; border-radius: .5cqw; background: #E7E5DF; }
.b-doc .lk.s { width: 60%; }
.b-side { display: grid; gap: 1.6cqw; }
.b-field { border: 1px solid #E5E2DA; border-radius: 1.4cqw; padding: 1.8cqw 2cqw; display: grid; gap: .8cqw; }
.b-field b { font-size: max(12px, 2.5cqw); }
.toggle { display: inline-flex; gap: .8cqw; align-items: center; color: var(--muted); font-size: max(11px, 2.2cqw); }
.toggle i { width: 5.4cqw; height: 3cqw; border-radius: 99px; background: var(--magenta); position: relative; }
.toggle i::after { content: ""; position: absolute; right: .4cqw; top: .4cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #fff; }
.toggle.off i { background: #CFCBC2; } .toggle.off i::after { right: auto; left: .4cqw; }
.scr.is-in .b-doc .ed { animation: pulse 1.6s .5s 2; }
@keyframes pulse { 50% { box-shadow: 0 0 0 1.2cqw rgba(229,0,125,.12); } }
/* 3: orders dashboard */
.orders .w-row { grid-template-columns: 1.4fr 1.5fr 1fr .9fr; font-size: max(11px, 2.2cqw); padding: 1.8cqw 2cqw; border-radius: 1.4cqw; margin-bottom: 1.2cqw; }
.orders .w-row.head { font-size: max(10px, 1.9cqw); }
.orders .pill { font-size: max(10px, 1.9cqw); padding: .4cqw 1.6cqw; }
.orders .pdf::before { font-size: max(9px, 1.6cqw); padding: .3cqw .8cqw; }
.scr.is-in .orders .w-row:not(.head) { animation: row-in .5s both; }
.scr.is-in .orders .w-row:nth-child(3) { animation-delay: .12s; } .scr.is-in .orders .w-row:nth-child(4) { animation-delay: .24s; } .scr.is-in .orders .w-row:nth-child(5) { animation-delay: .36s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-3cqw); } to { opacity: 1; transform: none; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-bottom: 3cqw; }
.stats div { background: var(--stone); border-radius: 1.4cqw; padding: 2cqw; }
.stats b { display: block; font-size: max(16px, 4.4cqw); letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: max(10px, 2cqw); }
/* 4: order email */
.mail { display: grid; gap: 2cqw; }
.mail .from { display: flex; gap: 2cqw; align-items: center; }
.mail .av { width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--ink); }
.mail .from b { display: block; }
.mail .from span { color: var(--muted); font-size: max(11px, 2.2cqw); }
.mail h4 { margin: 1cqw 0 0; font-size: max(14px, 3.4cqw); }
.mail p { margin: 0; color: var(--muted); }
.mail .lines { display: grid; gap: 1.2cqw; }
.mail .lines i { display: block; height: 1.8cqw; border-radius: .6cqw; background: #EDEBE5; }
.mail .lines i:last-child { width: 55%; }
.attach { display: flex; gap: 2cqw; align-items: center; border: 1.5px solid #E5E2DA; border-radius: 1.8cqw; padding: 2cqw; margin-top: 1cqw; }
.attach .ico { width: 8cqw; height: 10cqw; border-radius: 1cqw; background: var(--magenta-dark); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: max(10px, 2.2cqw); }
.attach b { display: block; }
.attach span { color: var(--muted); font-size: max(11px, 2.2cqw); }
.scr.is-in .attach { animation: row-in .6s .4s both; }

/* The templates any client can have */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .stamp, .stamp svg rect, .scr.is-in * { animation: none !important; }
  .w-view, .w-row.is-new, .w-toast, .flyer { transition: none; }
  .typing::after { display: none; }
}

/* ---------- Template wizard ---------- */
.wiz { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .wiz { grid-template-columns: minmax(260px, .8fr) 1.6fr; gap: 48px; } }
.wiz-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: wz; }
.wiz-step { counter-increment: wz; display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; opacity: .55; transition: all .4s; }
.wiz-step::before { content: counter(wz); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--line); font-weight: 800; transition: all .4s; }
.wiz-step b { font-size: 18px; }
.wiz-step span { color: var(--muted); font-size: 15px; }
.wiz-step.is-on { opacity: 1; background: var(--paper); border-color: var(--line); box-shadow: 0 10px 30px rgba(22,26,51,.08); }
.wiz-step.is-on::before { background: var(--magenta); color: #fff; }
.dark .wiz-step span { color: var(--on-ink-muted); }
.dark .wiz-step::before { background: rgba(255,255,255,.12); }
.dark .wiz-step.is-on { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.wiz-win { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(22,26,51,.18); container-type: inline-size; color: var(--ink); }
.wiz-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; padding: 4cqw; min-height: 52cqw; font-size: max(12px, 2cqw); }
.wiz-doc { position: relative; }
.wiz-drop { position: absolute; inset: 0; border: 2px dashed #CFCBC2; border-radius: 2cqw; display: grid; place-items: center; align-content: center; gap: 1.5cqw; color: var(--muted); transition: opacity .5s; background: #FBFAF7; z-index: 1; }
.wiz-drop b { width: 9cqw; height: 11cqw; border-radius: 1cqw; background: var(--magenta-dark); color: #fff; display: grid; place-items: center; font-size: max(11px, 2cqw); }
.wiz-art { aspect-ratio: 148/210; max-height: 50cqw; margin: 0 auto; background: #0F4C5C; border-radius: 1cqw; padding: 3cqw; display: flex; flex-direction: column; gap: 1.6cqw; box-shadow: 0 1cqw 3cqw rgba(22,26,51,.18); color: #fff; font-weight: 800; }
.wiz-art .bar { height: 2cqw; width: 40%; background: #F2C14E; border-radius: .4cqw; }
.wiz-art .ln { font-size: max(10px, 2.2cqw); line-height: 1.15; padding: .6cqw .8cqw; border-radius: .6cqw; border: 2px solid transparent; transition: border-color .4s, background .4s; }
.wiz-art .ln.s { font-weight: 500; opacity: .85; }
.wiz-art .lk { height: 1.4cqw; padding: 0; background: rgba(255,255,255,.18); border-radius: .4cqw; }
.wiz-art .lk.s { width: 60%; }
.wiz-art .foot { margin-top: auto; background: #F2C14E; color: #0F4C5C; font-size: max(9px, 1.8cqw); }
.wiz[data-at="2"] .wiz-art .ed, .wiz[data-at="3"] .wiz-art .ed, .wiz[data-at="4"] .wiz-art .ed { border-color: var(--magenta); border-style: dashed; background: rgba(229,0,125,.18); }
.wiz:not([data-at="1"]) .wiz-drop { opacity: 0; pointer-events: none; }
.wiz-side { position: relative; }
.wiz-panel { position: absolute; inset: 0 0 auto; border: 1px solid #E5E2DA; border-radius: 2cqw; padding: 3cqw; display: grid; gap: 1.4cqw; opacity: 0; transform: translateY(2cqw); transition: all .45s; }
.wiz-panel b { font-size: max(14px, 2.8cqw); }
.wiz-panel span { color: var(--muted); }
.wiz[data-at="2"] .p2, .wiz[data-at="3"] .p3, .wiz[data-at="4"] .p4, .wiz[data-at="5"] .p5 { opacity: 1; transform: none; }
.chk::before { content: ""; display: inline-block; width: 2.2cqw; height: 2.2cqw; min-width: 12px; min-height: 12px; border-radius: .5cqw; background: var(--magenta); margin-right: 1.2cqw; vertical-align: -0.2em; }
.ok::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 1.2cqw; }
.p5 b { color: var(--magenta-dark); }

/* ---------- Mail merge ---------- */
.merge { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .merge { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.merge-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); }
.merge-steps b { color: var(--ink); }
.dark .merge-steps { color: var(--on-ink-muted); }
.dark .merge-steps b { color: #fff; }
.merge-vis { display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 16px; align-items: center; container-type: inline-size; }
.sheet { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(22,26,51,.16); font-size: max(11px, 2.3cqw); color: var(--ink); }
.sh-head, .sh-row { display: grid; grid-template-columns: 1fr 1fr; }
.sh-head span, .sh-row span { padding: 1.6cqw 2cqw; border-right: 1px solid #E7E5DF; border-bottom: 1px solid #E7E5DF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-head { background: #1F7A4D; color: #fff; font-weight: 700; }
.sh-more { padding: 1.6cqw 2cqw; color: var(--muted); }
.merge-arrow { font-size: max(22px, 5cqw); font-weight: 800; color: var(--magenta); }
.fan { position: relative; aspect-ratio: 1 / 1.05; }
.mc { position: absolute; left: 6%; top: 14%; width: 80%; aspect-ratio: 85/55; border-radius: 6px; background: #0F4C5C; color: #fff; padding: 5% 7%; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 10px 24px rgba(22,26,51,.25); font-size: max(10px, 2.3cqw); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.mc b { color: #F2C14E; font-size: max(12px, 3cqw); }
.mc:nth-child(1) { transform: rotate(-9deg) translate(-4%, 18%); }
.mc:nth-child(2) { transform: rotate(-3deg) translate(0, 10%); }
.mc:nth-child(3) { transform: rotate(3deg) translate(4%, 2%); }
.mc:nth-child(4) { transform: rotate(9deg) translate(8%, -6%); }
.merge-vis.rv:not(.is-in) .mc { transform: none; }
@media (prefers-reduced-motion: reduce) { .mc { transition: none; } .wiz-panel, .wiz-drop, .wiz-art .ln { transition: none; } }
.facts b span[data-count] { display: inline; margin: 0; color: inherit; font-size: inherit; }
/* walkthrough layout fixes: phone no longer covers the laptop's status column or toast */
.w-laptop { width: 72%; }
.w-phone { width: 26.5%; right: 0; }
.w-toast { right: auto; left: 2.22cqw; }
.f-front .head { font-size: 5.85cqw; min-height: 12.83cqw; margin: 4.53cqw 0 2.26cqw; }
.f-front .sub { font-size: 3.58cqw; }
.f-front .foot { font-size: 3.21cqw; }

/* Walkthrough: phone and laptop each size their own contents, so either can be shown large. */
.w-phone, .w-laptop { container-type: inline-size; }
.walk-stage .pill, .walk-stage .pdf { font-size: 1.6cqw; }
@media (max-width: 699px) {
  .walk-stage { aspect-ratio: auto; display: grid; gap: 28px; }
  .w-laptop, .w-phone { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .w-phone { width: 68%; margin: 0 auto; order: -1; }
  .w-laptop { width: 100%; }
}

/* Walkthrough phone: keep the frame and screen corners concentric at every size
   (the phone's own contents use its width; the frame's radius is set from the stage). */
.w-pscreen { border-radius: 13cqw; }
.w-pbar { font-size: 4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 699px) {
  .w-phone { border-radius: 11.3cqw; padding: 3.33cqw; }
}
