/* ==========================================================================
   TallyCloud design system — plain CSS, no build step.
   --------------------------------------------------------------------------
   Layout:     .container .section .section-alt .grid .grid-2/3/4 .stack .row .between .wrap .gap-sm/.gap-lg
   Text:       .eyebrow .lead .muted .text-sm .text-xs .text-right .nowrap .mono .h1-.h4
   Buttons:    .btn + .btn-primary .btn-outline .btn-ghost .btn-danger .btn-white | .btn-sm .btn-lg .btn-block
   Surfaces:   .card (.card-header .card-body .card-footer) .panel .kpi .icon-tile .empty
   Status:     <x-badge tone="ok|warn|danger|info|muted">  .alert .alert-success/.alert-error/.alert-info
   Forms:      .field (label + .input/select/textarea + .hint/.error) .check .form-grid
   Data:       .table (inside .table-wrap) .dl (definition rows) .tabs .tab.active .progress
   Marketing:  .hero .hero-* .feature .check-list .pricing-grid .price-card .faq .cta-band .steps
   App:        .app (.sidebar .app-main .topbar .app-content) .page-head
   ========================================================================== */

:root {
    --primary: #1a5fd8;
    --primary-600: #154fb8;
    --primary-50: #eef4ff;
    --primary-100: #dbe7fd;
    --navy: #0b2454;
    --navy-2: #12336f;
    --ink: #0f1b2d;
    --text: #25324a;
    --muted: #64748b;
    --line: #e3e8f0;
    --line-2: #eef2f7;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --ok: #15803d;
    --ok-bg: #e8f7ee;
    --warn: #b45309;
    --warn-bg: #fff4e0;
    --danger: #c62828;
    --danger-bg: #fdecec;
    --info: #1a5fd8;
    --info-bg: #eef4ff;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
    --shadow: 0 6px 24px rgba(15, 27, 45, .08);
    --shadow-lg: 0 18px 48px rgba(11, 36, 84, .16);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
h2, .h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
h4, .h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
:focus-visible { outline: 3px solid rgba(26, 95, 216, .45); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 820px; }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.grid-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.gap-sm { gap: 6px; }
.gap-lg { gap: 24px; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.muted { color: var(--muted); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .78rem; }
.strong { font-weight: 650; color: var(--ink); }
.lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .93rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(26, 95, 216, .25); }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d2e1; background: var(--bg-soft); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a31f1f; }
.btn-white { background: #fff; color: var(--primary); }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 7px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; font-weight: 600; }

/* ---------- Cards & surfaces ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-header { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-header h2, .card-header h3 { margin: 0; font-size: 1.02rem; }
.card-body { padding: 22px; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--line-2); background: #fbfcfe; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.panel { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile-lg { width: 56px; height: 56px; border-radius: 14px; }
.kpi { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.kpi-value { font-size: 1.5rem; font-weight: 750; color: var(--ink); line-height: 1.1; }
.kpi-label { font-size: .82rem; color: var(--muted); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .icon-tile { margin-bottom: 12px; }

/* ---------- Badges & alerts ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #eef1f5; color: #52607a; }
.badge-popular { background: var(--primary); color: #fff; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: .92rem; border: 1px solid; }
.alert ul { margin: 4px 0 0; }
.alert-success { background: var(--ok-bg); border-color: #bfe6cd; color: #14532d; }
.alert-error { background: var(--danger-bg); border-color: #f5c2c2; color: #7f1d1d; }
.alert-info { background: var(--info-bg); border-color: var(--primary-100); color: #173e86; }
.alert-warn { background: var(--warn-bg); border-color: #f6d9a6; color: #7c3d06; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--danger); }
.input, select.input, textarea.input { display: block; width: 100%; padding: 10px 12px; border: 1px solid #cfd8e5; border-radius: 8px; font: inherit; font-size: .93rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 216, .15); }
.input[readonly] { background: var(--bg-soft); }
textarea.input { min-height: 120px; resize: vertical; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 38px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.error { font-size: .8rem; color: var(--danger); margin-top: 5px; }
.is-invalid { border-color: var(--danger) !important; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.radio-card input { margin-top: 3px; accent-color: var(--primary); }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------- Tables, lists, tabs ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 12px 16px; background: #f8fafd; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcff; }
.dl { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; font-size: .9rem; }
.dl dt { color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.dl dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 550; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tab { padding: 10px 16px; font-size: .9rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none !important; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .4s; }
.progress-ok > span { background: var(--ok); }
.progress-warn > span { background: #e59a1c; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; }
.timeline .tl-icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: .86rem; }
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Site header / footer ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); text-decoration: none !important; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.logo-name b { color: var(--primary); font-weight: 800; }
.logo-tag { font-size: .66rem; color: var(--muted); font-style: italic; margin-top: 2px; }
.logo-light, .logo-light .logo-name, .logo-light .logo-name b { color: #fff; }
.logo-light .logo-tag { color: rgba(255, 255, 255, .7); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: 72px; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav > a, .nav-drop > button { padding: 8px 11px; font-size: .88rem; font-weight: 550; color: var(--text); border-radius: 7px; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.site-nav > a:hover, .nav-drop > button:hover, .site-nav > a.active { color: var(--primary); background: var(--primary-50); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a { display: flex; gap: 12px; padding: 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav-drop-menu a:hover { background: var(--bg-soft); }
.nav-drop-menu strong { display: block; color: var(--ink); font-size: .9rem; }
.nav-drop-menu small { color: var(--muted); font-size: .8rem; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-only { display: none !important; }
.site-header.open .site-nav .mobile-only { display: flex !important; margin-top: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); margin-left: auto; }
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 60px 0 28px; font-size: .9rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 22px; font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* ---------- Marketing ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; background: linear-gradient(180deg, #fff 0%, #f2f7ff 100%); }
.hero::after { content: ""; position: absolute; right: -200px; top: -120px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 95, 216, .12), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .2em; }
.hero-sub { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--primary); margin-bottom: 18px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 26px 0 30px; }
.hero-point { display: flex; gap: 10px; align-items: center; font-size: .92rem; font-weight: 550; color: var(--ink); }
.hero-point .icon { color: var(--primary); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: .86rem; color: var(--muted); }
.hero-trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero-trust .icon { color: var(--ok); }
.hero-visual { position: relative; }
.device { background: #1c2536; border-radius: 16px 16px 6px 6px; padding: 12px 12px 18px; box-shadow: var(--shadow-lg); }
.device-screen { background: linear-gradient(135deg, #0f4fc4, #2a7cf0); border-radius: 8px; aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.device-base { height: 14px; background: linear-gradient(#cfd6e2, #aab4c4); border-radius: 0 0 16px 16px; margin: 0 -28px; }
.tally-window { width: 78%; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); overflow: hidden; font-size: 11px; }
.tally-window .tw-bar { background: #1f3b73; color: #fff; padding: 6px 10px; display: flex; justify-content: space-between; font-weight: 600; }
.tally-window .tw-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; padding: 12px; color: #334; }
.tally-window .tw-menu div { padding: 3px 6px; border-radius: 3px; }
.tally-window .tw-menu div:nth-child(2) { background: #fce8a8; }
.floating-note { position: absolute; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: .85rem; box-shadow: var(--shadow-lg); }
.floating-note.fn-1 { top: -18px; right: -6px; }
.floating-note.fn-2 { bottom: 30px; left: -26px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 20px 0; }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.trust-bar span { display: inline-flex; align-items: center; gap: 8px; }
.trust-bar .icon { color: var(--primary); }
.feature { padding: 26px; }
.feature h3 { margin: 16px 0 8px; font-size: 1.08rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .93rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.check-list.light li::before { background-color: rgba(255, 255, 255, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.term-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.term-toggle a, .term-toggle button { padding: 9px 22px; border-radius: 7px; font-weight: 600; font-size: .9rem; color: var(--text); text-decoration: none; border: 0; background: none; cursor: pointer; font-family: inherit; line-height: 1.25; text-align: center; }
.term-toggle .active { background: var(--primary); color: #fff; }
.term-toggle small { display: block; font-size: .72rem; font-weight: 600; color: var(--ok); }
.term-toggle .active small { color: #cfe0ff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.price-card.popular { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.price-card h3 { margin: 0; font-size: 1.1rem; text-align: center; }
.price-card .audience { text-align: center; color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.price-card.popular .audience { color: var(--primary); }
.price { text-align: center; margin-bottom: 20px; }
.price .amount { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .88rem; }
.price .note { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.price-card .check-list { flex: 1; margin-bottom: 22px; }
.price-card .check-list li { font-size: .88rem; margin-bottom: 8px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--primary) 100%); color: #fff; border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; }
.page-hero { background: linear-gradient(180deg, #f2f7ff, #fff); padding: 64px 0 48px; border-bottom: 1px solid var(--line-2); }
.page-hero .lead { max-width: 680px; }
.diagram { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.diagram-node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-align: center; min-width: 150px; box-shadow: var(--shadow-sm); }
.diagram-node strong { display: block; color: var(--ink); margin-top: 8px; font-size: .92rem; }
.diagram-node small { color: var(--muted); }
.diagram-arrow { color: var(--primary); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.trademark { font-size: .78rem; color: var(--muted); }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 7vw, 96px); background: #fff; }
.auth-form-inner { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-aside { background: linear-gradient(150deg, var(--primary) 0%, var(--navy) 100%); color: #fff; padding: 64px clamp(28px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-aside h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.auth-aside p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.auth-aside .cloud-art { position: absolute; right: -60px; top: 40px; opacity: .14; }

/* ---------- Checkout ---------- */
.checkout-head { border-bottom: 1px solid var(--line); background: #fff; }
.checkout-head .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.stepper { list-style: none; padding: 0; display: flex; justify-content: center; gap: 0; margin: 30px auto 34px; max-width: 640px; }
.stepper .st { flex: 1; text-align: center; position: relative; font-size: .82rem; color: var(--muted); }
.stepper .st::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper .st:first-child::before { display: none; }
.stepper .st b { position: relative; z-index: 1; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line); align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.stepper .st.done b, .stepper .st.current b { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper .st.done::before, .stepper .st.current::before { background: var(--primary); }
.stepper .st.current { color: var(--primary); font-weight: 650; }
.summary-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.05rem; font-weight: 750; color: var(--ink); }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.trust-row > div { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); }
.trust-row strong { display: block; color: var(--ink); }
.trust-row .icon { color: var(--ok); }

/* ---------- App shell (portal + admin) ---------- */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: var(--bg-soft); }
.sidebar { background: #fff; border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .logo { padding: 4px 8px 20px; }
.sidebar .logo-name { font-size: 1.2rem; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: .9rem; font-weight: 550; margin-bottom: 2px; text-decoration: none; }
.side-nav a .icon { color: #7b889c; }
.side-nav a:hover { background: var(--bg-soft); }
.side-nav a.active { background: var(--primary); color: #fff; }
.side-nav a.active .icon { color: #fff; }
.side-nav .count { margin-left: auto; font-size: .72rem; background: var(--danger); color: #fff; border-radius: 99px; padding: 0 7px; }
.side-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #98a3b5; padding: 16px 12px 6px; }
.side-foot { margin-top: auto; padding: 14px 8px 0; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 66px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.topbar .search { max-width: 360px; flex: 1; }
.topbar .search .input { background: var(--bg-soft); border-color: var(--line-2); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.icon-btn { position: relative; background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--muted); cursor: pointer; display: inline-flex; }
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.icon-btn .pip { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; border: 2px solid #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-100); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.user-chip strong { display: block; font-size: .88rem; color: var(--ink); }
.user-chip small { color: var(--muted); font-size: .76rem; }
.menu-toggle { display: none; }
.app-content { padding: 28px; max-width: 1320px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 1.6rem; margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--muted); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.ws-card { padding: 20px 22px; }
.ws-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; font-size: .85rem; }
.ws-meta span { display: block; color: var(--muted); font-size: .76rem; }
.ws-meta strong { color: var(--ink); font-weight: 600; }
.quick-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.quick-actions a, .quick-actions button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; }
.quick-actions a:hover { border-color: var(--primary); background: var(--primary-50); }
.admin .sidebar { background: var(--navy); border-right: 0; }
.admin .sidebar .logo-name, .admin .sidebar .logo-name b { color: #fff; }
.admin .sidebar .logo-mark { color: #8fb5ff; }
.admin .side-nav a { color: rgba(255, 255, 255, .78); }
.admin .side-nav a .icon { color: rgba(255, 255, 255, .55); }
.admin .side-nav a:hover { background: rgba(255, 255, 255, .08); }
.admin .side-nav a.active { background: var(--primary); color: #fff; }
.admin .side-label { color: rgba(255, 255, 255, .42); }
.state-track { display: flex; flex-wrap: wrap; gap: 6px; }
.state-track span { font-size: .7rem; padding: 3px 8px; border-radius: 6px; background: var(--line-2); color: var(--muted); font-weight: 600; }
.state-track span.done { background: var(--ok-bg); color: var(--ok); }
.state-track span.current { background: var(--primary); color: #fff; }
.state-track span.failed { background: var(--danger-bg); color: var(--danger); }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.msg.staff { background: var(--primary-50); border-color: var(--primary-100); }
.msg-head { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.connect-frame { position: fixed; inset: 0; display: flex; flex-direction: column; background: #0b1220; }
.connect-bar { height: 44px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 16px; font-size: .85rem; }
.connect-bar .logo-name { font-size: 1rem; }
.connect-frame iframe { flex: 1; width: 100%; border: 0; background: #0b1220; }

/* ---------- Invoice (printable) ---------- */
.invoice { max-width: 860px; margin: 24px auto; background: #fff; padding: 44px; border: 1px solid var(--line); border-radius: 12px; }
@media print {
    body { background: #fff; }
    .no-print { display: none !important; }
    .invoice { border: 0; margin: 0; padding: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-sidebar, .grid-checkout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav, .header-actions { display: none; }
    .site-header.open .site-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; box-shadow: var(--shadow); }
    .site-header.open .site-nav .mobile-only { display: flex; }
    .nav-drop-menu { position: static; width: auto; box-shadow: none; border: 0; display: block; padding: 0 0 0 12px; }
    .hero-grid, .grid-2, .grid-3, .auth { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .auth-aside { display: none; }
    .app { grid-template-columns: 1fr; }
    .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
    .app.nav-open .sidebar { transform: none; }
    .menu-toggle { display: inline-flex; }
    .topbar { padding: 0 16px; }
    .topbar .search, .user-chip .chip-text { display: none; }
    .app-content { padding: 20px 16px; }
    .ws-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-row { grid-template-columns: 1fr; }
    .cta-band { padding: 32px 24px; }
}
@media (max-width: 600px) {
    body { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .section { padding: 52px 0; }
    .pricing-grid, .grid-4, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-points { grid-template-columns: 1fr; }
    .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .floating-note { display: none; }
    .stepper .st span { display: none; }
    .card-body { padding: 18px; }
    .invoice { padding: 22px; }
    .dl { grid-template-columns: 1fr 1fr; }
}

/* ---------- Storefront extras (site/* views) ---------- */
.list-reset { list-style: none; padding: 0; margin: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.save-note { color: var(--ok); font-weight: 650; }
.tally-window .tw-side { display: flex; flex-direction: column; gap: 2px; }
.tally-window .tw-label { font-size: 9px; color: #7a8599; text-transform: uppercase; letter-spacing: .04em; }
.tally-window .tw-value { font-weight: 600; color: #1f3b73; margin-bottom: 4px; }
.tally-window .tw-ok { color: var(--ok); }
.product-card { display: flex; flex-direction: column; }
.product-card > p { flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.strong-link { font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.move-band { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.steps.steps-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.compare-table th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--ink); background: #fbfcfe; }
.compare-table td { min-width: 140px; vertical-align: top; }
.legal-nav { position: sticky; top: 96px; }
@media (max-width: 1080px) {
    .steps.steps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-nav { position: static; }
}
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 28px; }
    .pricing-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pricing-grid.cols-3, .pricing-grid.cols-2, .steps.steps-flow { grid-template-columns: 1fr; }
    .move-band .btn { width: 100%; }
    .diagram-arrow { transform: rotate(90deg); }
    .diagram { flex-direction: column; }
    .diagram-node { width: 100%; }
}

/* ==========================================================================
   Visual refresh — storefront (pages using layouts.site get <body class="site">)
   ========================================================================== */
:root { --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; --navy-3: #071a3d; }
.site h1, .site h2, .site .h1, .site .h2, .site .price .amount, .site .logo-name { font-family: var(--display); letter-spacing: -.03em; }
.site h3 { font-family: var(--display); letter-spacing: -.015em; }
.site .section { padding: 96px 0; }
.site .section-head { margin-bottom: 52px; }
.site .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--primary-50); border: 1px solid var(--primary-100); font-size: .72rem; letter-spacing: .1em; }
.site .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.site .btn-lg { padding: 15px 28px; border-radius: 12px; }
.site .btn { transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s; }
.site .btn-primary { background: linear-gradient(135deg, #2f7bff 0%, #1a5fd8 55%, #1449b3 100%); box-shadow: 0 8px 22px -6px rgba(26, 95, 216, .55); }
.site .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(26, 95, 216, .6); }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 36, 84, .25); }

/* ---- Dark surfaces: home hero and inner-page heroes ---- */
.dark, .site .page-hero { background: var(--navy-3); color: rgba(226, 234, 248, .78); position: relative; overflow: hidden; isolation: isolate; border-bottom: 0; }
.dark h1, .dark h2, .dark h3, .site .page-hero h1 { color: #fff; }
.dark .lead, .dark p, .site .page-hero .lead { color: rgba(226, 234, 248, .8); }
.dark .eyebrow, .site .page-hero .eyebrow { background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .28); color: #7dd3fc; }
.dark .btn-outline, .site .page-hero .btn-outline { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .28); }
.dark .btn-outline:hover, .site .page-hero .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.site .page-hero a:not(.btn) { color: #7dd3fc; }
.dark::before, .site .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 75% at 50% 20%, #000 30%, transparent 75%); }
.dark::after, .site .page-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 900px; right: -260px; top: -440px; border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 123, 255, .45) 0%, rgba(47, 123, 255, .12) 40%, transparent 70%); }
.glow-2 { position: absolute; z-index: -1; width: 620px; height: 620px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .25), transparent 65%); pointer-events: none; }
.site .page-hero { padding: 88px 0 80px; }
.site .page-hero h1 { max-width: 920px; font-size: clamp(2rem, 4vw, 3.2rem); }
.site .page-hero.center h1 { margin-left: auto; margin-right: auto; }
.site .page-hero .term-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.site .page-hero .term-toggle a { color: #dbe7fd; }
.site .page-hero .term-toggle .active { background: #fff; color: var(--navy); }
.site .page-hero .term-toggle small { color: #6ee7a8; }
.site .page-hero .term-toggle .active small { color: var(--ok); }

/* ---- Home hero ---- */
.hero2 { padding: 84px 0 0; }
.hero2 .hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero2 h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.03; margin-bottom: 18px; }
.hero2 h1 .grad { background: linear-gradient(90deg, #60a5fa, #38bdf8 50%, #a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { font-size: 1.14rem; max-width: 560px; }
.hero2 .hero-points { margin: 28px 0 34px; gap: 14px 26px; }
.hero2 .hero-point { color: #e2eaf8; font-weight: 550; }
.hero2 .pt-ic { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(56, 189, 248, .12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, .2); }
.hero2 .hero-trust { color: rgba(226, 234, 248, .7); }
.hero2 .hero-trust .icon { color: #4ade80; }
.hero-stage { position: relative; padding: 24px 0 70px; }
.browser { position: relative; background: #0f1b33; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 120px -20px rgba(47, 123, 255, .5);
    transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #16223d; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar .dots i:nth-child(2) { background: #febc2e; }
.browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url { flex: 1; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .06); border-radius: 7px; padding: 5px 10px; font-size: 11.5px; color: #b6c4de; }
.browser-bar .url .icon { color: #4ade80; }
.ws-shell { display: grid; grid-template-columns: 150px 1fr; min-height: 318px; font-size: 11.5px; }
.ws-nav { background: #1f3b73; color: #cfe0ff; padding: 12px 10px; }
.ws-nav b { display: block; color: #fff; font-size: 12px; margin-bottom: 10px; }
.ws-nav div { padding: 6px 8px; border-radius: 6px; margin-bottom: 2px; }
.ws-nav div.on { background: #fcd34d; color: #3b2a00; font-weight: 700; }
.ws-main { background: #f6f8fc; padding: 14px; color: #334155; }
.ws-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.ws-kpi { background: #fff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 8px 10px; }
.ws-kpi span { display: block; font-size: 9.5px; color: #7a8599; text-transform: uppercase; letter-spacing: .05em; }
.ws-kpi strong { font-size: 14px; color: #0f1b2d; }
.ws-chart { background: #fff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 10px 10px 0; height: 104px; display: flex; align-items: flex-end; gap: 6px; margin-bottom: 10px; }
.ws-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #60a5fa, #1a5fd8); }
.ws-rows div { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px dashed #e3e8f0; }
.ws-rows div span:last-child { font-weight: 600; color: #0f1b2d; }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .45); display: flex; align-items: center; gap: 12px; font-size: .84rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-size: .74rem; }
.float-card .fc-ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.fc-backup { left: -34px; bottom: 34px; }
.fc-backup .fc-ic { background: var(--ok-bg); color: var(--ok); }
.fc-devices { right: -14px; top: -4px; animation-delay: -2s; }
.fc-devices .fc-ic { background: var(--primary-50); color: var(--primary); }
.fc-users { right: 28px; bottom: 0; animation-delay: -4s; }
.avatars { display: flex; }
.avatars i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-style: normal; font-weight: 700; color: #fff; background: #1a5fd8; }
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: #0ea5e9; }
.avatars i:nth-child(3) { background: #8b5cf6; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-strip { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-strip .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-strip .hs { padding: 24px 16px; display: flex; gap: 12px; align-items: center; color: #dbe7fd; font-size: .9rem; font-weight: 550; border-right: 1px solid rgba(255, 255, 255, .08); }
.hero-strip .hs:last-child { border-right: 0; }
.hero-strip .hs .icon { color: #7dd3fc; }

/* ---- Product cards ---- */
.pcard { position: relative; display: flex; flex-direction: column; padding: 30px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px rgba(11, 36, 84, .28); border-color: transparent; }
.pcard .p-ic { width: 54px; height: 54px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--accent); box-shadow: 0 10px 22px -10px var(--accent); margin-bottom: 20px; }
.pcard h3 { margin: 0 0 8px; font-size: 1.18rem; }
.pcard p { color: var(--muted); font-size: .93rem; flex: 1; margin-bottom: 20px; }
.pcard .p-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pcard .p-price { font-size: .86rem; color: var(--muted); }
.pcard .p-price strong { font-family: var(--display); font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.pcard .p-go { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.pcard:hover .p-go { background: var(--accent); color: #fff; transform: translateX(3px); }
.pcard .stretched { color: inherit; text-decoration: none !important; }
.pcard .stretched::after { content: ""; position: absolute; inset: 0; }
.pcard .p-tag { position: absolute; top: 24px; right: 22px; }

/* ---- Migration band ---- */
.move2 { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; border-radius: 24px; background: linear-gradient(120deg, #eef4ff 0%, #e6f6ff 100%); border: 1px solid var(--primary-100); }
.move2 .m-ic { width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.move2 h2 { font-size: 1.5rem; margin-bottom: 6px; }
.move2 p { margin: 0; color: var(--muted); }

/* ---- Bento features ---- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento .b { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; overflow: hidden; isolation: isolate; }
.bento .b h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.bento .b p { color: var(--muted); font-size: .92rem; margin: 0; }
.bento .b-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.bento .b-dark { background: linear-gradient(160deg, #0f2d66 0%, #071a3d 100%); border-color: transparent; }
.bento .b-dark h3 { color: #fff; font-size: 1.5rem; }
.bento .b-dark p { color: rgba(219, 231, 253, .8); }
.bento .b-dark .b-ic { background: rgba(56, 189, 248, .14); color: #7dd3fc; }
.bento .b-dark::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .55), transparent 65%); }
.device-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.device-row span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .84rem; font-weight: 600; }
.b-list { margin-top: 18px; display: grid; gap: 8px; }
.b-list div { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; padding: 8px 12px; background: var(--bg-soft); border-radius: 9px; }
.b-list .ok { color: var(--ok); font-weight: 650; display: inline-flex; gap: 5px; align-items: center; }

/* ---- Timeline steps ---- */
.timeline2 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.timeline2::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary-100), var(--primary), var(--primary-100)); }
.timeline2 li { position: relative; text-align: center; padding: 0 8px; }
.timeline2 li::before { counter-increment: s; content: counter(s); position: relative; z-index: 1; display: flex; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 0 0 8px var(--bg-soft), 0 12px 24px -8px rgba(26, 95, 216, .6); }
.timeline2 h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline2 p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---- Pricing polish ---- */
.site .price-card { border-radius: 22px; padding: 32px 24px 26px; transition: transform .2s, box-shadow .2s; }
.site .price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(11, 36, 84, .3); }
.site .price-card.popular { background: linear-gradient(170deg, #0f2d66 0%, #071a3d 100%); border: 0; color: #dbe7fd; box-shadow: 0 30px 60px -20px rgba(7, 26, 61, .6); }
.site .price-card.popular h3, .site .price-card.popular .price .amount { color: #fff; }
.site .price-card.popular .audience { color: #7dd3fc; }
.site .price-card.popular .price .per, .site .price-card.popular .price .note { color: rgba(219, 231, 253, .72); }
.site .price-card.popular .check-list li { color: #e2eaf8; }
.site .price-card.popular .check-list li::before { background-color: rgba(74, 222, 128, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.site .price-card.popular .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255, 255, 255, .5); }
.site .price-card.popular .ribbon .badge { background: linear-gradient(90deg, #38bdf8, #2f7bff); padding: 5px 14px; box-shadow: 0 8px 18px -6px rgba(56, 189, 248, .7); }
.site .price .amount { font-size: 2.5rem; }

/* ---- FAQ / CTA / features / business ---- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-split .section-head { text-align: left; margin: 0; position: sticky; top: 110px; }
.faq-split .faq-wrap { max-width: none; }
.site .faq details { border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.site .faq details[open] { border-color: var(--primary-100); box-shadow: 0 12px 30px -18px rgba(11, 36, 84, .3); }
.site .cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 64px 56px; border-radius: 28px; background: var(--navy-3); }
.site .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 15%, rgba(47, 123, 255, .6), transparent 45%), radial-gradient(circle at 5% 110%, rgba(56, 189, 248, .35), transparent 40%); }
.site .cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.site .card.feature { border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.site .card.feature:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(11, 36, 84, .3); }
.biz-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 24px; }
.biz-visual .bv { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 14px 30px -20px rgba(11, 36, 84, .3); }
.biz-visual .bv:nth-child(even) { transform: translateY(24px); }
.biz-visual .bv h3 { font-size: 1rem; margin: 14px 0 4px; }
.biz-visual .bv p { font-size: .86rem; color: var(--muted); margin: 0; }
/* ==========================================================================
   Customer portal refresh (.app.portal)
   ========================================================================== */
.portal h1, .portal h2, .portal .stat-num, .portal .wsx-name { font-family: var(--display); letter-spacing: -.02em; }
.portal .sidebar { padding: 20px 14px; }
.portal .side-nav a { border-radius: 10px; padding: 10px 12px; }
.portal .side-nav a.active { background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 8px 18px -8px rgba(26, 95, 216, .6); }
.portal .side-foot .panel { background: linear-gradient(160deg, #eef4ff, #e6f6ff); border-color: var(--primary-100); }
.portal .app-content { padding: 28px 32px 48px; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
.btn-white:hover { background: #f1f5ff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; vertical-align: middle; margin-right: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.dash-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: center; padding: 34px 36px; border-radius: 22px; background: #071a3d; color: #dbe7fd; margin-bottom: 22px; }
.dash-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 85%); mask-image: linear-gradient(90deg, #000, transparent 85%); }
.dash-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .55), transparent 65%); }
.dash-hero h1 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 8px; }
.dash-date { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7dd3fc; margin: 0 0 8px; font-weight: 650; }
.dash-sub { color: rgba(219, 231, 253, .85); margin: 0; display: flex; align-items: center; gap: 6px; }
.dash-health { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 18px 18px 12px; backdrop-filter: blur(6px); }
.dh-head { display: flex; justify-content: space-between; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #93b4e8; margin-bottom: 12px; font-weight: 650; }
.dh-online { text-transform: none; letter-spacing: 0; color: #dbe7fd; font-weight: 600; }
.dh-row { display: grid; grid-template-columns: 64px 1fr 42px; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 10px; }
.dh-row strong { color: #fff; text-align: right; }
.dh-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dh-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #38bdf8, #2f7bff); }
.dh-bar i.hot { background: linear-gradient(90deg, #fbbf24, #f97316); }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgba(11, 36, 84, .28); }
.stat-ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); box-shadow: 0 10px 20px -10px var(--c); }
.stat-num { font-size: 1.65rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-num small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; font-family: var(--font); }
.stat-label { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.mini-bar { height: 6px; border-radius: 99px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; border-radius: 99px; background: var(--c, var(--primary)); }

.sec-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-title h2 { font-size: 1.1rem; margin: 0; }
.sec-title a { font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wsx { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.wsx-head { display: flex; align-items: center; gap: 14px; }
.wsx-ic { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2f7bff, #0b2454); box-shadow: 0 10px 22px -10px rgba(26, 95, 216, .7); flex-shrink: 0; }
.wsx-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.wsx-plan { font-size: .86rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: .8rem; font-weight: 600; color: var(--text); }
.chips .icon { color: var(--primary); }
.usage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 16px 0 18px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.usage .mini-bar { --c: var(--primary); }
.wsx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.qa-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.qa-grid a { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.qa-grid a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(11, 36, 84, .3); border-color: transparent; }
.qa-grid span { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.qa-grid strong { font-size: .9rem; }
.qa-grid small { font-size: .76rem; color: var(--muted); }

.side-card { padding: 20px 22px; border-radius: 20px; }
.sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sc-head h2 { font-size: 1.02rem; margin: 0; }
.sc-head a { font-size: .84rem; font-weight: 600; }
.bk-status { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bk-ok { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); }
.bk-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.bk-strip span { text-align: center; }
.bk-strip i { display: block; height: 30px; border-radius: 7px; background: var(--line-2); }
.bk-strip .ok i { background: linear-gradient(180deg, #4ade80, #16a34a); }
.bk-strip .bad i { background: linear-gradient(180deg, #f87171, #dc2626); }
.bk-strip small { font-size: .68rem; color: var(--muted); }
.act-list { list-style: none; margin: 0; padding: 0; position: relative; }
.act-list::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.act-list li { position: relative; display: flex; gap: 12px; padding: 8px 0; }
.act-ic { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: #fff; border: 2px solid color-mix(in srgb, var(--c) 35%, #fff); }
.help-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 22px; background: linear-gradient(150deg, #1a5fd8 0%, #0b2454 100%); color: #dbe7fd; }
.help-card::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .45), transparent 65%); }
.help-card h2 { color: #fff; font-size: 1.1rem; margin: 12px 0 6px; }
.help-card p { font-size: .86rem; color: rgba(219, 231, 253, .85); }
.help-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); color: #fff; }
/* ---- Portal inner pages ---- */
.portal .page-head { position: relative; overflow: hidden; isolation: isolate; align-items: center; padding: 24px 28px; border-radius: 20px; background: linear-gradient(120deg, #ffffff 0%, #eef4ff 60%, #e3f2ff 100%); border: 1px solid var(--primary-100); margin-bottom: 22px; }
.portal .page-head::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -60px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .18), transparent 65%); }
.portal .page-head h1 { font-size: 1.65rem; }
.portal .breadcrumb { margin-bottom: 12px; font-weight: 600; }
.portal .tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 22px; max-width: 100%; box-shadow: var(--shadow-sm); }
.portal .tab { border: 0; margin: 0; padding: 9px 16px; border-radius: 10px; }
.portal .tab:hover { background: var(--bg-soft); }
.portal .tab.active { color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 6px 14px -6px rgba(26, 95, 216, .6); }
.portal .card { border-radius: 20px; }
.portal .card-header { padding: 18px 24px; }
.portal .card-header h2 { font-family: var(--display); font-size: 1.05rem; }
.portal .card-body { padding: 22px 24px; }
.portal .card-footer { border-radius: 0 0 20px 20px; }
.portal .table th { background: #f8fafd; font-size: .72rem; }
.portal .table td { padding: 14px 16px; }
.portal .table tbody tr { transition: background .15s; }
.portal .table tbody tr:hover { background: #f5f9ff; }
.portal .input { border-radius: 11px; padding: 11px 13px; background: #fbfcfe; border-color: #d6deea; }
.portal .input:focus { background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.portal .input-icon .input { padding-left: 40px; }
.portal .btn { border-radius: 10px; }
.portal .btn-primary { background: linear-gradient(135deg, #2f7bff 0%, #1a5fd8 55%, #1449b3 100%); box-shadow: 0 6px 16px -6px rgba(26, 95, 216, .55); }
.portal .panel { border-radius: 14px; }
.portal .radio-card { border-radius: 14px; }
.portal .alert { border-radius: 14px; }
.portal .empty .icon-tile { background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; }
.portal .msg { border-radius: 16px; }
.portal .msg.staff { background: linear-gradient(180deg, #f3f7ff, #eef4ff); }
.portal .timeline .tl-icon { background: linear-gradient(135deg, #eef4ff, #dbe7fd); }
.portal .state-track span { padding: 5px 10px; border-radius: 8px; }
.portal .card.feature { border-radius: 18px; }
.portal .card.feature .icon-tile { background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; }

.ws-hero { grid-template-columns: 1fr 260px; }
.ws-hero h1 { font-size: 1.9rem; }
.ws-hero .dash-sub { margin-top: 4px; }
.ws-hero .cs-chips { margin: 18px 0 0; }
.ws-hero-ic { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #38bdf8, #2f7bff); }
.ws-hero-actions { display: grid; gap: 10px; }
.info-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-tiles > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.info-tiles small { display: block; font-size: .76rem; color: var(--muted); margin: 10px 0 2px; }
.info-tiles strong { font-size: .95rem; color: var(--ink); }
.it-ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); flex-shrink: 0; }
.bill-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.bill-strip > div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.bill-strip .it-ic { width: 42px; height: 42px; border-radius: 12px; color: #fff; background: var(--c); box-shadow: 0 10px 20px -10px var(--c); }
.bill-strip small { display: block; font-size: .78rem; color: var(--muted); }
.bill-strip strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.bill-strip em { font-style: normal; font-size: .8rem; color: var(--muted); }
@media (max-width: 1180px) {
    .ws-hero { grid-template-columns: 1fr; }
    .ws-hero-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .info-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .portal .page-head { padding: 18px; }
    .portal .tabs { display: flex; overflow-x: auto; }
    .ws-hero-actions, .info-tiles, .bill-strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .stat:hover, .qa-grid a:hover { transform: none; } }
@media (max-width: 1180px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dash-hero { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .portal .app-content { padding: 18px 14px 36px; }
    .dash-hero { padding: 24px 20px; }
    .stat-grid { grid-template-columns: 1fr; }
    .usage { grid-template-columns: 1fr; gap: 14px; }
    .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wsx { padding: 18px; }
}

/* ==========================================================================
   Admin console refresh (.app.admin)
   ========================================================================== */
.admin h1, .admin h2, .admin .stat-num, .admin .kpi-value { font-family: var(--display); letter-spacing: -.02em; }
.admin .sidebar { background: linear-gradient(180deg, #0b2454 0%, #071a3d 100%); padding: 20px 14px; }
.admin .sidebar .logo { padding-bottom: 14px; }
.admin .side-nav a { border-radius: 10px; padding: 9px 12px; }
.admin .side-nav a.active { background: linear-gradient(135deg, #2f7bff, #1a5fd8); box-shadow: 0 8px 18px -8px rgba(47, 123, 255, .8); }
.admin .side-nav a.active .icon { color: #fff; }
.admin .side-nav .count { background: #ef4444; font-weight: 700; }
.admin .app-content { padding: 28px 32px 48px; }
.admin .card { border-radius: 18px; }
.admin .card-header { padding: 16px 22px; }
.admin .card-header h2 { font-size: 1.02rem; }
.admin .table th { background: #f8fafd; font-size: .72rem; }
.admin .table tbody tr { transition: background .15s; }
.admin .table tbody tr:hover { background: #f5f9ff; }
.admin .page-head h1 { font-size: 1.7rem; }
.admin .empty { padding: 36px 20px; }

/* ---- Admin inner pages ---- */
.admin .page-head { position: relative; overflow: hidden; isolation: isolate; align-items: center; padding: 22px 26px; border-radius: 20px; background: linear-gradient(120deg, #ffffff 0%, #eef4ff 60%, #e3f2ff 100%); border: 1px solid var(--primary-100); margin-bottom: 18px; }
.admin .page-head::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -60px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .18), transparent 65%); }
.admin .page-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin .page-head-dark { background: #071a3d; border-color: transparent; color: #dbe7fd; padding: 26px 28px; }
.admin .page-head-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%); }
.admin .page-head-dark::after { width: 520px; height: 520px; right: -140px; top: -300px; background: radial-gradient(circle, rgba(47, 123, 255, .55), transparent 65%); }
.admin .page-head-dark h1 { color: #fff; }
.admin .page-head-dark p { color: rgba(219, 231, 253, .82); }
.admin .page-head-dark a:not(.btn) { color: #7dd3fc; }
.admin .page-head-dark .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.admin .page-head-dark .btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.admin .page-head-dark .btn-outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.admin .breadcrumb { font-weight: 600; margin-bottom: 12px; }
.admin .btn { border-radius: 10px; }
.admin .btn-primary { background: linear-gradient(135deg, #2f7bff 0%, #1a5fd8 55%, #1449b3 100%); box-shadow: 0 6px 16px -6px rgba(26, 95, 216, .55); }
.admin .input { border-radius: 10px; background: #fbfcfe; border-color: #d6deea; }
.admin .input:focus { background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.admin .card-body .field { margin-bottom: 10px; }
.admin .card > .card-body:first-child:has(> form.row) { background: linear-gradient(180deg, #fbfcfe, #fff); border-bottom: 1px solid var(--line-2); border-radius: 18px 18px 0 0; padding: 16px 18px 6px !important; }
.admin .dl dt { font-size: .86rem; }
.admin .dl dd { font-size: .9rem; }
.admin .tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); max-width: 100%; }
.admin .tab { border: 0; margin: 0; padding: 8px 14px; border-radius: 10px; }
.admin .tab.active { color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); }
.admin .msg { border-radius: 16px; }
.admin .msg.staff { background: linear-gradient(180deg, #f3f7ff, #eef4ff); }
.admin .kpi { border-radius: 18px; }
.admin .kpi .icon-tile { background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; box-shadow: 0 10px 20px -10px rgba(26, 95, 216, .7); }
.admin .empty .icon-tile { background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; }
.admin details > summary { cursor: pointer; }

/* connected provisioning timeline */
.admin .state-track { gap: 0; row-gap: 10px; }
.admin .state-track span { position: relative; padding: 6px 12px 6px 26px; border-radius: 99px; margin-right: 14px; font-size: .68rem; letter-spacing: .02em; }
.admin .state-track span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); background: currentColor; opacity: .55; }
.admin .state-track span:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: var(--line); }
.admin .state-track span.done::after { background: #86efac; }
.admin .state-track span.done::before, .admin .state-track span.current::before { opacity: 1; }
.admin .state-track span.current { box-shadow: 0 0 0 4px rgba(26, 95, 216, .15); }

/* status filter chips */
.chips-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none !important; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip b { font-family: var(--display); min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--bg-soft); color: var(--ink); font-size: .78rem; text-align: center; }
.chip:hover { border-color: var(--c); transform: translateY(-1px); }
.chip.on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 8px 18px -8px var(--c); }
.chip.on i { background: #fff; }
.chip.on b { background: rgba(255, 255, 255, .22); color: #fff; }

.ops-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 440px; gap: 32px; align-items: stretch; padding: 30px 34px; border-radius: 22px; background: #071a3d; color: #dbe7fd; margin-bottom: 22px; }
.ops-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%); }
.ops-hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .55), transparent 65%); }
.ops-hero h1 { color: #fff; font-size: 2rem; margin: 0 0 16px; }
.ops-money { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 20px; }
.ops-money span { display: block; font-size: .78rem; color: #93b4e8; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.ops-money strong { display: block; font-family: var(--display); font-size: 2.1rem; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.ops-money small { color: rgba(219, 231, 253, .6); font-size: .76rem; }
.ops-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ops-pills span, .ops-pills a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #e2eaf8; }
.ops-pills a { text-decoration: none; }
.ops-pills a:hover { border-color: rgba(255, 255, 255, .3); }
.ops-pills i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.ops-pills .ok i { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.ops-pills .warn i { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.ops-pills .bad i { background: #f87171; box-shadow: 0 0 8px #f87171; }
.ops-chart { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px 18px 12px; display: flex; flex-direction: column; }
.ops-chart .bars { flex: 1; min-height: 130px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; }
.ops-chart .bars span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.ops-chart .bars i { width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #38bdf8, #2f7bff); min-height: 3px; }
.ops-chart .bars i.zero { background: rgba(255, 255, 255, .14); }
.ops-chart .bars small { font-size: .66rem; color: #93b4e8; }
.ops-grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-bottom: 22px; }
.ops-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ops-tiles .stat { text-decoration: none; color: inherit; align-items: center; }
.ring-card { padding: 20px 22px; }
.ring-wrap { display: flex; align-items: center; gap: 22px; }
.ring { width: 130px; height: 130px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ring > div { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.ring strong { font-family: var(--display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
.ring small { font-size: .72rem; color: var(--muted); }
.ring-legend { list-style: none; padding: 0; margin: 0; flex: 1; }
.ring-legend li { display: flex; align-items: center; gap: 8px; font-size: .86rem; padding: 5px 0; }
.ring-legend i { width: 10px; height: 10px; border-radius: 3px; }
.ring-legend strong { margin-left: auto; color: var(--ink); }
@media (max-width: 1180px) {
    .ops-hero, .ops-grid { grid-template-columns: 1fr; }
    .ops-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .admin .app-content { padding: 18px 14px 36px; }
    .ops-hero { padding: 24px 20px; }
    .ops-tiles { grid-template-columns: 1fr; }
    .ops-money { gap: 20px; }
}

/* ==========================================================================
   Auth pages refresh (login / register / forgot / reset)
   ========================================================================== */
.auth-page { background: #fff; }
.auth2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.auth2-form { display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 64px); }
.auth2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth2-back { font-size: .86rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.auth2-back:hover { color: var(--primary); text-decoration: none; }
.auth2-inner { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.auth2-title { font-family: var(--display); font-size: 2.1rem; letter-spacing: -.03em; margin: 0 0 6px; }
.auth2-sub { color: var(--muted); margin: 0; }
.auth2 .field label { font-size: .85rem; }
.auth2 .input { padding: 13px 14px; border-radius: 11px; border-color: #d6deea; background: #fbfcfe; font-size: .95rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth2 .input-icon .input { padding-left: 42px; }
.auth2 .input-icon .icon { left: 14px; }
.auth2 .input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--muted); cursor: pointer; display: inline-flex; }
.pw-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.auth2 .input-icon .pw-toggle .icon { position: static; transform: none; left: auto; }
.auth2-btn, .auth2 .btn-primary { background: linear-gradient(135deg, #2f7bff 0%, #1a5fd8 55%, #1449b3 100%); box-shadow: 0 10px 24px -8px rgba(26, 95, 216, .6); border-radius: 12px; }
.auth2-btn:hover, .auth2 .btn-primary:hover { transform: translateY(-1px); }
.auth2 .btn { transition: transform .15s, box-shadow .15s, background .15s; }
.auth2 .btn-ghost { border-radius: 12px; padding: 12px 18px; }
.auth2 .alert { border-radius: 12px; }
.auth2 .form-grid { gap: 0 14px; }
.auth2-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.auth2-foot span { display: inline-flex; align-items: center; gap: 6px; }

.auth2-aside { position: relative; overflow: hidden; isolation: isolate; background: #071a3d; color: #dbe7fd; padding: 64px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.auth2-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 78%); }
.auth2-aside::after { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; right: -300px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .5), transparent 65%); }
.auth2-aside .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .28); color: #7dd3fc; font-size: .72rem; letter-spacing: .1em; margin-bottom: 18px; }
.auth2-aside h2 { font-family: var(--display); color: #fff; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 14px; }
.auth2-aside h2 .grad { background: linear-gradient(90deg, #60a5fa, #38bdf8 50%, #a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth2-aside p { color: rgba(219, 231, 253, .82); font-size: 1.05rem; max-width: 480px; margin: 0; }
.auth2-stage { position: relative; max-width: 460px; padding: 10px 0 30px; }
.a-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.a-ws { padding: 20px; transform: rotate(-2deg); }
.a-ws-head { display: flex; align-items: center; gap: 12px; }
.a-ws-head strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.a-ws-head small { color: var(--muted); font-size: .8rem; }
.a-ws-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2f7bff, #0b2454); }
.a-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); font-size: .74rem; font-weight: 700; }
.a-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.a-ws-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.a-ws-meta small { display: block; font-size: .72rem; color: var(--muted); }
.a-ws-meta strong { font-size: .92rem; }
.a-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; font-size: .86rem; }
.a-backup { position: absolute; right: -36px; top: 178px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: .86rem; animation: floaty 6s ease-in-out infinite; }
.a-backup strong { display: block; }
.a-backup small { color: var(--muted); font-size: .76rem; }
.a-ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.a-ic.ok { background: var(--ok-bg); color: var(--ok); }
.a-devices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 44px; }
.a-devices span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .82rem; font-weight: 600; }
.auth2-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #dbe7fd; }
.auth2-points li { display: inline-flex; align-items: center; gap: 7px; }
.auth2-points .icon { color: #4ade80; }
@media (prefers-reduced-motion: reduce) { .a-backup { animation: none; } }
@media (max-width: 1000px) {
    .auth2 { grid-template-columns: 1fr; }
    .auth2-aside { display: none; }
    .auth2-inner { padding: 28px 0; }
}
@media (max-width: 480px) {
    .auth2-back span, .auth2-foot span:first-child { display: none; }
    .auth2-title { font-size: 1.75rem; }
}

/* ==========================================================================
   Checkout refresh
   ========================================================================== */
.co-page { background: linear-gradient(180deg, #eef4ff 0, #f5f8fc 320px); }
.co-head { background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.co-head .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.co-secure { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 650; color: var(--ok); background: var(--ok-bg); padding: 7px 12px; border-radius: 99px; }
.co-steps { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.co-steps li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.co-steps li + li::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--line); margin-right: 2px; }
.co-steps li.done::before, .co-steps li.current::before { background: var(--primary); }
.co-steps b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .76rem; background: #fff; border: 2px solid var(--line); color: var(--muted); }
.co-steps .done b, .co-steps .current b { background: linear-gradient(135deg, #2f7bff, #1449b3); border-color: transparent; color: #fff; }
.co-steps .current { color: var(--ink); }
.co-body { padding-top: 36px; padding-bottom: 56px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.co-intro h1 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; margin: 0 0 6px; }
.co-intro p { color: var(--muted); margin: 0 0 22px; }
.co-sec { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; box-shadow: 0 12px 30px -24px rgba(11, 36, 84, .35); margin-bottom: 18px; }
.co-sec-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.co-sec-head h2 { font-family: var(--display); font-size: 1.15rem; margin: 2px 0 2px; }
.co-sec-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.co-num { width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); }
.co-sec .input { padding: 12px 14px; border-radius: 11px; background: #fbfcfe; border-color: #d6deea; }
.co-sec .input:focus { background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.co-me { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.lic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lic { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.lic:hover { border-color: #b9cbeb; }
.lic input { position: absolute; opacity: 0; pointer-events: none; }
.lic-ic { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); margin-bottom: 8px; }
.lic strong { font-size: .92rem; color: var(--ink); }
.lic small { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.lic-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.lic:has(input:checked) { border-color: var(--primary); background: linear-gradient(180deg, #f3f7ff, #fff); box-shadow: 0 10px 24px -18px rgba(26, 95, 216, .6); }
.lic:has(input:checked) .lic-check { background: var(--primary); border-color: var(--primary); color: #fff; }
.lic:has(input:focus-visible) { outline: 3px solid rgba(26, 95, 216, .45); outline-offset: 2px; }

.co-summary { position: sticky; top: 96px; }
.cs-card { position: relative; overflow: hidden; isolation: isolate; background: #071a3d; color: #dbe7fd; border-radius: 22px; padding: 24px; box-shadow: 0 30px 60px -24px rgba(7, 26, 61, .6); }
.cs-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }
.cs-card::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .55), transparent 65%); }
.cs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cs-head a { color: #7dd3fc; font-size: .84rem; font-weight: 600; }
.eyebrow-sm { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93b4e8; }
.cs-plan { display: flex; align-items: center; gap: 12px; }
.cs-plan strong { display: block; color: #fff; font-family: var(--display); font-size: 1.2rem; }
.cs-plan small { color: #93b4e8; font-size: .84rem; }
.cs-ic { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #38bdf8, #2f7bff); color: #fff; box-shadow: 0 10px 22px -10px rgba(56, 189, 248, .8); }
.cs-price { margin: 18px 0 2px; }
.cs-price strong { font-family: var(--display); font-size: 2.6rem; color: #fff; letter-spacing: -.03em; }
.cs-price span { color: #93b4e8; }
.cs-note { font-size: .8rem; color: rgba(219, 231, 253, .7); margin: 6px 0 0; }
.cs-up { color: #fff; font-weight: 700; margin: 0; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 6px; }
.cs-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; font-weight: 600; color: #e2eaf8; }
.cs-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #93b4e8; margin: 18px 0 8px; }
.cs-label label { color: inherit; font-size: inherit; margin: 0; }
.cs-term { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.cs-term a { text-align: center; padding: 9px; border-radius: 9px; color: #dbe7fd; font-weight: 600; font-size: .88rem; text-decoration: none; }
.cs-term a em { font-style: normal; font-size: .72rem; color: #4ade80; margin-left: 2px; }
.cs-term a.active { background: #fff; color: var(--navy); }
.cs-term a.active em { color: var(--ok); }
.stepper-input { display: inline-flex; align-items: center; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.stepper-input button { width: 42px; height: 42px; background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; }
.stepper-input button:hover { background: rgba(255, 255, 255, .1); }
.stepper-input input { width: 56px; height: 42px; text-align: center; background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper-input input::-webkit-outer-spin-button, .stepper-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cs-lines { margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .16); }
.cs-lines > div { display: flex; justify-content: space-between; font-size: .9rem; padding: 5px 0; }
.cs-lines .free { color: #4ade80; font-weight: 700; }
.cs-lines .cs-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 1rem; color: #fff; font-weight: 700; }
.cs-lines .cs-total span:last-child { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; }
.cs-cta { margin-top: 18px; border-radius: 12px; }
.cs-fine { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .76rem; color: rgba(219, 231, 253, .65); margin: 12px 0 0; text-align: center; }
.co-pay { border-radius: 20px; }
.co-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.co-trust > div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .8rem; color: var(--muted); }
.co-trust strong { display: block; color: var(--ink); font-size: .88rem; }
.co-trust span { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); flex-shrink: 0; }
@media (max-width: 1000px) {
    .co-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
    .co-steps span { display: none; }
    .co-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .co-head .container { height: 62px; }
    .co-secure { display: none; }
    .co-steps li + li::before { width: 14px; }
    .co-sec { padding: 20px 18px; }
    .lic-grid { grid-template-columns: 1fr; }
    .co-trust { grid-template-columns: 1fr; }
    .co-head .logo-tag { display: none; }
}

/* ==========================================================================
   Invoice (screen + print)
   ========================================================================== */
.inv-page { background: linear-gradient(180deg, #e9f0fb 0, #f5f8fc 420px); }
.inv-bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.inv-bar-in { max-width: 900px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inv-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.inv-bar-title { font-size: .9rem; color: var(--muted); }
.inv-bar-title strong { color: var(--ink); }
.inv-page .btn-primary { background: linear-gradient(135deg, #2f7bff 0%, #1a5fd8 55%, #1449b3 100%); border-radius: 10px; }
.inv { position: relative; max-width: 860px; margin: 28px auto 60px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(11, 36, 84, .35), 0 0 0 1px var(--line); color: var(--text); }
.inv-head { position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 34px 40px; background: #071a3d; color: #dbe7fd; }
.inv-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
.inv-head::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .6), transparent 65%); }
.inv-head .logo-mark { color: #8fb5ff; }
.inv-seller { margin: 14px 0 0; font-size: .82rem; color: rgba(219, 231, 253, .78); line-height: 1.55; }
.inv-title { text-align: right; }
.inv-title span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7dd3fc; }
.inv-title strong { display: block; font-family: var(--display); font-size: 1.6rem; color: #fff; margin: 4px 0 2px; letter-spacing: -.01em; }
.inv-title em { font-style: normal; font-size: .74rem; color: rgba(219, 231, 253, .6); }
.inv-stamp { display: inline-flex; flex-direction: column; align-items: center; margin-top: 6px; transform: rotate(-8deg); padding: 6px 20px 5px; border: 3px double #16a34a; color: #16a34a; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.inv-stamp small { font-family: var(--font); font-size: .66rem; letter-spacing: .08em; font-weight: 700; }
.inv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.inv-facts > div { padding: 20px 24px; border-right: 1px solid var(--line-2); }
.inv-facts > div:last-child { border-right: 0; }
.inv-facts small, .inv-parties small, .inv-words small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.inv-facts strong { font-size: .95rem; color: var(--ink); }
.inv-due { background: linear-gradient(135deg, #f0fdf4, #ecfeff); }
.inv-due strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 4px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 26px 40px 8px; }
.inv-parties > div { padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.inv-parties strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.inv-parties p { margin: 0; font-size: .86rem; line-height: 1.6; }
.inv-table { width: calc(100% - 80px); margin: 22px 40px 0; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.inv-table th { text-align: left; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #0b2454; padding: 12px 16px; }
.inv-table th:first-child { border-radius: 10px 0 0 10px; }
.inv-table th:last-child { border-radius: 0 10px 10px 0; }
.inv-table td { padding: 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.inv-table td strong { color: var(--ink); }
.inv-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.inv-bottom { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 22px 40px 30px; align-items: start; }
.inv-words p { margin: 0 0 16px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.inv-pay { display: flex; gap: 6px; align-items: flex-start; font-weight: 500 !important; }
.inv-pay .icon { color: var(--ok); margin-top: 3px; }
.inv-totals { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.inv-totals > div { display: flex; justify-content: space-between; padding: 10px 16px; font-size: .9rem; border-bottom: 1px solid var(--line-2); }
.inv-totals > div:last-child { border-bottom: 0; }
.inv-grand { background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; font-weight: 700; padding: 14px 16px !important; }
.inv-grand span:last-child { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; }
.inv-foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 40px 28px; border-top: 1px dashed var(--line); background: #fbfcfe; }
.inv-foot strong { color: var(--ink); }
.inv-foot p { margin: 4px 0 0; font-size: .78rem; color: var(--muted); max-width: 460px; }
.inv-contact { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.inv-contact span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) {
    .inv { margin: 12px 10px 40px; }
    .inv-head { flex-direction: column; padding: 26px 22px; }
    .inv-title { text-align: left; }
    .inv-facts { grid-template-columns: 1fr 1fr; }
    .inv-facts > div:nth-child(2) { border-right: 0; }
    .inv-parties, .inv-bottom { grid-template-columns: 1fr; padding-left: 22px; padding-right: 22px; }
    .inv-table { width: calc(100% - 44px); margin: 18px 22px 0; }
    .inv-foot { padding: 20px 22px; }
    .inv-bar-title { display: none; }
}
@media print {
    @page { size: A4; margin: 10mm; }
    .inv-page { background: #fff; }
    .inv { margin: 0; max-width: none; box-shadow: none; border-radius: 0; }
    .inv, .inv * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    /* A4 is narrower than the mobile breakpoint — force the desktop layout and fit one page */
    .inv { margin: 0 !important; font-size: 13px; }
    .inv-head { flex-direction: row; padding: 24px 28px; }
    .inv-title { text-align: right; }
    .inv-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .inv-facts > div { padding: 14px 18px; border-right: 1px solid var(--line-2) !important; }
    .inv-facts > div:last-child { border-right: 0 !important; }
    .inv-parties { grid-template-columns: 1fr 1fr; padding: 18px 28px 4px; }
    .inv-parties > div { padding: 14px 16px; }
    .inv-table { width: calc(100% - 56px); margin: 16px 28px 0; }
    .inv-table td { padding: 12px 14px; }
    .inv-bottom { grid-template-columns: 1fr 270px; padding: 16px 28px 20px; }
    .inv-foot { padding: 16px 28px 18px; }
    .inv-stamp { font-size: 1.2rem; }
}

/* ==========================================================================
   Error pages
   ========================================================================== */
.err-page { margin: 0; background: #071a3d; }
.err { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; color: #dbe7fd; padding: 28px clamp(20px, 5vw, 56px); }
.err::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 25%, transparent 75%); }
.err::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: -480px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .45), transparent 65%); }
.err-top { display: flex; justify-content: center; }
.err-top .logo-mark { color: #8fb5ff; }
.err-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 0; max-width: 640px; margin: 0 auto; }
.err-art { position: relative; margin-bottom: 8px; }
.err-art svg { animation: floaty 6s ease-in-out infinite; }
.err-ic { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 14px 30px -10px rgba(56, 189, 248, .7); }
.err-code { margin: 0; font-family: var(--display); font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, #ffffff 10%, rgba(125, 211, 252, .35) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err h1 { font-family: var(--display); color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.03em; margin: 10px 0 12px; }
.err-msg { color: rgba(219, 231, 253, .82); font-size: 1.05rem; line-height: 1.65; margin: 0 0 30px; }
.err-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.err-actions .btn { border-radius: 12px; }
.err-foot { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: .86rem; color: rgba(219, 231, 253, .6); }
.err-foot a { color: #7dd3fc; }
@media (prefers-reduced-motion: reduce) { .err-art svg { animation: none; } }
@media (max-width: 520px) { .err-actions .btn { width: 100%; } }

/* ==========================================================================
   Connect (workspace launch) page
   ========================================================================== */
.cx-page { margin: 0; background: #050f24; overflow: hidden; }
.cx { position: fixed; inset: 0; display: flex; flex-direction: column; background: #050f24; }
.cx-bar { height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; background: linear-gradient(90deg, #0b2454, #071a3d); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #dbe7fd; z-index: 3; }
.cx-left, .cx-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cx-logo { color: #8fb5ff; display: inline-flex; }
.cx-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .14); }
.cx-ws { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); flex-shrink: 0; }
.cx-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.cx-name strong { color: #fff; font-size: .9rem; white-space: nowrap; }
.cx-name small { color: #93b4e8; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: rgba(251, 191, 36, .14); color: #fcd34d; white-space: nowrap; }
.cx-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.cx-pill.ok { background: rgba(74, 222, 128, .14); color: #86efac; }
.cx-timer { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-variant-numeric: tabular-nums; color: #93b4e8; padding: 0 6px; }
.cx-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s; }
.cx-btn:hover { background: rgba(255, 255, 255, .14); }
.cx-btn[aria-expanded="true"] { background: rgba(56, 189, 248, .18); border-color: rgba(56, 189, 248, .5); }
.cx-btn-danger { background: rgba(239, 68, 68, .16); border-color: rgba(239, 68, 68, .4); }
.cx-btn-danger:hover { background: rgba(239, 68, 68, .3); }
.cx-stage { position: relative; flex: 1; min-height: 0; }
.cx-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0b1220; }
.cx-load { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: #071a3d; isolation: isolate; overflow: hidden; transition: opacity .45s ease, visibility .45s; }
.cx-load::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 20%, transparent 75%); }
.cx-load::after { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: 50%; top: 50%; transform: translate(-50%, -60%); border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .4), transparent 65%); }
.cx-load.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.cx-load-in { max-width: 460px; color: #dbe7fd; }
.cx-load h1 { font-family: var(--display); color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em; margin: 26px 0 8px; }
.cx-load p { color: rgba(219, 231, 253, .78); margin: 0 0 22px; }
.cx-orb { position: relative; width: 120px; height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 20px 50px -12px rgba(56, 189, 248, .7); }
.cx-orb .ring { position: absolute; inset: -12px; border-radius: 50%; border: 3px solid rgba(125, 211, 252, .18); border-top-color: #7dd3fc; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cx-steps { list-style: none; padding: 0; margin: 0 auto; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.cx-steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(219, 231, 253, .4); transition: color .3s; }
.cx-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0; position: relative; }
.cx-steps li.on { color: #dbe7fd; }
.cx-steps li.on i { border-color: #7dd3fc; border-top-color: transparent; animation: spin .9s linear infinite; }
.cx-steps li.done i { animation: none; border-color: #4ade80; background: #4ade80 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052e16' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.cx-slow { margin-top: 26px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.cx-slow p { font-size: .88rem; margin-bottom: 14px; }
.cx-slow strong { color: #fff; }
.cx-slow-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cx-slow-actions .btn { border-radius: 10px; }
.cx-help { position: absolute; top: 62px; right: 14px; z-index: 5; width: 340px; max-width: calc(100vw - 28px); background: #fff; color: var(--text); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.cx-help[hidden] { display: none; }
.cx-help-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.cx-help-head strong { color: var(--ink); font-size: .92rem; }
.cx-x { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; display: inline-flex; }
.cx-x:hover { background: var(--bg-soft); }
.cx-help ul { list-style: none; margin: 0; padding: 8px 16px; }
.cx-help li { display: flex; gap: 12px; padding: 10px 0; font-size: .82rem; line-height: 1.5; border-bottom: 1px solid var(--line-2); }
.cx-help li:last-child { border-bottom: 0; }
.cx-help li > span { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); }
.cx-help li strong { display: block; color: var(--ink); font-size: .86rem; }
.cx-help-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--bg-soft); font-size: .82rem; font-weight: 600; }
.cx-help-foot a { display: inline-flex; align-items: center; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .cx-orb .ring, .cx-steps li.on i, .cx-pill i { animation: none; } }
@media (max-width: 760px) {
    .cx-btn span, .cx-timer, .cx-name small, .cx-sep { display: none; }
    .cx-btn { padding: 0 10px; }
    .cx-pill { padding: 4px 8px; }
}

/* ==========================================================================
   Inner website pages
   ========================================================================== */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.site .page-hero .hero-copy h1 { max-width: none; }
.hero-art { position: relative; padding: 18px 0 30px; }
.ha-card { position: relative; z-index: 1; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 24px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
.ha-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ha-head strong { font-family: var(--display); font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.ha-ic { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 14px 28px -10px rgba(56, 189, 248, .8); flex-shrink: 0; }
.ha-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ha-card li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #e2eaf8; font-size: .92rem; font-weight: 550; }
.ha-card li span { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(74, 222, 128, .14); color: #86efac; flex-shrink: 0; }
.ha-badge { position: absolute; z-index: 2; right: -10px; bottom: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 700; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .5); animation: floaty 6s ease-in-out infinite; }
.ha-badge .icon { color: var(--ok); }
.ha-orb { position: absolute; z-index: 0; width: 220px; height: 220px; left: -40px; top: -30px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); }

/* feature cards: gradient icons with rotating accent colours */
.site .card.feature { padding: 28px; border-radius: 20px; }
.site .card.feature .icon-tile { width: 50px; height: 50px; border-radius: 14px; color: #fff; background: var(--fa, linear-gradient(135deg, #2f7bff, #1449b3)); box-shadow: 0 12px 24px -12px rgba(26, 95, 216, .7); }
.site .grid > .card.feature:nth-child(6n+2) { --fa: linear-gradient(135deg, #38bdf8, #0284c7); }
.site .grid > .card.feature:nth-child(6n+3) { --fa: linear-gradient(135deg, #a78bfa, #7c3aed); }
.site .grid > .card.feature:nth-child(6n+4) { --fa: linear-gradient(135deg, #34d399, #059669); }
.site .grid > .card.feature:nth-child(6n+5) { --fa: linear-gradient(135deg, #fbbf24, #d97706); }
.site .grid > .card.feature:nth-child(6n+6) { --fa: linear-gradient(135deg, #fb7185, #e11d48); }
.site .card.feature h3 { font-size: 1.1rem; margin-top: 18px; }
.site .card.feature:hover { border-color: transparent; }

/* flow diagram */
.site .diagram { gap: 14px; }
.site .diagram-node { min-width: 190px; padding: 24px 22px; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -22px rgba(11, 36, 84, .45); transition: transform .2s; }
.site .diagram-node:hover { transform: translateY(-3px); }
.site .diagram-node .icon-tile { width: 52px; height: 52px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 12px 24px -12px rgba(26, 95, 216, .7); }
.site .diagram-node:nth-of-type(2) .icon-tile { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.site .diagram-node:nth-of-type(3) .icon-tile { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.site .diagram-node:nth-of-type(4) .icon-tile { background: linear-gradient(135deg, #34d399, #059669); }
.site .diagram-node strong { font-size: 1rem; margin-top: 12px; }
.site .diagram-arrow { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary-50); border: 1px dashed #93b4e8; }

/* numbered step cards (migration etc.) */
.site .step { border-radius: 20px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.site .step:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(11, 36, 84, .35); }
.site .step::before { width: 40px; height: 40px; font-family: var(--display); background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 10px 20px -10px rgba(26, 95, 216, .7); }

/* forms on the website */
.site form .input { padding: 12px 14px; border-radius: 12px; background: #fbfcfe; border-color: #d6deea; }
.site form .input:focus { background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.site .card:has(> form), .site form.card { border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(11, 36, 84, .4); }
.site .alert { border-radius: 14px; }
.site .section-alt { background: linear-gradient(180deg, #f5f8fc, #eef4ff); }
.site .check-list li::before { box-shadow: 0 0 0 3px rgba(21, 128, 61, .06); }
.site .legal { font-size: 1rem; line-height: 1.75; }
.site .legal h2 { font-family: var(--display); }
@media (prefers-reduced-motion: reduce) { .ha-badge { animation: none; } }
@media (max-width: 1000px) {
    .hero-split { grid-template-columns: 1fr; gap: 28px; }
    .hero-art { max-width: 460px; }
    .ha-card { transform: none; }
}
@media (max-width: 600px) {
    .hero-art { display: none; }
}

/* ==========================================================================
   Pricing page
   ========================================================================== */
.site .pricing-hero { padding-bottom: 170px; }
.site .pricing-plans { padding-top: 0; margin-top: -120px; position: relative; z-index: 2; }
.pc-ic { display: flex; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; align-items: center; justify-content: center; color: #fff; background: var(--pc); box-shadow: 0 12px 22px -12px var(--pc); }
.site .price-card.popular .pc-ic { background: linear-gradient(135deg, #38bdf8, #2f7bff); }
.site .price-card { box-shadow: 0 22px 44px -30px rgba(11, 36, 84, .45); }

.perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.perks > div { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.perks span { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.perks strong { color: var(--ink); font-size: .95rem; }
.perks small { color: var(--muted); font-size: .8rem; }

.finder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.finder-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none !important; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.finder-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.finder-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(11, 36, 84, .35); border-color: transparent; }
.fc-ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); box-shadow: 0 12px 22px -12px var(--c); margin-bottom: 12px; }
.finder-card strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.finder-card small { color: var(--muted); font-size: .86rem; min-height: 2.6em; }
.fc-plan { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--text); }
.fc-plan b { color: var(--ink); }
.fc-go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--c); }
.finder-card:hover .fc-go .icon { transform: translateX(3px); transition: transform .2s; }

.site .compare-table { font-size: .88rem; }
.site .compare-table thead th { background: #0b2454; color: #dbe7fd; text-transform: none; letter-spacing: 0; vertical-align: bottom; padding: 18px 16px; border-bottom: 0; position: relative; }
.site .compare-table thead th:first-child { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #93b4e8; }
.site .compare-table thead th.pop { background: linear-gradient(180deg, #1a5fd8, #0f3f99); }
.ct-pop { position: absolute; top: 8px; left: 16px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7dd3fc; }
.ct-name { display: block; color: #fff; font-weight: 700; font-size: .92rem; margin-top: 10px; }
.ct-price { display: block; font-family: var(--display); font-size: 1.3rem; color: #fff; letter-spacing: -.02em; margin-top: 2px; }
.ct-price small { font-family: var(--font); font-size: .74rem; color: #93b4e8; font-weight: 500; }
.site .compare-table th[scope="row"] { background: #f8fafd; font-weight: 700; white-space: nowrap; }
.site .compare-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.site .compare-table tbody tr:hover td { background: #f3f7ff; }
.ct-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ct-ticks li { position: relative; padding-left: 20px; }
.ct-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.compare-table.pop-col-2 td:nth-child(2), .compare-table.pop-col-3 td:nth-child(3), .compare-table.pop-col-4 td:nth-child(4),
.compare-table.pop-col-5 td:nth-child(5), .compare-table.pop-col-6 td:nth-child(6), .compare-table.pop-col-7 td:nth-child(7) { background: #f3f7ff !important; box-shadow: inset 2px 0 0 #bcd2fb, inset -2px 0 0 #bcd2fb; }
.site .compare-table + * { margin-top: 0; }
.site .card:has(> .table-wrap > .compare-table) { overflow: hidden; border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(11, 36, 84, .45); }
@media (max-width: 1080px) {
    .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .site .pricing-hero { padding-bottom: 140px; }
    .perks, .finder { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Phone polish (≤ 700px)
   ========================================================================== */
.topbar-brand { display: none; }
@media (max-width: 900px) {
    /* brand in the portal/admin top bar when the sidebar is hidden */
    .topbar-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--navy); text-decoration: none !important; letter-spacing: -.02em; }
    .topbar-brand b { color: var(--primary); }
    .topbar-brand svg { color: var(--primary); }
    .topbar { gap: 8px; }
}
@media (max-width: 700px) {
    /* tables scroll sideways instead of crushing columns */
    .table-wrap { position: relative; }
    .table-wrap > .table { min-width: 620px; }
    .table-wrap > .table td, .table-wrap > .table th { white-space: nowrap; }
    .table-wrap > .table td .text-xs, .table-wrap > .table td .muted { white-space: normal; }
    .table-wrap { background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 30px 100% no-repeat local, linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 30px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(11,36,84,.14), transparent) right / 12px 100% no-repeat scroll; }
    .site .compare-table { min-width: 900px; }
    .site .compare-table td, .site .compare-table th { white-space: normal !important; }

    /* scrollable tab bars show they scroll */
    .portal .tabs, .admin .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scrollbar-width: none; }
    .portal .tabs::-webkit-scrollbar, .admin .tabs::-webkit-scrollbar { display: none; }
    .tab { flex-shrink: 0; }

    /* checkout section header stacks */
    .co-sec-head { flex-wrap: wrap; }
    .co-sec-head > .grow { flex: 1 1 200px; }
    .co-sec-head > .text-sm { flex-basis: 100%; padding-left: 46px; }
    .co-intro h1 { font-size: 1.6rem; }
    .cs-card { padding: 20px; }

    /* connect bar: dot-only status pill, tighter spacing */
    .cx-bar { padding: 0 8px; gap: 6px; }
    .cx-left { gap: 7px; }
    .cx-pill { padding: 5px; }
    .cx-pill > span { display: none; }
    .cx-name strong { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
    .cx-btn { height: 32px; padding: 0 9px; }

    /* workspace header */
    .ws-hero .dash-sub { flex-wrap: wrap; }
    .ws-hero h1 { font-size: 1.5rem; }
    .ws-hero-ic { width: 46px; height: 46px; }

    /* general spacing & type */
    .portal .page-head h1, .admin .page-head h1 { font-size: 1.35rem; }
    .dash-hero h1 { font-size: 1.45rem; }
    .stat { padding: 14px 16px; }
    .stat-num { font-size: 1.4rem; }
    .site h2, .site .h2 { font-size: 1.55rem; }
    .site .section-head { margin-bottom: 32px; }
    .site-footer { padding-top: 44px; }
    .footer-grid { gap: 22px; }
    .ops-money strong { font-size: 1.6rem; }
    .chips-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .chip { flex-shrink: 0; }
    .inv-facts > div { padding: 14px 16px; }
    .admin .topbar-right .badge { display: none; }
}

/* ==========================================================================
   Homepage hero laptop
   ========================================================================== */
.hero-stage { perspective: 1800px; }
.laptop { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 30px auto 0; transform: rotateY(-12deg) rotateX(4deg); transform-style: preserve-3d; transform-origin: 60% 50%; }
.lp-lid { position: relative; background: linear-gradient(180deg, #2b3446, #111827); border-radius: 18px 18px 6px 6px; padding: 16px 16px 20px; box-shadow: 0 0 0 1.5px #3b4557 inset, 0 40px 70px -30px rgba(0, 0, 0, .8); }
.lp-cam { position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #0b1220; box-shadow: 0 0 0 1px #445066; }
.lp-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #60a5fa 100%); display: flex; flex-direction: column; }
.lp-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 35%, transparent 36%); }
.lp-base { position: relative; height: 18px; margin: 0 -7%; background: linear-gradient(180deg, #e5e9f0 0%, #b8c0cc 60%, #8f98a6 100%); clip-path: polygon(3% 0, 97% 0, 100% 70%, 99% 100%, 1% 100%, 0 70%); border-radius: 0 0 14px 14px; }
.lp-notch { position: absolute; top: 0; left: 50%; width: 18%; height: 7px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #a8b0bc, #c7ced8); }
.lp-shadow { height: 26px; margin: 0 -2%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%); filter: blur(4px); }

/* Tally-style app inside the screen */
.tp-app { position: relative; flex: 1; margin: 5% 5% 0; background: #fff; border-radius: 6px 6px 0 0; overflow: hidden; display: flex; flex-direction: column; font-size: 9.5px; color: #1e293b; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.tp-top { display: flex; align-items: center; gap: 10px; padding: 6px 9px; background: #1f3b73; color: #fff; }
.tp-brand { font-weight: 800; letter-spacing: -.01em; font-size: 10.5px; }
.tp-menu { display: flex; gap: 8px; flex: 1; overflow: hidden; white-space: nowrap; color: #cfe0ff; }
.tp-menu i { font-style: normal; }
.tp-win { color: #cfe0ff; letter-spacing: 3px; font-size: 8px; }
.tp-body { flex: 1; display: grid; grid-template-columns: 1fr 1.25fr 62px; min-height: 0; }
.tp-left { padding: 10px; border-right: 1px solid #e2e8f0; background: #fbfcfe; }
.tp-label { color: #64748b; font-size: 8px; margin-top: 6px; }
.tp-label:first-child { margin-top: 0; }
.tp-val { font-weight: 700; color: #0f172a; }
.tp-gw { padding: 8px 10px; }
.tp-gw-title { background: #1f3b73; color: #fff; text-align: center; font-weight: 700; padding: 3px; border-radius: 3px; margin-bottom: 4px; }
.tp-sec { color: #64748b; font-size: 7.5px; text-transform: uppercase; letter-spacing: .06em; margin: 5px 0 1px; }
.tp-item { padding: 2px 6px; border-radius: 3px; }
.tp-item.on { background: #fcd34d; font-weight: 700; }
.tp-side { display: flex; flex-direction: column; gap: 3px; padding: 8px 5px; background: #eef2f8; border-left: 1px solid #e2e8f0; font-size: 7.5px; color: #334155; }
.tp-side i { font-style: normal; padding: 2px 3px; background: #fff; border-radius: 2px; }
.tp-splash { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); width: 46%; padding: 14px 12px 12px; border-radius: 10px; background: rgba(255, 255, 255, .97); box-shadow: 0 16px 40px rgba(15, 23, 42, .35); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tp-splash-ic { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #38bdf8, #1a5fd8); margin-bottom: 6px; box-shadow: 0 8px 18px -8px rgba(26, 95, 216, .8); }
.tp-splash strong { font-family: var(--display); font-size: 17px; color: #0f1b2d; letter-spacing: -.02em; }
.tp-splash small { font-size: 9px; color: #1a5fd8; font-weight: 700; }
.tp-load { display: block; width: 70%; height: 4px; margin-top: 8px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.tp-load i { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #38bdf8, #1a5fd8); animation: tpload 1.8s ease-in-out infinite; }
@keyframes tpload { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.lp-taskbar { display: flex; align-items: center; gap: 6px; height: 18px; padding: 0 8px; background: rgba(15, 23, 42, .85); color: #e2e8f0; font-size: 8px; }
.lp-start { color: #60a5fa; display: inline-flex; }
.lp-task { padding: 1px 6px; border-radius: 3px; }
.lp-task.on { background: rgba(255, 255, 255, .14); }
.lp-clock { margin-left: auto; }

/* scene extras */
.lp-plant { position: absolute; z-index: 0; right: -92px; bottom: 150px; width: 170px; opacity: .95; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.devices-card { position: absolute; z-index: 3; top: -14px; left: 40px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; font-size: .84rem; line-height: 1.35; box-shadow: 0 20px 40px -14px rgba(26, 95, 216, .8); animation: floaty 6s ease-in-out infinite; animation-delay: -2s; }
.devices-card strong { display: block; font-weight: 700; }
.dc-icons { display: flex; gap: 10px; margin-top: 10px; }
.dc-icons .icon { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: rgba(255, 255, 255, .16); }
.focus-note { position: absolute; z-index: 3; right: 6px; bottom: -8px; font-family: "Caveat", cursive; font-size: 2rem; line-height: 1; color: #e2eaf8; transform: rotate(-8deg); text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.hero-stage .fc-backup { left: -30px; bottom: 90px; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .tp-load i, .devices-card { animation: none; } }
@media (max-width: 1080px) {
    .laptop { transform: none; }
    .lp-plant { right: -6px; width: 110px; }
}
@media (max-width: 700px) {
    .hero-stage { padding-bottom: 50px; }
    .lp-lid { padding: 10px 10px 12px; border-radius: 12px 12px 4px 4px; }
    .tp-app { font-size: 7px; margin: 4% 4% 0; }
    .tp-menu, .tp-side, .tp-left { display: none; }
    .tp-body { grid-template-columns: 1fr; }
    .tp-splash { width: 62%; padding: 10px 8px; }
    .tp-splash strong { font-size: 13px; }
    .lp-plant, .focus-note { display: none; }
    .devices-card { top: -26px; right: 0; font-size: .74rem; padding: 10px 12px; }
    .hero-stage .fc-backup { left: 6px; bottom: 6px; }
}

/* ---- "Works with" band (plain-text names, no third-party logos) ---- */
.works-with { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 14px; }
.works-with .container:first-child { display: flex; align-items: center; gap: 36px; }
.site .ww-label { flex-shrink: 0; margin: 0; font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.4; padding-right: 32px; border-right: 1px solid var(--line); }
.ww-list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px 26px; flex-wrap: wrap; }
.ww-list li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #334155; letter-spacing: -.01em; }
.ww-ic { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.ww-more a { font-family: var(--font); font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ww-note { margin: 14px auto 0; font-size: .72rem; color: #94a3b8; }
@media (max-width: 900px) {
    .works-with .container:first-child { flex-direction: column; align-items: flex-start; gap: 14px; }
    .ww-label { border-right: 0; padding-right: 0; }
    .ww-label br { display: none; }
    .ww-list { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .ww-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ww-list li { font-size: .95rem; }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.site .site-footer { position: relative; overflow: hidden; isolation: isolate; background: #071a3d; padding: 0 0 26px; color: rgba(219, 231, 253, .72); }
.site .site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.site .site-footer::after { content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; left: -300px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .3), transparent 65%); }
.ft-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 0; margin-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site .ft-band-title { font-family: var(--display); color: #fff; font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 4px; }
.ft-band p { margin: 0; font-size: .92rem; }
.ft-band-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ft-band-actions .btn { border-radius: 11px; }
.site .site-footer .btn-white { color: var(--navy) !important; text-decoration: none !important; }
.ft-chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 11px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: background .15s, border-color .15s; }
.ft-chip:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.ft-wa .icon { color: #4ade80; }
.site .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.ft-about p { font-size: .9rem; line-height: 1.65; margin: 16px 0; max-width: 360px; }
.ft-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ft-pills span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .2); color: #bae6fd; font-size: .74rem; font-weight: 600; }
.ft-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.ft-contact li { display: flex; align-items: center; gap: 8px; margin: 0 !important; }
.ft-contact .icon { color: #7dd3fc; }
.site .site-footer h4 { font-family: var(--display); color: #fff; font-size: .95rem; letter-spacing: -.01em; margin-bottom: 16px; }
.site .site-footer nav li { margin-bottom: 10px; }
.site .site-footer nav a { position: relative; color: rgba(219, 231, 253, .72); font-size: .9rem; transition: color .15s, padding .15s; text-decoration: none; }
.site .site-footer nav a:hover { color: #fff; padding-left: 6px; }
.site .site-footer nav a::before { content: ""; position: absolute; left: -8px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #38bdf8; opacity: 0; transform: translateY(-50%); transition: opacity .15s, left .15s; }
.site .site-footer nav a:hover::before { opacity: 1; left: -2px; }
.site .footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: rgba(219, 231, 253, .7); }
.ft-top { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; font-weight: 600; font-size: .8rem; text-decoration: none !important; }
.ft-top:hover { background: rgba(255, 255, 255, .14); }
.ft-tm { margin: 14px 0 0; font-size: .74rem; line-height: 1.6; color: rgba(219, 231, 253, .45); max-width: 900px; }
@media (max-width: 1080px) {
    .site .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .site .footer-grid > .ft-about { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .ft-band { padding: 26px 0; margin-bottom: 30px; }
    .ft-band-actions { width: 100%; }
    .ft-band-actions .ft-chip { flex: 1; justify-content: center; }
    .ft-band-actions .btn { width: 100%; }
    .site .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .ft-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Site header (v2)
   ========================================================================== */
.topbar-note { background: #071a3d; color: rgba(219, 231, 253, .8); font-size: .8rem; }
.topbar-note .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar-note a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.topbar-note a:hover { color: #7dd3fc; }
.tn-left { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; flex-shrink: 0; }
.tn-right { display: inline-flex; gap: 18px; flex-shrink: 0; }
.tn-right .icon { color: #7dd3fc; }

.site .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(227, 232, 240, .8); }
.site .site-header .container { height: 74px; gap: 28px; }
.site .site-nav { gap: 4px; margin-left: 12px; margin-right: auto; }
.site .site-nav > a, .site .nav-drop > button { position: relative; padding: 9px 13px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: #334155; background: none; }
.site .site-nav > a:hover, .site .nav-drop > button:hover, .site .nav-drop:focus-within > button { color: var(--primary); background: var(--primary-50); text-decoration: none; }
.site .site-nav > a.active, .site .nav-drop > button.active { color: var(--primary); background: none; }
.site .site-nav > a.active::after, .site .nav-drop > button.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -17px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #2f7bff, #38bdf8); }
.mob-ic { display: none; }
.nd-caret { transition: transform .2s; }
.nav-drop:hover .nd-caret, .nav-drop:focus-within .nd-caret { transform: rotate(180deg); }

/* mega menu */
.site .nav-drop-menu.mega { left: 50%; transform: translateX(-50%); top: calc(100% + 14px); width: 680px; display: none; grid-template-columns: 1fr 210px; gap: 10px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(11, 36, 84, .35); }
.site .nav-drop:hover .nav-drop-menu.mega, .site .nav-drop:focus-within .nav-drop-menu.mega { display: grid; }
.site .nav-drop-menu.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.site .mega-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .15s; }
.site .mega-grid a:hover, .site .mega-grid a.on { background: var(--bg-soft); }
.mg-ic { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); box-shadow: 0 8px 16px -8px var(--c); }
.site .mega-grid strong { display: block; color: var(--ink); font-size: .92rem; }
.site .mega-grid small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.mega-side { padding: 16px; border-radius: 14px; background: linear-gradient(160deg, #0f2d66, #071a3d); color: rgba(219, 231, 253, .8); display: flex; flex-direction: column; gap: 6px; }
.mega-side strong { color: #fff; font-family: var(--display); font-size: 1rem; }
.mega-side p { font-size: .8rem; line-height: 1.5; margin: 0 0 8px; }
.site .mega-side .btn { align-self: flex-start; display: inline-flex; color: #fff; padding: 8px 14px; }
.site .mega-side .btn:hover { background: linear-gradient(135deg, #3b82f6, #1a5fd8); }

/* right-side actions */
.site .header-actions { gap: 8px; }
.hdr-login { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; color: #334155; font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.hdr-login:hover { background: var(--bg-soft); color: var(--primary); }
.site .hdr-cta { padding: 10px 16px; border-radius: 11px; font-size: .9rem; }
.nt-close { display: none; }
.site-header.open .nt-open { display: none; }
.site-header.open .nt-close { display: inline; }

@media (max-width: 1180px) {
    .site .site-header .container { height: 66px; }
    .site .nav-toggle { width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--bg-soft); }
    .site .site-header.open .site-nav { top: 66px; padding: 14px 16px 20px; gap: 2px; max-height: calc(100vh - 66px); overflow-y: auto; border-radius: 0 0 20px 20px; box-shadow: 0 30px 50px -20px rgba(11, 36, 84, .35); margin: 0; }
    .site .site-header.open .site-nav > a, .site .site-header.open .nav-drop > button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px 12px; font-size: 1rem; border-radius: 12px; }
    .site .site-header.open .mob-ic { display: inline; color: var(--primary); }
    .site .site-nav > a.active::after, .site .nav-drop > button.active::after { display: none; }
    .site .site-nav > a.active, .site .nav-drop > button.active { background: var(--primary-50); }
    .nd-caret { margin-left: auto; }
    .site .site-header.open .nav-drop-menu.mega { display: block; position: static; transform: none; width: auto; padding: 4px 0 8px; border: 0; box-shadow: none; }
    .site .site-header.open .mega-grid { grid-template-columns: 1fr 1fr; }
    .site .site-header.open .mega-grid a { padding: 10px; background: var(--bg-soft); }
    .site .site-header.open .mega-grid small, .site .site-header.open .mega-side { display: none; }
    .site .nav-drop-menu.mega::before { display: none; }
    .mob-actions { display: none; }
    .site .site-header.open .mob-actions { display: grid !important; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); }
    .mob-call { text-align: center; font-size: .86rem; font-weight: 600; }
}
@media (max-width: 700px) {
    .tn-right a:not(:first-child) { display: none; }
    .tn-left { font-size: .76rem; }
    .topbar-note .container { height: 32px; }
}
@media (max-width: 420px) {
    .tn-right { display: none; }
}

/* ==========================================================================
   Checkout confirmation
   ========================================================================== */
.dn-hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 44px 24px 34px; border-radius: 24px; background: #071a3d; color: rgba(219, 231, 253, .82); margin-bottom: 24px; }
.dn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 20%, transparent 75%); }
.dn-hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: 50%; top: -380px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(34, 197, 94, .28), rgba(47, 123, 255, .22) 40%, transparent 70%); }
.dn-hero h1 { font-family: var(--display); color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.03em; margin: 18px 0 6px; }
.dn-hero > p { margin: 0 0 22px; font-size: 1.02rem; }
.dn-check { width: 82px; height: 82px; margin: 0 auto; border-radius: 50%; background: rgba(34, 197, 94, .12); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(34, 197, 94, .06); }
.dn-check svg { width: 58px; height: 58px; fill: none; stroke: #4ade80; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.dn-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dnDraw .7s ease-out forwards; }
.dn-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dnDraw .45s .55s ease-out forwards; }
@keyframes dnDraw { to { stroke-dashoffset: 0; } }
.dn-confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: dnFall 2.6s ease-in forwards; }
.dn-confetti i:nth-child(4n+1) { background: #38bdf8; } .dn-confetti i:nth-child(4n+2) { background: #4ade80; } .dn-confetti i:nth-child(4n+3) { background: #fbbf24; } .dn-confetti i:nth-child(4n+4) { background: #a78bfa; }
.dn-confetti i:nth-child(1) { left: 8%; animation-delay: .1s; } .dn-confetti i:nth-child(2) { left: 15%; animation-delay: .5s; } .dn-confetti i:nth-child(3) { left: 22%; animation-delay: .2s; }
.dn-confetti i:nth-child(4) { left: 30%; animation-delay: .7s; } .dn-confetti i:nth-child(5) { left: 38%; animation-delay: .3s; } .dn-confetti i:nth-child(6) { left: 45%; animation-delay: .9s; }
.dn-confetti i:nth-child(7) { left: 53%; animation-delay: .15s; } .dn-confetti i:nth-child(8) { left: 60%; animation-delay: .6s; } .dn-confetti i:nth-child(9) { left: 67%; animation-delay: .35s; }
.dn-confetti i:nth-child(10) { left: 74%; animation-delay: .8s; } .dn-confetti i:nth-child(11) { left: 81%; animation-delay: .25s; } .dn-confetti i:nth-child(12) { left: 88%; animation-delay: .55s; }
.dn-confetti i:nth-child(13) { left: 93%; animation-delay: .45s; } .dn-confetti i:nth-child(14) { left: 4%; animation-delay: .65s; }
@keyframes dnFall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(320px) rotate(540deg); } }
.dn-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.dn-chips > span { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); text-align: left; }
.dn-chips small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #93b4e8; font-weight: 700; }
.dn-chips strong { color: #fff; font-size: .95rem; }
.dn-grid { align-items: start; }
.dn-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; box-shadow: 0 16px 36px -26px rgba(11, 36, 84, .45); }
.dn-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.dn-card-head h2 { font-family: var(--display); font-size: 1.25rem; margin: 2px 0 4px; }
.dn-card-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.dn-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); }
.dn-ic.ok { background: linear-gradient(135deg, #34d399, #059669); }
.dn-ic.warn { background: linear-gradient(135deg, #fbbf24, #d97706); }
.dn-ic.spin .icon { animation: spin 2.4s linear infinite; }
.dn-ws { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 12px 24px -12px rgba(56, 189, 248, .8); }
.dn-ready { border-color: #bbf7d0; background: linear-gradient(180deg, #f0fdf4, #fff 60%); }
.dn-warn { border-color: #fde68a; background: linear-gradient(180deg, #fffbeb, #fff 60%); }
.dn-chips-light { margin: 0 0 20px; }
.dn-chips-light span { background: var(--bg-soft); border-color: var(--line); color: var(--text); }
.dn-chips-light .icon { color: var(--primary); }
.dn-pct { font-family: var(--display); font-size: 1.6rem; color: var(--primary); letter-spacing: -.02em; }
.dn-progress { height: 10px; margin-bottom: 20px; }
.dn-progress > span { background: linear-gradient(90deg, #38bdf8, #1a5fd8); }
.dn-bar { display: grid; gap: 8px; }
.dn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.dn-steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #94a3b8; }
.dn-steps li i { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; border: 2px solid #cbd5e1; background: #fff; }
.dn-steps li.done { color: var(--ink); }
.dn-steps li.done i { border-color: #22c55e; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dn-steps li.now { color: var(--primary); font-weight: 700; }
.dn-steps li.now i { border-color: #bfdbfe; border-top-color: var(--primary); animation: spin .9s linear infinite; }
.dn-h { font-family: var(--display); font-size: 1.15rem; margin: 6px 0 12px; }
.dn-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dn-next > * { display: flex; flex-direction: column; gap: 3px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.dn-next > a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(11, 36, 84, .4); }
.dn-next span { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); margin-bottom: 8px; box-shadow: 0 8px 16px -8px var(--c); }
.dn-next strong { color: var(--ink); }
.dn-next small { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.dn-next em { font-style: normal; font-weight: 700; font-size: .84rem; color: var(--c); margin-top: 6px; }
.cs-head .badge { background: rgba(74, 222, 128, .14); color: #86efac; }
@media (prefers-reduced-motion: reduce) { .dn-check circle, .dn-check path { animation: none; stroke-dashoffset: 0; } .dn-confetti { display: none; } .dn-ic.spin .icon, .dn-steps li.now i { animation: none; } }
@media (max-width: 700px) {
    .dn-hero { padding: 34px 16px 26px; border-radius: 18px; }
    .dn-chips > span { flex: 1 1 42%; }
    .dn-steps, .dn-next { grid-template-columns: 1fr; }
    .dn-card { padding: 20px 18px; }
}

/* ==========================================================================
   Payment page
   ========================================================================== */
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 20px 44px -30px rgba(11, 36, 84, .45); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.eyebrow-dark { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.pay-head h1 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -.03em; margin: 6px 0 4px; }
.pay-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.pay-amount { text-align: right; padding: 12px 18px; border-radius: 14px; background: linear-gradient(135deg, #eef4ff, #e6f6ff); border: 1px solid var(--primary-100); }
.pay-amount small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pay-amount strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.pay-amount em { font-style: normal; font-size: .78rem; color: var(--muted); }
.pay-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.pay-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.pay-methods span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfcfe; font-weight: 700; color: var(--ink); font-size: .92rem; }
.pay-methods i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.pay-methods small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.pay-btn { padding: 17px 24px; font-size: 1.05rem; border-radius: 14px; }
.pay-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.pay-fine .icon { color: var(--ok); }
.pay-test { position: relative; padding: 22px 20px 20px; border-radius: 16px; border: 2px dashed #f59e0b; background: repeating-linear-gradient(135deg, #fffbeb 0 14px, #fff7e0 14px 28px); }
.pay-test-tag { position: absolute; top: -12px; left: 16px; padding: 3px 10px; border-radius: 6px; background: #f59e0b; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pay-test p { font-size: .88rem; color: #78350f; margin: 0 0 14px; }
.pay-test code { background: rgba(255, 255, 255, .7); padding: 1px 5px; border-radius: 4px; }
.pay-trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.pay-trust li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text); }
.pay-trust .icon { color: var(--ok); flex-shrink: 0; }
.pay-bill { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pay-bill small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pay-bill strong { display: block; color: var(--ink); }
.pay-bill span:not(.dn-ic) { font-size: .84rem; color: var(--muted); }
@media (max-width: 700px) {
    .pay-card { padding: 20px 18px; }
    .pay-amount { text-align: left; width: 100%; }
    .pay-methods { grid-template-columns: 1fr 1fr; }
    .pay-trust { grid-template-columns: 1fr; }
    .pay-test .btn { width: 100%; }
}

/* ==========================================================================
   Staff (admin) sign-in
   ========================================================================== */
.adm-login-page { margin: 0; background: #050f24; }
.adm-login { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 18px; color: rgba(219, 231, 253, .8); }
.adm-login::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 25%, transparent 75%); }
.adm-login::after { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; left: 50%; top: 50%; transform: translate(-50%, -62%); border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .38), transparent 65%); }
.al-card { width: 100%; max-width: 440px; padding: 32px; border-radius: 24px; background: rgba(11, 36, 84, .55); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.al-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.al-shield { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 12px 26px -10px rgba(56, 189, 248, .8); flex-shrink: 0; }
.al-brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.al-brand b { color: #60a5fa; }
.al-brand span { margin-left: 4px; padding: 2px 8px; border-radius: 6px; font-family: var(--font); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fcd34d; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .3); vertical-align: middle; }
.al-head small { color: #93b4e8; font-size: .8rem; }
.al-card h1 { font-family: var(--display); color: #fff; font-size: 1.7rem; letter-spacing: -.03em; margin: 0 0 6px; }
.al-sub { margin: 0 0 22px; font-size: .92rem; }
.al-field { margin-bottom: 16px; }
.al-field label { display: block; font-size: .82rem; font-weight: 600; color: #dbe7fd; margin-bottom: 7px; }
.al-input { position: relative; }
.al-input > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7d93b8; pointer-events: none; }
.al-input input { width: 100%; padding: 13px 44px 13px 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(5, 15, 36, .6); color: #fff; font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.al-input input::placeholder { color: #5f7396; }
.al-input input:focus { outline: 0; border-color: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .18); }
.al-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; border-radius: 8px; color: #7d93b8; cursor: pointer; display: inline-flex; }
.al-eye:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.al-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 22px; font-size: .85rem; }
.al-row a { color: #7dd3fc; }
.al-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.al-check input { width: 16px; height: 16px; accent-color: #38bdf8; }
.al-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #38bdf8 0%, #2f7bff 50%, #1449b3 100%); box-shadow: 0 14px 28px -12px rgba(47, 123, 255, .8); transition: transform .15s, box-shadow .15s; }
.al-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -12px rgba(47, 123, 255, .9); }
.al-error, .al-ok { display: flex; gap: 8px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; font-size: .86rem; margin-bottom: 18px; }
.al-error { background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .35); color: #fecaca; }
.al-ok { background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .3); color: #bbf7d0; }
.al-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.5; color: #93a9cf; }
.al-note .icon { color: #fcd34d; flex-shrink: 0; margin-top: 1px; }
.al-foot { margin: 22px 0 0; font-size: .84rem; color: #7d93b8; }
.al-foot a { color: #7dd3fc; }
@media (max-width: 480px) { .al-card { padding: 24px 20px; } }

/* ==========================================================================
   Password reset flow
   ========================================================================== */
.rs-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; align-items: center; gap: 6px; }
.rs-steps li { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: #94a3b8; }
.rs-steps li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--line); margin-right: 1px; }
.rs-steps li.done::before, .rs-steps li.now::before { background: var(--primary); }
.rs-steps b { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; border: 2px solid var(--line); background: #fff; color: #94a3b8; }
.rs-steps .done b, .rs-steps .now b { border-color: transparent; background: linear-gradient(135deg, #2f7bff, #1449b3); color: #fff; }
.rs-steps .now { color: var(--ink); }
.rs-badge { width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, #2f7bff, #1449b3); box-shadow: 0 16px 30px -12px rgba(26, 95, 216, .7); }
.rs-badge.ok { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 16px 30px -12px rgba(5, 150, 105, .7); }
.rs-mail { color: var(--ink); word-break: break-all; }
.rs-tips { list-style: none; padding: 16px 18px; margin: 22px 0; display: grid; gap: 10px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: .88rem; }
.rs-tips li { display: flex; align-items: flex-start; gap: 10px; }
.rs-tips .icon { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.rs-help { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; font-size: .82rem; color: #166534; line-height: 1.5; }
.rs-help .icon { color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.auth2 .btn[disabled] { opacity: .6; }
.pw-meter { height: 6px; border-radius: 99px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: #cbd5e1; transition: width .25s, background .25s; }
.pw-meter i.weak { background: #ef4444; } .pw-meter i.fair { background: #f59e0b; } .pw-meter i.good { background: #3b82f6; } .pw-meter i.strong { background: #22c55e; }
.pw-meter-label { font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: 5px; }
.pw-meter-label.weak { color: #dc2626; } .pw-meter-label.fair { color: #d97706; } .pw-meter-label.good { color: #2563eb; } .pw-meter-label.strong { color: #16a34a; }
.pw-rules { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.pw-rules li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); transition: color .2s; }
.pw-rules i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cbd5e1; flex-shrink: 0; transition: all .2s; }
.pw-rules li.ok { color: #15803d; font-weight: 600; }
.pw-rules li.ok i { border-color: #22c55e; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
@media (max-width: 480px) { .pw-rules { grid-template-columns: 1fr; } .rs-steps span { display: none; } }

/* ==========================================================================
   Sign-up fields (register + checkout)
   ========================================================================== */
.su-perks { list-style: none; margin: 16px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.su-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: var(--ok-bg); color: #166534; font-size: .8rem; font-weight: 600; }
.su-perks .icon { color: #16a34a; }
.su-group { padding: 18px 18px 6px; margin-bottom: 14px; border-radius: 16px; background: #fbfcfe; border: 1px solid var(--line-2); }
.su-group[data-pw-form] { padding-bottom: 16px; }
.su-label { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.su-group .input { background: #fff; }
.su-group .pw-rules { margin-bottom: 0; }
.su-group .pw-meter { margin-top: 0; }
.su-phone { display: flex; align-items: stretch; border: 1px solid #d6deea; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.su-phone:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 95, 216, .14); }
.su-phone > span { display: inline-flex; align-items: center; padding: 0 12px; font-weight: 700; font-size: .9rem; color: var(--ink); background: var(--bg-soft); border-right: 1px solid var(--line); }
.su-phone .input { border: 0 !important; box-shadow: none !important; border-radius: 0; background: #fff; }
.su-phone.is-invalid { border-color: var(--danger); }
.su-terms { margin: 4px 0 18px; }
.co-sec .su-group { background: #fbfcfe; }
.co-sec .pw-wrap .input { padding-right: 46px; }
.co-sec .input-icon .input { padding-left: 40px; }
.input-icon .pw-toggle .icon { position: static; transform: none; left: auto; color: inherit; }
.pw-wrap .input { padding-right: 46px; }

/* ==========================================================================
   Profile page
   ========================================================================== */
.pf-hero { grid-template-columns: 1fr 300px; }
.pf-hero h1 { font-size: 1.8rem; }
.pf-hero .dash-sub { flex-wrap: wrap; margin-top: 4px; }
.pf-hero .cs-chips { margin: 18px 0 0; }
.pf-avatar { width: 64px; height: 64px; border-radius: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #38bdf8, #2f7bff); box-shadow: 0 14px 30px -10px rgba(56, 189, 248, .7); }
.pf-score ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.pf-score li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #93b4e8; }
.pf-score li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #5f7396; flex-shrink: 0; }
.pf-score li.ok { color: #e2eaf8; }
.pf-score li.ok i { border-color: #4ade80; background: #4ade80; }
.pf-score li em { margin-left: auto; font-style: normal; font-size: .7rem; color: #fcd34d; }
.pf-ring { --p: 0; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(#4ade80 calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }
.pf-ring strong { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #0b2454; color: #fff; font-family: var(--display); font-size: 1.15rem; }
.pf-list { list-style: none; margin: 0; padding: 6px 12px; }
.pf-list li { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-bottom: 1px solid var(--line-2); }
.pf-list li:last-child { border-bottom: 0; }
.pf-list strong { display: block; font-size: .9rem; color: var(--ink); }
.pf-list small { font-size: .76rem; color: var(--muted); }
.pf-dev { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: #64748b; }
.pf-dev.on { background: var(--ok-bg); color: var(--ok); }
.pf-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #f1f5f9; color: #64748b; }
.pf-dot.in { background: var(--primary-50); color: var(--primary); }
.pf-mfa .card-body { gap: 14px; }
.card-header .it-ic { width: 34px; height: 34px; }
@media (max-width: 1180px) { .pf-hero { grid-template-columns: 1fr; } }

/* ==========================================================================
   Notifications
   ========================================================================== */
.pip-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .66rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.nt-feed { display: grid; gap: 22px; }
.nt-day-title { font-family: var(--font); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 4px; }
.nt-list { padding: 4px 0; overflow: hidden; }
.nt-item { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.nt-item:last-child { border-bottom: 0; }
.nt-item:hover { background: #fafcff; }
.nt-item.unread { background: linear-gradient(90deg, #f3f7ff, #fff 60%); }
.nt-item.unread::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.nt-ic { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); box-shadow: 0 8px 16px -8px var(--c); }
.nt-top { display: flex; align-items: center; gap: 8px; }
.nt-top strong { color: var(--ink); font-size: .95rem; }
.nt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.nt-item p { margin: 3px 0 4px; font-size: .88rem; color: var(--text); }
.nt-meta { font-size: .78rem; color: var(--muted); }
.nt-cat { font-weight: 700; color: var(--c); }
.nt-go { flex-shrink: 0; align-self: center; }
.nt-empty .icon-tile { margin-bottom: 0; }
@media (max-width: 700px) {
    .nt-item { padding: 14px 14px; gap: 12px; }
    .nt-go { padding: 6px 10px; }
}

/* Header: single-line menu, hamburger below 1180px */
.site-header .logo { flex-shrink: 0; }
.logo-tag { white-space: nowrap; }
.site main { overflow-x: clip; }
.hero2 .hero-grid > *, .hero-stage, .browser, .ws-main { min-width: 0; }
.ws-kpi strong { white-space: nowrap; }
.site-nav > a, .nav-drop > button { white-space: nowrap; padding: 8px 10px; }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .site-nav, .header-actions { display: none; }
    .site-header.open .site-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
    .site-header.open .nav-drop-menu { position: static; width: auto; box-shadow: none; border: 0; display: block; padding: 0 0 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } .site .btn-primary:hover, .pcard:hover, .site .price-card:hover { transform: none; } }

@media (max-width: 1080px) {
    .hero2 .hero-grid { grid-template-columns: 1fr; }
    .hero-stage { max-width: 640px; margin: 0 auto; width: 100%; }
    .browser { transform: none; }
    .hero-strip .container { grid-template-columns: repeat(3, 1fr); }
    .hero-strip .hs:nth-child(3) { border-right: 0; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .timeline2::before { display: none; }
    .faq-split { grid-template-columns: 1fr; gap: 28px; }
    .faq-split .section-head { position: static; text-align: center; }
}
@media (max-width: 700px) {
    .site .section { padding: 64px 0; }
    .hero2 { padding-top: 52px; }
    .ws-shell { grid-template-columns: 1fr; min-height: 0; }
    .ws-nav { display: none; }
    .ws-kpis { grid-template-columns: repeat(2, 1fr); }
    .ws-kpis .ws-kpi:nth-child(3) { display: none; }
    .hero2 h1 { font-size: 2.4rem; }
    .hero-trust { gap: 8px 16px; }
    .fc-backup { left: 8px; bottom: 16px; }
    .fc-devices, .fc-users { display: none; }
    .hero-strip .container { grid-template-columns: 1fr 1fr; }
    .hero-strip .hs { border-right: 0; padding: 14px 6px; }
    .bento { grid-template-columns: 1fr; }
    .bento .b-wide, .bento .b-tall { grid-column: auto; grid-row: auto; }
    .timeline2 { grid-template-columns: 1fr; }
    .move2 { grid-template-columns: 1fr; padding: 28px 22px; }
    .site .cta-band { padding: 40px 24px; }
    .biz-visual .bv:nth-child(even) { transform: none; }
}

/* Downloads: Remote Desktop file per workspace */
.rdp-ws { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.rdp-pw { position: relative; }
.rdp-pw > summary { list-style: none; }
.rdp-pw > summary::-webkit-details-marker { display: none; }
.rdp-pw > form { position: absolute; right: 0; z-index: 5; width: 300px; margin-top: 6px; text-align: left; }
@media (max-width: 640px) { .rdp-pw > form { position: static; width: 100%; } }
