/* Tabbleconect · creme, grafite e tomate */
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20C0, U+2113; }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("instrument-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink: #16130f;
  --muted: #6f675d;
  --line: #ebe4d8;
  --line-strong: #d9cfbf;
  --tomato: #ff4d2e;
  --tomato-dark: #d9341a;
  --tomato-tint: #ffe8e2;
  --basil: #17855a;
  --basil-tint: #e1f4ea;
  --butter: #ffd166;
  --butter-tint: #fff4d4;
  --bad: #c2261a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 19, 15, 0.05), 0 10px 30px -18px rgba(22, 19, 15, 0.35);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 14px; }
h2 > .ic { color: var(--tomato); }
a { color: var(--tomato-dark); }
code { font: 13px ui-monospace, Consolas, monospace; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 13px; margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid rgba(255, 77, 46, 0.45); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.logo-word b { color: var(--tomato); font-weight: 700; }

/* botões e formulários */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2b2620; }
.btn.go { background: var(--basil); border-color: var(--basil); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(22, 19, 15, 0.05); }
.btn.danger { color: var(--bad); }
.btn.ghost.danger:hover { background: #fde4e1; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn.icon-only { width: 34px; padding: 0; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form > .btn { align-self: flex-start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; }
.form small { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
textarea { resize: vertical; min-height: 70px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(255, 77, 46, 0.14); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--basil); flex: none; }
input[type="file"] { padding: 8px; font-size: 13px; }
.color-in { height: 46px; padding: 4px; cursor: pointer; }
.mf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.inline-form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.inline-form > input { flex: 1 1 200px; }
.inline-form > label { flex: 0 1 150px; }
.check-row { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.check-row span { display: flex; flex-direction: column; gap: 2px; }
.check-row small { color: var(--muted); font-weight: 400; }
.check-row.mini { margin-top: 6px; padding: 6px 10px; font-weight: 500; }
.recv { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; }
.recv legend { padding: 0 6px; font-size: 13px; font-weight: 700; }
.slug-box { display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; }
.slug-box span { padding: 0 2px 0 12px; color: var(--muted); font: 600 13px ui-monospace, Consolas, monospace; white-space: nowrap; }
.slug-box input { border: 0; border-radius: 0; padding-left: 2px; box-shadow: none !important; font-family: ui-monospace, Consolas, monospace; }
.msg { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; font-weight: 600; font-size: 14px; }
.form .msg { margin: 0; }
.msg.error { background: #fde4e1; color: var(--bad); }
.msg.ok { background: var(--basil-tint); color: #0f6040; }
.msg.warn { background: var(--butter-tint); color: #7a5200; }
.msg.info { background: var(--tomato-tint); color: var(--tomato-dark); }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row code { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; background: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-ok { background: var(--basil-tint); color: #0f6040; }
.pill-warn { background: var(--butter-tint); color: #7a5200; }
.pill-off { background: #ece7df; color: var(--muted); }

/* estrutura do painel */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: rgba(251, 247, 241, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tb-brand { text-decoration: none; }
.tb-user { display: flex; align-items: center; gap: 4px; }
.tb-user form { margin: 0; }
.tb-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.tb-link:hover, .tb-link.on { background: rgba(22, 19, 15, 0.06); }
.app .wrap { padding-top: 22px; padding-bottom: 60px; }
.page-head { margin-bottom: 20px; }
.page-head p { margin-top: 4px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card + .card, .card.narrow { margin-top: 16px; }
.card.narrow { max-width: 620px; }
.card-focus { border-color: #f3c9bf; }
.card.empty { text-align: center; padding: 34px 20px; }
.card.empty h2 { justify-content: center; margin: 10px 0 4px; }
.h-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--tomato-tint); color: var(--tomato-dark); }
.h-ic .ic { width: 16px; height: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.split.solo { grid-template-columns: minmax(0, 760px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack > .card + .card { margin-top: 0; }
.logins { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.logins li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.logins form { margin: 0; }

/* cabeçalho do restaurante */
.store-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sh-name { display: flex; align-items: center; gap: 14px; }
.sh-dot { width: 46px; height: 46px; border-radius: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.sh-back { display: inline-block; margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.sh-back::before { content: "‹ "; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 650; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-color: var(--tomato); }

/* lista de restaurantes */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; margin-bottom: 6px; }
.store-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.sc-main { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.sc-dot { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: #fff; font-weight: 800; font-size: 17px; flex: none; }
.sc-txt { display: flex; flex-direction: column; min-width: 0; }
.sc-txt b { font-size: 17px; }
.sc-txt small { color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.sc-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.sc-nums div { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.sc-nums dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.sc-nums dd { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* tela de pedidos (balcão) */
.tv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.tv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tv-actions form { margin: 0; }
.tv-open { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.tv-open i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.tv-open.is-open { background: var(--basil-tint); color: #0f6040; }
.tv-open.is-open i { animation: blink 1.6s ease-in-out infinite; }
.tv-open.is-closed { background: #fde4e1; color: var(--bad); }
.tv-sound.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@keyframes blink { 50% { opacity: 0.3; } }
.tv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; transition: opacity 0.3s; }
.tv.offline { opacity: 0.55; }
.tv.offline::before { content: "Sem conexão. Tentando de novo…"; grid-column: 1 / -1; padding: 10px 14px; border-radius: 12px; background: var(--butter-tint); color: #7a5200; font-weight: 600; }
.tv-col { min-width: 0; padding: 12px; border-radius: 20px; background: #f1ebe1; }
.tv-col h2 { margin: 2px 4px 12px; font-size: 15px; }
.tv-col h2 b { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: #fff; font-size: 13px; }
.tv-col h2 small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.tv-dot { width: 10px; height: 10px; border-radius: 50%; }
.tv-new .tv-dot { background: var(--tomato); }
.tv-prep .tv-dot { background: #e8a10c; }
.tv-done .tv-dot { background: var(--basil); }
.tv-col > div { display: flex; flex-direction: column; gap: 10px; }
.tv-empty { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.tv-card { padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border-left: 5px solid var(--line-strong); }
.tv-card.s-novo { border-left-color: var(--tomato); }
.tv-card.s-preparo { border-left-color: #e8a10c; }
.tv-card.s-entregue { border-left-color: var(--basil); opacity: 0.75; }
.tv-card.s-cancelado { opacity: 0.5; }
.tv-card.fresh { animation: fresh 1.2s ease-out 2; }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.7); } 100% { box-shadow: 0 0 0 18px rgba(255, 77, 46, 0); } }
.tv-card header { display: flex; gap: 12px; align-items: center; }
.tv-mesa { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; height: 64px; padding: 0 8px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 28px; font-weight: 800; line-height: 1; }
.tv-mesa small { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 3px; }
.tv-meta { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.tv-meta b { color: var(--ink); font-size: 15px; }
.tv-who { color: var(--ink); font-weight: 600; }
.tv-card ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tv-card li { display: flex; gap: 8px; font-size: 16px; line-height: 1.3; }
.tv-card li b { min-width: 30px; }
.tv-card li span { display: flex; flex-direction: column; }
.tv-card li em { font-style: normal; color: var(--tomato-dark); font-weight: 650; }
.tv-card li small { color: #9a5b00; font-weight: 600; font-size: 13.5px; }
.tv-note { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--butter-tint); color: #7a5200; font-size: 14px; font-weight: 600; }
.tv-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.tv-total { margin-right: auto; font-weight: 800; font-size: 16px; }
.tv-status { color: var(--muted); font-weight: 600; font-size: 13px; }
.tv-cancel { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.tv-foot { margin-top: 18px; }

/* editor do cardápio */
.menu-cat { margin-bottom: 16px; }
.mc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.mc-head form { margin: 0; }
.mc-rename { flex: 1 1 220px; }
.mc-rename input { border-color: transparent; background: transparent; font-size: 19px; font-weight: 700; padding-left: 6px; }
.mc-rename input:hover, .mc-rename input:focus { border-color: var(--line-strong); background: #fff; }
.mc-count { margin: 0 6px 0 0; }
.mc-move, .mi-actions form { display: inline-flex; gap: 4px; margin: 0; }
.menu-items { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.mi.off { background: #faf7f2; }
.mi.off .mi-txt b { color: var(--muted); text-decoration: line-through; }
.mi-ph { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #f3eee6 center/cover no-repeat; color: #b2a898; }
.mi-txt { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; }
.mi-txt small { color: var(--muted); }
.mi-avail { margin: 0; }
.mi-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mi .menu-form { flex: 1 1 100%; }
.switch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.switch i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d6cfc4; transition: background 0.2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch.on { color: #0f6040; }
.switch.on i { background: var(--basil); }
.switch.on i::after { transform: translateX(14px); }
.mi-new > summary { list-style: none; display: inline-flex; cursor: pointer; }
.mi-new > summary::-webkit-details-marker { display: none; }
.mi-new[open] > summary { margin-bottom: 12px; }
.menu-form { padding: 14px; border-radius: 14px; background: #faf6ef; border: 1px dashed var(--line-strong); }

/* mesas e QR */
.tables-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.tables-intro h2 { margin-bottom: 4px; }
.tables-intro > div { flex: 1 1 320px; }
.qr-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 16px 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; break-inside: avoid; page-break-inside: avoid; }
.qr-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; }
.qr-store { font-weight: 700; font-size: 14px; text-align: left; line-height: 1.2; }
.qr-n { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 10px; border-radius: 14px; background: var(--c); color: var(--c-ink); font-size: 26px; font-weight: 800; line-height: 1; }
.qr-n small { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: 0.85; margin-bottom: 2px; }
.qr-code { width: 100%; max-width: 190px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 3px var(--c); }
.qr-code svg { display: block; width: 100%; height: auto; }
.qr-cta { font-weight: 700; font-size: 15px; line-height: 1.25; }
.qr-cta .ic { width: 16px; height: 16px; vertical-align: -3px; color: var(--tomato); }
.qr-sub { color: var(--muted); font-size: 12.5px; }
.qr-card footer .logo-mark { width: 22px; height: 22px; }
.qr-card footer .logo-word { font-size: 13px; }
.nfc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nfc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg); }
.nfc-list b { min-width: 64px; }
.nfc-list code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tables-intro + .qr-sheet { margin-bottom: 18px; }
@media print {
  .no-print, .topbar, .store-head, .tabs, .msg { display: none !important; }
  body, .app .wrap { background: #fff; padding: 0; max-width: none; }
  .qr-sheet { grid-template-columns: repeat(3, 1fr); gap: 6mm; }
  .qr-card { box-shadow: none; border: 1px dashed #bbb; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* login e avisos */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(600px 400px at 100% 0%, rgba(255, 77, 46, 0.12), transparent 70%), var(--bg); }
.auth-box { width: 100%; max-width: 420px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-logo { display: inline-block; margin-bottom: 22px; text-decoration: none; }
.auth-box h1 { margin-bottom: 4px; }
.auth-box .form { margin-top: 20px; }
.auth-box .btn.big { width: 100%; }
.notice { text-align: center; }
.notice-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; background: var(--tomato-tint); color: var(--tomato); }
.notice-ic .ic { width: 28px; height: 28px; }
.notice p { margin-top: 6px; }

/* página de apresentação */
.home { background: var(--bg); }
.h-top { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.h-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 60px; }
.h-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--tomato-tint); color: var(--tomato-dark); font-weight: 700; font-size: 13px; }
.h-copy h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.045em; }
.h-copy h1 em { font-style: normal; color: var(--tomato); }
.h-lead { margin-top: 18px; max-width: 520px; color: #4a433a; font-size: 18px; }
.h-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.h-cta .btn.primary { background: var(--tomato); border-color: var(--tomato); }
.h-cta .btn.primary:hover { background: var(--tomato-dark); }
.h-small { margin-top: 12px; color: var(--muted); font-size: 14px; }
.h-phone { position: relative; justify-self: center; width: 300px; padding: 12px; border-radius: 44px; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(22, 19, 15, 0.7); }
.hp-screen { display: flex; flex-direction: column; gap: 10px; min-height: 520px; padding: 18px 14px; border-radius: 34px; background: #f7f5f2; }
.hp-top { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: var(--tomato); color: #fff; }
.hp-top span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hp-top small { opacity: 0.85; }
.hp-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--tomato); font-weight: 800; }
.hp-chips { display: flex; gap: 6px; }
.hp-chips i { padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-style: normal; font-size: 12px; font-weight: 650; }
.hp-chips i.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hp-item { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 14px; background: #fff; }
.hp-item span { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.hp-item small { color: var(--muted); font-size: 11.5px; }
.hp-item em { font-style: normal; font-weight: 750; font-size: 13px; margin-top: 3px; }
.hp-item i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--tomato); color: #fff; font-style: normal; font-weight: 800; }
.hp-bar { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; background: var(--tomato); color: #fff; font-weight: 700; font-size: 14px; }
.hp-bar span { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.22); }
.hp-bar b { margin-left: auto; }
.hp-toast { position: absolute; right: -40px; top: 90px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -18px rgba(22, 19, 15, 0.55); animation: float 4s ease-in-out infinite; }
.hp-toast .ic { color: var(--tomato); }
.hp-toast span { display: flex; flex-direction: column; line-height: 1.25; font-size: 13px; }
.hp-toast small { color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 60px; }
.h-steps article { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.h-steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; }
.h-steps h3 { margin: 14px 0 6px; font-size: 18px; }
.h-steps p { color: var(--muted); }
.h-feats { padding-bottom: 60px; }
.h-feats h2 { display: block; font-size: 28px; letter-spacing: -0.03em; margin-bottom: 20px; }
.h-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.h-grid div { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.h-grid .ic { width: 26px; height: 26px; color: var(--tomato); }
.h-grid b { display: block; margin: 12px 0 4px; font-size: 16px; }
.h-grid p { color: var(--muted); font-size: 14px; }
.h-final { padding: 44px 32px; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; max-width: 1140px; }
.h-final h2 { display: block; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; }
.h-final p { margin: 12px auto 24px; max-width: 560px; color: rgba(255, 255, 255, 0.75); }
.h-final .btn.primary { background: var(--tomato); border-color: var(--tomato); }
.h-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 30px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .tv { grid-template-columns: 1fr; }
  .h-hero { grid-template-columns: 1fr; }
  .h-steps, .h-grid { grid-template-columns: 1fr 1fr; }
  .hp-toast { right: -10px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar { padding: 10px 16px; }
  .tb-link span:not(.sr-only) { display: none; }
  .mf-grid { grid-template-columns: 1fr; }
  .mi-actions { width: 100%; }
  .h-steps, .h-grid { grid-template-columns: 1fr; }
  .h-phone { width: 270px; }
  .h-final { padding: 32px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
