:root {
    color-scheme: light;
    --bg: #eef4fb;
    --bg-2: #f7fafc;
    --panel: #ffffff;
    --line: #d7e3f0;
    --line-strong: #b9c9da;
    --text: #112b46;
    --muted: #62758a;
    --blue: #2474c9;
    --blue-dark: #155799;
    --green: #177d4f;
    --red: #b42318;
    --amber: #b54708;
    --slate: #26384d;
    --shadow: 0 18px 46px rgba(32, 77, 130, .14);
    --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a { color: inherit; }
img, svg, video { max-width: 100%; }

.shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 42px;
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0;
    flex: 0 0 44px;
}

.brand-name {
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.brand-sub {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a,
.btn,
button {
    min-height: 44px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 0 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    min-width: 0;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.nav a:hover,
.btn:hover,
button:hover {
    border-color: var(--blue);
}

.btn.primary,
button.primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.btn.primary:hover,
button.primary:hover {
    background: var(--blue-dark);
}

.btn.green,
button.green {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.btn.danger,
button.danger {
    border-color: #fecaca;
    color: var(--red);
    background: #fff7f7;
}

.btn.small,
button.small {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
}

button:disabled,
.btn.disabled {
    opacity: .55;
    cursor: not-allowed;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
    align-items: center;
    gap: 30px;
    padding: 18px 0 24px;
}

.hero-media {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    display: block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f3ff;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 16px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(25px, 3.2vw, 38px);
    line-height: 1.16;
    letter-spacing: 0;
    margin-bottom: 10px;
}

h3 {
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 9px;
}

.lead {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
    max-width: 760px;
    overflow-wrap: anywhere;
}

.compact-lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.mini-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    min-width: 220px;
}

.mini-row {
    display: grid;
    gap: 2px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.mini-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.section {
    padding: 34px 0;
}

.public-site .section {
    width: min(1280px, calc(100% - 44px));
    margin-left: auto;
    margin-right: auto;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 16px;
}

.panel,
.card,
.mini-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0;
    max-width: 100%;
}

.panel { padding: 22px; }
.card { padding: 18px; }
.mini-card { padding: 15px; }

.soft-panel {
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card {
    min-height: 172px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    background: #edf6ff;
    color: var(--blue-dark);
    font-size: 22px;
    margin-bottom: 12px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.check-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    color: var(--slate);
    line-height: 1.45;
}

.check-list li::before {
    content: "✓";
    color: var(--green);
    font-weight: 900;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-width: 0;
}

.form-stack {
    display: grid;
    gap: 12px;
}

.soft-note {
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: #f5f9fe;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    padding: 10px 12px;
}

.check-row {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0;
    color: var(--text);
}

.check-row input {
    width: auto;
    min-height: auto;
}

.advanced-fields {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fbfdff;
}

.advanced-fields summary {
    cursor: pointer;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}

.advanced-fields[open] summary {
    margin-bottom: 12px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

label,
.label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #bdcede;
    border-radius: 7px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    outline: none;
}

textarea {
    min-height: 88px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(33, 116, 201, .13);
}

.status-line {
    min-height: 22px;
    margin-top: 12px;
    font-weight: 800;
    color: var(--muted);
}

.status-line.ok { color: var(--green); }
.status-line.error { color: var(--red); }
.status-line.wait { color: var(--amber); }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.metric {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px;
    background: #f8fbff;
    min-width: 0;
}

.metric.wide { grid-column: 1 / -1; }

.metric .value,
.preview-value {
    font-size: 20px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.metric-hint {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.overview-hero .compact-lead,
.overview-columns .compact-lead {
    max-width: 820px;
}

.section-head.compact {
    align-items: flex-start;
    margin-bottom: 12px;
}

.monthly-note {
    margin: 0 0 14px;
}

.payment-box {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 170px;
    gap: 12px;
    align-items: end;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    min-width: 0;
}

.amount {
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.payment-page .shell {
    width: min(1080px, calc(100% - 32px));
}

.payment-topbar {
    margin-bottom: 8px;
}

.payment-entry {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
    align-items: stretch;
    margin-top: 22px;
}

.payment-entry h1 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.06;
    overflow-wrap: normal;
}

.payment-entry .lead {
    overflow-wrap: normal;
}

.lookup-panel {
    align-self: start;
}

.payment-page.customer-loaded .payment-entry {
    display: none;
}

.payment-page #detailsPanel {
    scroll-margin-top: 12px;
}

.payment-page.customer-loaded #detailsPanel {
    margin-top: 10px !important;
}

.payment-page #detailsPanel .section-head {
    align-items: flex-start;
}

.payment-page .metric .value {
    line-height: 1.15;
}

.payment-page #payLink {
    min-height: 52px;
    font-size: 16px;
}

.table-wrap,
.periods {
    width: 100%;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: auto;
    background: #fff;
}

table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
}

td {
    overflow-wrap: anywhere;
}

.phone-link,
.phone-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8f7ef;
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.phone-link::before,
.phone-text::before {
    content: "☎";
    font-size: 13px;
}

th {
    background: #f2f6fb;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

tr:last-child td { border-bottom: 0; }
.right { text-align: right; }
.hidden { display: none !important; }

.notification-table-wrap {
    overflow-x: hidden;
}

.notification-table {
    table-layout: fixed;
    min-width: 0;
}

.notification-table th,
.notification-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.notification-title-cell {
    width: 42%;
    line-height: 1.35;
}

.notification-signature {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
}

.notification-table .compact-cell {
    width: 96px;
}

.notification-table .date-cell {
    width: 150px;
}

.notification-table .action-cell {
    width: 150px;
    overflow-wrap: normal;
}

.row-actions {
    margin: 0;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.wrap-cell {
    overflow-wrap: anywhere;
}

.notification-template-panel {
    background: #f5f9ff;
    border-color: #cfe1f5;
    padding: 12px;
}

.notification-template-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr);
    gap: 12px;
    align-items: end;
}

.template-hint {
    align-self: end;
    color: #47617f;
    font-size: 12px;
    line-height: 1.45;
}

.notification-form {
    gap: 10px;
}

.notification-scope-notice {
    padding: 12px 14px;
    border: 1px solid #fca5a5;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.notification-form textarea[name="body"] {
    min-height: 116px;
    resize: vertical;
}

.notification-form .advanced-fields {
    padding: 9px 11px;
}

.notification-form .dialog-form-footer {
    position: sticky;
    bottom: -18px;
    z-index: 2;
    display: grid;
    gap: 8px;
    margin: 4px -18px -18px;
    padding: 12px 18px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.86), #fff 34%);
    border-top: 1px solid var(--line);
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: #eef2f7;
    color: var(--slate);
}

