:root {
    --navy-950: #061b38;
    --navy-900: #0a2852;
    --navy-800: #123b6e;
    --navy-700: #1c4d83;
    --teal-700: #087f83;
    --teal-600: #079b9e;
    --teal-500: #12abad;
    --teal-100: #dff6f5;
    --teal-50: #eefafa;
    --sky-100: #e8f3fa;
    --sky-50: #f4f9fc;
    --ink-900: #10243f;
    --ink-700: #40546d;
    --ink-600: #607289;
    --ink-500: #7a8a9d;
    --line: #dce7ef;
    --line-strong: #cbdbe7;
    --surface: #ffffff;
    --surface-soft: #f7fafc;
    --success: #16825f;
    --success-soft: #e7f7f0;
    --danger: #b94955;
    --danger-soft: #fff0f1;
    --warning: #9b6916;
    --warning-soft: #fff7df;
    --shadow-sm: 0 10px 26px rgba(19, 55, 88, .08);
    --shadow-md: 0 24px 72px rgba(17, 53, 86, .14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --content: 1240px;
    --font: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink-900);
    background: var(--surface-soft);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--navy-800);
    text-decoration: none;
}

a:hover {
    color: var(--teal-700);
}

:focus-visible {
    outline: 3px solid rgba(7, 155, 158, .32);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 9px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--navy-950);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 48px), var(--content));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(203, 219, 231, .72);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.home-page .site-header {
    position: absolute;
    inset: 0 0 auto;
    border-color: rgba(255, 255, 255, .52);
    background: rgba(247, 252, 255, .72);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
}

.brand:hover {
    color: var(--navy-900);
}

.brand-mark {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    min-width: 0;
    line-height: 1.18;
}

.brand-name {
    overflow: hidden;
    max-width: 280px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-descriptor {
    margin-top: 4px;
    color: var(--ink-600);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--navy-900);
    background: rgba(232, 243, 250, .9);
}

.site-nav .nav-primary {
    padding-inline: 19px;
    color: #fff;
    background: var(--navy-900);
    box-shadow: 0 8px 22px rgba(10, 40, 82, .18);
}

.site-nav .nav-primary:hover {
    color: #fff;
    background: var(--navy-800);
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .56;
}

.btn-primary {
    color: #fff;
    background: var(--navy-900);
    box-shadow: 0 10px 24px rgba(10, 40, 82, .16);
}

.btn-primary:hover:not(:disabled) {
    color: #fff;
    background: var(--navy-800);
}

.btn-teal {
    color: #fff;
    background: var(--teal-600);
    box-shadow: 0 10px 24px rgba(7, 155, 158, .18);
}

.btn-teal:hover:not(:disabled) {
    color: #fff;
    background: var(--teal-700);
}

.btn-secondary {
    border-color: var(--line-strong);
    color: var(--navy-900);
    background: #fff;
}

.btn-secondary:hover:not(:disabled) {
    border-color: #abc3d4;
    color: var(--navy-900);
    background: var(--sky-50);
}

.btn-danger {
    border-color: #efcdd1;
    color: var(--danger);
    background: #fff;
}

.btn-link {
    min-height: auto;
    padding: 2px;
    border: 0;
    border-radius: 5px;
    color: var(--teal-700);
    background: transparent;
    box-shadow: none;
}

.btn-block {
    width: 100%;
}

.icon-btn {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink-700);
    background: #fff;
    cursor: pointer;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--teal-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    content: "";
    background: currentColor;
}

.section-heading {
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(28px, 3.1vw, 42px);
    line-height: 1.22;
    letter-spacing: -.025em;
}

.section-intro {
    max-width: 640px;
    margin: 16px 0 0;
    color: var(--ink-600);
    font-size: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field + .field {
    margin-top: 17px;
}

.field-label {
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 700;
}

.field-hint {
    margin: 0;
    color: var(--ink-500);
    font-size: 12px;
    line-height: 1.55;
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    outline: 0;
    color: var(--ink-900);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.textarea {
    min-height: 104px;
    resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
    color: #93a2b2;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 4px rgba(7, 155, 158, .1);
}

.input[readonly] {
    color: var(--ink-500);
    background: #f1f5f8;
}

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

.input-row .btn {
    min-width: 126px;
}

.form-message {
    min-height: 22px;
    margin: 13px 0 0;
    color: var(--ink-600);
    font-size: 13px;
}

.form-message.is-error {
    color: var(--danger);
}

.form-message.is-success {
    color: var(--success);
}

.status-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 7px;
    padding: 3px 10px;
    border-radius: 999px;
    color: var(--ink-700);
    background: #edf2f6;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.status-pill::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    content: "";
    background: currentColor;
}

.status-pill.is-active,
.status-pill.is-authorized {
    color: var(--success);
    background: var(--success-soft);
}

.status-pill.is-disabled,
.status-pill.is-unauthorized {
    color: var(--danger);
    background: var(--danger-soft);
}

.empty-state {
    display: grid;
    min-height: 210px;
    place-items: center;
    padding: 36px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-md);
    color: var(--ink-600);
    background: #fbfdfe;
    text-align: center;
}

.empty-state i {
    display: block;
    margin-bottom: 12px;
    color: #9db7ca;
    font-size: 28px;
}

/* Home */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 700px;
    overflow: hidden;
    background-color: #e8f6fb;
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background-image: url("/static/jianding/images/hero-coast-lighthouse.png");
    background-position: right center;
    background-size: cover;
    transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.015);
    transition: transform .7s cubic-bezier(.2, .65, .25, 1);
    will-change: transform;
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(244, 251, 254, .96) 0%, rgba(244, 251, 254, .88) 30%, rgba(244, 251, 254, .28) 62%, rgba(244, 251, 254, .05) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 52%, rgba(8, 84, 113, .06));
}

.hero-inner {
    display: grid;
    min-height: 700px;
    align-items: center;
    padding-top: 112px;
    padding-bottom: 64px;
}

.hero-content {
    width: min(720px, 66vw);
}

.hero h1 {
    max-width: 690px;
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.hero-lead {
    max-width: 610px;
    margin: 22px 0 0;
    color: #405d77;
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.85;
}

.domain-query {
    max-width: 680px;
    margin-top: 36px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 54px rgba(16, 65, 96, .16);
    backdrop-filter: blur(14px);
}

.domain-query-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.domain-query .input {
    min-height: 54px;
    border-color: transparent;
    background: rgba(247, 251, 253, .92);
    font-size: 16px;
}

.domain-query .btn {
    min-width: 132px;
    min-height: 54px;
}

.query-note {
    margin: 8px 8px 0;
    color: #5f7487;
    font-size: 12px;
}

.query-result {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 9px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink-700);
    background: rgba(255, 255, 255, .94);
}

