/* 零帧 Leapage 落地页 —— 黛山表达（<html data-z-expr="brand">）。
   颜色只引用 --z-* 变量；白色 72% 的 rgba() 只用于主视觉 C 的图层平面（规范 4.9）。
   焦点框沿用 zer0n-tokens.css 的 :focus-visible。 */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--z-bg);
  color: var(--z-text);
  font-family: var(--z-font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
.mono { font-family: var(--z-font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 8px 14px; border-radius: var(--z-radius-sm);
  background: var(--z-bg-raised); color: var(--z-text); text-decoration: none;
  border: 1px solid var(--z-border);
}
.skip:focus { top: 12px; }

/* ---------- 按钮（规范 4.3） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--z-radius);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 16px; }

.btn-primary { background: var(--z-btn-primary-bg); color: var(--z-btn-primary-fg); }
.btn-primary:hover { background: var(--z-action-solid-hover); }
.btn-primary:active { background: var(--z-action-solid-active); }

.btn-service { background: var(--z-btn-service-bg); color: var(--z-on-solid); }
.btn-service:hover { background: var(--z-btn-service-bg-hover); }

.btn-outline { background: var(--z-surface); border-color: var(--z-border); color: var(--z-text); }
.btn-outline:hover { border-color: var(--z-text); }

.btn-tonal { background: var(--z-btn-tonal-bg); color: var(--z-btn-tonal-fg); }
.btn-tonal:hover { background: var(--z-action-100); }
.btn-tonal:active { background: var(--z-action-150); }

.btn-text { background: transparent; color: var(--z-text); padding-left: 16px; padding-right: 16px; }
.btn-text:hover { background: var(--z-bg-sunken); }

.link-btn {
  appearance: none; background: none; border: 0; padding: 0;
  font: inherit; color: var(--z-text); cursor: pointer; text-decoration: underline;
}
.link-btn:hover { text-decoration-thickness: 2px; }

.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--z-radius-sm);
  background: var(--z-selected-bg); color: var(--z-action-700);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--z-bg-raised);
  border-bottom: 1px solid var(--z-border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--z-text); text-decoration: none; }
.brand b { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.brand span { color: var(--z-text-muted); font-size: 14px; letter-spacing: .02em; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- 首屏 ---------- */
.hero { padding: 80px 0 96px; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px; align-items: center;
}
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-bottom: 24px; font-size: 12px; color: var(--z-text-muted); letter-spacing: .14em;
}
.hero h1 {
  font-size: clamp(36px, 4.7vw, 58px); line-height: 1.2; font-weight: 700; letter-spacing: .01em;
}
.hero h1 span { display: inline-block; }
.lede { margin-top: 22px; max-width: 25em; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; color: var(--z-text-muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }

.hero-art {
  border: 1px solid var(--z-border); border-radius: var(--z-radius-lg);
  overflow: hidden; background: var(--z-sky);
}
.kv { width: 100%; height: auto; aspect-ratio: 640 / 480; }
svg.kv g[data-layer] { will-change: transform; }

/* ---------- 三段说明 ---------- */
.feature { padding: 104px 0; border-top: 1px solid var(--z-border); }
.feature-inner {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 72px; align-items: center;
}
.feature-flip .feature-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature-flip .feature-art { order: 2; }
.feature-art {
  position: relative; min-height: 380px; overflow: hidden;
  border: 1px solid var(--z-border); border-radius: var(--z-radius-lg);
}
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 14px; font-weight: 600; color: var(--z-action-700); letter-spacing: .04em;
}
.kicker .mono {
  padding: 1px 7px; border: 1px solid var(--z-border); border-radius: var(--z-radius-sm);
  font-size: 12px; font-weight: 500; color: var(--z-text-muted); letter-spacing: 0;
}
.feature-copy h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.4; font-weight: 700; margin-bottom: 18px; }
.feature-copy h2 span { display: inline-block; }
.feature-copy p, .lede, .waitlist-head p { text-wrap: pretty; }
.feature-copy p:not(.kicker) { color: var(--z-text-muted); max-width: 30em; }
.feature-copy p:not(.kicker) + p { margin-top: 6px; }