.badge.ok { background: #e8f7ef; color: var(--green); }
.badge.bad { background: #fff0f0; color: var(--red); }
.badge.warn { background: #fff7ed; color: var(--amber); }

.db-name {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}

.toolbar input,
.toolbar select {
    max-width: 260px;
}

.filter-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 12px 0 16px;
}

.filter-strip > div {
    display: grid;
    gap: 5px;
    min-width: 180px;
}

.firm-action-cell {
    width: 190px;
    min-width: 190px;
    white-space: nowrap;
}

.firm-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.firm-row-actions .small {
    flex: 0 0 auto;
}

.row-action-select {
    width: 118px;
    min-width: 118px;
    max-width: 118px;
    flex: 0 0 118px;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid #cfe0f1;
    border-radius: 7px;
    background: #fff;
    color: var(--blue-dark);
    font-weight: 900;
    cursor: pointer;
}

.row-action-menu {
    position: relative;
}

.row-action-menu summary {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #cfe0f1;
    border-radius: 7px;
    background: #fff;
    color: var(--blue-dark);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.row-action-menu summary::-webkit-details-marker {
    display: none;
}

.row-action-menu summary::after {
    content: "▾";
    margin-left: 8px;
    font-size: 11px;
}

.row-action-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 25;
    width: 170px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid #cfe0f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 46, 82, .18);
}

.row-action-panel button {
    width: 100%;
    min-height: 36px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.row-action-panel button:hover {
    background: #eef6ff;
}

.row-action-panel .danger-link {
    color: var(--red);
}

.admin-panel {
    display: grid;
    gap: 16px;
}

.admin-top {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.admin-user {
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: #f8fbff;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
    align-items: center;
}

.admin-tabs button {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
}

.admin-tabs button.active,
.admin-menu-select.active {
    border-color: var(--blue);
    background: #eaf4ff;
    color: var(--blue-dark);
}

.admin-menu-label {
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.admin-menu-select {
    width: auto;
    min-width: 190px;
    max-width: 260px;
    min-height: 42px;
    font-weight: 800;
    color: var(--text);
    background: #fff;
}

.admin-view {
    display: grid;
    gap: 16px;
}

.login-layout {
    min-height: calc(100vh - 170px);
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 430px);
    gap: 28px;
    align-items: center;
}

.admin-body .login-layout {
    grid-template-columns: minmax(320px, 430px);
    justify-content: center;
}

.login-layout h1 {
    font-size: clamp(36px, 4vw, 56px);
    max-width: 760px;
}

.dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 32, 50, .52);
    display: grid;
    place-items: center;
    z-index: 40;
    padding: 18px;
}

.dialog {
    width: min(980px, 100%);
    max-height: calc(100vh - 36px);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 26px 70px rgba(0,0,0,.24);
}

.dialog-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.dialog-body {
    padding: 18px;
    min-width: 0;
}

.dialog form,
.dialog .table-wrap,
.dialog .periods {
    min-width: 0;
    max-width: 100%;
}

.receipt-share {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: #f8fbff;
}

.receipt-share textarea {
    min-height: 120px;
}

#paymentPreview .periods {
    overflow: visible;
}

#paymentPreview .periods table {
    min-width: 0;
}

#paymentPreview .periods th,
#paymentPreview .periods td {
    white-space: normal;
}

.muted { color: var(--muted); }
.strong { font-weight: 900; }
.nowrap { white-space: nowrap; }

.product-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 62px 50px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(12, 33, 58, .92) 0%, rgba(12, 33, 58, .78) 42%, rgba(12, 33, 58, .2) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.hero-copy {
    width: min(650px, 100%);
    color: #fff;
    animation: heroRise .7s ease both;
}

.product-hero .eyebrow {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
}

.product-hero .lead {
    color: #e4edf8;
}

.product-hero .btn {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .5);
}