.query-domain {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--navy-900);
    font-weight: 800;
}

.query-result[aria-busy="true"] {
    justify-content: flex-start;
}

.query-result.is-error {
    border-color: #f0d0d4;
    color: var(--danger);
    background: rgba(255, 244, 245, .96);
}

.sea-glow {
    position: absolute;
    z-index: -1;
    right: 18%;
    bottom: 3%;
    width: 38vw;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 245, 246, .22);
    filter: blur(22px);
    animation: sea-breathe 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sea-breathe {
    0%, 100% { opacity: .32; transform: scaleX(.96); }
    50% { opacity: .7; transform: scaleX(1.05); }
}

.home-services {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    padding-bottom: 96px;
}

.service-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.service-item {
    padding: 32px;
}

.service-item + .service-item {
    border-left: 1px solid var(--line);
}

.service-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    color: var(--teal-700);
    background: var(--teal-50);
    font-size: 17px;
}

.service-item h2 {
    margin: 0 0 8px;
    color: var(--navy-900);
    font-size: 18px;
}

.service-item p {
    margin: 0;
    color: var(--ink-600);
    font-size: 14px;
}

.contact-section {
    padding: 94px 0;
    background: #edf7fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 64px;
    align-items: center;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 22px;
    align-items: center;
    padding: 26px;
    border: 1px solid rgba(203, 219, 231, .9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
}

.support-card h3 {
    margin: 0 0 5px;
    color: var(--navy-900);
    font-size: 18px;
}

.support-card p {
    margin: 0;
    color: var(--ink-600);
    font-size: 13px;
}

.support-qq {
    display: block;
    margin-top: 12px;
    color: var(--teal-700);
    font-size: 20px;
    font-weight: 800;
}

.support-qr {
    width: 132px;
    height: 132px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 13px;
    object-fit: contain;
    background: #fff;
}

.site-footer {
    padding: 28px 0;
    color: #7890a5;
    background: var(--navy-950);
    font-size: 12px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer a {
    color: #b9cedd;
}

/* Authentication */
.auth-page {
    min-height: 100vh;
    background: #eff7fa;
}

.auth-shell {
    display: grid;
    min-height: calc(100vh - 77px);
    grid-template-columns: minmax(380px, .92fr) minmax(480px, 1.08fr);
}

.auth-scene {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 630px;
    overflow: hidden;
    align-items: flex-end;
    padding: clamp(42px, 6vw, 84px);
    color: #fff;
    background: var(--navy-900);
}

.auth-scene::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background: url("/static/jianding/images/hero-coast-lighthouse.png") right center / cover no-repeat;
    transform: scale(1.02);
}

.auth-scene::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(6, 27, 56, .06) 24%, rgba(6, 27, 56, .84) 100%);
}

.auth-scene-copy {
    max-width: 520px;
}

.auth-scene-copy h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.auth-scene-copy p {
    max-width: 450px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
}

.auth-main {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 48px clamp(28px, 6vw, 92px);
    background: #fbfdfe;
}

.auth-card {
    width: min(100%, 470px);
}

.auth-card-head {
    margin-bottom: 30px;
}

.auth-card-head h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: 32px;
    line-height: 1.25;
}

.auth-card-head p {
    margin: 10px 0 0;
    color: var(--ink-600);
}

.auth-form .btn-block {
    margin-top: 24px;
}

.captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 10px;
}

.captcha-image {
    width: 128px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    cursor: pointer;
}

.captcha-conditional[data-enabled="0"],
.captcha-conditional[data-enabled=""] {
    display: none;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    font-size: 13px;
}

.auth-links a {
    color: var(--ink-600);
}

.auth-links a:hover {
    color: var(--teal-700);
}

/* Merchant center */
.dashboard-page {
    background: #f3f7fa;
}

.dashboard-header {
    position: sticky;
    z-index: 40;
    top: 0;
}

.dashboard-header .header-inner {
    min-height: 76px;
}

.dashboard-header .brand {
    gap: 10px;
    white-space: nowrap;
}

.dashboard-header .brand-mark {
    width: 38px;
    height: 38px;
}

.dashboard-header .brand-name {
    max-width: 240px;
    font-size: 22px;
    letter-spacing: -.035em;
}

.dashboard-header .brand-separator {
    color: #a7b8c8;
    font-size: 18px;
}

.dashboard-header .brand-descriptor {
    margin-top: 0;
    color: var(--navy-800);
    font-size: 14px;
    font-weight: 700;
}

.dashboard-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.dashboard-user-copy {
    display: grid;
    line-height: 1.35;
    text-align: right;
}

.dashboard-user-copy strong,
.dashboard-user-copy span {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-user-copy strong {
    color: var(--navy-900);
    font-size: 13px;
}

.dashboard-user-copy span {
    color: var(--ink-500);
    font-size: 11px;
}

.dashboard-layout {
    display: grid;
    min-height: calc(100vh - 77px);
    grid-template-columns: 248px minmax(0, 1fr);
}

.dashboard-sidebar {
    position: sticky;
    top: 77px;
    height: calc(100vh - 77px);
    padding: 28px 20px;
    border-right: 1px solid var(--line);
    background: #fff;
}

.dashboard-nav {
    display: grid;
    gap: 5px;
}

.dashboard-nav a {
    display: grid;
    min-height: 44px;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 10px;
    color: var(--ink-600);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-nav a i {
    width: 20px;
    color: #7f94a8;
    text-align: center;
}

.dashboard-nav a:hover {
    color: var(--navy-900);
    background: var(--sky-50);
}

.dashboard-nav a.is-active {
    color: var(--navy-900);
    background: var(--teal-100);
}

.dashboard-nav a.is-active i {
    color: var(--teal-700);
}

.sidebar-support {
    position: absolute;
    right: 20px;
    bottom: 24px;
    left: 20px;
    padding: 16px;
    border-radius: 13px;
    color: #d7e8f2;
    background: var(--navy-900);
    font-size: 12px;
}

.sidebar-support strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 13px;
}

.sidebar-support a {
    display: inline-block;
    margin-top: 9px;
    color: #7de1dc;
    font-weight: 800;
}

.dashboard-main {
    min-width: 0;
    padding: 42px clamp(24px, 4vw, 54px) 72px;
}

.dashboard-content {
    width: min(100%, 1340px);
    margin: 0 auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.is-active {
    display: block;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.page-heading h1 {
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.page-heading p {
    margin: 7px 0 0;
    color: var(--ink-600);
    font-size: 14px;
}

.overview-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 230px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: var(--radius-lg);
    color: #fff;
    background: var(--navy-900);
}

.overview-banner::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    opacity: .52;
    background: url("/static/jianding/images/hero-coast-lighthouse.png") right center / cover no-repeat;
}

.overview-banner::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(6, 27, 56, .96) 0%, rgba(6, 27, 56, .88) 44%, rgba(6, 27, 56, .3) 100%);
}

