/* Scanetto. Three colours: background, text, accent. One typeface. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FAFAF8; --fg: #111111; --ac: #1A56F0;
  --line: rgba(17,17,17,.09); --line2: rgba(17,17,17,.18); --mute: rgba(17,17,17,.56);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 2px; --gutter: 20px; --bar: 76px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: var(--r); }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; margin: 0; }
[contenteditable]:focus { outline: none; }
[contenteditable][data-ph]:empty::before { content: attr(data-ph); color: var(--mute); }
.hidden { display: none !important; }
.mute { color: var(--mute); }

/* ---------- site chrome ---------- */
.top { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); max-width: 1040px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 18px; height: 18px; }
.top nav { display: flex; align-items: center; gap: 20px; }
.top nav a, .top nav button { text-decoration: none; font-size: 15px; color: var(--mute); }
.top nav a:hover, .top nav button:hover, .top nav a.on { color: var(--fg); }
.foot { max-width: 1040px; margin: 0 auto; padding: 28px var(--gutter) 40px; font-size: 13px; color: var(--mute); display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.foot a { text-decoration: none; margin-right: 16px; }
.foot a:hover { color: var(--fg); }

.wrap { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 56px; }
.wrap.wide { max-width: 1040px; }
.wrap h1 { font-size: 34px; line-height: 1.08; letter-spacing: -.03em; }
.wrap h2 { font-size: 20px; margin: 32px 0 10px; }
.wrap p { margin: 10px 0; }
.lead { font-size: 17px; color: var(--mute); margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 18px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: var(--r); white-space: nowrap; }
.btn.ac { background: var(--ac); }
.btn.line { background: none; color: var(--fg); border: 1px solid var(--line2); font-weight: 500; }
.btn.sm { height: 36px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.btn:hover { opacity: .88; }
.btn.line:hover { opacity: 1; border-color: var(--fg); }
.field { display: block; width: 100%; height: 48px; font: inherit; color: var(--fg); background: transparent; border: 1px solid var(--line2); border-radius: var(--r); padding: 0 14px; outline: none; }
.field:focus { border-color: var(--fg); }
.form { display: grid; gap: 12px; max-width: 420px; margin-top: 22px; }
.notice { border: 1px solid var(--line2); border-radius: var(--r); padding: 12px 14px; margin: 16px 0; font-size: 15px; }
.notice.ac { border-color: var(--ac); }
.tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--line2); border-radius: 1px; white-space: nowrap; }
.tag.live { background: var(--ac); border-color: var(--ac); color: var(--bg); }
.tag.off { background: var(--fg); border-color: var(--fg); color: var(--bg); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 500; color: var(--mute); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line2); white-space: nowrap; }
table.t td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; }
table.t a { text-decoration: none; border-bottom: 1px solid var(--line2); }
table.t a:hover { border-color: var(--fg); }
.scroll { overflow-x: auto; }
.pager { margin-top: 18px; font-size: 14px; display: flex; gap: 14px; }
.pager a { text-decoration: none; border-bottom: 1px solid var(--line2); }

/* dashboard */
.cards { display: grid; gap: 12px; margin-top: 22px; }
.card { border: 1px solid var(--line2); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.card .q { width: 72px; height: 72px; }
.card h3 { font-size: 20px; line-height: 1.15; }
.card .addr { font-size: 14px; color: var(--mute); margin-top: 2px; word-break: break-all; }
.card .meta { font-size: 14px; color: var(--mute); margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.card .acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.card .acts form { display: inline; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 160px; margin-top: 20px; border-bottom: 1px solid var(--line2); }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-width: 2px; }
.bars i { display: block; background: var(--ac); }
.bars b { display: block; background: var(--fg); }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--mute); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.stats3 div { border: 1px solid var(--line2); border-radius: var(--r); padding: 14px; }
.stats3 b { display: block; font-size: 28px; letter-spacing: -.02em; font-weight: 600; }
.stats3 span { font-size: 13px; color: var(--mute); }
.plans { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.plan { border: 1px solid var(--line2); border-radius: var(--r); padding: 20px; }
.plan.on { border-color: var(--ac); }
.plan h3 { font-size: 20px; }
.plan .price { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-top: 6px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; font-size: 15px; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); }
.plan .two { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; } }