.product-hero .btn.primary {
    background: var(--blue);
    border-color: var(--blue);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.hero-points span,
.pay-note {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    font-weight: 900;
}

.hero-points span {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
}

.pay-note {
    margin-top: 16px;
    color: var(--blue-dark);
    background: #e8f3ff;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat-strip .mini-card {
    box-shadow: none;
}

.screen-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.screen-card {
    display: grid;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.screen-card:hover {
    transform: translateY(-4px);
    border-color: #9fc8ee;
    box-shadow: 0 24px 60px rgba(32, 77, 130, .18);
}

.screen-card.wide {
    grid-column: span 2;
}

.screen-card img,
.feature-shot img {
    width: 100%;
    display: block;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f8fbff;
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 16px;
    padding: 34px;
    background: rgba(9, 24, 43, .86);
}

.image-lightbox.hidden {
    display: none;
}

.lightbox-open {
    overflow: hidden;
}

.image-lightbox-frame {
    min-width: 0;
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 12px;
}

.image-lightbox-frame img {
    max-width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
    background: #fff;
}

.image-lightbox-frame figcaption {
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.image-lightbox-close,
.image-lightbox-nav {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    box-shadow: none;
}

.image-lightbox-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 30px;
    line-height: 1;
}

.image-lightbox-nav {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    font-size: 42px;
    line-height: 1;
}

.image-lightbox-nav.prev {
    grid-column: 1;
}

.image-lightbox-nav.next {
    grid-column: 3;
}

.feature-shot {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 20px;
    align-items: center;
}

.feature-shot.reverse {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
}

.feature-shot.reverse img {
    order: 2;
}

.accent-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f2fff8 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.support-card {
    min-height: 172px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--blue-dark);
    font-weight: 900;
    text-decoration: none;
}

.download-placeholder {
    color: var(--blue-dark);
    background: #eef6ff;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 0 4px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: none;
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .hero-copy,
    [data-reveal],
    .screen-card {
        animation: none;
        transition: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 960px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav,
    .nav a {
        width: 100%;
    }

    .nav button,
    .nav .btn,
    .nav .user-menu,
    .nav .session-chip {
        width: 100%;
    }

    .admin-body .topbar,
    .public-site .marketing-topbar {
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .72);
    }

    .admin-body .admin-shell,
    .public-site .public-shell {
        width: min(100%, calc(100% - 20px));
    }

    .hero,
    .login-layout,
    .admin-panel {
        min-height: auto;
    }

    .grid,
    .grid.two,
    .grid.four,
    .overview-kpi-grid,
    .stat-strip,
    .screen-gallery,
    .support-grid,
    .metric-grid,
    .payment-box,
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .admin-body .login-layout {
        min-height: calc(100vh - 132px);
        grid-template-columns: minmax(0, 460px);
    }

    .admin-tabs {
        gap: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tabs button,
    .admin-dropdown,
    .admin-dropdown-button {
        width: 100%;
    }

    .admin-dropdown-panel,
    .user-menu-panel {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .section-head .actions {
        margin-top: 0;
    }

    .product-hero {
        min-height: 520px;
        padding: 42px 28px;
        background:
            linear-gradient(90deg, rgba(12, 33, 58, .93), rgba(12, 33, 58, .76)),
            var(--hero-image);
        background-size: cover;
        background-position: center;
    }

    .screen-card.wide {
        grid-column: auto;
    }

    .feature-shot,
    .feature-shot.reverse {
        grid-template-columns: 1fr;
    }

    .feature-shot.reverse img {
        order: 0;
    }

    .payment-entry {
        gap: 16px;
        margin-top: 10px;
    }

    .payment-entry .lookup-panel {
        order: 1;
    }

    .payment-entry .payment-copy {
        order: 2;
    }

    .payment-page.customer-loaded .payment-copy {
        display: none;
    }
}

@media (max-width: 640px) {
    .shell {
        width: 100%;
        padding: 12px 10px 28px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .brand-name { font-size: 21px; }
    h1 { font-size: 33px; }
    h2 { font-size: 25px; }
    .lead { font-size: 16px; }
    .panel { padding: 14px; }
    .card { padding: 14px; }

    .topbar,
    .brand,
    .actions {
        width: 100%;
    }

    .public-site .nav,
    .admin-body .nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .public-site .nav a,
    .public-site .nav .btn,
    .admin-body .nav a,
    .admin-body .nav button {
        min-height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn,
    button,
    input,
    select {
        width: 100%;
    }

    .amount { font-size: 27px; }

    .marketing-hero,
    .retail-showcase,
    .app-promo,
    .contact-section {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .marketing-hero h1,
    .product-hero h1 {
        font-size: 36px;
        line-height: 1.06;
    }

    .hero-points {
        gap: 7px;
    }

    .hero-points span {
        min-height: 30px;
        font-size: 13px;
    }

    .trust-strip,
    .stat-strip {
        grid-template-columns: 1fr 1fr;
    }

    .overview-kpi-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .metric {
        padding: 11px;
    }

    .metric .value,
    .preview-value {
        font-size: 18px;
    }

    .dialog {
        max-height: calc(100dvh - 18px);
        width: 100%;
    }

    .dialog-head,
    .dialog-body {
        padding: 14px;
    }

    .dialog-head h2 {
        font-size: 23px;
    }

    .payment-page .shell {
        width: 100%;
        padding: 12px 10px 26px;
    }

    .payment-page .topbar {
        margin-bottom: 8px;
    }

    .payment-page .brand {
        width: auto;
    }

    .payment-entry {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .payment-entry .lookup-panel {
        width: 100%;
    }

    .payment-entry h1 {
        font-size: 29px;
        line-height: 1.08;
        margin-bottom: 8px;
    }

    .payment-entry .lead {
        font-size: 14px;
        line-height: 1.42;
    }

    .payment-highlights {
        display: none;
    }

    .lookup-panel h2,
    .payment-page #detailsPanel h2 {
        font-size: 25px;
    }

    .payment-page #detailsPanel {
        margin-top: 10px !important;
    }

    .payment-page.customer-loaded .payment-topbar {
        margin-bottom: 6px;
    }

    .payment-page .metric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .payment-page .metric {
        padding: 10px;
    }

    .payment-page .metric .value {
        font-size: 17px;
    }

    .payment-box {
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
    }

    .payment-box > div:nth-child(2) {
        order: -1;
    }

    .payment-page .amount {
        font-size: 31px;
        line-height: 1.05;
    }

    .notification-template-row {
        grid-template-columns: 1fr;
    }

    .notification-form .dialog-form-footer {
        bottom: -14px;
        margin: 4px -14px -14px;
        padding: 10px 14px 14px;
    }

    .product-hero {
        min-height: 500px;
        padding: 34px 18px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-top {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .image-lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 16px 10px;
    }

    .image-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .image-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .image-lightbox-frame img {
        max-height: calc(100vh - 110px);
    }

    .periods {
        border: 0;
        overflow: visible;
    }

    .periods table,
    .periods tbody,
    .periods tr,
    .periods td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .periods thead { display: none; }

    .periods tr {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #f8fbff;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .periods td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        white-space: normal;
        text-align: right;
    }

    .periods td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 900;
        text-align: left;
    }
}

/* ComfortPOS V6 public site */
.public-site {
    background: #fff;
}

.public-site .public-shell {
    width: 100%;
    padding: 0;
}

.marketing-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px clamp(18px, 4.8vw, 78px);
    margin: 0;
    border-bottom: 1px solid #e8edf3;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 22px rgba(25, 45, 70, .05);
}

.marketing-topbar .nav a,
.marketing-topbar .nav .download-placeholder {
    box-shadow: 0 8px 20px rgba(31, 75, 120, .08);
}

.marketing-hero {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(420px, .92fr) minmax(500px, 1.08fr);
    gap: clamp(24px, 5vw, 74px);
    align-items: center;
    padding: clamp(52px, 6vw, 94px) clamp(22px, 6vw, 96px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(38, 122, 210, .16), transparent 34%),
        linear-gradient(90deg, #f6f8f7 0%, #f6f8f7 60%, #eef7ff 100%);
    box-shadow: none;
}

.marketing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 46%;
    height: 42%;
    background: linear-gradient(135deg, rgba(28, 151, 112, .28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.marketing-hero .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
}

.marketing-hero h1 {
    max-width: 760px;
    color: #1f252d;
    font-size: clamp(46px, 5.2vw, 78px);
    line-height: 1.08;
    letter-spacing: 0;
}

.marketing-hero .lead {
    max-width: 720px;
    color: #34445a;
    font-size: 19px;
}

.marketing-hero .hero-points span {
    border-color: #cbd8e7;
    background: #fff;
    color: #173557;
}

.marketing-hero .btn {
    min-height: 50px;
    border-color: #d7e1ec;
    background: #fff;
}

.marketing-hero .btn.primary {
    border-color: #ff5a00;
    background: #ff5a00;
    color: #fff;
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 430px;
    border-radius: 8px;
    overflow: visible;
    border: 0;
    box-shadow: none;
}

.hero-visual > img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(31, 61, 92, .18);
}

.hero-screen-card {
    position: absolute;
    left: -34px;
    right: 28px;
    bottom: -28px;
    padding: 10px;
    border: 1px solid #d5e0ec;
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 64px rgba(30, 59, 90, .22);
}

.hero-screen-card img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: min(1280px, calc(100% - 44px));
    margin: 24px auto 30px;
}

.trust-strip div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 36px rgba(32, 77, 130, .10);
}

.trust-strip strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: var(--blue-dark);
}

.trust-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.wide-band {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 58px 0;
}

.compact-feature-grid .feature-card {
    min-height: 188px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.retail-showcase,
.app-promo,
.contact-section {
    width: min(1280px, calc(100% - 44px));
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 28px;
    align-items: center;
}

.retail-showcase > *,
.app-promo > *,
.contact-section > * {
    min-width: 0;
}

.retail-showcase {
    padding: 46px 0;
}

.retail-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.retail-photo-grid img {
    width: 100%;
    min-height: 390px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.app-promo {
    padding: 34px;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff 0%, #eef7ff 64%, #f4fff8 100%);
    box-shadow: var(--shadow);
}

.app-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.app-feature-list span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid #cfe0f1;
    border-radius: 999px;
    background: #fff;
    color: var(--blue-dark);
    font-weight: 900;
}

.phone-mockups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: end;
}

.phone-frame {
    min-height: 360px;
    padding: 10px;
    border: 1px solid #d5e4f2;
    border-radius: 26px;
    background: #101923;
    box-shadow: 0 24px 60px rgba(24, 62, 100, .20);
    overflow: hidden;
}

.phone-frame.secondary {
    transform: translateY(30px);
}

.phone-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    display: block;
}

.marketing-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.marketing-gallery .screen-card {
    min-height: 100%;
}

.marketing-gallery .screen-card.wide {
    grid-column: span 2;
}

.marketing-gallery img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.contact-section {
    align-items: stretch;
    padding-bottom: 20px;
}

.contact-copy,
.contact-form {
    min-height: 100%;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.contact-highlights span {
    padding: 14px;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: #fff;
    color: var(--slate);
    font-weight: 900;
}

.form-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.block {
    display: block;
}

.inline-select {
    width: auto;
    min-width: 210px;
}

/* Admin workspace refinements */
.admin-body {
    background: linear-gradient(180deg, #eef5fc 0%, #f7fbff 100%);
}

.admin-body .admin-shell {
    width: min(1540px, calc(100% - 24px));
}

.admin-body .topbar {
    margin-bottom: 14px;
}

.admin-body .admin-panel {
    gap: 18px;
}

.admin-body .admin-top {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    align-items: stretch;
    box-shadow: 0 14px 40px rgba(32, 77, 130, .10);
}

.admin-body .admin-tabs {
    padding: 4px;
    border-radius: 8px;
    background: #f4f8fd;
}

.admin-body .admin-tabs button,
.admin-body .admin-menu-select {
    min-height: 44px;
    background: #fff;
}

.admin-body .admin-view > .view-section > .panel {
    box-shadow: 0 18px 46px rgba(32, 77, 130, .11);
}

.admin-work-panel .section-head {
    align-items: flex-start;
}

.contact-table-wrap {
    overflow-x: hidden;
}

.contact-table {
    min-width: 0;
    table-layout: fixed;
}

.contact-table th,
.contact-table td {
    white-space: normal;
    vertical-align: top;
}

.contact-table th:nth-child(1) { width: 36%; }
.contact-table th:nth-child(2) { width: 23%; }
.contact-table th:nth-child(3) { width: 12%; }
.contact-table th:nth-child(4) { width: 12%; }
.contact-table th:nth-child(5) { width: 12%; }
.contact-table th:nth-child(6) { width: 76px; }

.unread-row {
    background: #fffaf0;
}

.wide-cell {
    overflow-wrap: anywhere;
}

.contact-message-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.contact-message-form textarea[readonly] {
    background: #f8fbff;
}

@media (max-width: 1100px) {
    .marketing-hero,
    .retail-showcase,
    .app-promo,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .marketing-hero {
        min-height: auto;
        padding: 34px;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 420px;
    }

    .trust-strip,
    .contact-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketing-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-message-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .marketing-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 100%;
        justify-items: start;
    }

    .marketing-hero .hero-copy {
        width: 100%;
        max-width: min(100%, 340px);
        justify-self: start;
    }

    .marketing-hero h1,
    .marketing-hero .lead {
        overflow-wrap: anywhere;
    }

    .marketing-hero .lead {
        max-width: 320px;
    }
}

@media (max-width: 760px) {
    .public-site .public-shell,
    .admin-body .admin-shell {
        width: 100%;
        padding: 12px 10px 28px;
    }

    .marketing-topbar {
        position: static;
    }

    .marketing-hero {
        padding: 24px 18px;
    }

    .marketing-hero h1 {
        font-size: clamp(28px, 7.7vw, 34px);
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .marketing-hero .hero-copy {
        width: min(100%, calc(100vw - 84px));
        max-width: calc(100vw - 84px);
        justify-self: start;
    }

    .marketing-hero .lead {
        font-size: 15px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 330px;
    }

    .hero-screen-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .trust-strip,
    .retail-photo-grid,
    .phone-mockups,
    .marketing-gallery,
    .contact-highlights,
    .form-grid.two,
    .contact-message-summary {
        grid-template-columns: 1fr;
    }

    .retail-photo-grid img {
        min-height: 260px;
    }

    .app-promo {
        padding: 18px;
    }

    .phone-frame.secondary {
        transform: none;
    }

    .admin-body .admin-top {
        grid-template-columns: 1fr;
    }

    .admin-body .admin-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-body .admin-menu-select {
        width: 100%;
        max-width: none;
    }

    .contact-table-wrap {
        overflow-x: auto;
    }

    .contact-table {
        min-width: 760px;
    }
}

/* Final admin navigation polish */
.admin-body .topbar {
    align-items: center;
    border: 1px solid #d8e6f4;
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 12px 34px rgba(34, 78, 123, .08);
}

.session-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #cfe0f1;
    border-radius: 999px;
    background: #f7fbff;
    color: var(--blue-dark);
    font-weight: 900;
}

.user-menu {
    position: relative;
    display: inline-flex;
}

.session-chip::after {
    content: "▾";
    margin-left: 8px;
    font-size: 11px;
    color: var(--muted);
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 190px;
    padding: 8px;
    border: 1px solid #cfe0f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(16, 46, 82, .18);
}

.user-menu-panel button {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.user-menu-panel button:hover,
.user-menu-panel button.active {
    background: #eef6ff;
    color: var(--blue-dark);
}

.admin-body .admin-top {
    display: block;
    padding: 10px;
}

.admin-body .admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0;
    background: transparent;
}

.admin-body .admin-tabs > button,
.admin-dropdown-button {
    min-height: 44px;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: var(--blue-dark);
    box-shadow: 0 8px 18px rgba(31, 75, 120, .06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.admin-body .admin-tabs > button:hover,
.admin-dropdown-button:hover {
    transform: translateY(-1px);
    border-color: #8bbdf0;
    box-shadow: 0 12px 26px rgba(31, 75, 120, .12);
}

.admin-body .admin-tabs > button.active,
.admin-dropdown-button.active,
.admin-dropdown-panel button.active {
    border-color: var(--blue);
    background: linear-gradient(180deg, #eaf4ff 0%, #ffffff 100%);
    color: var(--blue-dark);
}

.admin-dropdown {
    position: relative;
}

.admin-dropdown-button::after {
    content: "▾";
    margin-left: 10px;
    font-size: 12px;
}

.admin-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 260px;
    padding: 8px;
    border: 1px solid #cfe0f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(16, 46, 82, .18);
}

.admin-dropdown-panel button {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-align: left;
}

.overview-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.metric-action {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-color: #97c7f4;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.metric-action:hover {
    border-color: var(--blue);
    box-shadow: 0 12px 28px rgba(31, 117, 210, .12);
}

.marketing-topbar .nav {
    gap: 8px;
}

.marketing-topbar .nav a,
.marketing-topbar .nav .download-placeholder {
    min-height: 42px;
    border-radius: 8px;
    border-color: #d1dfed;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 24px rgba(31, 75, 120, .08);
}

.marketing-topbar .nav a:hover,
.marketing-topbar .nav .download-placeholder:hover {
    transform: translateY(-1px);
    border-color: #8bbdf0;
}

.marketing-topbar .nav .nav-login {
    background: #123a61;
    border-color: #123a61;
    color: #fff;
}

.marketing-topbar .nav a.btn.primary {
    background: linear-gradient(180deg, #2f80ed 0%, #1f75d2 100%);
    border-color: #1f75d2;
    color: #fff;
}

.marketing-topbar .nav a.btn.primary:hover {
    border-color: #0f5eb8;
    box-shadow: 0 12px 28px rgba(31, 117, 210, .22);
}

@media (max-width: 1180px) {
    .overview-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-body .topbar,
    .marketing-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-body .nav,
    .marketing-topbar .nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .admin-body .nav a,
    .admin-body .nav button,
    .marketing-topbar .nav a,
    .marketing-topbar .nav .download-placeholder {
        width: 100%;
        min-height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }

    .admin-body .admin-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-body .admin-tabs > button,
    .admin-dropdown,
    .admin-dropdown-button {
        width: 100%;
    }

    .admin-dropdown-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        width: auto;
    }

    .overview-kpi-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2,
    .form-grid-3,
    .form-grid.two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-body .admin-tabs,
    .admin-body .nav,
    .marketing-topbar .nav {
        grid-template-columns: 1fr;
    }

    .marketing-hero {
        padding: 20px 14px;
    }

    .marketing-hero .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .marketing-hero h1 {
        font-size: 30px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.registration-layout.single {
    grid-template-columns: minmax(320px, 760px);
    justify-content: center;
}

.registration-intro h1,
.registration-status-panel h1 {
    margin: 14px 0 10px;
    color: var(--text);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
}

.registration-form {
    gap: 16px;
}

.registration-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: #eff6ff;
    color: #1e3a8a;
}

.registration-total strong {
    font-size: 24px;
}

.registration-summary {
    margin: 18px 0;
}

.credential-panel {
    margin-top: 18px;
}

.credential-panel h3 {
    margin: 0 0 8px;
}

.credential-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
}

.credential-row span {
    color: var(--muted);
}

.registration-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(47, 128, 237, .22), transparent 30%),
        linear-gradient(135deg, #141414 0%, #1b1f27 52%, #111827 100%);
    color: #f8fafc;
}

.registration-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.registration-topbar {
    margin: 26px 0 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.registration-topbar .brand,
.registration-topbar .brand-name,
.registration-topbar .brand-sub {
    color: #fff;
}

.registration-topbar .nav a {
    color: #f8fafc;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: none;
}

.registration-topbar .nav a:hover {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .12);
}

.registration-topbar .nav .nav-login {
    background: #2563eb;
    border-color: #2563eb;
}

.registration-hero {
    display: grid;
    grid-template-columns: minmax(300px, .92fr) minmax(420px, 1.08fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: center;
    min-height: calc(100vh - 118px);
    padding: 22px 0 54px;
}

.registration-side {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 12px 0;
}

.registration-side-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-bottom: 58px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.registration-side h1 {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 5.4vw, 72px);
    line-height: .96;
    letter-spacing: 0;
}

.registration-side p {
    max-width: 520px;
    margin: 24px 0 0;
    color: #d1d5db;
    font-size: 17px;
    line-height: 1.65;
}

.registration-side-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.registration-side-points span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 800;
}

.registration-assistance {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .20);
    color: #e5e7eb;
}

.registration-assistance strong,
.registration-assistance span {
    display: block;
}

.registration-assistance strong {
    margin-bottom: 8px;
    font-size: 20px;
    color: #fff;
}

.registration-assistance span {
    max-width: 440px;
    color: #cbd5e1;
    line-height: 1.45;
}

.registration-card {
    padding: clamp(24px, 3.2vw, 44px);
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.registration-card-head {
    text-align: center;
}

.registration-card-head h2 {
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.1;
}

.registration-card-head p {
    margin: 0;
    color: #64748b;
}

.registration-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.registration-card label {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.registration-card input,
.registration-card select,
.registration-card textarea {
    min-height: 46px;
    border-color: #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
}

.registration-card textarea {
    min-height: 78px;
}

.registration-card input:focus,
.registration-card select:focus,
.registration-card textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.registration-wide-field {
    display: block;
}

.registration-card .registration-total {
    border-radius: 12px;
    background: #eff6ff;
}

.registration-card button[type="submit"] {
    min-height: 52px;
    width: 100%;
    border-radius: 10px;
    background: #2563eb;
    font-size: 16px;
    font-weight: 900;
}

.registration-card button[type="submit"]:hover {
    background: #1d4ed8;
}

@media (max-width: 900px) {
    .registration-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

    .registration-intro h1,
    .registration-status-panel h1 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .registration-form {
        gap: 12px;
    }

    .registration-shell {
        width: min(100% - 24px, 720px);
    }

    .registration-topbar {
        margin-top: 12px;
    }

    .registration-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 18px;
        padding: 10px 0 26px;
    }

    .registration-side {
        min-height: auto;
        padding: 12px 0 4px;
    }

    .registration-side-brand {
        margin-bottom: 22px;
    }

    .registration-side h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .registration-side p {
        margin-top: 16px;
        font-size: 15px;
    }

    .registration-assistance {
        margin-top: 22px;
        padding-top: 18px;
    }
}

@media (max-width: 600px) {
    .public-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .registration-layout {
        margin-top: 10px;
    }

    .registration-intro,
    .registration-form,
    .registration-status-panel {
        padding: 16px;
        border-radius: 14px;
    }

    .registration-intro h1,
    .registration-status-panel h1 {
        margin-top: 10px;
        font-size: 30px;
        line-height: 1.08;
    }

    .registration-total {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
        border-radius: 14px;
    }

    .registration-total strong {
        font-size: 22px;
    }

    .registration-form button[type="submit"] {
        min-height: 48px;
        width: 100%;
    }

    .registration-form-grid {
        grid-template-columns: 1fr;
    }

    .registration-card {
        padding: 18px;
    }

    .registration-card-head {
        text-align: left;
    }
}

/* ComfortPOS V6 public landing redesign */
.landing-v2 {
    --landing-dark: #0f172a;
    --landing-muted: #475569;
    --landing-soft: #64748b;
    --landing-blue: #2563eb;
    --landing-blue-dark: #1d4ed8;
    --landing-orange: #ff4b00;
    --landing-red: #ef1f14;
    --landing-bg: #f8fafc;
    --landing-border: #e2e8f0;
    --landing-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    background: #fff;
    color: var(--landing-dark);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.landing-v2 main {
    overflow: hidden;
}

.landing-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(226, 232, 240, .86);
    backdrop-filter: blur(18px);
}

.landing-header-inner {
    width: min(1280px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--landing-dark);
    text-decoration: none;
}

.landing-brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #2563eb, #0f5ecf);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .24);
}

.landing-brand-text {
    display: grid;
    gap: 3px;
}

.landing-brand-text strong {
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
    white-space: nowrap;
}

.landing-brand-text span {
    color: var(--landing-soft);
    font-size: 13px;
    line-height: 1.25;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.landing-nav-link,
.landing-dropdown-toggle,
.landing-button {
    min-height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--landing-dark);
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.landing-nav-link:hover,
.landing-dropdown-toggle:hover {
    background: #f1f5f9;
    border-color: var(--landing-border);
    transform: translateY(-1px);
}

.landing-subtle-link {
    color: var(--landing-soft);
}

.landing-dropdown {
    position: relative;
}

.landing-dropdown-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .72;
}

.landing-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 20;
    width: 270px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--landing-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.landing-dropdown:hover .landing-dropdown-panel,
.landing-dropdown:focus-within .landing-dropdown-panel,
.landing-dropdown.is-open .landing-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.landing-dropdown-panel a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--landing-muted);
    text-decoration: none;
    font-weight: 800;
}

