/* Vaibu Connect website. Colours follow the app (lib/theme.dart) and the poster. */
:root {
  --navy-deep: #071A5E;
  --navy: #0B2A8C;
  --royal: #1546C9;
  --blue: #1E6FE8;
  --blue-light: #8FBCFF;
  --sky: #E7F0FF;
  --mist: #F4F8FF;
  --line: #D9E4F7;
  --yellow: #FFD60A;
  --yellow-hover: #FFE14D;
  --ink: #0F1B3D;
  --muted: #5B6B8C;
  --on-navy: #D6E2FF;
  --green: #15803D;
  --green-soft: #D1FADF;
  --amber: #B54708;
  --amber-soft: #FEF0C7;
  --grad: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--royal) 100%);
  --panel: linear-gradient(90deg, var(--navy), var(--royal));
  --radius: 20px;
  --shadow: 0 10px 26px rgba(11, 42, 140, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 16px/1.55 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.ic { fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.amber { color: var(--amber); font-weight: 700; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 10px; font-weight: 800; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 26, 94, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top .bar { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 21px; font-weight: 900; letter-spacing: -.5px; }
.brand i { font-size: 13.5px; font-weight: 800; color: var(--blue-light); margin-top: 2px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.top nav a { color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--navy); text-decoration: none; font-weight: 900; font-size: 15px; padding: 9px 16px; border-radius: 999px; margin-left: 6px; flex: none; }
.nav-cta:hover { background: var(--yellow-hover); }
.menu-btn { display: none; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 12px; place-items: center; }
.menu-btn .ic-close { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: grid; margin-left: 4px; }
  .top nav { position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 30px rgba(0, 0, 0, .25); display: none; }
  .top[data-open] nav { display: flex; }
  .top[data-open] .menu-btn .ic-menu { display: none; }
  .top[data-open] .menu-btn .ic-close { display: block; }
  .top nav a { padding: 13px 12px; font-size: 16px; border-radius: 12px; }
  .nav-cta { margin-left: auto; padding: 8px 14px; font-size: 14px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 16px; padding: 14px 22px; font-weight: 900; font-size: 17px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn > span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn > span.one { display: inline; }
.btn small { font-size: 12.5px; font-weight: 700; opacity: .8; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px rgba(255, 214, 10, .28); }
.btn-yellow:hover { background: var(--yellow-hover); box-shadow: 0 14px 36px rgba(255, 214, 10, .4); }
.btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--royal); }
.btn-line { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 15px; border-radius: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); font-weight: 900; text-decoration: none; }
.link-arrow:hover { gap: 10px; }

/* ---------- hero ---------- */
.hero { background: var(--grad); color: #fff; border-radius: 0 0 40px 40px; padding: 40px 0 88px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; right: -140px; bottom: -180px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 188, 255, .26), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "copy art" "cta art"; align-items: center; column-gap: 24px; }
.hero-copy { grid-area: copy; }
.hero-art { grid-area: art; align-self: end; margin-bottom: -88px; }
.hero-cta { grid-area: cta; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--blue-light); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 6px 12px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 214, 10, .25); }
h1 { font-size: clamp(32px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -1.5px; font-weight: 900; margin: 18px 0 14px; }
h1 span { color: var(--yellow); }
.tagline { display: inline-block; font-style: italic; font-weight: 600; font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 26px; padding-bottom: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M15 6 Q60 0 99 4' fill='none' stroke='%23FFD60A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% 10px no-repeat; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; color: var(--on-navy); font-weight: 700; font-size: 14.5px; }
.points li { display: flex; align-items: center; gap: 6px; }
.points .ic { color: var(--yellow); }
@media (max-width: 760px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; grid-template-areas: "copy art" "cta cta"; }
  .hero-art { margin-bottom: 0; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .eyebrow { font-size: 11px; letter-spacing: .3px; padding: 5px 10px; }
}

/* inner page header */
.page-hero { background: var(--grad); color: #fff; border-radius: 0 0 36px 36px; padding: 40px 0 76px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 10, .14), transparent 65%); }
.page-hero h1 { font-size: clamp(30px, 5vw, 50px); margin: 10px 0 8px; position: relative; }
.page-hero p { color: var(--on-navy); font-size: 18px; font-weight: 600; max-width: 640px; margin: 0; position: relative; }
.page-hero .cta-row { margin-top: 22px; position: relative; }
.crumbs { font-size: 14px; color: var(--blue-light); font-weight: 700; position: relative; }
.crumbs a { color: var(--blue-light); text-decoration: none; }

/* ---------- till card ---------- */
.till-wrap { margin-top: -52px; position: relative; z-index: 2; }
.till { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border: 1.5px solid rgba(255, 255, 255, .18); box-shadow: 0 18px 40px rgba(7, 26, 94, .35); max-width: 640px; margin: 0 auto; }
.till-phone { color: #fff; }
.till-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.till-text small { font-size: 11.5px; font-weight: 800; letter-spacing: .7px; opacity: .75; }
.till-text span { font-size: 20px; font-weight: 900; white-space: nowrap; }
.till-text b { color: var(--yellow); font-size: clamp(26px, 7vw, 40px); letter-spacing: 2px; margin-left: 6px; }
.till-copy { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--yellow); color: var(--navy); border: 0; border-radius: 14px; padding: 10px 14px; font-weight: 900; font-size: 12.5px; }
.till-copy:hover { background: var(--yellow-hover); }

/* ---------- sections ---------- */
section { padding: 52px 0 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: var(--navy); letter-spacing: -.6px; line-height: 1.1; }
.sec-head p { margin: 6px 0 0; color: var(--muted); font-weight: 600; }
.kicker { display: block; font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

.notice { display: flex; gap: 14px; align-items: center; background: var(--sky); border-radius: 18px; padding: 14px 18px; margin-top: 22px; }
.notice p { margin: 2px 0 0; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.notice b { color: var(--navy); }
.notice-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); flex: none; }
.notice-peak { background: var(--amber-soft); border: 1px solid #FEC84B; color: var(--amber); align-items: flex-start; }
.notice-peak b, .notice-peak p { color: var(--ink); }
.notice-peak > div > b { color: var(--amber); }

/* hot deals */
.hots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.hot { scroll-snap-align: start; text-align: left; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hot:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 42, 140, .12); border-color: var(--blue-light); }
.hot-top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); margin-bottom: 18px; }
.hot b { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.hot .muted, .hot .amber { font-size: 13.5px; font-weight: 700; }
.hot-cta { margin-top: 12px; color: var(--royal); font-weight: 900; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* offers */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 800; padding: 9px 16px; border-radius: 999px; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 18px; align-items: start; }
.panel { background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.panel header { display: flex; align-items: center; gap: 14px; background: var(--panel); color: #fff; padding: 14px 18px; }
.panel h3 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; }
.panel header p { margin: 0; font-size: 13.5px; opacity: .8; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.row + .row { border-top: 1px solid var(--line); }
.row-main { flex: 1; min-width: 0; }
.row-main b { font-size: 18px; font-weight: 900; }
.pill { display: inline-flex; align-items: baseline; justify-content: center; min-width: 70px; background: var(--panel); color: #fff; font-weight: 900; font-size: 21px; padding: 6px 10px; border-radius: 11px; letter-spacing: -.3px; }
.pill small { font-size: 13px; font-weight: 700; margin-right: 1px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--sky); color: var(--royal); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-yellow { background: #FFF6C2; color: var(--navy); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.buy { border: 0; background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 15px; padding: 9px 18px; border-radius: 999px; flex: none; }
.buy:hover { background: var(--yellow-hover); }
.updated { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }

/* feature / step cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 19px; font-weight: 900; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-weight: 500; }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--panel); color: #fff; }
.card-icon.yellow { background: var(--yellow); color: var(--navy); }
.steps-cards { counter-reset: n; }
.steps-cards .card { position: relative; padding-top: 26px; }
.steps-cards .card::before { counter-increment: n; content: counter(n); position: absolute; right: 18px; top: 10px; font-size: 54px; font-weight: 900; color: var(--sky); line-height: 1; }

@media (max-width: 600px) {
  /* compact cards on phones: icon beside the text */
  .cards .card { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .cards .card .card-icon { grid-row: span 2; }
  .cards .card h3 { margin: 2px 0 4px; font-size: 18px; }
  .steps-cards .card { padding-top: 18px; }
  .steps-cards .card::before { font-size: 40px; top: 8px; }
}

/* numbered steps list */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 8px 0; font-weight: 600; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; flex: none; }

/* two-column layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.split .till { margin: 0; max-width: none; box-shadow: 0 12px 28px rgba(7, 26, 94, .22); }
.split p { color: var(--muted); font-weight: 500; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* app promo */
.app-band { background: var(--grad); color: #fff; border-radius: 32px; padding: 36px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.app-band::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 10, .16), transparent 65%); }
.app-band h2 { color: #fff; }
.app-band > div > p { color: var(--on-navy); font-weight: 600; font-size: 17px; margin: 10px 0 20px; }
.device { position: relative; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 40px; padding: 12px; background: #0B0F1A; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2A3350; }
.device img { border-radius: 30px; aspect-ratio: 392 / 851; object-fit: cover; }
.device::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 999px; background: #0B0F1A; z-index: 1; }
.features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.features .ic { color: var(--yellow); margin-top: 1px; }
.features span { display: block; font-weight: 500; color: #C9D8FF; font-size: 14px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; position: relative; z-index: 1; }
.older { color: #C9D8FF; font-size: 14px; font-weight: 600; position: relative; z-index: 1; }
.older a { color: #fff; font-weight: 800; }
.light .older { color: var(--muted); }
.light .older a { color: var(--royal); }
.qr { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 12px 16px 12px 12px; }
.qr img { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 4px; }
.qr b { display: block; }
.qr span { color: #C9D8FF; font-size: 14px; }
.is-android .qr, .is-ios .qr { display: none; }
.ios-note { display: none; }
.is-ios .ios-note { display: block; }
@media (max-width: 860px) {
  .app-band { grid-template-columns: 1fr; padding: 26px 20px; }
  .device { max-width: 250px; }
  .features { grid-template-columns: 1fr; }
}

/* screenshots gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 22px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery .device { max-width: none; padding: 9px; border-radius: 32px; }
.gallery .device img { border-radius: 24px; }
.gallery .device::before { top: 15px; width: 54px; height: 14px; }
.gallery figcaption { text-align: center; font-weight: 800; color: var(--navy); margin-top: 12px; }

/* install guide */
.install-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.checksum { font: 12.5px/1.4 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; }
@media (max-width: 820px) { .install-grid { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.channel { background: var(--grad); color: #fff; border: 0; }
.channel small { font-size: 12px; font-weight: 800; letter-spacing: .8px; opacity: .75; }
.channel h3, .helpline h3 { margin: 4px 0 8px; font-size: 22px; font-weight: 900; color: inherit; }
.channel p { color: var(--on-navy); margin: 0 0 18px; }
.helpline small { font-size: 12px; font-weight: 800; letter-spacing: .8px; color: var(--muted); }
.helpline .num { font-size: 34px; font-weight: 900; color: var(--navy); letter-spacing: -.5px; }
.helpline p { margin: 4px 0 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--yellow); border-radius: 28px; padding: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 32px); }
.cta-band p { margin: 6px 0 0; color: var(--navy); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq details[open] { border-color: var(--blue-light); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 800; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 900; color: var(--blue); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-weight: 500; }

/* footer */
footer { margin-top: 64px; background: var(--navy-deep); color: #C9D8FF; padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-grid h4 { margin: 0 0 10px; color: #fff; font-size: 15px; font-weight: 900; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: #C9D8FF; text-decoration: none; font-weight: 600; }
.foot-grid a:hover { color: #fff; }
.foot-grid p { margin: 12px 0 0; font-size: 14.5px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; color: #fff; font-weight: 800; font-size: 14px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.promise .ic { color: var(--yellow); margin: 0 auto 6px; display: block; }
.foot { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-top: 20px; font-size: 14px; }
.foot b { color: var(--yellow); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Buy popup + toast */
dialog { border: 0; padding: 0; width: min(520px, calc(100% - 24px)); border-radius: 26px; color: var(--ink); box-shadow: 0 30px 80px rgba(7, 26, 94, .4); }
dialog::backdrop { background: rgba(7, 26, 94, .55); backdrop-filter: blur(2px); }
.dlg { padding: 22px; }
.dlg-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.dlg-head .pill { font-size: 26px; padding: 10px 14px; border-radius: 14px; }
.dlg-head b { display: block; font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.dlg-close { margin-left: auto; align-self: flex-start; border: 0; background: var(--sky); color: var(--navy); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.dlg .till { max-width: none; box-shadow: none; gap: 12px; padding: 14px 12px 14px 16px; }
.dlg .till-phone { display: none; }
.dlg .till-text b { font-size: 28px; letter-spacing: 1px; }
.dlg .steps li { padding: 5px 0; font-size: 15px; }
.dlg .steps li::before { width: 28px; height: 28px; font-size: 14px; }
.dlg-actions { display: grid; gap: 10px; margin-top: 16px; }
.dlg-actions .btn { font-size: 16px; }
.dlg-note { background: var(--amber-soft); color: var(--amber); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.dlg-note:empty { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; opacity: 0; transition: .2s ease; pointer-events: none; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 404 */
.lost { text-align: center; padding: 60px 0 20px; }
.lost img { width: 260px; margin: 0 auto 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* QR on light cards */
.light .qr { background: var(--sky); border-color: var(--line); margin-top: 14px; }
.light .qr span { color: var(--muted); }
.light .qr b { color: var(--navy); }
