/* Merchant + Super Admin dashboards and the platform landing page. */
:root {
  --bg: #fafaf9; --panel: #fff; --text: #1c1c1e; --muted: #6b6b70; --line: #e7e6e3;
  --accent: #1c1c1e; --accent-text: #fff; --soft: #f1f0ed; --good: #1d7a46; --warn: #a15c00; --bad: #b42318;
  --radius: 14px; --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f0f10; --panel: #18181a; --text: #f2f2f0; --muted: #a0a0a6; --line: #2b2b2f;
    --accent: #f2f2f0; --accent-text: #111; --soft: #222225; --good: #4ccf86; --warn: #f0b44c; --bad: #ff7a6e; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; font-weight: 600; }
h1 { font-size: 28px; } h2 { font-size: 20px; } h3 { font-size: 16px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, opacity .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { background: var(--soft); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent); opacity: .88; }
.btn-danger { color: var(--bad); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-link { border: 0; background: none; padding: 0; min-height: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { background: none; color: var(--text); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor;
  border-color: var(--muted) transparent var(--muted) transparent; animation: spin .7s linear infinite; }
.btn-primary.busy::after { border-color: var(--accent-text) transparent var(--accent-text) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }
.spacer { flex: 1; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; min-height: 44px; width: 100%; transition: border-color .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input[type=file] { padding: 9px; }
input[type=checkbox] { width: auto; min-height: 0; }
.field .hint { color: var(--muted); font-size: 12px; }
.field .err { color: var(--bad); font-size: 12px; min-height: 0; }
.field .err:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.grid2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 .full { grid-column: 1 / -1; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 12px; }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .brand { display: inline-block; font-weight: 600; text-decoration: none; margin-bottom: 40px; }
.auth-box h1 { font-size: 30px; }
.auth-box form { margin-top: 24px; }
.auth-box .btn-primary { width: 100%; margin-top: 4px; }
.auth-links { margin-top: 24px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* App shell */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line); }
.topbar .brand { font-weight: 600; text-decoration: none; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav a.on { background: var(--accent); color: var(--accent-text); }
.content { width: 100%; max-width: 980px; margin: 0 auto; padding: 28px 20px 80px; }
@media (min-width: 900px) {
  .shell { flex-direction: row; }
  .side { width: 220px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
  .side .brand { font-weight: 600; text-decoration: none; padding: 6px 10px 22px; display: block; }
  .side .nav { flex-direction: column; border: 0; padding: 0; background: none; }
  .side .nav a { border-radius: 10px; }
  .side-foot { margin-top: auto; font-size: 13px; padding: 10px; }
  .topbar.mobile { display: none; }
  .main { flex: 1; min-width: 0; }
}
@media (max-width: 899px) { .side { display: contents; } .side > .brand, .side-foot { display: none; } }
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0; flex: 1; }
.banner { background: var(--accent); color: var(--accent-text); padding: 10px 20px; font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.banner .btn { min-height: 30px; }
.notice { background: var(--soft); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; font-size: 14px; }
.notice.warn { border-left: 3px solid var(--warn); }

/* Panels, stats, lists */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel > h2 { margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }
.list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.item:first-child { border-top: 0; }
a.item:hover { background: var(--soft); }
.item .grow { flex: 1; min-width: 0; }
.item .title { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .sub { color: var(--muted); font-size: 13px; }
.item .amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--soft); flex-shrink: 0; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--text); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-top: 0; }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters select, .filters input { width: auto; min-height: 38px; padding: 6px 10px; font-size: 14px; }

/* Pills */
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill-new, .pill-pending, .pill-payment_verification, .pill-draft { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.pill-confirmed, .pill-active, .pill-verified, .pill-published, .pill-completed { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.pill-cancelled, .pill-suspended, .pill-disabled, .pill-error, .pill-inactive { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }

/* Onboarding */
.steps { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; }
.steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps li.done { background: var(--accent); }
.step-label { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.onboard { max-width: 560px; margin: 0 auto; padding: 32px 20px 80px; }

/* Store Style picker */
.styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 640px) { .styles { grid-template-columns: repeat(5, 1fr); } }
.style-opt { position: relative; border: 2px solid transparent; border-radius: 14px; padding: 0; cursor: pointer; background: none; text-align: left; font: inherit; color: var(--text); }
.style-opt .sw { display: block; border-radius: 12px; height: 72px; padding: 10px; border: 1px solid var(--line); }
.style-opt .sw i { display: block; height: 8px; border-radius: 4px; margin-bottom: 6px; }
.style-opt .sw i:nth-child(1) { width: 60%; } .style-opt .sw i:nth-child(2) { width: 40%; opacity: .5; }
.style-opt .sw em { display: inline-block; width: 34px; height: 14px; border-radius: 7px; margin-top: 4px; }
.style-opt span.n { display: block; font-size: 13px; font-weight: 500; padding: 6px 2px 2px; }
.style-opt[aria-pressed=true] { border-color: var(--accent); }
.preview-frame { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 380px; margin: 0 auto 24px; }
.pv { font-family: var(--font); background: var(--background); color: var(--text); padding: 22px 22px 26px; text-align: center; transition: background .25s ease, color .25s ease; }
.pv .pv-bar { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.pv .pv-img { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--surface); margin-bottom: 14px; display: grid; place-items: center; color: var(--muted-text); font-size: 12px; overflow: hidden; }
.pv .pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pv p { color: var(--muted-text); font-size: 13px; margin: 0 0 10px; }
.pv .pv-price s { color: var(--muted-text); margin-right: 6px; font-size: 13px; }
.pv .pv-off { display: block; color: var(--accent); font-size: 12px; font-weight: 600; margin-top: 2px; }
.pv .pv-btn { display: inline-block; margin-top: 14px; background: var(--accent); color: var(--accent-text); border-radius: 999px; padding: 9px 22px; font-size: 13px; font-weight: 500; }
.pv hr { border: 0; border-top: 1px solid var(--border); margin: 18px 0 0; }

/* Product form */
.img-drop { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.img-drop img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; background: var(--soft); }
.img-drop .ph { width: 88px; height: 88px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-size: 12px; flex-shrink: 0; }
.price-hint { font-size: 13px; color: var(--good); min-height: 20px; margin: -8px 0 12px; }

/* Domains */
.dns { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.dns td { word-break: break-all; }
.check { color: var(--good); } .cross { color: var(--muted); }
.domain-card { border-top: 1px solid var(--line); padding: 16px 0; }
.domain-card:first-of-type { border-top: 0; padding-top: 0; }
.domain-card .d { font-weight: 600; word-break: break-all; }
.domain-card ul { list-style: none; padding: 0; margin: 8px 0 12px; font-size: 14px; }

/* Order detail */
.proof { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.totals { margin-top: 12px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 600; font-size: 17px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.status-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: all .25s ease; z-index: 100; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: #fff; }

/* Landing */
.landing .l-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; max-width: 1080px; margin: 0 auto; }
.landing .l-brand { font-weight: 600; }
.landing .l-head a { text-decoration: none; color: var(--muted); }
.landing .l-main { max-width: 720px; margin: 0 auto; padding: 12vh 24px 80px; text-align: center; }
.landing h1 { font-size: clamp(40px, 9vw, 76px); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 22px; }
.landing .l-main > p { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 auto 34px; }
.l-steps { text-align: left; max-width: 440px; margin: 90px auto 0; padding: 0; list-style: none; counter-reset: s; }
.l-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.l-steps li::before { content: counter(s); color: var(--muted); grid-row: span 2; }
.l-steps span { color: var(--muted); font-size: 14px; }
.l-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 40px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}

/* ---------- Super Admin additions ---------- */
.dlg { border: 0; border-radius: var(--radius); padding: 24px; width: min(440px, calc(100vw - 32px)); background: var(--panel); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg h2 { margin: 0 0 6px; font-size: 19px; }
.dlg p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.btn-danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger-solid:hover { background: var(--bad); opacity: .9; }
.checkline { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-size: 14px; }
.checkline input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.checkline span { display: grid; gap: 2px; }
.caps { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px 6px; margin: 6px 0 16px; }
.caps legend { font-size: 13px; color: var(--muted); padding: 0 6px; }
.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.issues a { color: inherit; }
.issues b { display: inline-block; min-width: 28px; padding: 1px 8px; border-radius: 999px; text-align: center; color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
a.stat:hover { border-color: var(--text); }

/* Legal documents and the report form (platform pages) */
.l-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; }
.l-legal a { color: var(--muted); text-decoration: none; }
.l-legal a:hover { color: var(--text); text-decoration: underline; }
.doc .l-head a.l-brand { color: var(--text); }
.doc-main { max-width: 720px; margin: 0 auto; padding: 32px 24px 64px; }
.doc-main h1 { font-size: clamp(30px, 6vw, 42px); letter-spacing: -0.03em; margin-bottom: 8px; }
.legal-meta { color: var(--muted); margin-bottom: 28px; }
.legal-body { font-size: 16px; line-height: 1.65; }
.legal-body h2 { font-size: 20px; margin: 32px 0 10px; }
.legal-body p, .legal-body ul { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-old { background: var(--soft); border-radius: 10px; padding: 10px 14px; }
.legal-contact { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.legal-contact h2 { font-size: 16px; }
.legal-contact p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.legal-hist { margin-top: 24px; color: var(--muted); font-size: 14px; }
.legal-hist summary { cursor: pointer; }
.legal-hist ul { padding-left: 20px; }
.legal-list { list-style: none; padding: 0; margin: 0 0 24px; }
.legal-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.legal-list a { font-weight: 600; text-decoration: none; }
.legal-list span { color: var(--muted); font-size: 14px; }
.report-form { margin-top: 20px; }
.report-form .field { margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* Contact method, banner picker, verification (merchant) */
.choice-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.choice-group legend { font-size: 13px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--panel); }
.choice:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.choice input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.choice span { display: grid; gap: 2px; font-size: 14px; }
.choice small { font-size: 12px; }
.field.invalid .choice { border-color: var(--bad); }
.bn-preview { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--background); color: var(--text); text-align: center; padding-bottom: 14px; margin-bottom: 10px; }
.bn-banner { height: 84px; }
.bn-logo { --h: 56px; height: var(--h); min-width: var(--h); width: fit-content; max-width: 70%; margin: calc(var(--h) * -.7) auto 6px; padding: 6px; display: flex; align-items: center; justify-content: center;
  background: var(--background); border-radius: 14px; box-shadow: 0 0 0 1px var(--border), 0 4px 14px rgba(0,0,0,.1); position: relative; font-weight: 600; font-size: 22px; }
.bn-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.bn-preview b { font-size: 15px; }
.bn-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bn-sw { width: 44px; height: 32px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.bn-sw[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 2px; }
.notice.bad { border-left: 3px solid var(--bad); }
.doc-list { padding-left: 20px; margin: 0 0 18px; }
.doc-list li { margin-bottom: 8px; }
.pill-pending_review, .pill-not_submitted { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.pill-approved { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.pill-rejected, .pill-overdue { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.pill-open, .pill-investigating { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.pill-actioned { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.bn-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.bn-file:focus-visible + * , .row:has(.bn-file:focus-visible) label.btn { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-set { border: 0; padding: 0; margin: 4px 0 8px; min-width: 0; }
.social-set legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; }

/* ================================================================ platform home page */
.lp { background: var(--bg); }
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(24px, calc((100vw - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.lp-nav .l-brand { font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.02em; }
.lp-nav nav { display: flex; gap: 26px; }
.lp-nav nav a, .lp-signin { color: var(--muted); text-decoration: none; font-size: 15px; }
.lp-nav nav a:hover, .lp-signin:hover { color: var(--text); }
.lp-nav-cta { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) { .lp-nav nav, .lp-signin { display: none; } }

.lp-hero { max-width: 1120px; margin: 0 auto; padding: 72px 24px 56px; display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .lp-hero { grid-template-columns: 1.15fr 1fr; padding-top: 96px; } }
.lp-eyebrow { color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.lp-hero h1 { font-size: clamp(44px, 7.5vw, 80px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 22px; }
.lp-lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.lp-proof li::before { content: '✓'; color: var(--good); font-weight: 700; margin-right: 7px; }

/* CSS-drawn phone with a sample store */
.lp-phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #1c1c1e;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.08); }
.lp-screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #fff; color: #1c1c1e; text-align: center;
  display: flex; flex-direction: column; align-items: center; }
.lp-banner { width: 100%; height: 22%; flex: none; background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.lp-logo { width: 62px; height: 62px; margin-top: -43px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #eee, 0 6px 18px rgba(0,0,0,.12);
  display: grid; place-items: center; font-weight: 700; font-size: 26px; color: #2f5d50; }
.lp-sname { margin-top: 10px; font-size: 18px; letter-spacing: -.02em; }
.lp-stag { font-size: 11px; color: #777; }
.lp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 12px 0; width: 100%; }
.lp-card { display: grid; justify-items: center; gap: 3px; font-size: 11px; }
.lp-card b { font-size: 11.5px; margin-top: 4px; }
.lp-card span { color: #333; }
.lp-card u { text-decoration: none; background: #1c1c1e; color: #fff; border-radius: 99px; padding: 5px 10px; font-size: 10px; margin-top: 3px; }
.lp-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; }
.lp-img.a { background: radial-gradient(circle at 50% 58%, #3f6b73 0 22%, transparent 23%), linear-gradient(#f3e3d3, #e7cdb4); }
.lp-img.b { background: radial-gradient(circle at 50% 58%, #c86b3c 0 16%, transparent 17%), linear-gradient(#f2efe8, #e5dfd2); }
.lp-img em { position: absolute; top: 7px; left: 7px; font-style: normal; font-size: 8.5px; font-weight: 700; background: #1c1c1e; color: #fff; padding: 2px 6px; border-radius: 99px; }
.lp-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 6px 16px;
  border-top: 1px solid #eee; background: rgba(255,255,255,.94); font-size: 9.5px; color: #888; }
.lp-tabs span:first-child { color: #1c1c1e; font-weight: 600; }

.lp-section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.lp-section h2, .lp-final h2 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 10px; }
.lp-sub { color: var(--muted); font-size: 18px; margin-bottom: 0; }
.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; text-align: left; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } }
.lp-steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 6px; }
.lp-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.lp-steps span { color: var(--muted); font-size: 14px; }
.lp-features { margin-top: 40px; display: grid; gap: 16px; text-align: left; }
@media (min-width: 700px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.lp-feature h3 { font-size: 18px; margin: 14px 0 6px; }
.lp-feature p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.55; }
.lp-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); }
.lp-ic svg, .lp-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-swatches { list-style: none; padding: 0; margin: 36px auto 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; }
.lp-swatches li { display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--muted); width: 76px; }
.lp-sw { position: relative; width: 64px; height: 64px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lp-sw i { position: absolute; left: 12px; height: 5px; border-radius: 3px; }
.lp-sw i:first-child { top: 18px; width: 30px; }
.lp-sw i:nth-child(2) { top: 29px; width: 22px; }
.lp-sw em { position: absolute; left: 12px; bottom: 12px; width: 26px; height: 10px; border-radius: 5px; }
.lp-plans { margin-top: 40px; display: grid; gap: 18px; text-align: left; align-items: stretch; }
@media (min-width: 860px) { .lp-plans { grid-template-columns: repeat(3, 1fr); } }
.lp-plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; }
.lp-plan.is-featured { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), 0 24px 50px -30px rgba(0,0,0,.35); }
.lp-badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.lp-plan h3 { font-size: 20px; margin: 0; }
.lp-price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 18px; }
.lp-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; }
.lp-plan li::before { content: '✓'; color: var(--good); font-weight: 700; margin-right: 9px; }
.lp-plan .btn { margin-top: auto; width: 100%; }
.lp-faqs { max-width: 760px; margin: 36px auto 0; text-align: left; }
.lp-faq { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.lp-faq[open] summary::after { content: '–'; }
.lp-faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.lp-final { text-align: center; padding: 80px 24px 96px; }
.lp-final h2 { margin-bottom: 24px; }
.lp .l-foot { border-top: 1px solid var(--line); }