.landing-dropdown-panel a:hover {
    background: #f8fafc;
    color: var(--landing-blue);
}

.landing-button {
    border-color: var(--landing-border);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.landing-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

.landing-button-primary {
    border-color: var(--landing-orange);
    background: linear-gradient(135deg, var(--landing-red), var(--landing-orange));
    color: #fff;
    box-shadow: 0 16px 34px rgba(239, 31, 20, .24);
}

.landing-button-primary:hover {
    border-color: #e03d00;
    background: linear-gradient(135deg, #dc1b12, #f04400);
    color: #fff;
}

.landing-button-soft {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

.landing-button-outline {
    background: #fff;
    border-color: #cbd5e1;
    color: var(--landing-dark);
}

.landing-button-ghost {
    border-color: transparent;
    background: transparent;
    color: var(--landing-blue);
    box-shadow: none;
}

.landing-button-outline-light {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

.landing-button-lg {
    min-height: 54px;
    padding: 0 24px;
    font-size: 16px;
}

.landing-button-full {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
}

.landing-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid var(--landing-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.landing-menu-button span {
    width: 18px;
    height: 2px;
    display: block;
    margin: 3px auto;
    border-radius: 999px;
    background: var(--landing-dark);
}

.landing-hero {
    position: relative;
    padding: clamp(70px, 9vw, 118px) 0 80px;
    background:
        radial-gradient(circle at 84% 18%, rgba(37, 99, 235, .16), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr);
    gap: clamp(42px, 6vw, 78px);
    align-items: center;
}

.landing-pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 13px;
    font-weight: 950;
}

.landing-hero h1,
.landing-section h2,
.landing-final-card h2 {
    color: var(--landing-dark);
    letter-spacing: 0;
}

.landing-hero h1 {
    max-width: 740px;
    margin: 18px 0 18px;
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 1.02;
    font-weight: 950;
}

.landing-hero-copy p,
.landing-section-head p,
.landing-mobile-grid p,
.landing-contact-copy p,
.landing-final-card p {
    color: var(--landing-muted);
    font-size: 18px;
    line-height: 1.65;
}

.landing-hero-copy p {
    max-width: 650px;
    margin-bottom: 0;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.landing-trust-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #14532d;
    font-size: 14px;
    font-weight: 900;
}

.landing-trust-text span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #dcfce7;
}

.landing-hero-visual {
    position: relative;
    min-height: 500px;
}

.landing-product-card,
.landing-preview-window {
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--landing-shadow);
}

.landing-product-card {
    transform: rotate(-1deg);
}

.landing-product-card img,
.landing-preview-window img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.landing-product-top {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid var(--landing-border);
    background: #fff;
    color: var(--landing-soft);
    font-size: 13px;
    font-weight: 900;
}

.landing-product-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.landing-product-top span:nth-child(1) { background: #ef4444; }
.landing-product-top span:nth-child(2) { background: #f59e0b; }
.landing-product-top span:nth-child(3) { background: #22c55e; margin-right: 8px; }

.landing-floating-card {
    position: absolute;
    min-width: 132px;
    padding: 14px 16px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    backdrop-filter: blur(12px);
}

.landing-floating-card strong,
.landing-floating-card span {
    display: block;
}

.landing-floating-card strong {
    color: var(--landing-dark);
    font-size: 20px;
    font-weight: 950;
}

.landing-floating-card span {
    margin-top: 3px;
    color: var(--landing-soft);
    font-size: 13px;
    font-weight: 850;
}

.landing-floating-card.card-one {
    top: -28px;
    left: -22px;
}

.landing-floating-card.card-two {
    top: 80px;
    right: -28px;
}

.landing-floating-card.card-three {
    bottom: 78px;
    left: -36px;
}

.landing-floating-card.card-four {
    right: 28px;
    bottom: -24px;
}

.landing-strip {
    padding: 0 0 54px;
    background: #f8fafc;
}

.landing-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.landing-strip-grid > div {
    min-height: 118px;
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.landing-strip-grid strong,
.landing-strip-grid span {
    display: block;
}

.landing-strip-grid strong {
    margin-bottom: 8px;
    color: var(--landing-dark);
    font-size: 22px;
    font-weight: 950;
}

.landing-strip-grid span {
    color: var(--landing-muted);
    line-height: 1.45;
}

.landing-section {
    padding: 86px 0;
    background: #fff;
}

.landing-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.landing-section-head h2,
.landing-mobile-grid h2,
.landing-contact-copy h2,
.landing-final-card h2 {
    margin: 14px 0 10px;
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.02;
    font-weight: 950;
}

.landing-feature-section,
.landing-solutions-section {
    background: #f8fafc;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(460px, 1.08fr);
    gap: 26px;
    align-items: stretch;
}

.landing-accordion {
    display: grid;
    gap: 10px;
}

.landing-accordion-item {
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .04);
}

.landing-accordion-item summary {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--landing-dark);
    box-shadow: none;
    font-size: 16px;
    font-weight: 950;
    text-align: left;
    list-style: none;
    cursor: pointer;
}

.landing-accordion-item summary::-webkit-details-marker {
    display: none;
}

.landing-accordion-item summary span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--landing-blue);
    font-size: 13px;
}

.landing-accordion-item p {
    display: none;
    margin: -2px 18px 18px 70px;
    color: var(--landing-muted);
    line-height: 1.55;
}

.landing-accordion-item[open],
.landing-accordion-item.is-active {
    border-color: #bfdbfe;
    box-shadow: 0 20px 44px rgba(37, 99, 235, .10);
}

.landing-accordion-item[open] p,
.landing-accordion-item.is-active p {
    display: block;
}

.landing-feature-preview {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
    padding: 40px;
    border: 1px solid #bfdbfe;
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 12%, rgba(37, 99, 235, .22), transparent 26%),
        linear-gradient(135deg, #eff6ff 0%, #fff 58%, #eef2ff 100%);
    overflow: hidden;
}

.landing-preview-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .14);
    filter: blur(6px);
    right: -80px;
    top: -80px;
}

