/* The hidden attribute always wins (the form rows below set display, which would otherwise show hidden ones). */
[hidden] { display: none !important; }

/* MerchZing (merchzing.com): the front page, the signup page and the page after paying. Warm paper, ink and coral. */
:root {
  --paper: #FBF7F1; --paper-2: #F3ECE2; --card: #FFFFFF; --ink: #1E1B2E; --ink-2: #4A4659; --muted: #6E6A7C; --line: #E6DED3;
  --coral: #FF5A36; --coral-d: #E2452A; --coral-soft: #FFE6DE; --zest: #FFC93C; --mint: #2E8B6A; --on: #FFFFFF;
  --r: 18px; --shadow: 0 24px 60px -32px rgba(30, 27, 46, .35); --head: 'Bricolage Grotesque', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body.mz { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.mz a { color: inherit; }
.mz img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--coral) 55%, transparent); outline-offset: 2px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--head); letter-spacing: -0.03em; }
.mark img { display: block; height: 54px; width: auto; }
@media (max-width: 520px) { .mark img { height: 40px; } }
.mark b { font-weight: 800; } .mark i { font-style: normal; color: var(--coral); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav .login { display: inline-flex; align-items: center; gap: 6px; }
.nav .login svg { width: 18px; height: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn-zap { background: var(--coral); color: var(--on) !important; box-shadow: 0 12px 26px -14px var(--coral); }
.btn-zap:hover { background: var(--coral-d); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
@media (max-width: 860px) { .nav a:not(.btn):not(.login) { display: none; } .nav .login span { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, var(--coral-soft), transparent); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kicker svg { width: 18px; height: 18px; color: var(--coral); }
.hero h1 { font: 800 clamp(42px, 6.4vw, 76px)/0.98 var(--head); letter-spacing: -0.045em; margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.3em; }
.hero h1 em path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.fine { font-size: 14.5px; color: var(--muted); margin: 0; }
.fine b { color: var(--ink); }
.fine a { color: var(--ink-2); }
.shots { position: relative; }
.frame { border-radius: 16px; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px rgba(30, 27, 46, .06); overflow: hidden; }
.frame .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper-2); font-size: 12.5px; color: var(--muted); }
.frame .bar span { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--card); }
.shots .main { transform: rotate(-1.2deg); }
.shots .float { position: absolute; width: 62%; right: -4%; bottom: -22%; transform: rotate(1.5deg); }
@media (max-width: 959px) { .shots .float { position: relative; width: 82%; margin: -18% 0 0 auto; right: 0; bottom: 0; } }
.tagnote { position: absolute; left: -2%; bottom: -24%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.tagnote svg { width: 18px; height: 18px; color: var(--zest); }
@media (max-width: 959px) { .tagnote { position: static; margin-top: 14px; } }

/* ---------- strips and sections ---------- */
.strip { border-block: 1px solid var(--line); background: var(--card); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.strip li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.strip svg { width: 18px; height: 18px; color: var(--mint); }
section.s { padding: clamp(56px, 8vw, 104px) 0; }
section.alt { background: var(--paper-2); }
.s h2 { font: 800 clamp(32px, 4.2vw, 50px)/1.04 var(--head); letter-spacing: -0.035em; margin: 0 0 14px; max-width: 18em; }
.s .sub { color: var(--ink-2); font-size: 18px; margin: 0 0 clamp(28px, 4vw, 44px); max-width: 40em; }
.feature { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .feature.flip > :first-child { order: 2; } }
.feature h3 { font: 800 clamp(26px, 3vw, 36px)/1.08 var(--head); letter-spacing: -0.03em; margin: 8px 0 12px; }
.feature p { color: var(--ink-2); margin: 0 0 16px; }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--coral-d); }
.label i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--coral-soft); font-style: normal; font-size: 13px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* the profit sum, drawn in words */
.sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 0 0 18px; }
.sum div { padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sum b { display: block; font: 800 24px/1.1 var(--head); letter-spacing: -0.02em; }
.sum span { font-size: 14px; color: var(--muted); }
.sum .keep { background: var(--ink); color: #fff; box-shadow: none; } .sum .keep span { color: #CFCBE0; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 22px 20px 20px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--coral); color: #fff; font: 800 18px/1 var(--head); margin-bottom: 14px; }
.steps b { display: block; font: 700 19px/1.25 var(--head); margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 15.5px; }

/* everything included */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.grid div { padding: 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.grid b { display: block; font-weight: 700; margin-bottom: 2px; }
.grid span { color: var(--muted); font-size: 15px; }

/* price */
.price { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.plan { padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--ink); color: #fff; }
.plan .amt { font: 800 clamp(56px, 7vw, 80px)/1 var(--head); letter-spacing: -0.04em; }
.plan .amt small { font: 600 18px/1 var(--body); letter-spacing: 0; color: #CFCBE0; margin-left: 6px; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; } .plan li svg { width: 20px; height: 20px; color: var(--zest); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }
.costs { padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.costs h3 { font: 800 24px/1.15 var(--head); margin: 0 0 6px; }
.costs dl { margin: 18px 0 0; display: grid; gap: 14px; }
.costs dt { font-weight: 700; } .costs dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }

/* questions */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 700 19px/1.35 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* the last call */
.end { text-align: center; }
.end .box { padding: clamp(36px, 6vw, 72px) 20px; border-radius: 28px; background: radial-gradient(120% 140% at 50% 0%, #FF7A55 0%, var(--coral) 45%, var(--coral-d) 100%); color: #fff; }
.end h2 { margin: 0 auto 12px; color: #fff; }
.end p { margin: 0 auto 26px; max-width: 34em; color: #FFF1EC; }
.end .btn { background: #fff; color: var(--coral-d) !important; }

/* footer */
.foot { padding: 34px 0 48px; color: var(--muted); font-size: 14.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--ink-2); text-decoration: none; } .foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- the signup page ---------- */
.form-main { width: min(640px, 100% - 32px); margin: 0 auto; padding: 28px 0 72px; }
.form-main h1 { font: 800 clamp(36px, 6vw, 52px)/1 var(--head); letter-spacing: -0.04em; margin: 8px 0 12px; }
.card { background: var(--card); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: clamp(20px, 4vw, 32px); }
.f { display: grid; gap: 6px; margin: 0 0 18px; }
.f label { font-weight: 600; font-size: 15px; }
.f input, .f select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.f input:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.addr { display: flex; align-items: stretch; }
.addr input { border-radius: 12px 0 0 12px; min-width: 0; }
.addr span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; background: var(--paper-2); color: var(--muted); font-size: 15px; white-space: nowrap; }
.note { font-size: 14px; color: var(--muted); min-height: 1.2em; margin: 0; }
.note.ok { color: var(--mint); } .note.bad { color: #C0392B; }
.opt { color: var(--muted); font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); margin: 6px 0 18px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex: none; }
.pricebar { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.pricebar b { font: 800 34px/1 var(--head); }
.pricebar span { color: var(--muted); font-size: 15px; }
.go { width: 100%; min-height: 54px; font-size: 18px; }
.go:disabled { opacity: .6; cursor: wait; }
.err { color: #C0392B; font-weight: 600; margin: 12px 0 0; min-height: 1em; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.offer { padding: 12px 14px; border-radius: 12px; background: var(--coral-soft); margin: 0 0 18px; }
.center { text-align: center; padding: 40px 0; }
.spin { width: 40px; height: 40px; margin: 0 auto 18px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--coral); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center input { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; margin: 8px 0; }
.center label { display: block; font-weight: 600; text-align: left; }
.center form { max-width: 380px; margin: 0 auto; text-align: left; }

/* The free guide (merchzing.com/guide/) */
.guidebox { background: #0F1B3A; color: #F4EFE4; }
.guidebox h2 { color: #F4EFE4; }
.guidebox p { color: #C5CCDD; }
.guidebox .fine { color: #AEB7CC; }
.guidebox .label { color: #F4EFE4; }
.guidebox .frame { display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.guidebox .label i { width: auto; padding: 0 9px; color: var(--coral-d); }

/* Works with: the printers' own logos, unchanged (their logo packs, 2026-10-29) */
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.works img { display: block; height: 22px; width: auto; }
.works img.pf { height: 36px; margin: -6px -8px; }

/* The domain step on /start/ (domain-pick.js): its option rows are labels with a radio inside, so undo .f's
   full-width inputs and block labels for them. */
#dom-step { --wzd-on: var(--coral); }
#dom-step label.wzd-opt { display: flex; font-weight: 400; font-size: 16px; }
#dom-step .wzd-opt input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; flex: none; }
#dom-step .wzd-row input { width: auto; }

/* the twelve sample stores (written into index.html by scripts/mz-demos.mjs) */
.stores-h { margin: clamp(48px, 7vw, 80px) 0 6px; font: 800 clamp(26px, 3vw, 34px)/1.1 var(--head); letter-spacing: -0.02em; }
.stores { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); margin-top: 22px; }
.store { display: grid; gap: 4px; padding: 0 0 16px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: transform .18s, box-shadow .2s; }
.store:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.store img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.store b, .store span { padding: 0 16px; }
.store b { font-size: 17px; }
.store span { font-size: 14px; color: var(--muted); }
.store em { font-style: normal; color: var(--coral-d); font-weight: 700; }