/* 主视觉 C：山水拆成图层（爆炸图） */
.explode {
  background-color: var(--z-sky);
  background-image: radial-gradient(circle, var(--z-border-strong) 1px, transparent 1.4px);
  background-size: 16px 16px;
}
.explode-stage {
  --w: min(300px, 60vw);
  --gap: calc(var(--w) * .3);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  perspective: 1800px;
}
.stack {
  position: relative; width: var(--w); aspect-ratio: 300 / 170;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-35deg);
}
.plane {
  --rest-bg: rgba(255, 255, 255, 0);
  position: absolute; inset: 0; overflow: hidden;
  border: 1.5px solid var(--z-stone); border-radius: var(--z-radius);
  background-color: rgba(255, 255, 255, .72);
  /* 以中间为基准上下展开，叠合和展开时都居中 */
  transform: translateZ(calc((var(--i) - 1.5) * var(--gap)));
}
.plane:first-child { --rest-bg: rgba(255, 255, 255, .72); }
.plane-near { border-color: var(--z-action-500); border-width: 2px; }
.plane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ridge-1 { fill: var(--z-layer-1); }
.ridge-2 { fill: var(--z-layer-2); }
.ridge-3 { fill: var(--z-layer-3); }
.ridge-4 { fill: var(--z-layer-4); }
.plane-tag {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 6px;
  border-radius: var(--z-radius-sm); background: var(--z-bg-raised);
  font: 600 12px/1.2 var(--z-font-mono); color: var(--z-text); white-space: nowrap;
}
.plane-near .plane-tag { color: var(--z-action-700); }

@media (prefers-reduced-motion: no-preference) {
  /* armed：JS 确认会播放后才把静止状态换成「叠合」；没有 JS 或减少动态效果时保持展开 */
  .explode.armed .plane { transform: translateZ(calc((var(--i) - 1.5) * 1px)); background-color: var(--rest-bg); }
  .explode.armed .plane-tag { opacity: 0; }
  .explode.armed.playing .plane { animation: explode-plane 6s cubic-bezier(.65, 0, .35, 1) infinite; }
  .explode.armed.playing .plane-tag { animation: explode-tag 6s ease infinite; }
}
@keyframes explode-plane {
  0%, 14% { transform: translateZ(calc((var(--i) - 1.5) * 1px)); background-color: var(--rest-bg); }
  44%, 68% { transform: translateZ(calc((var(--i) - 1.5) * var(--gap))); background-color: rgba(255, 255, 255, .72); }
  96%, 100% { transform: translateZ(calc((var(--i) - 1.5) * 1px)); background-color: var(--rest-bg); }
}
@keyframes explode-tag {
  0%, 32% { opacity: 0; }
  46%, 66% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

/* 互动组件示意 */
.explode { min-height: 440px; }
.widgets {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px;
  padding: 64px 28px 40px; background: var(--z-bg-sunken);
}
.widgets-chip { position: absolute; top: 16px; right: 16px; }
.widget {
  width: 200px; padding: 14px;
  background: var(--z-bg-raised); border: 1px solid var(--z-border); border-radius: var(--z-radius-lg);
}
.widget-name { margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--z-text-muted); }
.carousel-view { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--z-radius-sm); }
.carousel-track { display: flex; width: 400%; height: 100%; }
.slide { flex: 0 0 25%; height: 100%; }
.s1 {
  background:
    radial-gradient(ellipse 70% 46% at 24% 100%, var(--z-layer-4) 98%, transparent 100%),
    radial-gradient(ellipse 90% 62% at 82% 100%, var(--z-layer-2) 98%, transparent 100%),
    var(--z-sky);
}
.s2 {
  background:
    radial-gradient(ellipse 80% 40% at 70% 100%, var(--z-layer-3) 98%, transparent 100%),
    radial-gradient(ellipse 70% 70% at 20% 100%, var(--z-layer-1) 98%, transparent 100%),
    var(--z-sky);
}
.s3 {
  background:
    radial-gradient(ellipse 100% 34% at 50% 100%, var(--z-layer-4) 98%, transparent 100%),
    radial-gradient(ellipse 60% 64% at 60% 100%, var(--z-layer-3) 98%, transparent 100%),
    var(--z-layer-1);
}
.carousel-dots { position: relative; display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--z-border-strong); }
.carousel-dots b {
  position: absolute; top: 0; left: calc(50% - 15px);
  width: 6px; height: 6px; border-radius: 50%; background: var(--z-action-500);
}
.fold-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 10px; border-radius: var(--z-radius-sm);
  background: var(--z-selected-bg); color: var(--z-action-700);
  font-size: 13px; font-weight: 600;
}
.fold-closed { margin-top: 10px; background: var(--z-bg-sunken); color: var(--z-text); }
.fold-icon { font-family: var(--z-font-mono); }
.fold-body { display: grid; gap: 8px; padding: 12px 4px 4px; }
.fold-body i { display: block; height: 7px; border-radius: var(--z-radius-sm); background: var(--z-border); }
@media (prefers-reduced-motion: no-preference) {
  .carousel-track { animation: carousel 9s cubic-bezier(.65, 0, .35, 1) infinite; }
  .carousel-dots b { animation: carousel-dot 9s cubic-bezier(.65, 0, .35, 1) infinite; }
}
@keyframes carousel {
  0%, 26% { transform: translateX(0); }
  33%, 59% { transform: translateX(-25%); }
  66%, 92% { transform: translateX(-50%); }
  100% { transform: translateX(-75%); }
}
@keyframes carousel-dot {
  0%, 26% { transform: translateX(0); }
  33%, 59% { transform: translateX(12px); }
  66%, 92% { transform: translateX(24px); }
  100% { transform: translateX(0); }
}