.landing-preview-window {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
}

.landing-preview-metrics {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.landing-preview-metrics div {
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

.landing-preview-metrics span,
.landing-preview-metrics strong {
    display: block;
}

.landing-preview-metrics span {
    color: var(--landing-soft);
    font-size: 12px;
    font-weight: 850;
}

.landing-preview-metrics strong {
    margin-top: 4px;
    color: var(--landing-dark);
    font-size: 18px;
    font-weight: 950;
}

.landing-mobile-grid,
.landing-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: clamp(34px, 6vw, 70px);
    align-items: center;
}

.landing-mini-list,
.landing-contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.landing-mini-list span,
.landing-contact-points span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    background: #fff;
    color: var(--landing-muted);
    font-size: 13px;
    font-weight: 900;
}

.landing-mobile-cards {
    min-height: 440px;
    position: relative;
}

.landing-mobile-cards img {
    position: absolute;
    width: 64%;
    min-height: 340px;
    object-fit: cover;
    object-position: top center;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--landing-shadow);
}

.landing-app-tags {
    margin-top: 24px;
}

.landing-mobile-cards img:first-child {
    left: 0;
    top: 0;
}

.landing-mobile-cards img:last-child {
    right: 0;
    bottom: 0;
}

.landing-solution-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.landing-solution-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.landing-solution-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 50px rgba(37, 99, 235, .10);
}