.overview-banner h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -.03em;
}

.overview-banner p {
    max-width: 590px;
    margin: 15px 0 0;
    color: #c9dce9;
}

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

.overview-actions .btn-secondary {
    border-color: rgba(255, 255, 255, .58);
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

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

.stat-card,
.panel,
.license-card,
.product-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 24px rgba(27, 63, 94, .045);
}

.stat-card {
    padding: 22px;
    border-radius: var(--radius-md);
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-600);
    font-size: 12px;
    font-weight: 700;
}

.stat-label i {
    color: var(--teal-700);
}

.stat-value {
    display: block;
    margin-top: 8px;
    color: var(--navy-950);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.panel {
    overflow: hidden;
    border-radius: var(--radius-md);
}

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

.panel-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 22px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2,
.panel-head h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 17px;
}

.panel-body {
    padding: 22px;
}

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

.license-card,
.product-card {
    position: relative;
    min-width: 0;
    padding: 22px;
    border-radius: var(--radius-md);
}

.license-card.is-highlighted {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(7, 155, 158, .12), var(--shadow-sm);
}

.license-group-list {
    display: grid;
    gap: 20px;
}

.license-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 10px 30px rgba(27, 63, 94, .055);
}

.license-group.is-highlighted {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(7, 155, 158, .1), 0 14px 34px rgba(27, 63, 94, .08);
}

.license-group-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px 14px;
}

.license-group-identity {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 15px;
}

.license-group-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: var(--teal-700);
    background: var(--teal-50);
}

.license-group-kicker {
    margin: 0 0 2px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
}

.license-group h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: 21px;
    line-height: 1.35;
}

.license-group .license-domain {
    min-height: 0;
    margin: 5px 0 0;
    font-size: 14px;
}

.license-group-toolbar {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 26px 16px;
    color: var(--ink-500);
    font-size: 12px;
    flex-wrap: wrap;
}

.license-group-toolbar .card-actions {
    margin-top: 0;
}

.license-code-inline {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.license-code-inline > span {
    color: var(--ink-500);
    font-weight: 700;
}

.license-code-inline code,
.plugin-code-inline code {
    color: var(--navy-900);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.license-code-inline .icon-btn,
.plugin-code-inline .icon-btn {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    color: var(--teal-700);
    background: #fff;
}

.license-plugin-section {
    border-top: 1px solid var(--line);
    background: #fbfdfe;
}

.license-plugin-heading,
.plugin-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.license-plugin-heading {
    padding: 17px 26px;
}

.license-plugin-heading h2,
.license-plugin-heading h3,
.plugin-list-heading h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 15px;
}

.license-plugin-heading p {
    margin: 3px 0 0;
    color: var(--ink-500);
    font-size: 12px;
}

.license-plugin-heading > span,
.plugin-list-heading > span {
    color: var(--teal-700);
    font-size: 12px;
    font-weight: 800;
}

.license-plugin-table {
    border-top: 1px solid var(--line);
}

.license-plugin-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 90px minmax(250px, 1.25fr) 130px;
    min-height: 58px;
    align-items: center;
    gap: 18px;
    padding: 10px 26px;
    border-bottom: 1px solid #e8eff4;
    color: var(--ink-600);
    font-size: 13px;
}

.plugin-code-inline {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.license-plugin-row:last-child {
    border-bottom: 0;
}

.license-plugin-row.is-heading {
    min-height: 38px;
    padding-block: 7px;
    color: var(--ink-500);
    background: #f3f8fb;
    font-size: 11px;
    font-weight: 800;
}

.license-plugin-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--navy-900);
    font-size: 14px;
}

.license-plugin-row.is-highlighted {
    background: var(--teal-50);
}

.status-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-500);
    font-weight: 700;
}

.status-text::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.status-text.is-active {
    color: var(--success);
}

.status-text.is-disabled {
    color: var(--danger);
}

.btn-compact {
    min-height: 34px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
}

.license-plugin-empty {
    margin: 0;
    padding: 4px 26px 22px;
    color: var(--ink-500);
    font-size: 13px;
}

.unmatched-plugins {
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #ecdcb8;
    border-radius: var(--radius-md);
    background: #fffdf8;
}

.license-plugin-row.unmatched {
    min-width: 1160px;
    grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(130px, .8fr) 80px minmax(250px, 1.25fr) 130px;
}

.unmatched-plugins .license-plugin-table {
    overflow-x: auto;
}

.card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.card-topline h2,
.card-topline h3 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--navy-900);
    font-size: 18px;
    line-height: 1.4;
}

.license-domain {
    min-height: 27px;
    margin: 12px 0 18px;
    overflow-wrap: anywhere;
    color: var(--teal-700);
    font-size: 15px;
    font-weight: 800;
}

.license-meta {
    display: grid;
    gap: 8px;
    margin: 0;
}

.license-meta div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.license-meta dt {
    color: var(--ink-500);
}

.license-meta dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink-700);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.card-actions .btn {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 12px;
}