/* 传到公众号示意 */
.publish {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 40px 24px; background: var(--z-bg-sunken);
}
.pub-card { padding: 16px; background: var(--z-bg-raised); border: 1px solid var(--z-border); border-radius: var(--z-radius-lg); }
.pub-scan { width: 148px; text-align: center; }
.pub-qr { width: 100px; height: 100px; margin: 4px auto 12px; }
.pub-qr-frame { fill: none; stroke: var(--z-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pub-qr-dots { fill: var(--z-border-strong); }
.pub-qr-line { stroke: var(--z-action-500); stroke-width: 1; stroke-linecap: round; }
.demo-tag {
  position: absolute; top: 14px; right: 16px;
  font-size: 12px; line-height: 1.4; color: var(--z-text-muted); letter-spacing: .1em;
}
.pub-scan p { font-size: 13px; color: var(--z-text-muted); }
.pub-arrow { font-size: 22px; color: var(--z-text-muted); }
.pub-account { width: 236px; }
.pub-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pub-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--z-layer-3); }
.pub-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--z-text); white-space: nowrap; }
.pub-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--z-success-dot); }
.pub-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.pub-thumbs i { aspect-ratio: 1; border-radius: var(--z-radius-sm); }
.pub-note {
  margin-top: 12px; padding: 6px 9px; border-radius: var(--z-radius-sm);
  background: var(--z-success-bg); color: var(--z-success-fg); font-size: 12px;
}

/* ---------- 案例 ---------- */
.cases { padding: 96px 0; border-top: 1px solid var(--z-border); }
.cases h2 { text-align: center; font-size: clamp(24px, 2.5vw, 32px); }
.case-block + .case-block { margin-top: 72px; }
.case-block[hidden] { display: none; }
.case-sub { margin: 12px auto 0; max-width: 32em; text-align: center; color: var(--z-text-muted); text-wrap: pretty; }
.case-cta { margin-top: 44px; text-align: center; }
.case-list {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 230px)); justify-content: center; gap: 36px;
}
.case { text-align: center; }
.case-phone {
  aspect-ratio: 9 / 19; overflow: hidden;
  border: 7px solid var(--z-text); border-radius: 30px; background: var(--z-bg-sunken);
}
.case-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case h3 { margin-top: 16px; font-size: 16px; line-height: 1.5; }
.case a { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--z-text-link); text-decoration: none; }
.case a:hover { text-decoration: underline; }

/* ---------- 预约（Task 5 在 .waitlist-inner 里放表单） ---------- */
.waitlist { padding: 96px 0 104px; background: var(--z-bg-sunken); border-top: 1px solid var(--z-border); }
.waitlist-inner { max-width: 640px; }
.waitlist-head { text-align: center; }
.waitlist-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.waitlist-head p { margin-top: 12px; color: var(--z-text-muted); }

/* 预约表单（规范 4.5、4.7） */
.wl-form, .wl-done {
  margin-top: 36px; padding: 32px;
  background: var(--z-bg-raised); border: 1px solid var(--z-border); border-radius: var(--z-radius-lg);
}
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label:not(.consent), .field > legend {
  display: block; padding: 0; margin-bottom: 8px;
  font-size: 15px; font-weight: 600; color: var(--z-text);
}
.opt { margin-left: 4px; font-weight: 400; color: var(--z-text-muted); }
.wl-form input[type="text"] {
  display: block; width: 100%; height: 44px; padding: 0 14px;
  background: var(--z-surface); color: var(--z-text);
  border: 1px solid var(--z-field-border); border-radius: var(--z-radius);
  font: inherit; font-size: 16px; /* 16px keeps iOS from zooming in on focus */
}
.wl-form input[type="text"]:focus { border-color: var(--z-action-500); }
.wl-form input[type="text"][aria-invalid="true"] { border-width: 1.5px; border-color: var(--z-error-fg); padding: 0 13.5px; }
.field-hint { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--z-text-muted); }
.field:has(.field-error:not([hidden])) .field-hint { display: none; } /* 报错文字已经把规则写了一遍 */
.field-error, .form-error { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--z-error-fg); }
.form-error { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--z-radius-sm); background: var(--z-error-bg); }
.form-error::before { content: "× "; font-weight: 700; }