.landing-solution-card span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff7ed;
    color: var(--landing-orange);
    font-weight: 950;
}

.landing-solution-card h3 {
    margin: 18px 0 10px;
    color: var(--landing-dark);
    font-size: 22px;
    font-weight: 950;
}

.landing-solution-card p {
    color: var(--landing-muted);
    line-height: 1.55;
}

.landing-solution-card a {
    width: fit-content;
    margin-top: auto;
    color: var(--landing-orange);
    font-weight: 950;
    text-decoration: none;
}

.landing-screen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-screen-grid article {
    padding: 12px;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}

.landing-screen-grid img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    border: 1px solid var(--landing-border);
}

.landing-screen-grid h3 {
    margin: 14px 4px 4px;
    color: var(--landing-dark);
    font-size: 18px;
    font-weight: 950;
}

.landing-contact-section {
    background: #f8fafc;
}

.landing-contact-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--landing-shadow);
}

.landing-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.landing-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--landing-muted);
    font-size: 12px;
    font-weight: 950;
}

.landing-contact-form input,
.landing-contact-form select,
.landing-contact-form textarea {
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: var(--landing-dark);
}

.landing-contact-form input:focus,
.landing-contact-form select:focus,
.landing-contact-form textarea:focus {
    border-color: var(--landing-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.landing-final-cta {
    padding: 78px 0;
    background: #fff;
}

.landing-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, .18), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 68%, #2563eb 100%);
    color: #fff;
    box-shadow: var(--landing-shadow);
}

.landing-final-card h2,
.landing-final-card p {
    color: #fff;
}

.landing-final-card p {
    max-width: 620px;
    opacity: .82;
}

.landing-pill-light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
}

.landing-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.landing-footer {
    padding: 54px 0 24px;
    border-top: 1px solid var(--landing-border);
    background: #0f172a;
    color: #cbd5e1;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, .75fr));
    gap: 28px;
}

.landing-footer .landing-brand {
    color: #fff;
}

.landing-footer .landing-brand-text span,
.landing-footer p {
    color: #94a3b8;
}

.landing-footer p {
    max-width: 360px;
    margin: 18px 0 0;
    line-height: 1.6;
}

.landing-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.landing-footer a,
.landing-footer span {
    display: block;
    margin-top: 10px;
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.35;
}

.landing-footer a:hover {
    color: #fff;
}

.landing-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.landing-socials a {
    margin: 0;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
}

.landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #94a3b8;
    font-size: 14px;
}

.landing-footer-bottom a {
    margin: 0;
    color: #fff;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .landing-header-inner {
        min-height: 72px;
    }

    .landing-menu-button {
        display: inline-block;
    }

    .landing-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        max-height: calc(100vh - 98px);
        overflow: auto;
        padding: 12px;
        border: 1px solid var(--landing-border);
        border-radius: 22px;
        background: #fff;
        box-shadow: var(--landing-shadow);
    }

    .landing-header.is-open .landing-nav {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-content: stretch;
    }

    .landing-nav-link,
    .landing-dropdown-toggle,
    .landing-button {
        width: 100%;
        justify-content: space-between;
        min-height: 48px;
        border-radius: 14px;
    }

    .landing-dropdown-panel {
        position: static;
        width: 100%;
        display: none;
        margin-top: 6px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 14px;
        background: #f8fafc;
    }

    .landing-dropdown:hover .landing-dropdown-panel,
    .landing-dropdown:focus-within .landing-dropdown-panel {
        display: none;
    }

    .landing-dropdown.is-open .landing-dropdown-panel {
        display: grid;
    }

    .landing-hero-grid,
    .landing-feature-grid,
    .landing-mobile-grid,
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-visual {
        min-height: auto;
    }

    .landing-product-card {
        transform: none;
    }

    .landing-floating-card.card-two {
        right: 16px;
    }

    .landing-floating-card.card-three {
        left: 16px;
    }

    .landing-solution-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .landing-container,
    .landing-header-inner {
        width: min(100% - 28px, 720px);
    }

    .landing-hero {
        padding: 52px 0 58px;
    }

    .landing-hero h1 {
        font-size: clamp(32px, 8.6vw, 48px);
        line-height: 1;
    }

    .landing-strip-grid,
    .landing-screen-grid,
    .landing-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-final-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .landing-container,
    .landing-header-inner {
        width: calc(100% - 24px);
    }

    .landing-brand-text strong {
        font-size: 18px;
    }

    .landing-brand-text span {
        font-size: 11px;
    }

    .landing-hero-copy p,
    .landing-section-head p,
    .landing-mobile-grid p,
    .landing-contact-copy p,
    .landing-final-card p {
        font-size: 15px;
        line-height: 1.55;
    }

    .landing-hero-actions,
    .landing-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .landing-floating-card {
        position: static;
        margin-top: 10px;
    }

    .landing-hero-visual {
        display: grid;
        gap: 0;
    }

    .landing-strip-grid,
    .landing-solution-grid,
    .landing-screen-grid,
    .landing-form-row,
    .landing-preview-metrics,
    .landing-footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 58px 0;
    }

    .landing-feature-preview {
        min-height: auto;
        padding: 18px;
    }

    .landing-mobile-cards {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .landing-mobile-cards img {
        position: static;
        width: 100%;
        min-height: 260px;
    }

    .landing-contact-form {
        padding: 18px;
        border-radius: 20px;
    }

    .landing-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.landing-subpage {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 4%, rgba(37, 99, 235, .14), transparent 28%),
        #f8fafc;
}