.product-price {
    margin-top: 12px;
    color: var(--navy-950);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.product-price small {
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 600;
}

.product-copy {
    min-height: 46px;
    margin: 13px 0 0;
    color: var(--ink-600);
    font-size: 13px;
}

.plugin-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.plugin-list-heading {
    margin-bottom: 12px;
}

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

.purchase-catalog {
    display: grid;
    gap: 20px;
}

.purchase-catalog > .product-card {
    padding: 26px;
}

.purchase-catalog .product-copy {
    min-height: 0;
    max-width: 680px;
}

.purchase-catalog .plugin-offer {
    min-height: 112px;
}

.binding-product-summary {
    display: grid;
    margin-bottom: 20px;
    padding: 15px 16px;
    border-radius: 11px;
    background: var(--surface-soft);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 14px;
}

.binding-product-summary span {
    grid-column: 1 / 3;
    color: var(--ink-500);
    font-size: 11px;
    font-weight: 700;
}

.binding-product-summary strong {
    color: var(--navy-900);
    font-size: 16px;
}

.binding-product-summary em {
    color: var(--teal-700);
    font-style: normal;
    font-weight: 800;
}

.order-binding-domain {
    margin-top: 8px !important;
    color: var(--teal-700) !important;
}

@media (max-width: 1500px) {
    .plugin-purchase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .plugin-purchase-grid {
        grid-template-columns: 1fr;
    }

    .license-plugin-row:not(.unmatched) {
        grid-template-columns: minmax(130px, 1fr) 76px minmax(220px, 1.2fr) 120px;
        gap: 12px;
        padding-inline: 18px;
    }
}

.plugin-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: var(--surface-soft);
}

.plugin-offer h4 {
    margin: 0;
    color: var(--navy-900);
    font-size: 13px;
}

.plugin-offer p {
    margin: 3px 0 0;
    color: var(--ink-500);
    font-size: 11px;
}

.plugin-offer-price {
    color: var(--teal-700);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.plugin-offer .btn {
    min-height: 34px;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 11px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th,
.data-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--ink-500);
    background: var(--surface-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.data-table td {
    color: var(--ink-700);
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.trade-number {
    color: var(--navy-900);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
}

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

/* Dialog */
.dialog {
    width: min(calc(100% - 32px), 520px);
    max-height: calc(100vh - 40px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: var(--radius-lg);
    color: var(--ink-900);
    background: #fff;
    box-shadow: 0 30px 90px rgba(6, 27, 56, .3);
}

.dialog::backdrop {
    background: rgba(6, 27, 56, .56);
    backdrop-filter: blur(4px);
}

.dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px 15px;
    border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: 19px;
}

.dialog-body {
    padding: 22px 24px;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 24px 22px;
}

.license-code-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow-wrap: anywhere;
    color: var(--navy-900);
    background: var(--surface-soft);
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}

/* Checkout and payment */
.checkout-page,
.payment-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 82% 0%, rgba(164, 226, 229, .34), transparent 30%),
        #f2f8fb;
}

.checkout-main {
    width: min(calc(100% - 40px), 980px);
    margin: 0 auto;
    padding: 54px 0 80px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 800;
}

.checkout-steps span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checkout-steps span::before {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    content: attr(data-step);
    background: #fff;
}

.checkout-steps span.is-active {
    color: var(--navy-900);
}

.checkout-steps span.is-active::before {
    border-color: var(--teal-600);
    color: #fff;
    background: var(--teal-600);
}

.checkout-steps i {
    color: #b0c2cf;
    font-size: 10px;
}

.checkout-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.checkout-head {
    padding: 28px 32px;
    border-bottom: 1px solid var(--line);
}

.checkout-head h1 {
    margin: 0;
    color: var(--navy-950);
    font-size: 27px;
}

.checkout-head p {
    margin: 7px 0 0;
    color: var(--ink-600);
    font-size: 13px;
}

.checkout-body {
    padding: 30px 32px;
}

.order-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.order-summary h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: 19px;
}

.order-summary p {
    margin: 7px 0 0;
    color: var(--ink-600);
    font-size: 13px;
}

.order-amount {
    color: var(--navy-950);
    font-size: 30px;
    font-weight: 800;
    white-space: nowrap;
}

.order-amount small {
    font-size: 14px;
}

.payment-choice-title {
    margin: 27px 0 12px;
    color: var(--ink-700);
    font-size: 13px;
}

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

.payment-option {
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option label {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
    color: var(--ink-700);
    background: #fff;
    font-weight: 800;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.payment-option label i {
    width: 30px;
    color: var(--teal-700);
    font-size: 25px;
    text-align: center;
}

.payment-option input:checked + label {
    border-color: var(--teal-600);
    color: var(--navy-900);
    background: var(--teal-50);
    box-shadow: 0 0 0 3px rgba(7, 155, 158, .1);
}

.payment-option input:focus-visible + label {
    outline: 3px solid rgba(7, 155, 158, .32);
    outline-offset: 3px;
}

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.checkout-submit p {
    margin: 0;
    color: var(--ink-500);
    font-size: 12px;
}

.checkout-submit .btn {
    min-width: 170px;
}

.contact-admin {
    margin-top: 25px;
    padding: 18px;
    border: 1px solid #eadcb2;
    border-radius: 12px;
    color: var(--warning);
    background: var(--warning-soft);
    text-align: center;
}

.payment-shell {
    width: min(calc(100% - 40px), 620px);
    margin: 0 auto;
    padding: 44px 0 76px;
}

.payment-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.payment-head {
    padding: 25px 30px;
    color: #fff;
    background: var(--navy-900);
    text-align: center;
}

.payment-head .brand-mark {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    padding: 5px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
}

.payment-head h1 {
    margin: 0;
    font-size: 22px;
}

.payment-head p {
    margin: 6px 0 0;
    color: #c7d9e6;
    font-size: 12px;
}

.payment-body {
    padding: 28px 32px 32px;
}

.payment-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.payment-details div {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
}

.payment-details dt {
    color: var(--ink-500);
}

.payment-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink-700);
    text-align: right;
}

.payment-total {
    margin: 24px 0;
    padding: 20px;
    border-radius: 13px;
    color: var(--ink-600);
    background: var(--surface-soft);
    text-align: center;
}

.payment-total strong {
    display: block;
    margin-top: 4px;
    color: var(--navy-950);
    font-size: 34px;
    line-height: 1.25;
}

.payment-code {
    display: grid;
    place-items: center;
    min-height: 248px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.payment-code canvas,
.payment-code img {
    max-width: 210px;
    height: auto !important;
}

.payment-link-box {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    text-align: center;
}

.payment-link-box p {
    margin: 0 0 15px;
    color: var(--ink-600);
    font-size: 13px;
}

.payment-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--ink-600);
    font-size: 13px;
}

.payment-timer strong {
    color: var(--teal-700);
    font-family: Consolas, "Courier New", monospace;
    font-size: 16px;
}

.payment-status {
    min-height: 24px;
    margin: 13px 0 0;
    color: var(--ink-600);
    font-size: 13px;
    text-align: center;
}

.payment-status.is-success {
    color: var(--success);
}