.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.role-opt {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: var(--z-surface); border: 1px solid var(--z-field-border); border-radius: var(--z-radius);
  font-size: 15px; line-height: 1.4; cursor: pointer;
}
.role-opt:hover { border-color: var(--z-text-muted); }
.role-opt input, .consent input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--z-action-500); cursor: pointer; }
.role-opt:has(input:checked) { background: var(--z-selected-bg); border-color: var(--z-action-500); color: var(--z-action-700); font-weight: 600; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; cursor: pointer; }
.consent input { margin-top: 3px; }
.consent:has(input[aria-invalid="true"]) input { outline: 1.5px solid var(--z-error-fg); outline-offset: 1px; }

/* 陷阱字段：离屏而不是 display:none，机器人才会照填；对人和读屏都不可见 */
.wl-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wl-submit { width: 100%; margin-top: 4px; }
.wl-submit:disabled { cursor: progress; opacity: .7; }

/* 成功卡片 */
.wl-done { text-align: center; padding: 36px 32px 32px; }
.wl-done h3 { font-size: 26px; line-height: 1.4; color: var(--z-success-fg); }
.wl-done h3:focus-visible { outline: 2px solid var(--z-focus); outline-offset: 4px; }
.done-lede { margin-top: 10px; color: var(--z-text); }
.done-lede code { margin-left: 4px; font-family: var(--z-font-mono); font-weight: 600; user-select: all; -webkit-user-select: all; }
.done-qr { width: 172px; margin: 22px auto 0; padding: 5px; border: 1px solid var(--z-border); border-radius: var(--z-radius); }
.done-qr img { width: 160px; height: 160px; }
.wl-done .btn-tonal { margin-top: 20px; min-width: 200px; }
.done-note { margin-top: 12px; font-size: 13px; color: var(--z-text-muted); }

/* ---------- 页脚 ---------- */
.footer { padding: 28px 0 32px; border-top: 1px solid var(--z-border); font-size: 13px; color: var(--z-text-muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.seal {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: var(--z-radius-sm); background: var(--z-seal); color: var(--z-on-solid);
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-links a { color: var(--z-text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--z-text); text-decoration: underline; }

/* ---------- 咨询弹窗（找归零） ---------- */
.consult {
  width: min(360px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--z-radius-lg); overflow: auto;
  background: var(--z-bg-raised); color: var(--z-text);
}
.consult:not([open]) { display: none; }
.consult::backdrop { background: var(--z-scrim); }
/* 不支持 HTMLDialogElement 时的退路：固定定位 + 单独的遮罩 */
.consult.open { display: block; position: fixed; z-index: 101; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.consult-scrim { position: fixed; inset: 0; z-index: 100; background: var(--z-scrim); }
.consult-card { position: relative; padding: 32px 24px 24px; text-align: center; }
.consult-close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border: 0; border-radius: var(--z-radius-sm); background: transparent;
  color: var(--z-text-muted); font: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
.consult-close:hover { background: var(--z-bg-sunken); color: var(--z-text); }
.consult h2 { font-size: 20px; line-height: 1.4; }
.consult-lede { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--z-text-muted); }
.consult-qr {
  width: 172px; margin: 20px auto 0; padding: 5px;
  border: 1px solid var(--z-border); border-radius: var(--z-radius);
}
.consult-qr img { width: 160px; height: 160px; }
.consult-id { margin-top: 18px; font-size: 14px; color: var(--z-text-muted); }
.consult-id code {
  margin-left: 8px; font-family: var(--z-font-mono); font-size: 18px; font-weight: 600;
  color: var(--z-text); user-select: all; -webkit-user-select: all;
}
.consult .btn-tonal { width: 100%; margin-top: 14px; }
.consult-note { margin-top: 12px; font-size: 13px; color: var(--z-text-muted); }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature { padding: 64px 0; }
  .feature-inner, .feature-flip .feature-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-flip .feature-art { order: 0; }
  .feature-art { min-height: 320px; }
  .explode { min-height: 420px; }
  .cases, .waitlist { padding: 64px 0 72px; }
  .case-block + .case-block { margin-top: 56px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-inner { height: 56px; }
  .brand span { font-size: 13px; }
  .topbar-actions { gap: 6px; }
  .btn-sm { padding: 0 12px; }
  .hero-cta .btn-primary { flex: 1 1 auto; }
  .feature-art { min-height: 280px; }
  .explode { min-height: 340px; }
  .widgets { gap: 14px; padding: 56px 14px 28px; }
  .widget { width: calc(50% - 7px); min-width: 0; padding: 10px; }
  .publish { flex-direction: column; gap: 10px; padding: 28px 16px; }
  .pub-arrow { transform: rotate(90deg); }
  .pub-scan { width: 100%; max-width: 236px; display: flex; align-items: center; gap: 14px; text-align: left; }
  .pub-qr { width: 64px; height: 64px; margin: 0; flex: none; }
  .pub-account { width: 100%; max-width: 236px; }
  .wl-form, .wl-done { margin-top: 28px; padding: 22px 18px; }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
  .wl-done .btn-tonal { width: 100%; }
}