/* ---------- builder ---------- */
body.builder { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
.intro { max-width: 680px; margin: 10px auto 0; padding: 0 var(--gutter); }
.intro h1 { font-size: 34px; line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.intro p { margin: 10px 0 0; font-size: 16px; color: var(--mute); }
.intro p b { color: var(--fg); font-weight: 500; }
.from { max-width: 680px; margin: 22px auto 0; padding: 0 var(--gutter); }
.from .lab { font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.from .row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 4px; margin: 0 calc(-1 * var(--gutter)); }
.from .row::-webkit-scrollbar { display: none; }
.ex { flex: none; width: 84px; text-align: left; }
.ex .thumb { height: 104px; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 8px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.ex.on .thumb { border-color: var(--fg); }
.ex .thumb b { font-size: 9.5px; font-weight: 600; line-height: 1.15; }
.ex .thumb i { display: block; height: 2px; background: var(--fg); opacity: .18; }
.ex .thumb i.s { width: 60%; }
.ex .thumb u { display: block; height: 11px; border: 1px solid var(--ac); border-radius: 1px; margin-top: 2px; }
.ex .thumb em { display: block; flex: 1; min-height: 16px; border: 1px dashed var(--fg); opacity: .25; }
.ex .nm { font-size: 12px; color: var(--mute); margin-top: 6px; }
.ex.on .nm { color: var(--fg); }

.canvas { max-width: 680px; margin: 18px auto 0; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.strip-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; padding: 6px var(--gutter); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.strip-top b { color: var(--fg); font-weight: 500; }
.strip-top .dot { display: inline-block; width: 8px; height: 8px; background: var(--ac); border-radius: 50%; margin-right: 8px; }
.strip-top .dot.off { background: var(--fg); }

.page { padding: 8px 0 40px; --pbg: #FAFAF8; --pfg: #111111; --pac: #1A56F0; --pline: rgba(127,127,127,.28); background: var(--pbg); color: var(--pfg); }
.page.dark { --pbg: #141414; --pfg: #FAFAF8; }
.blk { position: relative; padding: 0 var(--gutter); }
.blk + .blk, .ins + .blk, .strip + .blk { margin-top: 20px; }
.edit .blk > .in { outline: 1px dashed rgba(127,127,127,.45); outline-offset: 8px; border-radius: 1px; }
.edit .blk.sel > .in { outline: 1px solid var(--pac); }
.edit .blk.sel > .in::after { content: "Editing"; position: absolute; right: -8px; top: -26px; font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; background: var(--pac); color: var(--pbg); padding: 3px 7px; border-radius: 1px; }
.in { position: relative; }

.ins { position: relative; height: 24px; margin: 2px var(--gutter) 0; display: flex; align-items: center; justify-content: flex-end; }
.ins::before { content: ""; flex: 1; border-top: 1px solid transparent; }
.ins:hover::before, .ins.open::before { border-top-color: var(--pline); }
.ins .plus { width: 44px; height: 24px; font-size: 18px; line-height: 1; color: var(--pfg); text-align: right; flex: none; opacity: .5; }
.ins.open .plus { opacity: 1; }
.ins.end { height: 52px; margin-top: 18px; }
.ins.end .plus { width: auto; padding: 0 14px 0 10px; font-size: 15px; opacity: 1; border: 1px solid var(--pline); height: 40px; display: flex; align-items: center; gap: 8px; }
.ins.end .plus b { font-weight: 400; font-size: 20px; }
@media (hover: hover) {
  .ins:not(.end):not(.open) .plus { opacity: 0; transition: opacity .12s; }
  .ins:hover .plus { opacity: 1 !important; }
}
.strip { margin: 0 var(--gutter) 6px; border: 1px solid var(--pline); border-radius: var(--r); padding: 12px; }
.strip .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strip .grid.more { margin-top: 10px; }
.strip .morebtn { margin-top: 12px; font-size: 14px; color: var(--pac); font-weight: 500; height: 32px; }
.mini { border: 1px solid var(--pline); border-radius: var(--r); text-align: left; padding: 0; min-height: 88px; display: flex; flex-direction: column; color: var(--pfg); }
.mini:hover, .mini:active { border-color: var(--pfg); }
.mini .pic { flex: 1; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 4px; pointer-events: none; font-size: 10px; }
.mini .nm { font-size: 13px; padding: 6px 10px 8px; }
.mini .t1 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.mini .ln { height: 2px; background: currentColor; opacity: .2; }
.mini .ln.s { width: 60%; }
.mini .bt { border: 1px solid var(--pac); color: var(--pac); font-size: 10px; font-weight: 500; padding: 5px 7px; border-radius: 1px; }
.mini .im { flex: 1; border: 1px dashed currentColor; opacity: .35; min-height: 30px; }
.mini .ga { display: flex; gap: 3px; flex: 1; } .mini .ga div { flex: 1; border: 1px dashed currentColor; opacity: .35; }
.mini .au { display: flex; align-items: center; gap: 6px; border: 1px solid var(--pline); padding: 6px 7px; } .mini .au i { width: 0; height: 0; border-left: 7px solid var(--pac); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; } .mini .au .b { flex: 1; height: 1px; background: currentColor; opacity: .3; }
.mini .vi { flex: 1; background: var(--pfg); display: flex; align-items: center; justify-content: center; min-height: 30px; } .mini .vi i { width: 0; height: 0; border-left: 10px solid var(--pbg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mini .mp { flex: 1; min-height: 30px; border: 1px solid var(--pline); position: relative; } .mini .mp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; background: var(--pac); }
.mini .fi { border: 1px solid var(--pac); color: var(--pac); padding: 5px 7px; display: flex; justify-content: space-between; font-weight: 500; } .mini .fi b { font-weight: 400; opacity: .7; }
.mini .hr { height: 1px; background: currentColor; opacity: .25; }
.mini .r2 { display: flex; gap: 3px; } .mini .r2 .bt { flex: 1; text-align: center; }
.mini .wf { border: 1px solid var(--pline); padding: 5px 7px; line-height: 1.4; }

.tools { display: none; gap: 2px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.blk.sel .tools { display: flex; }
.tools button { height: 40px; min-width: 44px; padding: 0 10px; font-size: 14px; color: var(--pfg); border: 1px solid var(--pline); white-space: nowrap; flex: none; }
.tools button:hover { border-color: var(--pfg); }
.tools .sp { flex: 1; }

/* ---------- blocks: shared by the builder and the public page ---------- */
.b-title { font-size: 44px; line-height: 1.02; letter-spacing: -.03em; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.b-cover { position: relative; margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4/3; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.b-cover h1 { margin: 0; font-size: 40px; line-height: 1.02; letter-spacing: -.03em; font-weight: 600; background: var(--pbg); color: var(--pfg); padding: 12px var(--gutter) 10px; max-width: 86%; overflow-wrap: anywhere; }
.b-cover .change { position: absolute; top: 12px; right: 12px; font-size: 13px; background: var(--pbg); color: var(--pfg); padding: 8px 12px; display: none; }
.blk.sel .b-cover .change { display: block; }
.b-sub { font-size: 20px; line-height: 1.3; margin: 0; opacity: .7; overflow-wrap: anywhere; }
.b-text { margin: 0; white-space: pre-wrap; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.b-btn { display: block; border: 1px solid var(--pac); color: var(--pac); padding: 13px 16px; font-weight: 500; font-size: 16px; border-radius: var(--r); min-height: 48px; text-decoration: none; overflow-wrap: anywhere; }
.b-btn.fill { background: var(--pac); color: var(--pbg); }
.page.dark .b-btn.fill, .page.dark .b-aud .play::after { color: #141414; }
.url { display: none; width: 100%; margin-top: 8px; font: 14px var(--font); color: var(--pfg); background: transparent; border: 0; border-bottom: 1px solid var(--pline); padding: 8px 0; outline: none; border-radius: 0; }
.blk.sel .url, .url.keep { display: block; }
.url:focus { border-bottom-color: var(--pac); }
.url::placeholder { color: var(--pfg); opacity: .45; }
.b-img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.edit .b-img, .edit .ph, .edit .b-file { cursor: pointer; }
.ph { border: 1px dashed var(--pfg); opacity: .55; display: flex; align-items: center; justify-content: center; font-size: 15px; min-height: 180px; text-align: center; padding: 16px; border-radius: var(--r); }
.cap { font-size: 14px; opacity: .6; margin-top: 8px; }
.b-gal { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
.b-gal::-webkit-scrollbar { display: none; }
.b-gal img { height: 200px; width: auto; flex: none; border-radius: var(--r); }
.b-gal .ph { min-height: 180px; width: 100%; flex: none; }
.b-gal .moreimg { flex: none; width: 64px; height: 200px; border: 1px dashed var(--pfg); opacity: .5; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; border-radius: var(--r); }
.b-aud { border: 1px solid var(--pline); border-radius: var(--r); padding: 14px 16px; }
.b-aud .row1 { display: flex; align-items: center; gap: 12px; }
.b-aud .play { width: 40px; height: 40px; border-radius: 50%; background: var(--pac); flex: none; position: relative; cursor: pointer; border: 0; }
.b-aud .play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid var(--pbg); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.b-aud .play.on::after { left: 13px; top: 13px; width: 4px; height: 14px; border: 0; border-left: 5px solid var(--pbg); border-right: 5px solid var(--pbg); }
.b-aud .nm { flex: 1; font-weight: 500; overflow-wrap: anywhere; }
.b-aud .dur { font-size: 14px; opacity: .6; font-variant-numeric: tabular-nums; }
.b-aud .prog { height: 3px; background: var(--pline); margin-top: 12px; cursor: pointer; }
.b-aud .prog i { display: block; height: 100%; width: 0; background: var(--pac); }
.b-aud .choose { font-size: 14px; opacity: .6; cursor: pointer; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.b-vid iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; border-radius: var(--r); }
.b-map iframe { width: 100%; height: 240px; border: 0; display: block; border-radius: var(--r); filter: grayscale(1); }
.b-map a { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--pac); }
.b-file { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--pac); color: var(--pac); padding: 13px 16px; font-weight: 500; border-radius: var(--r); min-height: 48px; text-decoration: none; overflow-wrap: anywhere; }
.b-file b { font-weight: 400; opacity: .7; font-size: 14px; flex: none; }
.b-hr { height: 1px; background: var(--pfg); opacity: .15; margin: 8px 0; }
.b-contact { display: flex; gap: 8px; }
.b-contact > * { flex: 1; border: 1px solid var(--pac); color: var(--pac); padding: 12px 8px; text-align: center; font-weight: 500; border-radius: var(--r); min-height: 48px; text-decoration: none; }
.b-wifi { border: 1px solid var(--pline); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: center; font-size: 16px; }
.b-wifi span.k { opacity: .6; font-size: 14px; }
.b-wifi .v { font-weight: 500; overflow-wrap: anywhere; min-width: 40px; }
.b-wifi button { grid-row: 1 / span 2; grid-column: 3; height: 40px; padding: 0 14px; border: 1px solid var(--pac); color: var(--pac); font-size: 14px; font-weight: 500; }
.pfoot { padding: 32px var(--gutter) 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pfoot a { color: var(--pfg); opacity: .55; text-decoration: none; }
.pfoot a.on, .pfoot a:hover { opacity: 1; }
.pfoot .langs a { margin-right: 12px; }

/* look and languages, under the page */
.look { max-width: 680px; margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; gap: 14px 18px; font-size: 14px; color: var(--mute); flex-wrap: wrap; }
.look .seg { display: flex; border: 1px solid var(--line); border-radius: var(--r); }
.look .seg button { height: 36px; padding: 0 14px; font-size: 14px; color: var(--mute); }
.look .seg button.on { color: var(--fg); background: rgba(17,17,17,.06); }
.look .dots { display: flex; gap: 8px; }
.look .dots button { width: 28px; height: 28px; border: 1px solid transparent; padding: 4px; border-radius: 50%; }
.look .dots button span { display: block; width: 100%; height: 100%; border-radius: 50%; }
.look .dots button.on { border-color: var(--fg); }
.look .chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.look .chips button, .look .chips select { height: 36px; padding: 0 12px; font: 14px var(--font); border: 1px solid var(--line); border-radius: var(--r); color: var(--mute); background: var(--bg); }
.look .chips button.on { border-color: var(--fg); color: var(--fg); }
.look .w { flex-basis: 100%; height: 0; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); z-index: 20; }
.bar .inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.bar small { display: none; color: var(--mute); font-size: 14px; flex: 1; }
.cta { flex: 1; height: 52px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.cta svg { width: 18px; height: 18px; }
.cta:active { opacity: .85; }

.sheet { position: fixed; inset: 0; z-index: 30; background: var(--bg); overflow-y: auto; transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
body.open .sheet { transform: none; visibility: visible; }
body.open { overflow: hidden; }
.sheet .inner { max-width: 520px; margin: 0 auto; padding: 16px var(--gutter) 48px; }
.sheet .head { display: flex; justify-content: space-between; align-items: center; min-height: 40px; margin-bottom: 18px; gap: 12px; font-size: 14px; color: var(--mute); }
.sheet .head button { height: 40px; font-size: 15px; color: var(--fg); font-weight: 500; }
.sign { border: 1px solid var(--line2); border-radius: var(--r); padding: 32px 20px 20px; text-align: center; }
.sign .qr { width: 232px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; position: relative; overflow: hidden; }
.sign .qr img { width: 100%; height: 100%; display: block; }
.sign .qr .veil { position: absolute; inset: 0; background: var(--bg); transform-origin: bottom; }
body.open .sign .qr .veil { animation: reveal .7s steps(12) forwards; }
@keyframes reveal { to { transform: scaleY(0); } }
.sign h2 { font-size: 28px; line-height: 1.1; margin: 22px 0 0; overflow-wrap: anywhere; }
.sign .line { font-size: 15px; margin-top: 8px; color: var(--mute); }
.sign .addr { margin-top: 20px; font-size: 14px; color: var(--mute); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.sign .addr input { font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px dashed var(--line2); padding: 2px 0; outline: none; width: 14ch; min-width: 6ch; border-radius: 0; }
.sign .addr input:focus { border-bottom: 1px solid var(--ac); }
.sign .addr input[readonly] { border-bottom-color: transparent; color: var(--mute); }
.sheet .msg { font-size: 14px; margin-top: 10px; min-height: 0; }
.sheet .msg.err { color: var(--fg); border-left: 3px solid var(--fg); padding-left: 10px; }
.pub { margin-top: 16px; height: 52px; width: 100%; background: var(--ac); color: var(--bg); font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.pub small { font-weight: 400; font-size: 14px; opacity: .85; }
.pub[disabled] { opacity: .6; }
.live { margin-top: 18px; }
.live .st { font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.live .st i { width: 10px; height: 10px; background: var(--ac); border-radius: 50%; }
.live p { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.live p a { color: var(--ac); }
.live form { display: flex; gap: 8px; margin-top: 12px; }
.live form .field { flex: 1; min-width: 0; }
.dl { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dl a { height: 40px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line2); font-size: 14px; text-decoration: none; border-radius: var(--r); }
.dl a:hover { border-color: var(--fg); }
.dl span { font-size: 14px; color: var(--mute); margin-right: 4px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 16px); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 16px; font-size: 14px; border-radius: var(--r); z-index: 40; max-width: calc(100vw - 32px); }

/* ---------- public page ---------- */
body.public { background: var(--pbg); }
body.public .page { max-width: 680px; margin: 0 auto; padding: 28px 0 48px; min-height: 100vh; }
body.public .page.cover-first { padding-top: 0; }
body.public .blk + .blk { margin-top: 24px; }
.banner { background: #111; color: #FAFAF8; font-size: 13px; padding: 8px 16px; text-align: center; }
.gone { max-width: 520px; margin: 0 auto; padding: 18vh var(--gutter) 40px; }
.gone h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; }
.gone p { color: var(--mute); margin-top: 12px; }

@media (min-width: 760px) {
  :root { --gutter: 24px; }
  .top { height: 64px; }
  body.builder { padding-bottom: 0; }
  .layout { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 680px) 1fr; gap: 0 40px; align-items: start; }
  .layout .side { position: sticky; top: 24px; padding-top: 28px; padding-right: var(--gutter); }
  .intro { margin-top: 28px; }
  .intro h1 { font-size: 44px; }
  .canvas { margin-top: 22px; }
  .bar { position: static; padding: 0; border: 0; background: none; }
  .bar .inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .bar small { display: block; }
  .cta { width: 100%; flex: none; }
  .b-title { font-size: 56px; }
  .b-cover { margin: 0; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; }
  body.public .b-cover { margin: 0 var(--gutter); }
  .strip .grid { grid-template-columns: repeat(5, 1fr); }
  .sheet { background: rgba(17,17,17,.4); transition: opacity .2s; opacity: 0; transform: none; }
  body.open .sheet { opacity: 1; }
  .sheet .inner { background: var(--bg); margin: 40px auto; border-radius: var(--r); padding: 16px 28px 32px; }
  .toast { bottom: 24px; }
  .card { grid-template-columns: 96px 1fr auto; }
  .card .q { width: 96px; height: 96px; }
  .card .acts { grid-column: auto; justify-content: flex-end; max-width: 300px; }
  .wrap h1 { font-size: 44px; }
}

/* ---------- after the first customer tests ---------- */
.toolbar { position: fixed; left: 0; right: 0; bottom: calc(var(--bar) + env(safe-area-inset-bottom)); z-index: 19; background: var(--bg); border-top: 1px solid var(--line); padding: 8px var(--gutter); display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.toolbar::-webkit-scrollbar { display: none; }
.toolbar .what { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--mute); margin-right: 6px; flex: none; }
.toolbar button { height: 40px; min-width: 44px; padding: 0 12px; font-size: 14px; border: 1px solid var(--line2); white-space: nowrap; flex: none; }
.toolbar button:hover { border-color: var(--fg); }
body.builder { padding-bottom: calc(var(--bar) + 64px + env(safe-area-inset-bottom)); }
.ins { height: 32px; }
.ins .plus { height: 32px; font-size: 20px; }
.toast { display: flex; align-items: center; gap: 14px; }
.toast button { color: var(--bg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ptop { padding: 0 var(--gutter) 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.ptop a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--pline); border-radius: var(--r); color: var(--pfg); text-decoration: none; opacity: .7; }
.ptop a.on { border-color: var(--pfg); opacity: 1; font-weight: 500; }
.plan .price small { display: block; margin-top: 2px; }
.bars-empty { color: var(--mute); font-size: 15px; padding: 28px 0; border-bottom: 1px solid var(--line2); margin-top: 20px; }
@media (min-width: 760px) {
  .toolbar { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); border: 1px solid var(--line2); border-radius: var(--r); max-width: calc(100vw - 48px); box-shadow: none; }
  body.builder { padding-bottom: 96px; }
}