.landing-subhero {
    padding: clamp(54px, 7vw, 92px) 0 42px;
}

.landing-subhero-grid {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(360px, .74fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.landing-subhero h1 {
    max-width: 900px;
    margin: 20px 0 18px;
    color: var(--landing-dark);
    font-size: clamp(42px, 6.8vw, 72px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.02em;
}

.landing-subhero p {
    max-width: 780px;
    margin: 0;
    color: var(--landing-muted);
    font-size: 19px;
    line-height: 1.65;
}

.landing-subhero-card,
.landing-subhero-screen,
.landing-info-card,
.landing-feature-row,
.landing-stat-grid > div {
    border: 1px solid var(--landing-border);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.landing-subhero-card {
    padding: 30px;
    border-radius: 28px;
}

.landing-subhero-card strong {
    display: block;
    margin-bottom: 18px;
    color: var(--landing-dark);
    font-size: 22px;
    font-weight: 950;
}

.landing-subhero-card ul,
.landing-check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-subhero-card li,
.landing-check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--landing-muted);
    line-height: 1.5;
}

.landing-subhero-card li::before,
.landing-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 950;
}

.landing-subhero-screen {
    overflow: hidden;
    padding: 12px;
    border-radius: 30px;
}

.landing-subhero-screen img {
    width: 100%;
    display: block;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
}

.landing-card-grid {
    display: grid;
    gap: 18px;
}

.landing-card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-info-card {
    padding: 26px;
    border-radius: 24px;
}

.landing-info-card > span,
.landing-feature-row > div > span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
}

.landing-info-card h3,
.landing-feature-row h3 {
    margin: 0 0 12px;
    color: var(--landing-dark);
    font-size: clamp(24px, 3.3vw, 38px);
    line-height: 1.08;
    font-weight: 950;
}

.landing-info-card p,
.landing-feature-row p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 16px;
    line-height: 1.65;
}

.landing-info-card a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 950;
}

.landing-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-stat-grid > div {
    padding: 24px;
    border-radius: 24px;
}

.landing-stat-grid strong {
    display: block;
    color: var(--landing-dark);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.landing-stat-grid span {
    display: block;
    margin-top: 9px;
    color: var(--landing-muted);
    font-weight: 800;
}

.landing-feature-list {
    display: grid;
    gap: 22px;
}

.landing-feature-row {
    display: grid;
    grid-template-columns: minmax(320px, .96fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    padding: 24px;
    border-radius: 30px;
}

.landing-feature-row.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .96fr);
}

.landing-feature-row.reverse img {
    order: 2;
}

.landing-feature-row img {
    width: 100%;
    display: block;
    border-radius: 22px;
    border: 1px solid var(--landing-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

@media (max-width: 980px) {
    .landing-subhero-grid,
    .landing-card-grid.three,
    .landing-two-column,
    .landing-stat-grid,
    .landing-feature-row,
    .landing-feature-row.reverse {
        grid-template-columns: 1fr;
    }

    .landing-feature-row.reverse img {
        order: 0;
    }
}

@media (max-width: 640px) {
    .landing-subhero {
        padding-top: 42px;
    }

    .landing-subhero h1 {
        font-size: clamp(36px, 12vw, 48px);
    }

    .landing-subhero p {
        font-size: 16px;
    }

    .landing-subhero-card,
    .landing-info-card,
    .landing-feature-row,
    .landing-stat-grid > div {
        padding: 18px;
        border-radius: 20px;
    }
}

/* === ComfortPOS public redesign 2026 === */
.public-site.landing-v2 {
    --landing-dark: #141b4d;
    --landing-muted: #46516d;
    --landing-soft: #6b7280;
    --landing-blue: #2157d6;
    --landing-blue-dark: #14205d;
    --landing-orange: #ff5a2f;
    --landing-red: #ff3345;
    --landing-bg: #fbfaf8;
    --landing-border: #ebeaf0;
    --landing-shadow: 0 22px 60px rgba(20, 27, 77, .10);
    background: #fbfaf8;
    color: var(--landing-dark);
}

.cp-split-header {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.cp-top-strip {
    background: #141b4d;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.cp-top-strip-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cp-top-note {
    font-weight: 800;
    letter-spacing: .01em;
}

.cp-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cp-top-actions a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-weight: 850;
}

.cp-top-actions a:hover { color: #fff; }

.cp-top-actions .cp-top-cta {
    min-height: 30px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3345, #ff7a3d);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 51, 69, .24);
}

.cp-main-nav-row {
    width: 100%;
    min-height: 104px;
    padding: 0 min(36px, 4vw);
    background: rgba(251,250,248,.96);
    border-bottom: 1px solid var(--landing-border);
    backdrop-filter: blur(16px);
}

.cp-main-nav-row .landing-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #1f5cff 0%, #16205d 55%, #ff3345 56%, #ff7a3d 100%);
}

.cp-main-nav-row .landing-brand-text strong {
    color: #141b4d;
    font-size: 26px;
    letter-spacing: -.04em;
}

.cp-main-nav-row .landing-brand-text span {
    color: #6b7280;
    font-weight: 650;
}

.cp-main-nav-row .landing-nav { gap: 20px; }

.cp-main-nav-row .landing-nav-link,
.cp-main-nav-row .landing-dropdown-toggle {
    border-radius: 0;
    padding: 0 2px;
    min-height: 40px;
    color: #141b4d;
    font-size: 15px;
    letter-spacing: .01em;
    position: relative;
}

.cp-main-nav-row .landing-nav-link::before,
.cp-main-nav-row .landing-dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #ff3345, #ff7a3d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.cp-main-nav-row .landing-nav-link:hover,
.cp-main-nav-row .landing-dropdown-toggle:hover {
    background: transparent;
    border-color: transparent;
    color: #ff3345;
    transform: translateY(-1px);
}

.cp-main-nav-row .landing-nav-link:hover::before,
.cp-main-nav-row .landing-dropdown-toggle:hover::before { transform: scaleX(1); }

.landing-hero {
    min-height: calc(100vh - 144px);
    padding: 72px 0 54px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 51, 69, .16), transparent 30%),
        radial-gradient(circle at 60% 88%, rgba(33, 87, 214, .13), transparent 28%),
        #fbfaf8;
}

.landing-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    gap: 58px;
}

.landing-pill {
    background: #fff0f1;
    color: #ff3345;
    border: 1px solid #ffd4d9;
    font-size: 13px;
    letter-spacing: .01em;
}

.landing-hero h1 {
    max-width: 690px;
    font-size: clamp(48px, 6vw, 86px);
    line-height: .94;
    letter-spacing: -.065em;
    color: #141b4d;
    margin-bottom: 26px;
}

.landing-hero p {
    max-width: 620px;
    color: #30384f;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.48;
    font-weight: 550;
}

