/* ایرانی ویو - new public design (one file: landing, sub pages, auth, quick order). Light + dark. */
/* Vazirmatn (SIL OFL), the same family OverPanel uses: lighter than IRANSans Medium */
@font-face { font-family: 'iv-md'; src: url('/assets/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'iv-bold'; src: url('/assets/fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
    color-scheme: light;
    --navy: #0e1757; --navy-2: #172177; --indigo: #3f51b5; --sky: #0ea5e9; --mint: #10b981; --amber: #f59e0b; --rose: #f43f5e;
    --bg: #f3f6fc; --card: #fff; --card-2: #eef1fb; --line: #e1e7f5;
    --ink: #0f172a; --muted: #64748b; --head: #0e1757; --link: #3f51b5;
    --ok: #15803d; --shadow: 0 24px 60px -32px rgba(14,23,87,.45);
    --nav-bg: rgba(255,255,255,.86); --show-blue: block; --show-white: none;
    --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0a0f24; --card: #131a36; --card-2: #1b2447; --line: #263159;
        --ink: #e6eaf7; --muted: #98a4c7; --head: #e0e7ff; --link: #a5b4fc;
        --ok: #4ade80; --shadow: 0 24px 60px -32px rgba(0,0,0,.8);
        --nav-bg: rgba(10,15,36,.84); --show-blue: none; --show-white: block;
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0f24; --card: #131a36; --card-2: #1b2447; --line: #263159;
    --ink: #e6eaf7; --muted: #98a4c7; --head: #e0e7ff; --link: #a5b4fc;
    --ok: #4ade80; --shadow: 0 24px 60px -32px rgba(0,0,0,.8);
    --nav-bg: rgba(10,15,36,.84); --show-blue: none; --show-white: block;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'iv-md', Tahoma, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'iv-bold', 'iv-md', sans-serif; line-height: 1.5; font-weight: normal; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.nw { white-space: nowrap; }
input::placeholder, textarea::placeholder { color: #a3adc2; opacity: 1; }


/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 16px; font-family: 'iv-bold'; font-size: 15px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, opacity .2s; line-height: 1.6; }
.btn:hover { transform: translateY(-2px); }
.btn[disabled], .btn.wait { opacity: .55; cursor: not-allowed; transform: none; }
.btn-mint { background: var(--mint); color: #fff; box-shadow: 0 10px 24px -8px rgba(16,185,129,.7); }
.btn-mint:hover { background: #0ea371; }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(63,81,181,.8); }
.btn-indigo:hover { background: #4a5cc4; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-soft { background: var(--card-2); color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft:hover { background: var(--line); }
.btn-rose { background: #fee2e2; color: #b91c1c; }
:root[data-theme="dark"] .btn-rose { background: rgba(244,63,94,.18); color: #fda4af; }

/* ---------- nav (fixed) ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 16px 0; transition: padding .25s, background .25s, box-shadow .25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav .logo img { height: 42px; display: block; transition: height .25s; }
.nav .logo .logo-b { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a { color: rgba(255,255,255,.86); padding: 8px 13px; border-radius: 12px; font-size: 14px; transition: background .2s, color .2s; }
.nav ul a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav ul a.on { background: rgba(255,255,255,.14); color: #fff; }
.nav .acts { display: flex; gap: 8px; align-items: center; }
.nav .btn { padding: 9px 20px; font-size: 14px; border-radius: 14px; }
.tt, .burger { width: 42px; height: 42px; border-radius: 13px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; cursor: pointer; display: inline-grid; place-items: center; transition: background .2s; }
.tt:hover, .burger:hover { background: rgba(255,255,255,.2); }
.burger { display: none; }
.nav.stuck { padding: 9px 0; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(14,23,87,.4); }
.nav.stuck .logo img { height: 36px; }
.nav.stuck .logo .logo-w { display: var(--show-white); }
.nav.stuck .logo .logo-b { display: var(--show-blue); }
.nav.stuck ul a { color: var(--ink); }
.nav.stuck ul a:hover, .nav.stuck ul a.on { background: var(--card-2); color: var(--head); }
.nav.stuck .btn-glass { background: var(--card-2); color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.nav.stuck .tt, .nav.stuck .burger { background: var(--card-2); color: var(--head); }

/* phone menu */
.mnav { position: fixed; inset: 0; z-index: 55; background: rgba(8,13,52,.55); backdrop-filter: blur(6px); padding: 76px 16px 16px; overflow: auto; }
.mnav-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: grid; gap: 2px; max-width: 460px; margin-inline: auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.mnav-box > a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--head); font-size: 15px; }
.mnav-box > a:hover, .mnav-box > a.on { background: var(--card-2); }
.mnav-box > a i { width: 30px; height: 30px; border-radius: 10px; background: var(--card-2); color: var(--link); display: grid; place-items: center; font-size: 13px; }
.mnav-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 4px 4px; }
html.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(900px 500px at 85% 10%, #2a3aa8 0%, transparent 60%), radial-gradient(700px 480px at 5% 90%, #1c2a8f 0%, transparent 60%), var(--navy); color: #fff; padding: 140px 0 120px; overflow: hidden; }
:root[data-theme="dark"] .hero { background: radial-gradient(900px 500px at 85% 10%, #1d2a86 0%, transparent 60%), radial-gradient(700px 480px at 5% 90%, #121c66 0%, transparent 60%), #0a1040; }
.hero::after { content: ""; position: absolute; inset: auto 0 -1px; height: 90px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.hero > .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #6ee7b7; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 17px; margin: 20px 0 30px; max-width: 520px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 14px; }
.hero .note + .note { margin-top: 6px; }
.hero .note i { color: var(--amber); }

/* live order card: the one memorable thing */
.stage { position: relative; min-height: 420px; display: grid; place-items: center; }
.glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(92,107,192,.55), transparent 70%); filter: blur(10px); }
.ocard { position: relative; width: min(390px, 100%); background: #fff; color: #0f172a; border-radius: var(--r-lg); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); transform: rotate(-2.5deg); animation: settle .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes settle { from { opacity: 0; transform: translateY(26px) rotate(-6deg); } }
.ocard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ocard .who { display: flex; align-items: center; gap: 12px; }
.ocard .ico { width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; display: grid; place-items: center; font-size: 22px; }
.ocard .who b { font-family: 'iv-bold'; font-weight: normal; display: block; font-size: 15px; line-height: 1.5; }
.ocard .who small { color: #64748b; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-family: 'iv-bold'; background: #e0f2fe; color: #0369a1; transition: background .4s, color .4s; }
.chip.done { background: #dcfce7; color: #15803d; }
.bar { height: 10px; border-radius: 99px; background: #e8eaf6; margin: 22px 0 14px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--indigo), var(--sky)); transition: width .25s linear, background .4s; }
.bar.done span { background: linear-gradient(90deg, #34d399, var(--mint)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { background: #f3f6fc; border-radius: 14px; padding: 10px 12px; text-align: center; }
.stats small { display: block; color: #64748b; font-size: 11.5px; }
.stats b { font-family: 'iv-bold'; font-weight: normal; font-size: 17px; font-variant-numeric: tabular-nums; }
.stats b.over { color: #15803d; }
.float { position: absolute; background: #fff; color: #0f172a; border-radius: 16px; padding: 10px 16px; font-size: 13px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); }
.float i { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; }
.float.f1 { top: 14px; left: 0; transform: rotate(3deg); }
.float.f1 i { background: #dcfce7; color: #15803d; }
.float.f2 { bottom: 18px; right: -6px; transform: rotate(-2deg); }
.float.f2 i { background: #e0e7ff; color: #4338ca; }

/* ---------- numbers strip ---------- */
.strip { margin-top: -46px; position: relative; z-index: 2; }
.strip .wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 12px; }
.strip .cell { text-align: center; padding: 4px 12px; border-inline-start: 1px solid var(--line); }
.strip .cell:first-child { border: 0; }
.strip b { font-family: 'iv-bold'; font-weight: normal; font-size: 28px; color: var(--head); display: block; line-height: 1.4; }
.strip span { color: var(--muted); font-size: 13.5px; }

/* ---------- sections ---------- */
section.s { padding: 96px 0 0; }
.head { max-width: 640px; margin-bottom: 40px; }
.head h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--head); }
.head p { color: var(--muted); margin-top: 8px; }

/* tones */
.tone-rose { --tb: #ffe4e6; --tc: #be123c; } .tone-indigo { --tb: #e0e7ff; --tc: #4338ca; }
.tone-sky { --tb: #e0f2fe; --tc: #0369a1; } .tone-green { --tb: #dcfce7; --tc: #15803d; }
.tone-amber { --tb: #fef3c7; --tc: #b45309; } .tone-violet { --tb: #ede9fe; --tc: #6d28d9; }
.tone-cyan { --tb: #cffafe; --tc: #0e7490; } .tone-slate { --tb: #f1f5f9; --tc: #475569; }
:root[data-theme="dark"] .tone-rose { --tb: rgba(244,63,94,.16); --tc: #fda4af; } :root[data-theme="dark"] .tone-indigo { --tb: rgba(129,140,248,.18); --tc: #a5b4fc; }
:root[data-theme="dark"] .tone-sky { --tb: rgba(14,165,233,.16); --tc: #7dd3fc; } :root[data-theme="dark"] .tone-green { --tb: rgba(34,197,94,.16); --tc: #86efac; }
:root[data-theme="dark"] .tone-amber { --tb: rgba(245,158,11,.16); --tc: #fcd34d; } :root[data-theme="dark"] .tone-violet { --tb: rgba(167,139,250,.18); --tc: #c4b5fd; }
:root[data-theme="dark"] .tone-cyan { --tb: rgba(6,182,212,.16); --tc: #67e8f9; } :root[data-theme="dark"] .tone-slate { --tb: rgba(148,163,184,.16); --tc: #cbd5e1; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .tone-rose { --tb: rgba(244,63,94,.16); --tc: #fda4af; } :root:not([data-theme="light"]) .tone-indigo { --tb: rgba(129,140,248,.18); --tc: #a5b4fc; }
    :root:not([data-theme="light"]) .tone-sky { --tb: rgba(14,165,233,.16); --tc: #7dd3fc; } :root:not([data-theme="light"]) .tone-green { --tb: rgba(34,197,94,.16); --tc: #86efac; }
    :root:not([data-theme="light"]) .tone-amber { --tb: rgba(245,158,11,.16); --tc: #fcd34d; } :root:not([data-theme="light"]) .tone-violet { --tb: rgba(167,139,250,.18); --tc: #c4b5fd; }
    :root:not([data-theme="light"]) .tone-cyan { --tb: rgba(6,182,212,.16); --tc: #67e8f9; } :root:not([data-theme="light"]) .tone-slate { --tb: rgba(148,163,184,.16); --tc: #cbd5e1; }
}

/* service cards */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc a { background: var(--card); border-radius: var(--r-md); padding: 24px 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--tc); }
.svc .ic, .bx .ic, .cbox .ic { width: 52px; height: 52px; border-radius: 17px; background: var(--tb); color: var(--tc); display: grid; place-items: center; font-size: 22px; margin-bottom: 10px; }
.svc h3 { font-size: 17px; color: var(--head); }
.svc p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.svc .go { margin-top: auto; padding-top: 12px; color: var(--tc); font-size: 13.5px; font-family: 'iv-bold'; display: flex; align-items: center; gap: 6px; }

/* sample prices */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.pcard small { color: var(--muted); font-size: 12.5px; }
.pcard h3 { font-size: 15px; color: var(--head); }
.pcard .pr { font-family: 'iv-bold'; font-size: 22px; color: var(--ok); margin-top: auto; padding-top: 10px; }
.pcard .pr span { font-family: 'iv-md'; font-size: 12px; color: var(--muted); }
.more { margin-top: 18px; text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.step { padding: 0 0 0 26px; position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-family: 'iv-bold'; margin-bottom: 16px; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 23px; right: 46px; left: 0; border-top: 2px dashed var(--line); }
.step h3 { font-size: 18px; color: var(--head); }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bx { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; position: relative; overflow: hidden; }
.bx .ic { width: 46px; height: 46px; border-radius: 15px; font-size: 19px; margin-bottom: 14px; }
.bx h3 { font-size: 18px; color: var(--head); margin-bottom: 6px; }
.bx p { color: var(--muted); font-size: 14.5px; }
.b-api { grid-column: span 3; background: var(--navy); border-color: var(--navy); }
:root[data-theme="dark"] .b-api { background: #0f1850; border-color: #1f2b75; }
.b-api h3 { color: #fff; } .b-api p { color: rgba(255,255,255,.75); }
.b-api pre { direction: ltr; text-align: left; margin-top: 18px; background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; font: 13px/1.8 Consolas, Menlo, monospace; color: #c7d2fe; overflow-x: auto; }
.b-api pre b { color: #6ee7b7; font-weight: normal; }
.b-fast { grid-column: span 3; }
.b-3 { grid-column: span 2; }

/* faq */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--indigo); }
.faq summary { cursor: pointer; padding: 14px 0; font-family: 'iv-bold'; color: var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--link); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 16px; }

/* app + seo + cta */
.app { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 38px; }
.app h3 { font-size: 22px; color: var(--head); } .app p { color: var(--muted); margin-top: 4px; }
.app .stores { display: flex; gap: 12px; flex-wrap: wrap; }
.seo { max-width: 820px; }
.seo h2 { font-size: 22px; color: var(--head); margin-bottom: 8px; }
.seo p { color: var(--muted); }
.seo a { color: var(--link); border-bottom: 1px dashed var(--line); }
.cta { margin-top: 96px; background: radial-gradient(600px 300px at 90% 0, #2a3aa8, transparent 65%), var(--navy); color: #fff; border-radius: 36px 36px 0 0; padding: 70px 0; text-align: center; }
:root[data-theme="dark"] .cta { background: radial-gradient(600px 300px at 90% 0, #1d2a86, transparent 65%), #0a1040; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: rgba(255,255,255,.78); margin: 10px 0 28px; }
.cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer { background: #0a1140; color: rgba(255,255,255,.62); padding: 48px 0 20px; font-size: 13.5px; }
:root[data-theme="dark"] footer { background: #070b22; }
footer .fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .brand img { height: 40px; display: block; margin-bottom: 12px; }
footer .brand p { max-width: 280px; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
footer .fcols a { display: block; padding: 3px 0; transition: color .2s; }
footer a:hover { color: #fff; }
footer .fcols i { margin-inline-end: 6px; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust a { background: #fff; border-radius: 12px; padding: 8px 10px; display: grid; place-items: center; }
.trust img { height: 52px; width: auto; display: block; }
footer .fbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; }
footer .soc { display: flex; gap: 14px; font-size: 18px; }

/* ---------- sub-page header + generic panels ---------- */
.phero { position: relative; background: radial-gradient(800px 380px at 88% 0, #2a3aa8 0%, transparent 62%), var(--navy); color: #fff; padding: 128px 0 78px; }
:root[data-theme="dark"] .phero { background: radial-gradient(800px 380px at 88% 0, #1d2a86 0%, transparent 62%), #0a1040; }
.phero::after { content: ""; position: absolute; inset: auto 0 -1px; height: 44px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.phero h1 { font-size: clamp(28px, 4vw, 40px); }
.phero p { color: rgba(255,255,255,.78); margin-top: 6px; max-width: 560px; }
.page { padding: 28px 0 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }

/* services table */
.tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search { flex: 1 1 280px; position: relative; }
.search input { width: 100%; height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 0 48px 0 16px; font: inherit; color: var(--ink); }
.search input:focus { outline: 3px solid rgba(63,81,181,.25); border-color: var(--indigo); }
.search i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; scrollbar-width: thin; }
.chip-b { flex: none; border: 1px solid var(--line); background: var(--card); color: var(--head); border-radius: 999px; padding: 7px 18px; font: inherit; font-size: 13.5px; cursor: pointer; transition: background .2s, color .2s; }
.chip-b:hover { background: var(--card-2); }
.chip-b.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.cat { margin-bottom: 26px; }
.cat h2 { font-size: 18px; color: var(--head); margin: 0 4px 10px; display: flex; align-items: center; gap: 10px; }
.cat h2 small { font-family: 'iv-md'; color: var(--muted); font-size: 12.5px; }
.tbl { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.row-s { display: grid; grid-template-columns: 70px 1fr 110px 110px 160px 90px; gap: 10px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.row-s.hd { background: var(--card-2); color: var(--head); font-family: 'iv-bold'; font-size: 13px; border-top: 0; }
.row-s .id { color: var(--muted); font-size: 13px; }
.row-s .pr { color: var(--ok); font-family: 'iv-bold'; }
.row-s button { border: 0; border-radius: 10px; background: var(--card-2); color: var(--link); padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.row-s button:hover { background: var(--line); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
dialog.dlg { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; width: min(520px, calc(100% - 32px)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); font: inherit; color: var(--ink); background: var(--card); }
dialog.dlg::backdrop { background: rgba(8,13,52,.55); backdrop-filter: blur(3px); }
dialog.dlg h3 { color: var(--head); font-size: 18px; margin-bottom: 10px; }
dialog.dlg p { color: var(--muted); white-space: pre-line; margin-bottom: 18px; max-height: 50vh; overflow: auto; }
dialog.dlg .acts { display: flex; gap: 10px; flex-wrap: wrap; }
dialog.dlg dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-bottom: 18px; font-size: 14.5px; }
dialog.dlg dt { color: var(--muted); } dialog.dlg dd { color: var(--head); word-break: break-all; }

/* rules / about / contact */
.rules { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
.rules .panel h2 { font-size: 20px; color: var(--head); margin-bottom: 12px; }
.rules ol { padding-right: 22px; display: grid; gap: 10px; color: var(--ink); }
.rules li::marker { color: var(--link); font-family: 'iv-bold'; }
.rules .hl { background: rgba(245,158,11,.16); color: #b45309; border-radius: 10px; padding: 4px 12px; display: inline-block; }
:root[data-theme="dark"] .rules .hl { color: #fcd34d; }
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.about p { color: var(--ink); margin-bottom: 14px; }
.kpis { display: grid; gap: 14px; }
.kpis div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; }
.kpis b { font-family: 'iv-bold'; font-weight: normal; font-size: 26px; color: var(--head); display: block; line-height: 1.5; }
.kpis span { color: var(--muted); font-size: 14px; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: block; transition: transform .25s, box-shadow .25s; }
a.cbox:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cbox .ic { width: 50px; height: 50px; border-radius: 16px; font-size: 21px; margin-bottom: 14px; }
.cbox h3 { font-size: 16px; color: var(--head); }
.cbox b { font-family: 'iv-md'; font-weight: normal; direction: ltr; text-align: right; display: block; color: var(--ink); margin-top: 2px; }
.cbox small { color: var(--muted); }

/* ---------- forms (auth + quick order) ---------- */
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 13.5px; color: var(--head); margin-bottom: 4px; }
.fld input, .fld select, .fld textarea { width: 100%; height: 52px; border-radius: 15px; border: 1px solid var(--line); background: var(--card); padding: 0 16px; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fld textarea { height: 110px; padding: 12px 16px; resize: none; line-height: 1.9; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-position: 16px center; background-repeat: no-repeat; padding-left: 40px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(63,81,181,.18); }
.fld input:disabled, .fld select:disabled, .fld textarea:disabled { opacity: .55; cursor: not-allowed; }
.fld input:user-invalid { border-color: var(--rose); }
.fld .err { color: #e11d48; font-size: 12.5px; margin-top: 3px; display: block; min-height: 0; }
.fld .help { color: var(--muted); font-size: 12.5px; margin-top: 3px; display: block; }
.ltr { direction: ltr; text-align: right; }
.check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.pw { position: relative; }
.pw input { padding-left: 50px; }
.pw .eye { position: absolute; left: 6px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 12px; cursor: pointer; }
.pw .eye:hover { background: var(--card-2); color: var(--head); }
.hint { background: rgba(245,158,11,.14); color: #b45309; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 18px; }
:root[data-theme="dark"] .hint { color: #fcd34d; }
.warn { background: rgba(244,63,94,.1); color: #be123c; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 10px; }
:root[data-theme="dark"] .warn { color: #fda4af; }
.good { background: rgba(16,185,129,.12); color: #047857; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-top: 8px; }
:root[data-theme="dark"] .good { color: #6ee7b7; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: radial-gradient(700px 420px at 80% 10%, #2a3aa8 0%, transparent 60%), var(--navy); color: #fff; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
:root[data-theme="dark"] .auth-side { background: radial-gradient(700px 420px at 80% 10%, #1d2a86 0%, transparent 60%), #0a1040; }
.auth-side .logo img { height: 44px; display: block; }
.auth-side h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.auth-side p { color: rgba(255,255,255,.78); max-width: 420px; }
.auth-side ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); }
.auth-side li i { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #6ee7b7; }
.auth-side small { color: rgba(255,255,255,.55); }
.auth-form { position: relative; display: grid; align-content: center; justify-items: center; padding: 40px 24px; }
.auth-form .back { position: absolute; top: 28px; right: 32px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; padding: 8px 14px; border-radius: 12px; transition: background .2s, color .2s; }
.auth-form .back:hover { background: var(--card-2); color: var(--head); }
.auth-form .tt { position: absolute; top: 24px; left: 28px; background: var(--card-2); color: var(--head); }
.auth-card { width: min(440px, 100%); }
.auth-card h2 { font-size: 26px; color: var(--head); }
.auth-card .sub { color: var(--muted); margin: 4px 0 24px; }
.auth-card .btn { width: 100%; }
.row-opts { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 20px; font-size: 14px; }
.row-opts a, .auth-alt a { color: var(--link); font-family: 'iv-bold'; }
.auth-alt { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ltr-inline { direction: ltr; display: inline-block; color: var(--head); font-weight: normal; }
.otp { text-align: center; font-size: 24px; letter-spacing: 8px; font-family: 'iv-bold'; }
.timer { color: var(--muted); font-size: 13.5px; margin: 14px 0 8px; text-align: center; }
#resend { width: 100%; }

/* ---------- quick order / status / success ---------- */
.qo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.qo form.panel { padding: 30px; }
.qo .side { display: grid; gap: 14px; position: sticky; top: 90px; }
.sum { background: var(--card-2); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.sum b { color: var(--head); font-family: 'iv-bold'; font-weight: normal; }
.sum .total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-size: 16px; color: var(--head); }
.sum .total b { color: var(--ok); font-size: 22px; }
.qo .btn { width: 100%; }
.stbl { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 18px; }
.stbl table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.stbl th { background: var(--card-2); color: var(--head); font-family: 'iv-bold'; font-weight: normal; text-align: right; padding: 12px 14px; font-size: 13px; }
.stbl td { padding: 13px 14px; border-top: 1px solid var(--line); }
.stbl td a { color: var(--link); word-break: break-all; }
.stbl .btn { padding: 3px 12px; border-radius: 999px; font-size: 12.5px; box-shadow: none; cursor: default; transform: none; }
.stbl .btn-primary { background: rgba(63,81,181,.16); color: var(--link); }
.stbl .btn-warning { background: rgba(245,158,11,.16); color: #b45309; }
.stbl .btn-success { background: rgba(16,185,129,.16); color: #047857; }
.stbl .btn-danger { background: rgba(244,63,94,.14); color: #be123c; }
:root[data-theme="dark"] .stbl .btn-warning { color: #fcd34d; } :root[data-theme="dark"] .stbl .btn-success { color: #6ee7b7; } :root[data-theme="dark"] .stbl .btn-danger { color: #fda4af; }
.codebox { display: flex; gap: 10px; }
.codebox input { flex: 1; height: 52px; border-radius: 15px; border: 1px solid var(--line); background: var(--card); padding: 0 16px; font: inherit; color: var(--ink); text-align: center; direction: ltr; }
.codebox .btn { width: auto; flex: none; }
.center { max-width: 560px; margin-inline: auto; }
.okmark { width: 74px; height: 74px; border-radius: 50%; background: rgba(16,185,129,.15); color: var(--mint); display: grid; place-items: center; font-size: 32px; margin: 0 auto 16px; }
.tac { text-align: center; }

/* sweetalert follows the theme */
.swal-modal { background: var(--card); border: 1px solid var(--line); font-family: 'iv-md', Tahoma, sans-serif; }
.swal-text, .swal-title { color: var(--ink); text-align: center !important; font-family: 'iv-md', Tahoma, sans-serif; }
.swal-footer { text-align: center !important; }
.swal-button { background: var(--indigo); border-radius: 14px; font-family: 'iv-bold'; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .nav ul { display: none; }
    .burger { display: inline-grid; }
    .nav .acts { margin-inline-start: auto; }
    .hero { padding: 110px 0 100px; }
    .hero > .wrap { grid-template-columns: 1fr; gap: 40px; }
    .stage { min-height: 340px; }
    .strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
    .strip .cell:nth-child(3) { border: 0; }
    .svc, .prices { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .step { padding: 0; } .step:not(:last-child)::before { display: none; }
    .bento { grid-template-columns: 1fr; }
    .b-api, .b-fast, .b-3 { grid-column: auto; }
    .app { grid-template-columns: 1fr; padding: 26px; }
    footer .fcols { grid-template-columns: repeat(2, 1fr); }
    .about, .qo { grid-template-columns: 1fr; }
    .qo .side { position: static; }
    .cgrid { grid-template-columns: 1fr; }
    .row-s { grid-template-columns: 1fr auto; gap: 4px 10px; }
    .row-s.hd, .row-s .id, .row-s .mn, .row-s .mx { display: none; }
    .row-s .nm { grid-column: 1 / -1; }
    .auth { grid-template-columns: 1fr; min-height: 0; }
    .auth-side { padding: 20px 20px 22px; gap: 10px; }
    .auth-side ul, .auth-side small { display: none; }
    .auth-side h1 { font-size: 24px; margin-bottom: 4px; } .auth-side p { font-size: 14px; }
    .auth-side .logo img { height: 36px; }
    .auth-form { padding: 84px 20px 96px; align-content: start; }
    .auth-form .back { top: 18px; right: 12px; } .auth-form .tt { top: 14px; left: 14px; }
}
@media (max-width: 520px) {
    .svc, .prices { grid-template-columns: 1fr; }
    .float.f2 { right: 0; } .float.f1 { left: 0; }
    .nav .acts .btn-glass { display: none; }
    .panel, .qo form.panel { padding: 22px; }
    footer .fcols { grid-template-columns: 1fr; }
    .codebox { flex-direction: column; } .codebox .btn { width: 100%; }
}

.stbl .btn { white-space: nowrap; }
.stbl td { vertical-align: middle; }

/* ---------- network tiles (colour comes from the category) ---------- */
.net, .pcard { --c: var(--nc, var(--indigo)); }
:root[data-theme="dark"] .net, :root[data-theme="dark"] .pcard { --c: var(--ncd, var(--indigo)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .net, :root:not([data-theme="light"]) .pcard { --c: var(--ncd, var(--indigo)); } }
.svc a.net:hover { border-color: var(--c); }
.svc a.net .ic { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.svc a.net .go { color: var(--c); }
.pcard small { display: flex; align-items: center; gap: 6px; }
.pcard small i { color: var(--c); }
.chip-b i { margin-inline-end: 6px; color: var(--c, currentColor); }
.chip-b.on i { color: #fff; }

/* ---------- services table as cards on phones ---------- */
@media (max-width: 980px) {
    .row-s { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 16px; }
    .row-s .nm { grid-column: 1 / -1; color: var(--head); font-family: 'iv-bold'; }
    .row-s .mn, .row-s .mx { display: block; font-size: 12.5px; color: var(--muted); }
    .row-s .mn::before, .row-s .mx::before { content: attr(data-l) ": "; }
    .row-s .pr { grid-column: 1; }
    .row-s .dt { grid-column: 2; justify-self: end; }
}

/* ---------- polish after review ---------- */
.auth-form .back { position: static; align-self: start; justify-self: start; margin-bottom: 18px; }
.auth-form { align-content: center; }
.auth-form .auth-card { width: min(440px, 100%); }
.auth-form .tt { position: absolute; }
.fld textarea[readonly] { background: var(--card-2); color: var(--muted); cursor: default; }
.fld select { font-size: 14px; }
.fld select option { color: #0f172a; background: #fff; }
.faq { max-width: none; }
.faq details { padding: 2px 22px; }
.hero h1 .nw { white-space: nowrap; }
@media (max-width: 980px) {
    .auth-form { padding: 76px 20px 96px; align-content: start; }
    .auth-form .back { margin-bottom: 14px; }
}
.chip { white-space: nowrap; }
.ocard .who b, .ocard .who small { white-space: nowrap; }
@media (max-width: 520px) { .ocard { padding: 18px; } .ocard .ico { width: 40px; height: 40px; font-size: 19px; } }

.grecaptcha-badge { visibility: hidden !important; }
.rc { color: var(--muted); font-size: 12px; margin-top: 12px; text-align: center; }
.rc a { color: var(--link); }
.codebox input { min-height: 52px; }
@media (max-width: 520px) { .codebox input { flex: none; width: 100%; } }

/* ---------- very wide screens: scale the whole page so it does not look small and empty ---------- */
:root { --z: 1; }
/* no page zoom: the page keeps its real size, only the content column gets a bit wider on big screens */
@media (min-width: 1500px) { .wrap { width: min(1240px, 100% - 64px); } }
body { zoom: var(--z); }
.auth { min-height: calc(100vh / var(--z)); }

/* theme button: round, thin border, same look as the OverPanel toggle */
.tt { width: 40px; height: 40px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: background .2s, box-shadow .2s; }
.tt:hover { background: rgba(128,128,128,.18); }
.tt svg { display: block; }
.nav.stuck .tt, .auth-form .tt { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--head); }
.nav.stuck .tt:hover, .auth-form .tt:hover { background: var(--card-2); }

/* ---------- fixes found in Chrome ---------- */
dialog.dlg { margin: auto; }
.svc, .prices { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.seo { margin-inline: 0; }
p { text-wrap: pretty; }
.stbl td a { direction: ltr; display: inline-block; text-align: left; }
.swal-icon--success:before, .swal-icon--success:after, .swal-icon--success__hide-corners { background: var(--card) !important; }
.swal-icon--success__ring { border-color: rgba(16,185,129,.3); }
.swal-modal { border-radius: 24px; }
@media (max-width: 980px) { .svc, .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc, .prices { grid-template-columns: 1fr; } }

/* ---------- calmer type scale ---------- */
body { font-size: 15px; line-height: 1.85; }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.hero p.lead { font-size: 15.5px; margin: 16px 0 26px; }
.head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.head p { font-size: 14.5px; }
.phero h1 { font-size: clamp(24px, 3vw, 34px); }
.phero p { font-size: 14.5px; }
.btn { padding: 11px 22px; font-size: 14px; border-radius: 14px; }
.nav .btn { padding: 8px 18px; font-size: 13.5px; }
.nav ul a { font-size: 13.5px; }
section.s { padding: 76px 0 0; }
.svc h3 { font-size: 16px; } .bx h3 { font-size: 16.5px; } .step h3 { font-size: 16.5px; } .app h3 { font-size: 19px; }
.strip b { font-size: 24px; } .strip span { font-size: 13px; }
.auth-card h2 { font-size: 23px; } .auth-side h1 { font-size: clamp(24px, 2.8vw, 34px); }
.cta h2 { font-size: clamp(22px, 2.8vw, 32px); }

/* ---------- hero: social networks orbiting the sample order ---------- */
.stage { min-height: 400px; }
.ocard { width: min(350px, 100%); padding: 18px; z-index: 2; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); pointer-events: none; }
.ring.r1 { width: 400px; height: 400px; }
.ring.r2 { width: 520px; height: 520px; border-color: rgba(255,255,255,.1); }
.sat { position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 18px; background: #fff; color: var(--c); display: grid; place-items: center; font-size: 22px; box-shadow: 0 18px 34px -14px rgba(0,0,0,.6); animation: bob 5s ease-in-out infinite; }
.sat.s0 { top: 2%; right: 14%; animation-delay: -.5s; }
.sat.s1 { top: 30%; left: 0; animation-delay: -1.5s; }
.sat.s2 { bottom: 6%; left: 10%; animation-delay: -2.5s; }
.sat.s3 { bottom: 2%; right: 8%; animation-delay: -3.5s; }
.sat.s4 { top: 0; left: 30%; width: 44px; height: 44px; font-size: 18px; border-radius: 15px; animation-delay: -1s; }
.sat.s5 { top: 46%; right: -2%; width: 44px; height: 44px; font-size: 18px; border-radius: 15px; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.float.f1 { top: auto; bottom: 16%; left: auto; right: 2%; transform: rotate(-2deg); z-index: 4; }
@media (max-width: 980px) { .ring.r1 { width: 320px; height: 320px; } .ring.r2 { display: none; } .stage { min-height: 360px; } }
@media (max-width: 520px) {
    .sat { width: 42px; height: 42px; font-size: 18px; border-radius: 14px; }
    .sat.s4, .sat.s5 { display: none; }
    .sat.s0 { right: 6%; } .sat.s1 { left: 0; top: 24%; } .sat.s2 { left: 4%; } .sat.s3 { right: 2%; }
    .float.f1 { right: 0; bottom: 12%; }
}
@media (max-width: 520px) {
    .stage { padding-top: 40px; min-height: 330px; }
    .sat.s0 { top: 0; right: 14%; bottom: auto; left: auto; }
    .sat.s1 { top: 0; left: 14%; right: auto; bottom: auto; }
    .sat.s2 { top: 0; left: calc(50% - 21px); right: auto; bottom: auto; }
    .sat.s3 { display: none; }
}
@media (max-width: 520px) { .float.f1 { display: none; } }

.sat svg { display: block; }

/* ---------- type scale after removing the zoom: one step up from the calm scale ---------- */
body { font-size: 16px; }
.hero h1 { font-size: clamp(30px, 3.9vw, 50px); }
.hero p.lead { font-size: 17px; max-width: 540px; }
.hero .note { font-size: 15px; }
.head h2 { font-size: clamp(25px, 2.9vw, 35px); }
.head p { font-size: 16px; }
.phero h1 { font-size: clamp(27px, 3.4vw, 40px); }
.phero p { font-size: 16px; }
.btn { padding: 12px 24px; font-size: 15px; }
.nav .btn { padding: 9px 20px; font-size: 14.5px; }
.nav ul a { font-size: 14.5px; }
.svc h3 { font-size: 18px; } .bx h3 { font-size: 18px; } .step h3 { font-size: 18px; } .app h3 { font-size: 21px; }
.svc p, .bx p, .step p { font-size: 15px; }
.svc .go { font-size: 14.5px; }
.strip b { font-size: 27px; } .strip span { font-size: 14px; }
.faq summary { font-size: 16px; } .faq p { font-size: 15.5px; }
.auth-card h2 { font-size: 26px; } .auth-card .sub { font-size: 15.5px; }
.fld label { font-size: 14.5px; } .fld input, .fld select, .fld textarea { font-size: 15.5px; }
.cta h2 { font-size: clamp(25px, 3.2vw, 36px); } .cta p { font-size: 16px; }
footer { font-size: 14.5px; } footer h4 { font-size: 16px; }
.row-s { font-size: 15px; } .cat h2 { font-size: 19px; }
.ocard .who b { font-size: 16px; } .stats b { font-size: 18px; }


/* ---------- motion (all of it switches off with prefers-reduced-motion) ---------- */
/* the logo keeps its size when the bar sticks */
.nav.stuck .logo img { height: 42px; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes fade { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero text arrives one piece after another */
.hero > .wrap > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) backwards; }
.hero > .wrap > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero > .wrap > div:first-child > :nth-child(2) { animation-delay: .18s; }
.hero > .wrap > div:first-child > :nth-child(3) { animation-delay: .3s; }
.hero > .wrap > div:first-child > :nth-child(4) { animation-delay: .4s; }
.hero > .wrap > div:first-child > :nth-child(5) { animation-delay: .48s; }
.phero .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
.phero .wrap > :nth-child(2) { animation-delay: .1s; }

/* network icons pop in, then keep floating; the dashed rings turn slowly */
.sat { animation: pop .6s cubic-bezier(.3,1.5,.5,1) backwards, bob 5s ease-in-out infinite; }
.sat.s0 { animation-delay: .5s, -.5s; } .sat.s1 { animation-delay: .62s, -1.5s; } .sat.s2 { animation-delay: .74s, -2.5s; }
.sat.s3 { animation-delay: .86s, -3.5s; } .sat.s4 { animation-delay: .98s, -1s; } .sat.s5 { animation-delay: 1.1s, -2s; }
.ring.r1 { animation: spin 90s linear infinite; }
.ring.r2 { animation: spin 140s linear infinite reverse; }

/* sections reveal while scrolling (the script adds .rv, then .in when visible) */
.rv { opacity: 0; }
.rv.in { opacity: 1; animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0s); }

/* small reactions to the pointer */
.btn:active { transform: scale(.97); }
.svc .ic, .bx .ic, .cbox .ic { transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.svc a:hover .ic, .bx:hover .ic, a.cbox:hover .ic { transform: scale(1.1) rotate(-6deg); }
.svc .go i { transition: transform .25s; }
.svc a:hover .go i { transform: translateX(-5px); }
.bx { transition: transform .25s, box-shadow .25s; }
.bx:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard { transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faq details[open] p { animation: fade .35s ease; }
.row-s { transition: background .2s; }
.row-s:not(.hd):hover { background: var(--card-2); }
dialog.dlg[open] { animation: rise .3s cubic-bezier(.2,.7,.2,1); }
dialog.dlg[open]::backdrop { animation: fade .3s ease; }
.mnav:not([hidden]) .mnav-box { animation: rise .3s cubic-bezier(.2,.7,.2,1); }
.okmark { animation: pop .6s cubic-bezier(.3,1.5,.5,1) backwards .15s; }

/* "reduce motion" only stops the endless movement (floating icons, turning rings); one-time entrances still play */
@media (prefers-reduced-motion: reduce) {
    .sat { animation: pop .6s cubic-bezier(.3,1.5,.5,1) backwards; }
    .ring { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- footer, second version ---------- */
footer { padding: 56px 0 22px; }
footer .fcols { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 34px; }
footer .brand img { height: 42px; width: auto; margin-bottom: 14px; }
footer .brand p { max-width: 300px; line-height: 2; }
footer .soc { display: flex; gap: 10px; margin-top: 18px; font-size: 18px; }
footer .soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .2s, transform .2s, color .2s; }
footer .soc a:hover { background: var(--indigo); color: #fff; transform: translateY(-3px); }
footer h4 { margin-bottom: 14px; }
footer .fcols > div > a { display: block; padding: 5px 0; transition: color .2s, transform .2s; }
footer .fcols > div > a:hover { transform: translateX(-4px); }
footer .fcontact a { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
footer .fcontact i { width: 34px; height: 34px; margin: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #a5b4fc; flex: none; }
footer .fbar { padding-top: 22px; gap: 18px; }
footer .trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .trust-t { font-size: 13.5px; margin-inline-end: 6px; }
footer .trust a { background: none; padding: 0; border-radius: 10px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.14); transition: transform .25s, box-shadow .25s; }
footer .trust a:hover { transform: translateY(-4px); box-shadow: 0 14px 24px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.3); }
footer .trust img { height: 68px; width: auto; display: block; border-radius: 9px; }
@media (max-width: 980px) { footer .fcols { grid-template-columns: repeat(2, 1fr); } footer .brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer .fcols { grid-template-columns: 1fr; } footer .fbar { flex-direction: column; align-items: flex-start; } }
footer .fcols .fcontact > a { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
footer .fcols .fcontact > a:hover { transform: none; }

/* ---------- hero visual 1: follower row under the sample card ---------- */
.mini-order { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: #f3f6fc; color: #0f172a; }
.mini-order .mi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 15px; flex: none; }
.mini-order .mt { flex: 1; min-width: 0; }
.mini-order .mt b { font-family: 'iv-bold'; font-weight: normal; font-size: 13.5px; display: block; line-height: 1.5; }
.mini-order em { font-style: normal; font-size: 12.5px; color: #64748b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar.sm { height: 6px; margin: 6px 0 0; }
.chip.sm { padding: 2px 9px; font-size: 11px; }
.chip.wait { background: #fef3c7; color: #b45309; }

/* ---------- hero visual 2: live panel ---------- */
.lpanel { position: relative; z-index: 2; width: min(400px, 100%); background: rgba(255,255,255,.96); color: #0f172a; border-radius: 26px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); display: grid; gap: 10px; }
.lp-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 6px; }
.lp-head b { font-family: 'iv-bold'; font-weight: normal; font-size: 15px; }
.lp-head small { margin-inline-start: auto; color: #64748b; font-size: 12px; }
.lp-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: livedot 1.8s infinite; }
@keyframes livedot { 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.lrow { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: #f3f6fc; }
.lrow .li { width: 40px; height: 40px; border-radius: 13px; background: #fff; color: var(--c); display: grid; place-items: center; font-size: 18px; flex: none; box-shadow: 0 6px 14px -8px rgba(15,23,42,.4); }
.lrow .lt { flex: 1; min-width: 0; }
.lrow .l1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lrow .l1 b { font-family: 'iv-bold'; font-weight: normal; font-size: 14px; }
.lrow .l2 { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; color: #64748b; font-variant-numeric: tabular-nums; }
.lp-foot { margin-top: 2px; text-align: center; font-size: 12px; color: #64748b; }
.lp-foot i { color: #10b981; margin-inline-end: 4px; }
.v-b .sat.s0 { top: 2%; right: 4%; } .v-b .sat.s1 { bottom: 4%; left: 2%; }

/* ---------- hero visual 3: phone ---------- */
.phone { position: relative; z-index: 2; width: 270px; padding: 16px 14px 18px; border-radius: 38px; background: #0b1230; border: 6px solid #1c2766; box-shadow: 0 40px 80px -28px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: 9px; transform: rotate(-3deg); animation: settle .9s cubic-bezier(.2,.8,.2,1) both; }
.ph-notch { width: 70px; height: 7px; border-radius: 9px; background: #1c2766; margin: -4px auto 4px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.ph-top img { height: 24px; width: auto; }
.ph-bal { font-size: 12px; color: #6ee7b7; background: rgba(16,185,129,.14); padding: 3px 10px; border-radius: 999px; }
.ph-title { color: #fff; font-family: 'iv-bold'; font-size: 14px; padding: 4px 4px 0; }
.phone .lrow { background: rgba(255,255,255,.07); color: #fff; padding: 9px 10px; }
.phone .lrow .li { width: 34px; height: 34px; font-size: 15px; }
.phone .lrow .l1 b { font-size: 12.5px; }
.phone .bar { background: rgba(255,255,255,.14); }
.ph-btn { margin-top: 4px; text-align: center; background: var(--mint); color: #fff; border-radius: 14px; padding: 9px; font-family: 'iv-bold'; font-size: 13px; }
.v-c .sat.s0 { top: 4%; right: 6%; } .v-c .sat.s1 { top: 36%; left: 0; } .v-c .sat.s2 { bottom: 8%; left: 8%; } .v-c .sat.s3 { bottom: 4%; right: 6%; } .v-c .sat.s4 { top: 0; left: 24%; }

/* preview-only switcher */
.hv-switch { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(10,15,36,.9); color: #fff; font-size: 13px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.hv-switch span { color: rgba(255,255,255,.65); margin-inline-end: 4px; }
.hv-switch a { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); transition: background .2s; }
.hv-switch a.on, .hv-switch a:hover { background: var(--mint); }

/* ---------- latest orders ---------- */
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.frow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .25s, box-shadow .25s; }
.frow:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.frow .fi { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 20px; flex: none; color: var(--nc); background: color-mix(in srgb, var(--nc) 14%, transparent); }
.frow .ft { flex: 1; min-width: 0; }
.frow .ft b { display: block; color: var(--head); font-family: 'iv-bold'; font-weight: normal; font-size: 15.5px; line-height: 1.6; }
.frow .ft small { color: var(--muted); font-size: 13px; }
.st { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-family: 'iv-bold'; white-space: nowrap; }
.st-ok { background: rgba(16,185,129,.15); color: #047857; } .st-run { background: rgba(63,81,181,.15); color: var(--link); } .st-wait { background: rgba(245,158,11,.16); color: #b45309; }
:root[data-theme="dark"] .st-ok { color: #6ee7b7; } :root[data-theme="dark"] .st-wait { color: #fcd34d; }
@media (max-width: 760px) { .feed { grid-template-columns: 1fr; } }

/* ---------- phone: hero visual laid out as a column, not as scattered pieces ---------- */
@media (max-width: 520px) {
    .stage { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; min-height: 0; padding: 4px 0 0; }
    .stage .glow { width: 280px; height: 280px; top: 10px; }
    .stage .ring { display: none; }
    .stage .sat { position: static; order: 1; width: 44px; height: 44px; font-size: 19px; border-radius: 15px; }
    .stage .sat.s6 { display: none; }
    .stage .ocard, .stage .lpanel { order: 2; flex: 0 0 100%; width: 100%; }
    .stage .phone { order: 2; transform: none; margin-top: 8px; width: min(290px, 100%); }
    .stage.v-b .sat, .stage.v-c .sat { display: none; }
    .ocard { transform: rotate(-1.5deg); }
    .hv-switch { left: 8px; bottom: 8px; font-size: 12px; }
    .hv-switch span { display: none; }
}

/* footer social buttons: coloured like the OverPanel footer */
footer .soc a { width: 44px; height: 44px; border-radius: 14px; color: #fff; box-shadow: 0 10px 20px -8px rgba(0,0,0,.55); }
footer .soc a:hover { background: none; filter: saturate(1.15) brightness(1.08); transform: translateY(-3px); }
footer .soc a.s-ig { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
footer .soc a.s-tg { background: linear-gradient(135deg, #0088cc 0%, #0ea5e9 100%); }
footer .soc a.s-wa { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
footer .soc a.s-ig:hover { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
footer .soc a.s-tg:hover { background: linear-gradient(135deg, #0088cc 0%, #0ea5e9 100%); }
footer .soc a.s-wa:hover { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
footer .soc a i { font-size: 19px; }

.sat.s6 { bottom: -2%; left: 42%; width: 46px; height: 46px; font-size: 19px; border-radius: 16px; animation-delay: 1.22s, -4s; }

/* ---------- phone / tablet: centred layout for the hero and the section headings ---------- */
@media (max-width: 980px) {
    .hero > .wrap > div:first-child { text-align: center; }
    .hero p.lead { margin-inline: auto; }
    .hero .ctas { justify-content: center; }
    .hero .note { justify-content: center; }
    .head { text-align: center; margin-inline: auto; }
    .phero .wrap { text-align: center; }
    .phero p { margin-inline: auto; }
    .step { text-align: center; }
    .step .n { margin-inline: auto; }
    .app { text-align: center; }
    .app .stores { justify-content: center; }
    .more { text-align: center; }
    .seo { text-align: center; }
    footer .brand { text-align: center; }
    footer .brand p { margin-inline: auto; }
    footer .soc { justify-content: center; }
    footer .fbar { justify-content: center; text-align: center; }
    footer .trust { justify-content: center; }
}
@media (max-width: 520px) {
    footer .fbar { flex-direction: column; align-items: center; }
    footer .fcols > div:not(.brand) { text-align: center; }
    footer .fcontact a { justify-content: center; }
}

/* ---------- phone, second pass (found in the Chrome review) ---------- */
@media (max-width: 520px) {
    /* all six icons in the row above the sample card */
    .stage .sat.s3, .stage .sat.s4, .stage .sat.s5 { display: grid; }
    .stage .sat.s6 { display: none; }
    .stage .sat { width: 42px; height: 42px; font-size: 18px; border-radius: 14px; animation-name: pop, bobsm; }
    @keyframes bobsm { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
    /* network tiles two per row, centred */
    .svc { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .svc a { padding: 18px 12px; align-items: center; text-align: center; }
    .svc .ic { margin-inline: auto; }
    .svc .go { justify-content: center; font-size: 13px; }
    /* cards: centred content to match the centred headings */
    .bx, .cbox, .kpis div { text-align: center; }
    .bx .ic, .cbox .ic { margin-inline: auto; }
    .b-api { text-align: right; }
    .about .panel { text-align: center; }
    /* footer: link lists side by side, the rest full width and centred */
    footer .fcols { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
    footer .fcols .brand, footer .fcols .fcontact { grid-column: 1 / -1; }
    footer .brand img { margin-inline: auto; }
    footer .fcontact a { justify-content: center; }
    footer .trust-t { width: 100%; text-align: center; margin: 0; }
}
@media (max-width: 520px) {
    .about .panel { text-align: right; }
    .about .panel .btn { display: flex; width: fit-content; margin-inline: auto; }
    .cbox b, .cbox small { text-align: center; display: block; }
    .svc a.tone-slate { grid-column: 1 / -1; }
}

/* ---------- auth pages on phone: centred header panel, back link and theme button on one row ---------- */
@media (max-width: 980px) {
    .auth-side { align-items: center; text-align: center; justify-content: flex-start; gap: 10px; }
    .auth-side .logo { align-self: center; }
    .auth-side p { margin-inline: auto; }
    .auth-form { display: flex; flex-wrap: wrap; justify-content: space-between; align-content: flex-start; align-items: center; gap: 12px 10px; padding: 16px 20px 96px; }
    .auth-form .back { position: static; margin: 0; align-self: center; justify-self: auto; }
    .auth-form .tt { position: static; }
    .auth-card { flex: 0 0 100%; margin-inline: auto; margin-top: 10px; }
    .auth-card h2, .auth-card .sub { text-align: center; }
    .auth-alt { justify-content: center; text-align: center; }
}
@media (max-width: 980px) { .auth { grid-template-rows: auto 1fr; align-content: start; } }
@media (max-width: 520px) { .pcard { align-items: center; text-align: center; } .pcard small { justify-content: center; } }

/* ======================= round 3 ======================= */
/* ---------- footer social: pills with name ---------- */
footer .soc { display: grid; gap: 10px; margin-top: 18px; max-width: 260px; }
footer .soc a { width: auto; height: auto; border-radius: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .25s, transform .25s, box-shadow .25s; }
footer .soc a:hover { transform: translateX(-4px); background: rgba(255,255,255,.1); filter: none; }
footer .soc .si { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 19px; flex: none; box-shadow: 0 10px 18px -8px rgba(0,0,0,.6); }
footer .soc .sl { display: grid; line-height: 1.5; text-align: right; }
footer .soc .sl b { font-family: 'iv-bold'; font-weight: normal; color: #fff; font-size: 14.5px; }
footer .soc .sl small { font-size: 12px; color: rgba(255,255,255,.55); direction: ltr; text-align: right; }
footer .soc a.s-ig .si { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
footer .soc a.s-tg .si { background: linear-gradient(135deg, #0088cc 0%, #0ea5e9 100%); }
footer .soc a.s-wa .si { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
footer .soc a.s-ig, footer .soc a.s-tg, footer .soc a.s-wa { background: rgba(255,255,255,.06); }
footer .soc a.s-ig:hover { box-shadow: inset 0 0 0 1px rgba(221,42,123,.7), 0 12px 24px -14px #dd2a7b; }
footer .soc a.s-tg:hover { box-shadow: inset 0 0 0 1px rgba(14,165,233,.7), 0 12px 24px -14px #0ea5e9; }
footer .soc a.s-wa:hover { box-shadow: inset 0 0 0 1px rgba(37,211,102,.7), 0 12px 24px -14px #25d366; }
@media (max-width: 980px) { footer .soc { max-width: none; grid-template-columns: repeat(3, 1fr); } footer .soc a { padding: 8px; justify-content: center; } footer .soc .sl { display: none; } }

/* ---------- phone (hero visual 2): a light app screen in a glossy frame ---------- */
.phone { width: 290px; padding: 9px; border-radius: 46px; background: linear-gradient(145deg, #3b4a9a, #0b1230 40%, #1c2766); border: 0; box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.12), inset 0 0 0 5px #0b1230; display: block; transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(-3deg); transition: transform .2s ease-out; }
.phone .ph-btn-l, .phone .ph-btn-r { position: absolute; width: 4px; border-radius: 3px; background: #26337f; }
.phone .ph-btn-l.b1 { left: -3px; top: 90px; height: 30px; } .phone .ph-btn-l.b2 { left: -3px; top: 132px; height: 52px; } .phone .ph-btn-r { right: -3px; top: 120px; height: 64px; }
.ph-screen { position: relative; overflow: hidden; border-radius: 38px; background: #f4f6fd; color: #0f172a; padding: 12px 14px 74px; min-height: 520px; display: grid; gap: 10px; align-content: start; }
.ph-status { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-family: 'iv-bold'; padding: 0 6px; }
.ph-island { width: 74px; height: 22px; border-radius: 14px; background: #0b1230; }
.ph-sig { display: flex; gap: 4px; font-size: 10.5px; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; }
.ph-head img { height: 28px; width: auto; }
.ph-av { width: 32px; height: 32px; border-radius: 50%; background: #e0e7ff; color: #4338ca; display: grid; place-items: center; font-size: 13px; }
.ph-bal { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, #3f51b5, #1c2a8f 70%, #5c6bc0); color: #fff; box-shadow: 0 16px 28px -16px rgba(63,81,181,.9); }
.ph-bal small { display: block; font-size: 11px; opacity: .8; }
.ph-bal b { font-family: 'iv-bold'; font-weight: normal; font-size: 20px; line-height: 1.5; }
.ph-bal b em { font-style: normal; font-size: 11px; opacity: .8; margin-inline-start: 3px; }
.ph-charge { background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-family: 'iv-bold'; }
.ph-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ph-quick span { height: 48px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--c); font-size: 20px; box-shadow: 0 8px 16px -12px rgba(15,23,42,.5); }
.ph-sec { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 0; font-size: 13px; }
.ph-sec b { font-family: 'iv-bold'; font-weight: normal; } .ph-sec em { font-style: normal; color: #4338ca; font-size: 12px; }
.phone .lrow { background: #fff; color: #0f172a; padding: 9px 10px; box-shadow: 0 8px 16px -12px rgba(15,23,42,.5); }
.phone .lrow .li { width: 34px; height: 34px; font-size: 15px; background: #f4f6fd; box-shadow: none; }
.phone .lrow .l1 b { font-size: 12.5px; }
.phone .bar { background: #e8eaf6; }
.ph-tabs { position: absolute; inset: auto 12px 12px; height: 54px; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px -12px rgba(15,23,42,.55); display: flex; align-items: center; justify-content: space-around; color: #94a3b8; font-size: 15px; }
.ph-tabs .on { color: #4338ca; }
.ph-tabs .fab-c { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; margin-top: -20px; box-shadow: 0 12px 20px -8px rgba(16,185,129,.8); }
.ph-toast { position: absolute; top: 44px; inset-inline: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(15,23,42,.94); color: #fff; box-shadow: 0 18px 30px -14px rgba(0,0,0,.7); opacity: 0; animation: toastin 7s 3.2s cubic-bezier(.2,.8,.2,1) forwards; }
.ph-toast > span { width: 30px; height: 30px; border-radius: 10px; background: #10b981; display: grid; place-items: center; font-size: 13px; flex: none; }
.ph-toast b { display: block; font-family: 'iv-bold'; font-weight: normal; font-size: 13px; line-height: 1.5; } .ph-toast small { font-size: 11px; opacity: .7; }
@keyframes toastin { 0% { opacity: 0; transform: translateY(-16px) scale(.96); } 8%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-12px); } }
.v-c .sat.s0 { top: 8%; right: 2%; } .v-c .sat.s1 { top: 40%; left: -2%; } .v-c .sat.s2 { bottom: 12%; left: 4%; } .v-c .sat.s3 { bottom: 6%; right: 4%; } .v-c .sat.s4 { top: 2%; left: 18%; }
.stage.v-c { min-height: 560px; }

/* ---------- faq, latest orders, quick order bar, tracking cards on phones ---------- */
.faq-more { display: none; margin: 14px auto 0; }
.qo-bar { display: none; }
@media (max-width: 520px) {
    .faq:not(.all) details:nth-child(n+4) { display: none; }
    .faq-more { display: block; padding: 10px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--head); font: inherit; cursor: pointer; }
    .feed .frow:nth-child(n+5) { display: none; }
    .frow { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; }
    .frow .fi { grid-row: span 2; }
    .frow .st { grid-column: 2; justify-self: start; }
    .qo-bar { display: flex; position: fixed; inset: auto 0 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -20px rgba(14,23,87,.5); }
    .qo-bar small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
    .qo-bar b { font-family: 'iv-bold'; font-weight: normal; font-size: 19px; color: var(--ok); }
    .qo-bar .btn { width: auto; padding: 11px 22px; }
    #Confirm { display: none; }
    .qo { padding-bottom: 84px; }
    .stbl { overflow: visible; background: none; border: 0; }
    .stbl table, .stbl tbody, .stbl tr, .stbl td { display: block; min-width: 0; width: 100%; }
    .stbl thead { display: none; }
    .stbl tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 4px; margin-bottom: 12px; }
    .stbl td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 7px 14px; text-align: left; }
    .stbl td::before { content: attr(data-l); color: var(--muted); font-size: 13px; flex: none; text-align: right; }
    body:has(.qo-bar) .hv-switch { display: none; }
}


/* ---------- round 4 ---------- */
/* footer social: icon-only gradient buttons, icon centred and bigger */
footer .soc { display: flex; gap: 12px; margin-top: 18px; max-width: none; grid-template-columns: none; }
footer .soc a { width: 50px; height: 50px; padding: 0; border-radius: 16px; display: grid; place-items: center; justify-content: center; color: #fff; box-shadow: 0 12px 22px -8px rgba(0,0,0,.6); transition: transform .25s, filter .25s; }
footer .soc a:hover { transform: translateY(-4px); filter: saturate(1.15) brightness(1.08); background: none; box-shadow: 0 16px 26px -8px rgba(0,0,0,.7); }
footer .soc a.s-ig, footer .soc a.s-ig:hover { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
footer .soc a.s-tg, footer .soc a.s-tg:hover { background: linear-gradient(135deg, #0088cc 0%, #0ea5e9 100%); }
footer .soc a.s-wa, footer .soc a.s-wa:hover { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
footer .soc a i, footer .fcols .soc i { margin: 0; font-size: 24px; line-height: 1; display: block; }
@media (max-width: 980px) { footer .soc { justify-content: center; } footer .soc a { padding: 0; } }

/* orbit: coloured platform badges like OverPanel */
.sat { background: var(--g, #6366f1); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--c) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.sat i, .sat svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }

/* softer glow around the floating badges */
.sat { box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--c) 45%, transparent), 0 6px 14px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4); }

/* TikTok and X in their real colours: black badge with a light edge so it still shows on the dark hero */
.sat.k-tt, .sat.k-x { background: #0a0a0a; border: 1.5px solid rgba(255,255,255,.5); box-shadow: 0 10px 22px -10px rgba(255,255,255,.35), 0 6px 14px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.sat.k-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.sat.k-x svg { filter: none; }

/* TikTok and X: white tile with the black logo, like the white sample card, so they sit well next to the coloured badges */
.sat.k-tt, .sat.k-x { background: #fff; color: #0a0a0a; border: 1px solid rgba(255,255,255,.9); box-shadow: 0 14px 26px -10px rgba(255,255,255,.35), 0 8px 16px -8px rgba(0,0,0,.5); }
.sat.k-x svg { filter: none; }
.sat.k-tt svg { filter: drop-shadow(-1.2px -.8px 0 #25f4ee) drop-shadow(1.2px .8px 0 #fe2c55); }

/* phone status bar: the island is always in the exact middle */
.ph-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ph-status > :first-child { justify-self: start; } .ph-status > :last-child { justify-self: end; }
.ph-island { margin-inline: 8px; }

/* phone hero: orbit rings behind the phone and a full set of platform badges around it */
.v-c .ring.r1 { width: 470px; height: 470px; }
.v-c .ring.r2 { width: 620px; height: 620px; }
.v-c .sat.s0 { top: 5%; right: 10%; } .v-c .sat.s1 { top: 34%; left: -4%; } .v-c .sat.s2 { bottom: 15%; left: 1%; }
.v-c .sat.s3 { bottom: 4%; right: 12%; } .v-c .sat.s4 { top: 0; left: 20%; } .v-c .sat.s5 { top: 54%; right: -4%; } .v-c .sat.s6 { bottom: -3%; left: 38%; }
@media (max-width: 980px) { .v-c .ring.r1 { width: 400px; height: 400px; } .v-c .ring.r2 { display: none; } }
@media (max-width: 520px) {
    .stage.v-c .sat { display: grid; }
    .stage.v-c .sat.s6 { display: none; }
    .stage.v-c .ring { display: none; }
}

/* TikTok black (X stays white) */
.sat.k-tt { background: #0a0a0a; color: #fff; border: 1.5px solid rgba(255,255,255,.5); box-shadow: 0 10px 22px -10px rgba(255,255,255,.3), 0 6px 14px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.sat.k-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
/* wallet card in the phone: millions fit on one line */
.ph-bal b { font-size: 16.5px; white-space: nowrap; }
.ph-bal b em { font-size: 10px; }
.ph-bal small { font-size: 10.5px; }
.ph-charge { font-size: 11.5px; padding: 5px 11px; }


/* ======================= round 5 ======================= */
/* rules and other short pages: air before the footer */
.page { padding-bottom: 72px; }

/* auth: one compact centred card on the brand background */
.auth { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; place-items: center; align-content: center; min-height: calc(100vh / var(--z)); padding: 28px 16px 40px; position: relative; overflow: hidden; background: radial-gradient(800px 420px at 85% 0, #2a3aa8 0%, transparent 60%), radial-gradient(700px 420px at 8% 100%, #1c2a8f 0%, transparent 60%), var(--navy); }
:root[data-theme="dark"] .auth { background: radial-gradient(800px 420px at 85% 0, #1d2a86 0%, transparent 60%), radial-gradient(700px 420px at 8% 100%, #121c66 0%, transparent 60%), #0a1040; }
.auth::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.auth::after { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.07); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.auth .auth-side { display: none; }
.auth .auth-form { position: relative; z-index: 1; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; align-content: normal; gap: 12px; width: min(410px, 100%); padding: 0; }
.auth .auth-form .back { position: static; align-self: flex-start; margin: 0; padding: 6px 10px; color: rgba(255,255,255,.78); font-size: 13.5px; }
.auth .auth-form .back:hover { background: rgba(255,255,255,.12); color: #fff; }
.auth .auth-form .tt { position: fixed; top: 16px; left: 16px; z-index: 5; background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.auth .auth-card { width: 100%; flex: none; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px 20px; box-shadow: 0 40px 80px -34px rgba(0,0,0,.65); }
.a2-logo { display: block; text-align: center; margin-bottom: 8px; }
.a2-logo img { height: 38px; width: auto; margin-inline: auto; }
.a2-logo .logo-b { display: var(--show-blue); } .a2-logo .logo-w { display: var(--show-white); }
.auth .auth-card h2 { font-size: 21px; text-align: center; }
.auth .auth-card .sub { font-size: 14px; margin: 2px 0 16px; text-align: center; }
.auth .fld { margin-bottom: 11px; }
.auth .fld label { font-size: 13px; margin-bottom: 3px; }
.auth .fld input { height: 46px; border-radius: 13px; font-size: 15px; padding: 0 14px; }
.auth .pw .eye { top: 3px; }
.auth .row-opts { margin: 0 0 14px; font-size: 13.5px; }
.auth .auth-card .btn { padding: 12px; }
.auth .hint { font-size: 12.5px; padding: 8px 12px; margin-bottom: 12px; }
.auth .auth-alt { margin-top: 14px; justify-content: center; font-size: 13.5px; }
.auth .rc { margin-top: 10px; font-size: 11.5px; }
.auth .otp { font-size: 22px; }
@media (max-width: 980px) {
    .auth { padding: 18px 14px 28px; align-content: start; }
    .auth .auth-form { padding: 0; }
    .auth .auth-form .tt { top: 12px; left: 12px; }
    .auth .auth-card { padding: 20px 18px 18px; }
}

/* phone: the sample "order done" notification is smaller */
@media (max-width: 520px) {
    .ph-toast { top: 40px; inset-inline: 22px; gap: 8px; padding: 6px 9px; border-radius: 13px; }
    .ph-toast > span { width: 22px; height: 22px; border-radius: 8px; font-size: 10px; }
    .ph-toast b { font-size: 11px; line-height: 1.4; } .ph-toast small { font-size: 9.5px; }
}

/* lighter brand blue for the footer in the light theme (the dark theme keeps its own) */
:root[data-theme="light"] footer { background: linear-gradient(180deg, #131f74, #0d1658); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) footer { background: linear-gradient(180deg, #131f74, #0d1658); } }


/* ======================= round 6: one split card ======================= */
.a2-side { display: none; }
@media (min-width: 981px) {
    .auth .auth-form { width: min(900px, 100%); }
    .auth .auth-form .back { align-self: flex-start; }
    .auth .auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; column-gap: 0; padding: 14px; border-radius: 30px; }
    .auth .auth-card > *:not(.a2-side) { grid-column: 1; padding-inline: 34px; }
    .auth .auth-card > .a2-logo { display: none; }
    .auth .auth-card > h2 { padding-top: 26px; }
    .auth .auth-card > *:last-child:not(.a2-side) { padding-bottom: 22px; }
    .auth .auth-card > .a2-side { grid-column: 2; grid-row: 1 / span 30; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; text-align: center; align-items: center; padding: 28px 26px; border-radius: 22px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(420px 300px at 80% 0, #3446c0 0%, transparent 62%), radial-gradient(380px 300px at 10% 100%, #1c2a8f 0%, transparent 62%), var(--navy); }
    .a2-side::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); top: 50%; left: 50%; transform: translate(-50%, -50%); }
    .a2-side > * { position: relative; }
    
    .a2-ic { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
    .a2-ic i { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 19px; }
    .a2-side h3 { font-size: 21px; line-height: 1.7; color: #fff; margin-bottom: 6px; }
    .a2-side p { color: rgba(255,255,255,.78); font-size: 14px; }
    .a2-side small { color: rgba(255,255,255,.6); font-size: 12.5px; }
}

/* round 6b: panel uses the old side-panel look */
@media (min-width: 981px) {
    .auth .auth-card > .a2-side { text-align: start; align-items: stretch; padding: 30px 32px; }
    .a2-side::before { display: none; }
    .a2-side .logo img { height: 44px; display: block; }
    .a2-side h1 { font-size: 26px; line-height: 1.6; margin-bottom: 10px; color: #fff; }
    .a2-side p { color: rgba(255,255,255,.78); font-size: 15px; }
    .a2-side ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; padding: 0; }
    .a2-side li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); }
    .a2-side li i { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #6ee7b7; }
    .a2-side small { color: rgba(255,255,255,.55); }
}

/* round 6c: top bar inside the column, distinct panel colour */
.auth .auth-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth .auth-form .tt { position: static; top: auto; left: auto; flex: none; }
.auth .auth-form .back { align-self: auto; }
.auth .auth-form { gap: 14px; }
@media (min-width: 981px) {
    .auth .auth-card > .a2-side { background: radial-gradient(260px 260px at 100% 0, rgba(255,255,255,.22) 0%, transparent 70%), radial-gradient(300px 300px at 0 100%, rgba(236,72,153,.35) 0%, transparent 70%), linear-gradient(150deg, #5a5cf2 0%, #4338ca 55%, #6d28d9 100%); }
    :root[data-theme="dark"] .auth .auth-card > .a2-side { background: radial-gradient(260px 260px at 100% 0, rgba(255,255,255,.14) 0%, transparent 70%), radial-gradient(300px 300px at 0 100%, rgba(236,72,153,.25) 0%, transparent 70%), linear-gradient(150deg, #4a4cd8 0%, #372fae 55%, #5b21b6 100%); }
    .a2-side li i { color: #fff; background: rgba(255,255,255,.2); }
}

/* ======================= round 8: auth = split card + logo badge on the edge + login/register switch ======================= */
.a2-seg { display: none; }
.auth .auth-card { position: relative; margin-top: 30px; padding-top: 50px; }
.auth .a2-logo { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); margin: 0; padding: 12px 22px; border-radius: 22px; background: linear-gradient(135deg, #3f51b5, #6d28d9); box-shadow: 0 18px 36px -14px rgba(63,81,181,.8); z-index: 2; }
.auth .a2-logo img { height: 36px; width: auto; }
.auth .a2-logo .logo-b { display: none; } .auth .a2-logo .logo-w { display: block; }
.auth .a2-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 18px; border-radius: 14px; background: var(--card-2); }
.auth .a2-seg a { text-align: center; padding: 9px; border-radius: 11px; font-size: 14px; color: var(--muted); }
.auth .a2-seg a.on { background: var(--card); color: var(--head); box-shadow: 0 6px 16px -8px rgba(14,23,87,.5); }
.auth .auth-card > h2 { font-size: 20px; }

@media (min-width: 981px) {
    .auth .auth-card { padding-top: 14px; }
    .auth .auth-card > .a2-logo { display: block; }
    .auth .auth-card > .a2-seg { grid-column: 1; padding: 4px; margin: 36px 34px 14px; }
    .auth .auth-card > h2 { padding-top: 40px; }
    .auth .auth-card > .a2-seg ~ h2 { padding-top: 4px; }
    .auth .auth-card > .a2-side { text-align: center; align-items: center; justify-content: center; gap: 22px; padding-top: 52px; }
    .auth .a2-side .logo { display: none; }
    .auth .a2-side ul { justify-items: center; }
    .auth .a2-side li { justify-content: flex-start; min-width: 190px; }
    .auth .a2-side small { margin-top: 6px; }
}
@media (max-width: 980px) { .auth .a2-seg { margin-bottom: 14px; } }

/* checkbox: round-cornered brand box with a white tick */
.check { cursor: pointer; user-select: none; }
.check input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 0; border-radius: 7px; border: 1.5px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.check input[type=checkbox]::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.check input[type=checkbox]:checked { background: var(--indigo); border-color: var(--indigo); box-shadow: 0 6px 14px -6px rgba(63,81,181,.8); }
.check input[type=checkbox]:checked::after { transform: rotate(-45deg) scale(1); }
.check input[type=checkbox]:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.check:hover input[type=checkbox]:not(:checked) { border-color: var(--indigo); }

/* phone: the sample "order done" notification is a small centred pill */
@media (max-width: 520px) {
    .ph-toast { top: 36px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 78%; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 12px; }
    .ph-toast > span { width: 18px; height: 18px; border-radius: 6px; font-size: 9px; }
    .ph-toast b { font-size: 10px; line-height: 1.35; } .ph-toast small { font-size: 8.5px; }
}

/* ======================= round 9: light page background, logo back in the panel, no duplicate login/register links ======================= */
.auth { background: radial-gradient(800px 460px at 88% 0, rgba(79,70,229,.15) 0%, transparent 60%), radial-gradient(760px 460px at 4% 100%, rgba(236,72,153,.12) 0%, transparent 60%), var(--bg); }
:root[data-theme="dark"] .auth { background: radial-gradient(800px 460px at 88% 0, rgba(79,70,229,.22) 0%, transparent 60%), radial-gradient(760px 460px at 4% 100%, rgba(236,72,153,.14) 0%, transparent 60%), var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .auth { background: radial-gradient(800px 460px at 88% 0, rgba(79,70,229,.22) 0%, transparent 60%), radial-gradient(760px 460px at 4% 100%, rgba(236,72,153,.14) 0%, transparent 60%), var(--bg); } }
.auth::before, .auth::after { display: none; }
.auth .auth-card { box-shadow: 0 40px 80px -40px rgba(14,23,87,.35); margin-top: 0; padding-top: 22px; }
.auth .auth-form .back { color: var(--muted); }
.auth .auth-form .back:hover { background: var(--card-2); color: var(--head); }
.auth .auth-form .tt { background: var(--card); color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.auth .auth-card > .a2-logo { position: static; transform: none; background: none; box-shadow: none; padding: 0; border-radius: 0; margin: 0 0 12px; }
.auth .a2-logo .logo-b { display: var(--show-blue); } .auth .a2-logo .logo-w { display: var(--show-white); }
.auth .a2-logo img { height: 40px; }
@media (min-width: 981px) {
    .auth .auth-card { padding-top: 14px; }
    .auth .auth-card > .a2-logo { display: none; }
    .auth .a2-side .logo { display: block; }
    .auth .a2-side .logo img { height: 46px; }
    .auth .auth-card > .a2-seg { margin-top: 28px; }
    .auth .auth-card > .a2-side { padding-top: 30px; justify-content: space-between; }
    .auth .auth-card > h2 { padding-top: 40px; }
    .auth .auth-card > .a2-seg ~ h2 { padding-top: 4px; }
}

/* ======================= round 10: .ax = new auth pages (/preview/login, /preview/register), built in the language of the user panel ======================= */
.ax { position: relative; min-height: 100vh; display: grid; grid-template-rows: auto 1fr; justify-items: center; padding: 18px 16px 40px; overflow: hidden; background: var(--bg); }
.ax-top { width: min(1120px, 100%); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.ax .back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; color: var(--muted); font-size: 14px; }
.ax .back:hover { background: var(--card); color: var(--head); }
.ax .tt { background: var(--card); color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }

/* the faded sketch of the panel */
.ax-ghost { position: absolute; z-index: 0; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(1120px, 96vw); height: 640px; display: flex; gap: 18px; padding: 18px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); opacity: .62; filter: blur(2.5px); -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 35%, transparent 100%); pointer-events: none; }
.g-side { width: 190px; flex: none; border-radius: 20px; padding: 18px; background: linear-gradient(160deg, #283593, #1a237e); display: grid; align-content: start; gap: 14px; }
.g-side i { height: 26px; width: 70%; border-radius: 8px; background: rgba(255,255,255,.9); margin-bottom: 10px; }
.g-side b { height: 12px; border-radius: 6px; background: rgba(255,255,255,.28); }
.g-side b:nth-of-type(2) { width: 80%; } .g-side b:nth-of-type(3) { width: 64%; } .g-side b:nth-of-type(4) { width: 86%; } .g-side b:nth-of-type(5) { width: 58%; }
.g-main { flex: 1; display: grid; grid-template-rows: auto auto 1fr; gap: 16px; min-width: 0; }
.g-bar { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.g-bar span { width: 180px; height: 16px; border-radius: 8px; background: var(--line); }
.g-bar em { width: 38px; height: 38px; border-radius: 50%; background: var(--card-2); }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-stats > div { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; background: var(--card); }
.g-stats i { width: 34px; height: 34px; border-radius: 11px; background: var(--c); opacity: .85; }
.g-stats b { height: 20px; width: 62%; border-radius: 7px; background: var(--head); opacity: .25; }
.g-stats s { height: 10px; width: 40%; border-radius: 5px; background: var(--line); }
.g-table { border: 1px solid var(--line); border-radius: 18px; padding: 8px 16px; display: grid; align-content: start; }
.g-table > div { display: flex; align-items: center; gap: 14px; height: 52px; border-bottom: 1px solid var(--line); }
.g-table > div:last-child { border-bottom: 0; }
.g-table i { width: 30px; height: 30px; border-radius: 10px; background: var(--card-2); flex: none; }
.g-table b { height: 11px; border-radius: 6px; background: var(--line); width: 22%; } .g-table b:nth-of-type(2) { width: 14%; }
.g-table s { margin-inline-start: auto; width: 74px; height: 24px; border-radius: 999px; background: rgba(16,185,129,.22); }

/* the card, same language as the panel boxes */
.ax-card { position: relative; z-index: 2; align-self: center; width: min(420px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px 22px; box-shadow: 0 30px 70px -30px rgba(26,35,126,.38), 0 2px 6px rgba(26,35,126,.06); }
.ax-logo { display: block; text-align: center; margin-bottom: 16px; }
.ax-logo img { height: 42px; width: auto; margin-inline: auto; }
.ax-logo .logo-b { display: var(--show-blue); } .ax-logo .logo-w { display: var(--show-white); }
.ax-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 14px; background: var(--card-2); }
.ax-seg a { text-align: center; padding: 9px; border-radius: 11px; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
.ax-seg a:hover { color: var(--head); }
.ax-seg a.on { background: var(--card); color: var(--head); font-family: 'iv-bold'; box-shadow: 0 4px 12px -6px rgba(26,35,126,.45); }
.ax-card h1 { font-size: 21px; text-align: center; color: var(--head); }
.ax-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 3px 0 18px; }
.ax .fld { margin-bottom: 12px; }
.ax .fld label { font-size: 13px; margin-bottom: 4px; }
.ax .fld input { height: 46px; border-radius: 12px; font-size: 15px; padding: 0 14px; }
.ax .fld input:focus { border-color: #5c6bc0; box-shadow: 0 0 0 3px rgba(92,107,192,.2); outline: 0; }
.ax .pw .eye { top: 3px; }
.ax .row-opts { margin: 0 0 16px; font-size: 13.5px; }
.ax .btn { width: 100%; padding: 12px; background: linear-gradient(135deg, #5c6bc0, #3f51b5); box-shadow: 0 8px 18px -8px rgba(63,81,181,.7); }
.ax-help { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.ax-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-pwhelp { margin: -4px 0 12px; }
.ax-gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 4px 0 14px; border-radius: 12px; background: rgba(16,185,129,.12); color: var(--ok); font-size: 13.5px; }
.ax-gift i { width: 28px; height: 28px; border-radius: 9px; background: #10b981; color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.ax .rc { margin-top: 12px; font-size: 11.5px; text-align: center; }
@media (max-width: 760px) { .ax-ghost { display: none; } .ax { padding-top: 12px; } .ax-card { padding: 22px 18px 18px; } .ax-two { grid-template-columns: 1fr; gap: 0; } .ax-pwhelp { margin-top: 2px; } }

/* current auth pages: darker brand panel so the white logo reads */
@media (min-width: 981px) {
    .auth .auth-card > .a2-side { background: radial-gradient(300px 260px at 100% 0, rgba(124,131,255,.45) 0%, transparent 70%), linear-gradient(155deg, #283593 0%, #1a237e 58%, #2b1b7a 100%); }
}
.g-side { opacity: .55; }

/* round 11 */
/* sample "order done" notification: a compact pill on every screen size */
.ph-toast { top: 40px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 78%; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 13px; }
.ph-toast > span { width: 22px; height: 22px; border-radius: 8px; font-size: 10px; }
.ph-toast b { font-size: 11.5px; line-height: 1.4; } .ph-toast small { font-size: 10px; }

/* dark theme: the card stands out from the sketch behind it */
:root[data-theme="dark"] .ax-card { background: #182048; border-color: #3a4687; box-shadow: 0 0 0 1px rgba(124,131,255,.12), 0 40px 90px -30px rgba(0,0,0,.85), 0 0 80px -20px rgba(92,107,192,.35); }
:root[data-theme="dark"] .ax-ghost { opacity: .3; }
:root[data-theme="dark"] .ax-seg { background: #101635; }
:root[data-theme="dark"] .ax-seg a.on { background: #263070; color: #fff; }
:root[data-theme="dark"] .ax .fld input { background: #0f1533; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ax-card { background: #182048; border-color: #3a4687; box-shadow: 0 0 0 1px rgba(124,131,255,.12), 0 40px 90px -30px rgba(0,0,0,.85), 0 0 80px -20px rgba(92,107,192,.35); }
    :root:not([data-theme="light"]) .ax-ghost { opacity: .3; }
    :root:not([data-theme="light"]) .ax-seg { background: #101635; }
    :root:not([data-theme="light"]) .ax-seg a.on { background: #263070; color: #fff; }
    :root:not([data-theme="light"]) .ax .fld input { background: #0f1533; }
}

/* round 12: light compact toast low on the phone (not over the logo), readable policy links */
.ph-toast { top: auto; bottom: 88px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 66%; gap: 7px; padding: 5px 11px 5px 8px; border-radius: 12px; background: #fff; color: #1a237e; border: 1px solid #bbf7d0; box-shadow: 0 14px 26px -12px rgba(16,185,129,.55), 0 2px 6px rgba(15,23,42,.08); }
.ph-toast > span { width: 20px; height: 20px; border-radius: 7px; font-size: 9px; color: #fff; }
.ph-toast b { font-size: 10.5px; line-height: 1.4; } .ph-toast small { font-size: 9px; color: #64748b; opacity: 1; }
@keyframes toastin { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 8%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }
.ax .rc { line-height: 1.9; }
.ax .rc a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .ax .rc a { color: #9fb0ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ax .rc a { color: #9fb0ff; } }

/* round 13: phone status bar like a real phone (time left, icons right), footer readable */
.ph-status { direction: ltr; }
footer { background: linear-gradient(180deg, #16237e 0%, #0f1a66 100%); color: rgba(255,255,255,.86); }
footer .brand p { color: rgba(255,255,255,.88); }
footer h4 { color: #fff; }
footer .fcols a { color: rgba(255,255,255,.88); }
footer a:hover { color: #fff; }
footer .fcontact i { background: rgba(255,255,255,.14); color: #c7d2fe; }
footer .fbar { color: rgba(255,255,255,.78); }
footer .fcols { border-bottom-color: rgba(255,255,255,.16); }
:root[data-theme="light"] footer { background: linear-gradient(180deg, #16237e 0%, #0f1a66 100%); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) footer { background: linear-gradient(180deg, #16237e 0%, #0f1a66 100%); } }

/* round 14: footer in the same blue as the hero, scroll hint above the strip */
footer { background: radial-gradient(700px 320px at 12% 0, rgba(42,58,168,.38) 0%, transparent 65%), var(--navy); color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.08); }
:root[data-theme="dark"] footer { background: radial-gradient(700px 320px at 12% 0, rgba(29,42,134,.45) 0%, transparent 65%), #0a1040; }
:root[data-theme="light"] footer { background: radial-gradient(700px 320px at 12% 0, rgba(42,58,168,.38) 0%, transparent 65%), var(--navy); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) footer { background: radial-gradient(700px 320px at 12% 0, rgba(42,58,168,.38) 0%, transparent 65%), var(--navy); } }
footer .brand p, footer .fcols a { color: rgba(255,255,255,.78); }
footer a:hover { color: #fff; }
footer .fcontact i { background: rgba(255,255,255,.08); color: #a5b4fc; }
footer .fbar { color: rgba(255,255,255,.62); }
footer .fcols { border-bottom-color: rgba(255,255,255,.1); }

.scroll-hint { position: absolute; top: -92px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--link); display: block; opacity: .85; }
.scroll-hint i { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--link); animation: hintdot 1.9s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes hintdot { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 980px) { .scroll-hint { display: none; } }
.scroll-hint { top: -86px; border-color: rgba(255,255,255,.75); opacity: 1; }
.scroll-hint i { background: #fff; }

/* round 15: footer steps down from the call-to-action (hero blue, brighter cta, deeper footer) */
.scroll-hint { top: -78px; }
.cta { background: radial-gradient(620px 320px at 88% 0, rgba(124,131,255,.42) 0%, transparent 65%), linear-gradient(135deg, #2a3aa8 0%, #1c2a8f 48%, #141d70 100%); }
footer { background: radial-gradient(620px 300px at 12% 0, rgba(42,58,168,.28) 0%, transparent 65%), #0b1350; border-top: 0; }
:root[data-theme="light"] footer { background: radial-gradient(620px 300px at 12% 0, rgba(42,58,168,.28) 0%, transparent 65%), #0b1350; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) footer { background: radial-gradient(620px 300px at 12% 0, rgba(42,58,168,.28) 0%, transparent 65%), #0b1350; } }
:root[data-theme="dark"] .cta { background: radial-gradient(620px 320px at 88% 0, rgba(99,110,255,.3) 0%, transparent 65%), linear-gradient(135deg, #1d2a86 0%, #141d70 55%, #0e1555 100%); }
:root[data-theme="dark"] footer { background: radial-gradient(620px 300px at 12% 0, rgba(29,42,134,.35) 0%, transparent 65%), #070b2c; }
footer .fcols { border-bottom-color: rgba(255,255,255,.09); }

/* round 16: scroll button on the edge between hero and stats card; call-to-action as a floating card over the footer */
.scroll-hint { top: -22px; left: 50%; width: 44px; height: 44px; margin-left: -22px; transform: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: 0 10px 22px -8px rgba(14,23,87,.5); display: grid; place-items: center; z-index: 3; opacity: 1; color: var(--link); transition: transform .2s; }
.scroll-hint:hover { transform: translateY(2px); }
.scroll-hint i { position: static; width: auto; height: auto; margin: 0; background: none; border-radius: 0; font-size: 14px; color: var(--link); animation: hintbob 1.6s ease-in-out infinite; }
@keyframes hintbob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.cta { background: none !important; border-radius: 0; margin-top: 96px; padding: 0; position: relative; z-index: 2; }
.cta > .wrap { background: radial-gradient(620px 320px at 88% 0, rgba(124,131,255,.42) 0%, transparent 65%), linear-gradient(135deg, #2a3aa8 0%, #1c2a8f 48%, #141d70 100%); border-radius: 30px; padding: 60px 24px; margin-bottom: -76px; box-shadow: 0 30px 60px -30px rgba(14,23,87,.7); }
:root[data-theme="dark"] .cta > .wrap { background: radial-gradient(620px 320px at 88% 0, rgba(99,110,255,.3) 0%, transparent 65%), linear-gradient(135deg, #1d2a86 0%, #141d70 55%, #0e1555 100%); }
.cta ~ footer { padding-top: 148px; }
@media (max-width: 760px) { .cta > .wrap { padding: 44px 18px; border-radius: 24px; } .cta ~ footer { padding-top: 130px; } }

/* round 17: capsule notification under the island; green call-to-action card */
.ph-toast { top: 40px; bottom: auto; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 86%; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(15,23,42,.74); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); color: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 28px -12px rgba(15,23,42,.6); }
.ph-toast > span { width: 24px; height: 24px; border-radius: 50%; font-size: 10px; background: #10b981; }
.ph-toast b { font-size: 11px; line-height: 1.35; color: #fff; } .ph-toast small { font-size: 9.5px; color: rgba(255,255,255,.72); opacity: 1; }
@keyframes toastin { 0% { opacity: 0; transform: translateY(-14px) scale(.92); } 8%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px) scale(.96); } }

.cta > .wrap { background: radial-gradient(560px 300px at 88% 0, rgba(110,231,183,.28) 0%, transparent 65%), linear-gradient(135deg, #0f766e 0%, #047857 52%, #065f46 100%); box-shadow: 0 30px 60px -30px rgba(4,95,70,.7); }
:root[data-theme="dark"] .cta > .wrap { background: radial-gradient(560px 300px at 88% 0, rgba(110,231,183,.2) 0%, transparent 65%), linear-gradient(135deg, #0b5d57 0%, #065f46 55%, #064e3b 100%); }
.cta p { color: rgba(255,255,255,.86); }
.cta .btn-mint { background: #fff; color: #065f46; box-shadow: 0 12px 24px -10px rgba(0,0,0,.45); }
.cta .btn-mint:hover { background: #ecfdf5; }
.cta .btn-glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* round 18: light call-to-action card (the green was muddy), wider capsule toast */
.cta > .wrap { background: radial-gradient(520px 260px at 90% 0, rgba(16,185,129,.16) 0%, transparent 65%), linear-gradient(135deg, #ecfdf5 0%, #ffffff 58%); border: 1px solid #d1fae5; box-shadow: 0 30px 60px -28px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.06); }
:root[data-theme="dark"] .cta > .wrap { background: radial-gradient(520px 260px at 90% 0, rgba(16,185,129,.22) 0%, transparent 65%), linear-gradient(135deg, #16234f 0%, #131a36 70%); border-color: #2c3a78; }
.cta h2 { color: var(--head); }
.cta p { color: var(--muted); }
.cta .btn-mint { background: linear-gradient(135deg, #10b981, #059669); color: #fff; box-shadow: 0 12px 22px -10px rgba(5,150,105,.8); }
.cta .btn-mint:hover { background: linear-gradient(135deg, #14c48e, #059669); }
.cta .btn-glass { background: transparent; color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.cta .btn-glass:hover { background: var(--card-2); }
.ph-toast { min-width: 150px; padding: 6px 18px 6px 8px; }

/* round 19: tight capsule */
.ph-toast { min-width: 0; width: max-content; max-width: 78%; gap: 6px; padding: 4px 11px 4px 5px; }
.ph-toast > span { width: 20px; height: 20px; font-size: 8.5px; }
.ph-toast > div { display: grid; gap: 0; }
.ph-toast b { font-size: 10px; line-height: 1.35; white-space: nowrap; } .ph-toast small { font-size: 8.5px; line-height: 1.3; white-space: nowrap; }

/* real service names can be long: one line, cut with an ellipsis, so the phone keeps its layout */
.lrow .l1 { min-width: 0; }
.lrow .l1 b { min-width: 0; flex: 1; text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .l1 .chip { flex: none; }
.ph-screen > * { min-width: 0; max-width: 100%; }
.lrow { min-width: 0; overflow: hidden; }

/* round 20: new auth pages are the default */
.ax .otp { font-size: 22px; }
.ax .btn-soft { width: 100%; }
.ax-alt { margin-top: 14px; text-align: center; color: var(--muted); font-size: 13.5px; }
.ax-alt a { color: var(--link); font-family: 'iv-bold'; }

/* round 21: phone, same gap above every auth card, tighter so it scrolls as little as possible */
@media (max-width: 760px) {
    .ax { padding: 8px 14px 18px; grid-template-rows: auto 1fr; min-height: 100vh; }
    .ax-card { align-self: start; margin-top: 4px; padding: 16px 16px 14px; border-radius: 20px; }
    .ax .back { padding: 6px 8px; font-size: 13px; }
    .ax .tt { width: 36px; height: 36px; }
    .ax-logo { margin-bottom: 8px; } .ax-logo img { height: 32px; }
    .ax-seg { margin-bottom: 12px; padding: 3px; } .ax-seg a { padding: 7px; font-size: 13.5px; }
    .ax-card h1 { font-size: 18px; } .ax-sub { font-size: 13px; margin: 1px 0 12px; }
    .ax .fld { margin-bottom: 8px; } .ax .fld label { font-size: 12.5px; margin-bottom: 3px; }
    .ax .fld input { height: 42px; font-size: 14.5px; border-radius: 11px; } .ax .pw .eye { top: 1px; }
    .ax .row-opts { margin: 0 0 12px; font-size: 13px; }
    .ax .btn { padding: 11px; }
    .ax-help { font-size: 12px; margin-top: 3px; } .ax-pwhelp { margin: 0 0 8px; }
    .ax-gift { padding: 8px 10px; margin: 2px 0 10px; font-size: 13px; } .ax-gift i { width: 24px; height: 24px; }
    .ax .rc { margin-top: 9px; font-size: 11px; line-height: 1.7; }
    .ax-alt { margin-top: 10px; font-size: 13px; }
}
@media (max-width: 760px) { .ax { padding-bottom: 8px; } }
@media (max-width: 760px) { .ax-card { margin-top: clamp(8px, calc((100vh - 830px) / 3), 40px); } }