.payment-status.is-error {
    color: var(--danger);
}

/* Toast */
.toast-region {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: min(calc(100% - 44px), 390px);
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-700);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow-md);
    animation: toast-in .22s ease-out;
}

.toast i {
    margin-top: 4px;
    color: var(--teal-700);
}

.toast.is-error i {
    color: var(--danger);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .container {
        width: min(calc(100% - 36px), var(--content));
    }

    .hero,
    .hero-inner {
        min-height: 650px;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(244, 251, 254, .96) 0%, rgba(244, 251, 254, .85) 48%, rgba(244, 251, 254, .2) 100%);
    }

    .hero-content {
        width: min(700px, 78vw);
    }

    .service-item {
        padding: 26px;
    }

    .contact-grid {
        gap: 38px;
    }

    .auth-shell {
        grid-template-columns: minmax(330px, .78fr) minmax(450px, 1.22fr);
    }

    .auth-scene {
        padding: 42px;
    }

    .dashboard-layout {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .dashboard-sidebar {
        padding: 24px 13px;
    }

    .dashboard-nav a {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 10px 4px;
        font-size: 10px;
        text-align: center;
    }

    .dashboard-nav a i {
        font-size: 16px;
    }

    .sidebar-support {
        display: none;
    }
}

@media (max-width: 767px) {
    body.no-scroll::after {
        position: fixed;
        z-index: 55;
        inset: 63px 0 0;
        content: "";
        background: rgba(6, 27, 56, .38);
        pointer-events: auto;
    }

    .container {
        width: min(calc(100% - 28px), var(--content));
    }

    .header-inner {
        min-height: 66px;
        gap: 12px;
    }

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

    .brand-name {
        max-width: 158px;
        font-size: 15px;
    }

    .brand-descriptor {
        font-size: 9px;
        letter-spacing: .1em;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav a:not(.nav-primary) {
        display: none;
    }

    .site-nav a {
        min-height: 38px;
        padding: 7px 13px;
        font-size: 12px;
    }

    .hero,
    .hero-inner {
        min-height: 660px;
    }

    .hero::before {
        background-position: right center;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(244, 251, 254, .96) 0%, rgba(244, 251, 254, .88) 62%, rgba(244, 251, 254, .18) 100%);
    }

    .hero-inner {
        align-items: flex-start;
        padding-top: 142px;
        padding-bottom: 64px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        max-width: 92%;
        font-size: clamp(36px, 11.5vw, 50px);
    }

    .hero-lead {
        max-width: 88%;
        font-size: 15px;
    }

    .domain-query {
        margin-top: 28px;
    }

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

    .domain-query .btn {
        width: 100%;
    }

    .query-result {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .home-services {
        margin-top: -24px;
        padding-bottom: 68px;
    }

    .service-panel {
        grid-template-columns: 1fr;
    }

    .service-item + .service-item {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .contact-section {
        padding: 68px 0;
    }

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

    .support-card {
        grid-template-columns: minmax(0, 1fr) 104px;
        padding: 20px;
    }

    .support-qr {
        width: 104px;
        height: 104px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .auth-shell {
        display: block;
        min-height: calc(100vh - 67px);
    }

    .auth-scene {
        min-height: 210px;
        padding: 32px 24px;
    }

    .auth-scene-copy h1 {
        max-width: 340px;
        font-size: 31px;
    }

    .auth-scene-copy p {
        display: none;
    }

    .auth-main {
        display: block;
        padding: 36px 22px 58px;
    }

    .auth-card {
        margin: 0 auto;
    }

    .auth-card-head h2 {
        font-size: 27px;
    }

    .captcha-row {
        grid-template-columns: minmax(0, 1fr) 112px;
    }

    .captcha-image {
        width: 112px;
    }

    .input-row {
        grid-template-columns: minmax(0, 1fr) 112px;
    }

    .input-row .btn {
        min-width: 112px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .dashboard-header .brand-descriptor,
    .dashboard-user-copy {
        display: none;
    }

    .dashboard-header .header-inner {
        min-height: 62px;
    }

    .mobile-nav-toggle {
        display: inline-grid;
    }

    .dashboard-layout {
        display: block;
        min-height: calc(100vh - 63px);
    }

    .dashboard-sidebar {
        position: fixed;
        z-index: 60;
        top: 63px;
        bottom: 0;
        left: 0;
        width: min(82vw, 300px);
        height: auto;
        padding: 22px;
        box-shadow: 18px 0 54px rgba(6, 27, 56, .2);
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .dashboard-sidebar.is-open {
        transform: translateX(0);
    }

    .dashboard-nav a {
        grid-template-columns: 24px minmax(0, 1fr);
        justify-items: start;
        padding: 10px 13px;
        font-size: 13px;
        text-align: left;
    }

    .dashboard-main {
        padding: 30px 18px 60px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-grid,
    .license-grid,
    .product-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .overview-banner {
        min-height: 270px;
        padding: 30px 25px;
    }

    .overview-banner::before {
        background-position: 70% center;
    }

    .overview-banner::after {
        background: linear-gradient(90deg, rgba(6, 27, 56, .96), rgba(6, 27, 56, .72));
    }

    .panel-body,
    .panel-head {
        padding-inline: 17px;
    }

    .license-card,
    .product-card {
        padding: 18px;
    }

    .dialog-actions {
        flex-direction: column-reverse;
    }

    .dialog-actions .btn {
        width: 100%;
    }

    .checkout-main,
    .payment-shell {
        width: min(calc(100% - 24px), 980px);
        padding-top: 30px;
    }

    .checkout-steps {
        gap: 6px;
    }

    .checkout-steps span {
        font-size: 10px;
    }

    .checkout-head,
    .checkout-body,
    .payment-body {
        padding-inline: 20px;
    }

    .order-summary,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .order-amount {
        font-size: 27px;
    }

    .checkout-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-submit .btn {
        width: 100%;
    }

    .payment-details dd {
        text-align: left;
    }

    .toast-region {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
    }
}

@media (max-width: 420px) {
    .brand-name {
        max-width: 120px;
    }

    .captcha-row,
    .input-row {
        grid-template-columns: 1fr;
    }

    .captcha-image {
        width: 100%;
        object-fit: contain;
    }

    .support-card {
        grid-template-columns: 1fr;
    }

    .support-qr {
        width: 120px;
        height: 120px;
    }

    .payment-details div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero::before,
    .auth-scene::before {
        transform: none !important;
    }
}

/* Homepage header: scoped to the selected floating-card visual. */
.home-page .home-header {
    position: absolute;
    inset: 18px 24px auto;
    min-height: 54px;
    border: 0;
    border-radius: 12px 12px 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(29, 71, 105, .08);
    backdrop-filter: blur(10px);
}

.home-page .home-header-inner {
    display: grid;
    width: min(80.8%, 1400px);
    max-width: 1400px;
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.home-current-label {
    position: absolute;
    z-index: 2;
    top: -5px;
    left: 1px;
    display: inline-flex;
    min-width: 69px;
    min-height: 33px;
    align-items: center;
    justify-content: center;
    padding: 5px 17px;
    border-radius: 7px;
    color: #fff;
    background: #3b516f;
    box-shadow: 0 7px 16px rgba(10, 40, 82, .18);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
}

.home-current-label:hover {
    color: #fff;
    background: #304a6c;
}

.home-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-self: start;
    gap: 16px;
    color: var(--navy-900);
    line-height: 1;
    white-space: nowrap;
}

.home-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    object-fit: contain;
}

.home-brand:hover {
    color: var(--navy-900);
}

.home-brand-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.045em;
}

.home-brand-separator {
    color: #98abc0;
    font-size: 18px;
    font-weight: 400;
}

.home-brand-descriptor {
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 50px;
}

.home-nav a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
    color: #17375f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.home-nav a:hover {
    color: var(--teal-700);
}

.home-login {
    display: inline-flex;
    width: 83px;
    min-height: 33px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 7px;
    border-radius: 5px;
    color: #fff;
    background: #019aa0;
    box-shadow: 0 7px 18px rgba(7, 155, 158, .2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.home-login i {
    width: 12px;
    font-size: 11px;
    text-align: center;
}

.home-login:hover {
    color: #fff;
    background: #078d90;
}

@media (max-width: 1023px) {
    .home-page .home-header {
        inset-inline: 18px;
    }

    .home-page .home-header-inner {
        gap: 20px;
    }

    .home-nav {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .home-page .home-header {
        inset: 12px 14px auto;
        min-height: 58px;
        border-radius: 10px 10px 0 0;
    }

    .home-page .home-header-inner {
        display: grid;
        width: calc(100% - 24px);
        min-height: 58px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .home-current-label,
    .home-nav {
        display: none;
    }

    .home-brand {
        gap: 8px;
    }

    .home-brand-mark {
        width: 27px;
        height: 27px;
    }

    .home-brand-name {
        font-size: 19px;
    }

    .home-brand-separator {
        font-size: 14px;
    }

    .home-brand-descriptor {
        font-size: 11px;
    }

    .home-login {
        width: 72px;
        min-height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .home-brand-separator,
    .home-brand-descriptor {
        display: none;
    }
}

/* Homepage showcase card: isolated from authentication and merchant views. */
.home-page {
    min-height: 100vh;
    background: #eaf3f8;
}

.home-page .home-stage {
    width: calc(100% - 48px);
    margin: 18px auto 24px;
    padding-top: 54px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(29, 71, 105, .09);
}

.home-page .home-hero {
    position: relative;
    isolation: isolate;
    height: 375px;
    min-height: 375px;
    overflow: hidden;
    background-color: #dff0f8;
}

.home-page .home-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background-image: url("/static/jianding/images/hero-coast-lighthouse.png");
    background-position: right 44%;
    background-size: cover;
    transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.012);
    transition: transform .7s cubic-bezier(.2, .65, .25, 1);
    animation: home-scene-breathe 8s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes home-scene-breathe {
    0%, 100% { filter: brightness(1.035) saturate(.95); }
    50% { filter: brightness(1.052) saturate(.972); }
}

.home-page .home-hero-core {
    position: relative;
    z-index: 2;
    width: min(635px, calc(100% - 360px));
    margin: 0 auto;
    padding-top: 52px;
    text-align: center;
}

.home-page .home-hero-core h1 {
    margin: 0;
    color: #072552;
    font-size: clamp(28px, 2.42vw, 35px);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.035em;
    white-space: nowrap;
}

.home-page .home-hero-lead {
    margin: 7px 0 0;
    color: #526b85;
    font-size: clamp(13px, 1.12vw, 16px);
    line-height: 1.7;
}

.home-page .home-hero-note {
    position: absolute;
    z-index: 2;
    top: 113px;
    width: clamp(118px, 11vw, 158px);
    color: #405d78;
    text-align: left;
}

.home-page .home-hero-note-left {
    left: max(5.6%, calc(50% - 930px));
}

.home-page .home-hero-note-right {
    right: max(5.2%, calc(50% - 930px));
}

.home-page .home-hero-note p {
    margin: 0;
    color: #35516d;
    font-size: clamp(13px, 1.12vw, 16px);
    font-weight: 600;
    line-height: 1.62;
    letter-spacing: .015em;
}

.home-page .home-hero-note hr {
    width: 30px;
    margin: 17px 0 15px;
    border: 0;
    border-top: 2px solid #069da1;
}

.home-page .home-hero-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-hero-note li {
    color: #536d86;
    font-size: clamp(11px, .9vw, 13px);
    line-height: 1.72;
}

.home-page .home-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.home-page .home-domain-query {
    max-width: none;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.home-page .home-query-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 0;
    min-height: 54px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(20, 74, 108, .12);
}

.home-page .home-query-input-wrap {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding-left: 20px;
    border: 1px solid #cbdde9;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    color: #315e91;
    background: rgba(255, 255, 255, .96);
}

.home-page .home-query-input-wrap:focus-within {
    position: relative;
    z-index: 1;
    border-color: #079da1;
    box-shadow: 0 0 0 3px rgba(7, 157, 161, .13);
}

.home-page .home-query-input-wrap > i {
    flex: 0 0 auto;
    font-size: 17px;
}

.home-page .home-query-input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    color: #183b64;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
}

.home-page .home-query-input::placeholder {
    color: #6d82a0;
    opacity: 1;
}

.home-page .home-query-submit {
    min-width: 148px;
    min-height: 54px;
    padding: 10px 22px;
    border: 1px solid #019aa0;
    border-radius: 0 8px 8px 0;
    color: #fff;
    background: #019aa0;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
}

.home-page .home-query-submit:hover:not(:disabled) {
    border-color: #07888e;
    color: #fff;
    background: #07888e;
}

.home-page .home-query-result {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    padding: 12px 18px 12px 20px;
    border: 1px solid #d5e3ec;
    border-radius: 8px;
    color: #385773;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(20, 74, 108, .09);
}

.home-page .home-query-result-main {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 15px;
}

.home-page .home-query-status-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--success);
    font-size: 15px;
}

.home-page .home-query-status-icon.is-unauthorized {
    background: var(--danger);
}

.home-page .home-query-result .query-domain {
    color: #092754;
    font-size: 18px;
    font-weight: 800;
}

.home-page .home-query-message {
    color: inherit;
    font-size: 13px;
}

.home-page .home-query-result .status-pill {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.home-page .home-query-result .status-pill::before {
    display: none;
}

.home-page .home-query-result.is-error {
    border-color: #f0d0d4;
    color: var(--danger);
    background: rgba(255, 247, 248, .97);
}

.home-page .home-query-warning {
    margin: 9px 0 0;
    padding: 10px 14px;
    border: 1px solid rgba(201, 52, 68, .28);
    border-radius: 7px;
    color: #a51f32;
    background: rgba(255, 244, 246, .94);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
}

.home-page .home-center-login {
    display: inline-flex;
    width: 198px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid #049ea3;
    border-radius: 7px;
    color: #058f94;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 7px 18px rgba(18, 91, 111, .07);
    font-size: 15px;
    font-weight: 700;
}

.home-page .home-center-login:hover {
    color: #fff;
    background: #019aa0;
}

.home-page .home-service-strip {
    min-height: 133px;
    border-top: 1px solid #d8e6ee;
    background: #fff;
}

.home-page .home-service-track {
    display: grid;
    width: min(100%, 2000px);
    min-height: 133px;
    grid-template-columns: minmax(0, 1fr) clamp(246px, 24vw, 334px);
    grid-template-rows: 98px 35px;
    margin: 0 auto;
}

.home-page .home-service-list {
    display: grid;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 14px 12px 2px 42px;
}

.home-page .home-service-item {
    display: grid;
    min-width: 0;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 0 24px;
}

.home-page .home-service-item + .home-service-item {
    border-left: 1px solid #d9e5ed;
}

.home-page .home-service-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid #cce8ed;
    border-radius: 50%;
    color: #079b9f;
    background: #edf9fa;
    font-size: 18px;
}

.home-page .home-service-item h2 {
    margin: 0 0 4px;
    color: #0c2b56;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.home-page .home-service-item p {
    margin: 0;
    color: #5d748c;
    font-size: 11px;
    line-height: 1.55;
}

.home-page .home-inline-support {
    display: grid;
    min-width: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    grid-template-columns: minmax(0, 1fr) 82px;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 10px;
    border-left: 1px solid #d7e4ec;
}

.home-page .home-support-copy {
    min-width: 0;
}

.home-page .home-support-chat {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: #0a2a55;
}

.home-page .home-support-chat:hover {
    color: #078f94;
}

.home-page .home-support-chat > i {
    flex: 0 0 auto;
    color: #101820;
    font-size: 27px;
}

.home-page .home-support-chat span {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

.home-page .home-support-chat strong {
    font-size: 14px;
    white-space: nowrap;
}

.home-page .home-support-chat small {
    margin-top: 3px;
    color: #6a8094;
    font-size: 9px;
    white-space: nowrap;
}

.home-page .home-support-button {
    display: inline-flex;
    min-width: 116px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    border: 1px solid #08a1a5;
    border-radius: 5px;
    color: #078f94;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.home-page .home-support-button:hover {
    color: #fff;
    background: #019aa0;
}

.home-page .home-support-qr-wrap {
    margin: 0;
    text-align: center;
}

.home-page .home-support-qr {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
}

.home-page .home-support-qr-wrap figcaption {
    margin-top: 2px;
    color: #31506e;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-page .home-card-footer {
    display: flex;
    min-width: 0;
    grid-column: 1 / 3;
    grid-row: 2;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px 5px;
    color: #8497a9;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-page .home-card-footer a {
    color: #728ca4;
}

@media (max-width: 1180px) {
    .home-page .home-hero-core {
        width: min(616px, calc(100% - 330px));
    }

    .home-page .home-hero-note {
        width: 118px;
    }

    .home-page .home-service-list {
        padding-inline: 12px 6px;
    }

    .home-page .home-service-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding-inline: 10px;
    }

    .home-page .home-service-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .home-page .home-service-item h2 {
        font-size: 13px;
    }

    .home-page .home-service-item p {
        font-size: 8px;
        white-space: nowrap;
    }

    .home-page .home-inline-support {
        grid-template-columns: minmax(0, 1fr) 66px;
        gap: 8px;
        padding-inline: 12px;
    }

    .home-page .home-support-chat {
        gap: 7px;
    }

    .home-page .home-support-chat > i {
        font-size: 22px;
    }

    .home-page .home-support-qr {
        width: 62px;
        height: 62px;
    }

    .home-page .home-support-button {
        min-width: 104px;
    }

    .home-page .home-card-footer {
        gap: 5px;
        padding-inline: 8px;
        font-size: 8px;
    }
}

@media (max-width: 900px) {
    .home-page .home-stage {
        width: calc(100% - 28px);
        margin-top: 12px;
        padding-top: 58px;
        border-radius: 10px;
    }

    .home-page .home-hero {
        height: auto;
        min-height: 480px;
    }

    .home-page .home-hero-core {
        width: min(calc(100% - 32px), 635px);
        padding: 54px 0 42px;
    }

    .home-page .home-hero-core h1 {
        white-space: normal;
    }

    .home-page .home-hero-note {
        display: none;
    }

    .home-page .home-service-track {
        display: block;
    }

    .home-page .home-service-list {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .home-page .home-service-item {
        padding: 14px 8px;
    }

    .home-page .home-service-item + .home-service-item {
        border-top: 1px solid #d9e5ed;
        border-left: 0;
    }

    .home-page .home-inline-support {
        grid-template-columns: minmax(0, 1fr) 74px;
        padding: 16px 26px;
        border-top: 1px solid #d7e4ec;
        border-left: 0;
    }

    .home-page .home-card-footer {
        flex-wrap: wrap;
        padding: 13px 20px 16px;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .home-page .home-hero-core {
        padding-top: 44px;
    }

    .home-page .home-query-row {
        grid-template-columns: 1fr;
        background: transparent;
        box-shadow: none;
    }

    .home-page .home-query-input-wrap {
        min-height: 52px;
        border-right: 1px solid #cbdde9;
        border-radius: 8px;
        box-shadow: 0 7px 22px rgba(20, 74, 108, .1);
    }

    .home-page .home-query-submit {
        width: 100%;
        min-height: 48px;
        margin-top: 9px;
        border-radius: 8px;
    }

    .home-page .home-query-result {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-page .home-center-login {
        width: 100%;
    }
}

/* Desktop homepage fills the available first screen while preserving a scroll-safe minimum. */
@media (min-width: 901px) {
    .home-page {
        --home-header-height: clamp(54px, 5.8vh, 72px);
        --home-service-height: clamp(156px, 20.3vh, 258px);
        --home-footer-height: clamp(40px, 3.6vh, 46px);
        padding-top: 0;
    }

    .home-page .home-header {
        inset: 0 0 auto;
        min-height: var(--home-header-height);
        border-bottom: 1px solid rgba(188, 211, 226, .55);
        border-radius: 0;
        background: rgba(255, 255, 255, .98);
        box-shadow: none;
    }

    .home-page .home-header-inner {
        min-height: var(--home-header-height);
    }

    .home-page .home-current-label {
        top: 50%;
        left: clamp(16px, 1.9vw, 24px);
        min-height: 32px;
        transform: translateY(-50%);
        box-shadow: 0 2px 6px rgba(10, 40, 82, .12);
    }

    .home-page .home-stage {
        display: grid;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        grid-template-rows: minmax(526px, 1fr) auto;
        margin: 0;
        padding-top: var(--home-header-height);
        border-radius: 0;
        box-shadow: none;
    }

    .home-page .home-hero {
        height: auto;
        min-height: 526px;
    }

    .home-page .home-hero-core {
        width: min(clamp(635px, 36vw, 760px), calc(100% - 360px));
        padding-top: clamp(52px, 11vh, 140px);
    }

    .home-page .home-hero-core h1 {
        font-size: clamp(30px, calc(14px + 1.2vw), 46px);
    }

    .home-page .home-hero-lead {
        margin-top: clamp(7px, 1vh, 12px);
        font-size: clamp(13px, calc(10px + .35vw), 17px);
    }

    .home-page .home-hero-note {
        top: 30%;
    }

    .home-page .home-domain-query {
        margin-top: clamp(20px, 2.3vh, 30px);
    }

    .home-page .home-query-row {
        min-height: clamp(54px, 5.8vh, 64px);
    }

    .home-page .home-query-input {
        min-height: clamp(52px, 5.6vh, 62px);
        font-size: clamp(15px, calc(12px + .2vw), 17px);
    }

    .home-page .home-query-submit {
        min-width: clamp(148px, 9vw, 172px);
        min-height: clamp(54px, 5.8vh, 64px);
        font-size: clamp(15px, calc(12px + .2vw), 17px);
    }

    .home-page .home-query-result {
        min-height: clamp(66px, 6.3vh, 78px);
        margin-top: clamp(10px, 1.25vh, 16px);
        padding-inline: clamp(20px, 1.6vw, 28px);
    }

    .home-page .home-query-status-icon {
        width: clamp(34px, 3.4vh, 42px);
        height: clamp(34px, 3.4vh, 42px);
    }

    .home-page .home-query-result .query-domain {
        font-size: clamp(18px, calc(14px + .3vw), 21px);
    }

    .home-page .home-center-login {
        width: clamp(198px, 12vw, 224px);
        min-height: clamp(44px, 4.5vh, 54px);
        margin-top: clamp(18px, 2vh, 26px);
        font-size: clamp(15px, calc(12px + .2vw), 17px);
    }

    .home-page .home-service-strip {
        min-height: var(--home-service-height);
    }

    .home-page .home-service-track {
        min-height: calc(var(--home-service-height) - 1px);
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 390px);
        grid-template-rows: minmax(0, 1fr) var(--home-footer-height);
    }

    .home-page .home-service-list {
        padding-block: clamp(16px, 2.5vh, 32px) 4px;
    }

    .home-page .home-service-item {
        grid-template-columns: clamp(50px, 4.7vh, 60px) minmax(0, 1fr);
        gap: clamp(12px, 1vw, 18px);
    }

    .home-page .home-service-icon {
        width: clamp(50px, 4.7vh, 60px);
        height: clamp(50px, 4.7vh, 60px);
        font-size: clamp(18px, 1.7vh, 21px);
    }

    .home-page .home-service-item h2 {
        font-size: clamp(15px, 1.45vh, 17px);
    }

    .home-page .home-service-item p {
        font-size: clamp(10px, .72vw, 12px);
        white-space: normal;
    }

    .home-page .home-inline-support {
        grid-row: 1;
        grid-template-columns: minmax(0, 1fr) clamp(82px, 8.5vh, 116px);
        gap: clamp(10px, 1vw, 18px);
        padding: clamp(14px, 2vh, 26px) clamp(16px, 1.8vw, 30px);
    }

    .home-page .home-support-chat > i {
        font-size: clamp(24px, 2.4vh, 30px);
    }

    .home-page .home-support-chat strong {
        font-size: clamp(14px, 1.3vh, 16px);
    }

    .home-page .home-support-chat small,
    .home-page .home-support-qr-wrap figcaption {
        font-size: clamp(9px, .85vh, 11px);
    }

    .home-page .home-support-button {
        min-width: clamp(110px, 7vw, 132px);
        min-height: clamp(32px, 3.2vh, 40px);
        margin-top: clamp(9px, 1.2vh, 15px);
        font-size: clamp(12px, 1.05vh, 14px);
    }

    .home-page .home-support-qr {
        width: clamp(72px, 8.4vh, 106px);
        height: clamp(72px, 8.4vh, 106px);
    }

    .home-page .home-card-footer {
        grid-column: 1 / 3;
        grid-row: 2;
        min-height: var(--home-footer-height);
        padding-bottom: clamp(5px, .8vh, 10px);
        font-size: clamp(9px, .82vh, 11px);
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .home-page .home-hero::before {
        background-position: right 44%;
    }

    .home-page .home-hero-core {
        width: min(616px, calc(100% - 330px));
    }

    .home-page .home-service-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding-inline: 10px;
    }

    .home-page .home-service-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .home-page .home-service-item p {
        font-size: 10px;
        line-height: 1.42;
        white-space: normal;
    }

    .home-page .home-inline-support {
        grid-template-columns: minmax(0, 1fr) 82px;
        gap: 8px;
        padding-inline: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero::before {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}