.landing-button-primary {
    border: 0;
    background: linear-gradient(135deg, #ff3345, #ff7a3d);
    color: #fff;
    box-shadow: 0 15px 34px rgba(255, 51, 69, .26);
}

.landing-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 44px rgba(255, 51, 69, .33);
}

.landing-button-outline {
    background: #fff;
    border-color: #d9dce8;
    color: #141b4d;
}

.landing-button-ghost {
    color: #2157d6;
}

.landing-product-card,
.landing-preview-window,
.landing-screen-grid article {
    border-radius: 32px;
    box-shadow: 0 30px 90px rgba(20,27,77,.14);
    transition: transform .25s ease, box-shadow .25s ease;
}

.landing-product-card:hover,
.landing-preview-window:hover,
.landing-screen-grid article:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 38px 110px rgba(20,27,77,.20);
}

.landing-product-card img,
.landing-preview-window img,
.landing-screen-grid img {
    cursor: zoom-in;
    transition: transform .35s ease;
}

.landing-product-card:hover img,
.landing-preview-window:hover img,
.landing-screen-grid article:hover img { transform: scale(1.025); }

.landing-floating-card {
    border: 0;
    border-radius: 22px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 22px 60px rgba(20,27,77,.14);
}

.landing-floating-card strong { color: #141b4d; }

.landing-strip {
    background: #141b4d;
    color: #fff;
}

.landing-strip-grid div {
    border-color: rgba(255,255,255,.14);
}

.landing-strip-grid span { color: rgba(255,255,255,.72); }

.landing-section {
    padding: 76px 0;
    background: #fbfaf8;
}

.landing-section:nth-of-type(even) { background: #fff; }

.landing-section-head {
    max-width: 860px;
    margin-bottom: 34px;
}

.landing-section-head h2,
.landing-contact-copy h2,
.landing-final-card h2 {
    color: #141b4d;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

#support .landing-section-head h2 {
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: -.04em;
}

#support .landing-section-head p { max-width: 760px; }

.landing-info-card,
.landing-solution-card,
.landing-accordion-item {
    border-radius: 28px;
    border-color: #ebeaf0;
    box-shadow: 0 16px 50px rgba(20,27,77,.08);
}

.landing-info-card h3 {
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -.04em;
    color: #141b4d;
}

#support .landing-info-card h3 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.12;
}

.landing-info-card a {
    background: #eef3ff;
    color: #2157d6;
    border-radius: 999px;
    padding: 11px 15px;
    display: inline-flex;
    text-decoration: none;
    font-weight: 950;
}

.landing-solution-card a,
.landing-info-card span { color: #ff3345; }

.landing-contact-section {
    background: linear-gradient(135deg, #141b4d, #202b78);
    color: #fff;
}

.landing-contact-copy h2,
.landing-contact-copy p { color: #fff; }

.landing-contact-form {
    border-radius: 32px;
    box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.image-lightbox {
    background: rgba(10, 15, 43, .78);
    backdrop-filter: blur(12px);
}

.image-lightbox-frame {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 35px 110px rgba(0,0,0,.35);
    transform: scale(.96);
    animation: cpZoomIn .22s ease forwards;
}

@keyframes cpZoomIn { to { transform: scale(1); } }

@media (max-width: 1180px) {
    .cp-main-nav-row { min-height: 78px; position: relative; }
    .cp-main-nav-row .landing-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        gap: 6px;
    }
    .cp-main-nav-row .landing-nav-link,
    .cp-main-nav-row .landing-dropdown-toggle {
        width: 100%;
        min-height: 48px;
        border-radius: 14px;
        padding: 0 14px;
    }
    .cp-top-note { display: none; }
    .cp-top-strip-inner { justify-content: center; }
}

@media (max-width: 820px) {
    .cp-top-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        padding: 6px 0;
    }
    .cp-top-actions a { font-size: 12px; }
    .cp-main-nav-row { padding: 0 18px; }
    .landing-hero {
        min-height: auto;
        padding: 48px 0 36px;
    }
    .landing-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .landing-hero h1 {
        font-size: clamp(42px, 12vw, 62px);
        letter-spacing: -.06em;
    }
    .landing-section { padding: 54px 0; }
    .landing-section-head h2,
    .landing-contact-copy h2,
    .landing-final-card h2 { font-size: clamp(30px, 9vw, 44px); }
}

/* Final polish: oxunaqlılıq, orijinal logo, split header */
.landing-v2 {
    --cp-navy: #101944;
    --cp-ink: #16213f;
    --cp-red: #ff3d35;
    --cp-orange: #ff7a3d;
    --cp-blue: #1f5cff;
    --cp-bg: #fbfaf8;
}

.cp-top-strip {
    background: #121a45;
    color: #fff;
}

.cp-top-actions a:first-child::before { content: "☎ "; }
.cp-top-actions a { color: rgba(255,255,255,.92); }
.cp-top-actions a:hover { color: #fff; }

.cp-main-nav-row .landing-brand-mark,
.landing-footer-brand .landing-brand-mark,
.landing-brand-mark {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #1f5cff 0%, #1747c6 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(31,92,255,.20) !important;
    transform: none !important;
}

.cp-main-nav-row .landing-brand-text strong,
.landing-brand-text strong {
    color: var(--cp-navy) !important;
    letter-spacing: -.035em;
}

.cp-main-nav-row {
    background: rgba(255,255,255,.96);
    min-height: 96px;
}

.landing-hero {
    min-height: auto !important;
    padding: clamp(58px, 7vw, 92px) 0 clamp(46px, 6vw, 76px) !important;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 61, 53, .13), transparent 30%),
        radial-gradient(circle at 56% 80%, rgba(31, 92, 255, .10), transparent 32%),
        var(--cp-bg) !important;
}

.landing-hero h1 {
    color: var(--cp-navy) !important;
    font-size: clamp(42px, 5.3vw, 74px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    max-width: 760px;
}

.landing-hero p {
    color: #2c344f !important;
    font-size: clamp(17px, 1.35vw, 20px) !important;
    line-height: 1.55 !important;
    font-weight: 520 !important;
}

.landing-pill {
    color: var(--cp-red) !important;
    background: #fff1f0 !important;
    border-color: #ffd5d2 !important;
}

.landing-button-primary,
.cp-top-actions .cp-top-cta {
    background: linear-gradient(135deg, var(--cp-red), var(--cp-orange)) !important;
    color: #fff !important;
}

.landing-button-outline {
    background: #fff !important;
    color: var(--cp-navy) !important;
    border-color: #d7dbea !important;
}

.landing-button-ghost {
    color: var(--cp-blue) !important;
}

.landing-strip {
    background: var(--cp-navy) !important;
}

.landing-section-head h2,
.landing-contact-copy h2 {
    color: var(--cp-navy) !important;
    letter-spacing: -.045em !important;
}

.landing-mobile-section {
    background: #fff !important;
}

.landing-mobile-section h2 {
    color: var(--cp-navy) !important;
}

.landing-mobile-section p,
.landing-section-head p,
.landing-contact-copy p {
    color: #49546b !important;
}

.landing-final-card {
    background:
        radial-gradient(circle at 86% 22%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(135deg, #121a45 0%, #1d3478 62%, #225fed 100%) !important;
}

.landing-final-card h2,
.landing-final-card p {
    color: #fff !important;
    text-shadow: none !important;
}

.landing-final-card h2 {
    font-size: clamp(30px, 3.6vw, 52px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.04em !important;
}

.landing-final-card p {
    opacity: .9 !important;
}

.landing-pill-light {
    color: #fff !important;
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.25) !important;
}

#support .landing-pill { color: var(--cp-red) !important; }

@media (max-width: 900px) {
    .cp-top-strip-inner { justify-content: center; }
    .cp-top-note { display: none; }
    .cp-top-actions { gap: 9px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
    .cp-main-nav-row { min-height: 78px; padding: 0 18px; }
    .landing-hero h1 { font-size: clamp(38px, 10vw, 54px) !important; }
}
