:root {
    --brand: #0C6B54;
    --brand-deep: #0A4A3C;
    --brand-active: #0E8266;
    --brand-soft: #E4F3ED;
    --ink: #062A21;
    --gold: #D9B36C;
    --gold-strong: #C9974B;
    --gold-soft: #F3DFB3;
    --gold-ink: #43320F;
    --success: #16A34A;
    --warn: #B45309;
    --danger: #B42318;
    --bg: #F2F5F3;
    --card: #FFFFFF;
    --text: #14201B;
    --body: #3D4A44;
    --muted: #74807A;
    --border: #E3E8E4;
    --hero: linear-gradient(172deg, #0A382D 0%, #0C4A3A 58%, #0E5A45 100%);
    --card-gradient-success: linear-gradient(155deg, #11705A 0%, #0A4335 100%);
    --card-gradient-pending: linear-gradient(155deg, #0D5A49 0%, #083C31 100%);
    --card-gradient-warn: linear-gradient(155deg, #A16207 0%, #7C4A03 100%);
    --card-gradient-error: linear-gradient(155deg, #B42318 0%, #7F1610 100%);
    --card-gradient-loading: linear-gradient(155deg, #46584F 0%, #2F3F37 100%);
    --shadow: 0 10px 28px rgba(9, 34, 27, 0.07);
    --shadow-strong: 0 18px 48px rgba(9, 34, 27, 0.14);
    --motion: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--body);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

h1, h2, h3, p, dl, dd {
    margin: 0;
}

button,
input {
    font: inherit;
}

.verify-page {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 16px 28px;
    overflow-x: hidden;
}

/* 顶部官方深色底幕:细密防伪斜纹 + 盾形水印 + 顶部金色辉光 */
.verify-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 100vw;
    height: 332px;
    transform: translateX(-50%);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.055)' stroke-width='0.8'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center -28px / 240px no-repeat,
        radial-gradient(120% 90% at 50% -24%, rgba(233, 200, 127, 0.16), transparent 56%),
        radial-gradient(90% 62% at 88% 0%, rgba(23, 178, 144, 0.20), transparent 58%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 9px),
        var(--hero);
    border-radius: 0 0 30px 30px;
}

.verify-page > * {
    position: relative;
    z-index: 1;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 8px 0 16px;
    text-align: center;
    animation: fadeDown 460ms var(--motion) both;
}

.brand-logo-wrap {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.42),
        0 0 0 5px rgba(255, 255, 255, 0.10),
        0 14px 30px rgba(2, 24, 18, 0.30);
    overflow: hidden;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: linear-gradient(150deg, #12866A 0%, #0A4A3C 100%);
    font-size: 25px;
    font-weight: 800;
}

.brand-header h1 {
    margin-top: 3px;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px rgba(2, 24, 18, 0.35);
}

.brand-header p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    letter-spacing: 1.5px;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.brand-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.07);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-tags span::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.card,
.skeleton-card {
    width: min(100%, calc(100vw - 32px));
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow);
    animation: fadeUp 520ms var(--motion) both;
}

.card:nth-of-type(4) {
    animation-delay: 80ms;
}

.card:nth-of-type(5) {
    animation-delay: 130ms;
}

.card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

/* —— 核验结果卡:官方证书样式 —— */

.result-card {
    position: relative;
    width: min(100%, calc(100vw - 32px));
    margin-top: 4px;
    padding: 19px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: var(--card-gradient-success);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 16px 36px rgba(4, 40, 31, 0.30);
    animation: resultIn 520ms var(--motion) both;
}

/* 证书内金色细框 */
.result-card::before {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 0;
    border: 1px solid rgba(243, 223, 179, 0.22);
    border-radius: 14px;
    pointer-events: none;
}

.result-card::after {
    content: none;
}

/* 大盾形水印 */
.result-watermark {
    position: absolute;
    right: -26px;
    top: -18px;
    z-index: 0;
    width: 158px;
    height: 158px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='0.9'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: rotate(10deg);
    pointer-events: none;
}

/* 核验结论大印章 */
.verdict-seal {
    position: absolute;
    top: 16px;
    right: 12px;
    z-index: 2;
    width: 94px;
    height: 94px;
    color: var(--gold-soft);
    transform: rotate(-12deg);
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(2, 26, 20, 0.30));
    animation: sealStamp 620ms var(--motion) 300ms both;
}

.verdict-seal svg {
    display: block;
    width: 100%;
    height: 100%;
}

.verdict-seal svg text {
    fill: currentColor;
}

.verdict-seal b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-left: 7px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 7px;
    line-height: 1;
}

/* 印章占位:给标题文案留出右侧空间 */
.has-seal .result-head {
    min-height: 96px;
    padding-right: 96px;
}

.status-error .verdict-seal,
.status-risk .verdict-seal,
.status-warn .verdict-seal {
    color: rgba(255, 255, 255, 0.94);
}

.icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.result-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.result-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-width: 0;
}

.result-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 18px rgba(2, 26, 20, 0.22);
    animation: iconPop 520ms var(--motion) 120ms both;
}

.result-icon .icon {
    width: 24px;
    height: 24px;
}

.result-copy h2 {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(2, 24, 18, 0.28);
}

.status-normal .result-copy {
    display: block;
}

.status-normal .result-copy h2 {
    min-width: 0;
}

.result-copy p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.5;
}

.status-normal .result-copy p {
    margin-top: 4px;
}

.result-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* 「已核验」金色骑缝章 */
.result-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 10px;
    border: 1.5px solid rgba(243, 223, 179, 0.78);
    border-radius: 10px;
    color: var(--gold-soft);
    background: rgba(243, 223, 179, 0.06);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    transform: rotate(5deg);
    animation: stampIn 480ms var(--motion) 260ms both;
}

.result-badge::before {
    content: "";
    position: absolute;
    inset: 2.5px;
    border: 1px solid rgba(243, 223, 179, 0.38);
    border-radius: 7px;
    pointer-events: none;
}

.result-badge .icon {
    width: 13px;
    height: 13px;
}

.icon-loader {
    animation: spin 900ms linear infinite;
}

/* 验证记录:票券式白色底栏 */
.verification-history-entry {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% + 32px);
    min-height: 50px;
    margin: 16px -16px -16px;
    padding: 9px 16px;
    border: 0;
    border-top: 1px dashed rgba(10, 68, 55, 0.32);
    border-radius: 0 0 18px 18px;
    color: inherit;
    background: #FDFDFB;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    animation: fadeUp 420ms var(--motion) both;
    transition:
        border-color 160ms var(--motion),
        background 160ms var(--motion);
}

.history-entry-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.history-entry-copy b {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.history-entry-copy small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.history-entry-value {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.history-entry-value .icon-chevron {
    width: 15px;
    height: 15px;
    color: #9AA6A0;
    transition: transform 160ms var(--motion);
}

.verification-history-entry:active .icon-chevron {
    transform: translateX(2px);
}

.verification-history-entry strong {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid rgba(12, 107, 84, 0.22);
    border-radius: 9px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 13px;
    font-weight: 800;
}

.verification-history-entry:hover {
    background: #F8FBF8;
}

.verification-history-entry:active {
    background: #F1F7F2;
}

.history-entry-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.history-entry-label .icon {
    color: var(--brand);
}

.result-verify-panel {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.status-repeat {
    background: var(--card-gradient-success);
}

.status-warn {
    background: var(--card-gradient-warn);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 16px 36px rgba(124, 74, 3, 0.26);
}

.status-error,
.status-risk {
    background: var(--card-gradient-error);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 16px 36px rgba(127, 22, 16, 0.26);
}

.status-loading {
    background: var(--card-gradient-loading);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 16px 36px rgba(43, 57, 50, 0.24);
}

.status-pending {
    background: var(--card-gradient-pending);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 16px 36px rgba(6, 48, 39, 0.28);
}

.status-warn .result-copy h2,
.status-error .result-copy h2,
.status-risk .result-copy h2,
.status-loading .result-copy h2,
.status-pending .result-copy h2 {
    color: #fff;
}

.status-warn .result-copy p,
.status-error .result-copy p,
.status-risk .result-copy p,
.status-loading .result-copy p,
.status-pending .result-copy p {
    color: rgba(255, 255, 255, 0.90);
}

/* 警示/风险状态弱化金框与水印,避免喜庆感 */
.status-warn .result-eyebrow,
.status-error .result-eyebrow,
.status-risk .result-eyebrow,
.status-loading .result-eyebrow {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 3px;
}

.status-error::before,
.status-risk::before,
.status-warn::before,
.status-loading::before {
    border-color: rgba(255, 255, 255, 0.16);
}

.status-error .result-watermark,
.status-risk .result-watermark,
.status-warn .result-watermark,
.status-loading .result-watermark {
    opacity: 0.5;
}

/* —— 商品卡:检验报告样式 —— */

.product-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-color: var(--border);
    background: #fff;
}

.product-card::before {
    content: none;
}

.product-card::after {
    content: none;
}

.product-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.product-card__head .card-title {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-card__head .card-title .icon {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.product-card__head span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(12, 107, 84, 0.14);
    animation: badgePop 420ms var(--motion) 260ms both;
    transition:
        color 180ms var(--motion),
        background 180ms var(--motion);
}

.product-card__head span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-active);
    animation: badgeDot 900ms ease-out 360ms both;
}

.product-card[data-status="risk"] .product-card__head span,
.product-card[data-status="error"] .product-card__head span {
    color: #B42318;
    background: #FEF2F2;
    box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.14);
}

.product-card[data-status="risk"] .product-card__head span::before,
.product-card[data-status="error"] .product-card__head span::before {
    background: #EF4444;
}

.product-card[data-status="pending"] .product-card__head span,
.product-card[data-status="loading"] .product-card__head span {
    color: #7A5A21;
    background: #FBF3DF;
    box-shadow: inset 0 0 0 1px rgba(122, 90, 33, 0.16);
}

.product-card[data-status="pending"] .product-card__head span::before,
.product-card[data-status="loading"] .product-card__head span::before {
    background: var(--gold-strong);
}

.product-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 0 0 12px;
}

.product-image-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #F7FAF8;
    box-shadow: inset 0 0 0 3px #fff;
}

.product-image-frame::before {
    content: none;
}

.product-image-frame::after {
    content: none;
}

.product-image {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #EAF4EE, #F7FAF8);
    transition: transform 220ms var(--motion);
}

.product-image-frame:hover .product-image,
.product-image-frame:active .product-image {
    transform: scale(1.035);
}

.product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: var(--gold-strong);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
}

.product-eyebrow::before {
    content: "";
    width: 14px;
    height: 1px;
    background: var(--gold);
}

.product-main h3 {
    color: var(--text);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-word;
}

.product-main p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

/* 报告式信息行:标签靠左、值靠右、虚线分隔 */
.info-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    padding: 2px 0;
    border-top: 1px solid var(--border);
    border-bottom: 0;
}

.info-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 40px;
    padding: 9px 2px;
    border: 0;
    border-bottom: 1px dashed #E8EDE9;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: rowIn 440ms var(--motion) both;
    animation-delay: calc(var(--row, 0) * 36ms + 180ms);
}

.info-item:last-child {
    border-bottom: 0;
}

.info-item dt {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.info-item dd {
    min-width: 0;
    margin-top: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 公开码用等宽字体呈现,更像票证编号 */
.info-item:first-child dd {
    font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
}

/* —— 验真步骤与验证码输入 —— */

.verify-steps {
    display: flex;
    gap: 0;
    margin: 0 0 11px;
    padding: 0;
    border: 0;
    background: transparent;
}

.verify-step {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    background: transparent;
}

.verify-step + .verify-step::before {
    content: "";
    position: absolute;
    left: -10px;
    width: 20px;
    height: 1px;
    background: rgba(243, 223, 179, 0.34);
}

.verify-step span {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(243, 223, 179, 0.66);
    border-radius: 50%;
    color: var(--gold-soft);
    background: rgba(243, 223, 179, 0.10);
    font-size: 10px;
    font-weight: 800;
}

.verify-step strong {
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.secret-layout {
    display: block;
}

.secret-form {
    display: grid;
    gap: 0;
    align-content: center;
}

.secret-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.secret-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
}

.secret-actions.is-button-only {
    grid-template-columns: 1fr;
}

.secret-form input,
.secret-form button {
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
}

.secret-form input {
    min-width: 0;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    background: rgba(2, 26, 20, 0.30);
    outline: none;
    transition:
        border-color 160ms var(--motion),
        box-shadow 160ms var(--motion);
}

.secret-form input::placeholder {
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
}

.secret-form input:focus {
    border-color: rgba(243, 223, 179, 0.85);
    box-shadow: 0 0 0 3px rgba(217, 179, 108, 0.24);
}

.secret-form input[readonly] {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(2, 26, 20, 0.2);
    cursor: default;
}

/* 金色官方验真按钮 */
.secret-form button {
    border: 0;
    color: var(--gold-ink);
    background: linear-gradient(180deg, #EFDCA9 0%, #D9B36C 100%);
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 6px 14px rgba(2, 26, 20, 0.26);
    transition:
        transform 180ms var(--motion),
        filter 180ms var(--motion),
        box-shadow 180ms var(--motion);
}

.secret-form button:hover {
    filter: brightness(1.04);
}

.secret-form button:active {
    transform: scale(0.98);
}

.secret-form button:disabled {
    opacity: 0.68;
}

.field-help {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.45;
}

/* —— 资料 Tab —— */

.rich-card {
    padding: 0;
    overflow: hidden;
}

.material-card,
.product-materials {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.material-card > .card-title {
    margin-bottom: 4px;
}

.material-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #EEF2EF;
    border-radius: 0;
    background: transparent;
}

.material-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 4px 8px;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition:
        color 180ms var(--motion),
        transform 180ms var(--motion);
}

.material-tab::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transform: scaleX(0.7);
    transition:
        background 180ms var(--motion),
        transform 180ms var(--motion);
}

.material-tab:active {
    transform: scale(0.985);
}

.material-tab.is-active {
    color: var(--brand);
}

.material-tab.is-active::after {
    background: var(--brand-active);
    transform: scaleX(1);
}

.material-content {
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.material-content:not(.hidden) {
    animation: detailOpen 240ms var(--motion) both;
}

.rich-content {
    color: var(--body);
    font-size: 15px;
    line-height: 1.8;
    word-break: break-word;
}

.rich-content:empty::before {
    content: "暂无内容";
    color: var(--muted);
}

.rich-content img,
.rich-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.rich-content p + p {
    margin-top: 8px;
}

/* —— 官方联系 —— */

.contact-body {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(12, 107, 84, 0.14);
}

.contact-icon .icon {
    width: 20px;
    height: 20px;
}

.contact-body p {
    color: var(--body);
    font-size: 13px;
    line-height: 1.6;
}

.service-phone {
    display: inline-block;
    margin-top: 6px;
    color: var(--brand);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* —— 风险结果处理指引 —— */

.risk-guide {
    flex-shrink: 0;
    width: calc(100% - 16px);
    margin: 24px auto 0;
    color: var(--body);
    animation: fadeUp 360ms var(--motion) both;
}

.risk-guide__header {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.risk-guide__shield {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(12, 107, 84, 0.18);
    border-radius: 12px;
    color: var(--brand);
    background: rgba(228, 243, 237, 0.72);
}

.risk-guide__shield .icon {
    width: 21px;
    height: 21px;
}

.risk-guide__header h2 {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.risk-guide__header p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.risk-guide__list {
    display: grid;
    gap: 0;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.risk-guide__item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.risk-guide__item > div {
    min-width: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(12, 107, 84, 0.10);
}

.risk-guide__item + .risk-guide__item {
    padding-top: 12px;
}

.risk-guide__item:last-child > div {
    padding-bottom: 0;
    border-bottom: 0;
}

.risk-guide__step {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(12, 107, 84, 0.22);
    border-radius: 50%;
    color: var(--brand);
    background: #F8FBF9;
    font-size: 12px;
    font-weight: 800;
}

.risk-guide__item strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.45;
}

.risk-guide__item p {
    margin-top: 2px;
    color: #66736D;
    font-size: 12px;
    line-height: 1.55;
}

.risk-guide__notice {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(180, 83, 9, 0.16);
    color: #7A5A21;
    font-size: 11px;
    line-height: 1.6;
}

.risk-guide__notice span {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(180, 83, 9, 0.26);
    border-radius: 50%;
    color: var(--warn);
    font-size: 11px;
    font-weight: 800;
}

.page-footer {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 2px;
    padding-top: 18px;
    color: var(--muted);
    text-align: center;
}

.page-footer__security {
    color: #6F7F77;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.page-footer__provider {
    color: #8A9690;
    font-size: 10px;
    line-height: 1.5;
}

.page-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.page-footer__copyright {
    color: #75837C;
    font-size: 11px;
    line-height: 1.5;
}

.page-footer__records {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3px 7px;
    color: #8A9690;
    font-size: 10px;
    line-height: 1.5;
}

.page-footer__records a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms var(--motion);
}

.page-footer__records a:hover {
    color: var(--brand);
}

.page-footer__records a:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.page-footer__separator {
    color: #B0B9B4;
}

.page-footer__police {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.page-footer__police img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

/* —— 加载态:深色官方底幕 —— */

.skeleton-card {
    display: none;
}

.is-loading .skeleton-card {
    position: fixed;
    inset: 0;
    z-index: 20;
    width: 100vw;
    max-width: none;
    display: grid;
    place-items: start center;
    margin: 0;
    padding: max(96px, env(safe-area-inset-top)) 22px 24px;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(120% 90% at 50% -24%, rgba(233, 200, 127, 0.14), transparent 56%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 9px),
        var(--hero);
    box-shadow: none;
}

.is-loading .result-card {
    display: none;
}

.loading-box {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(360px, calc(100vw - 44px));
    padding: 30px 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    color: #fff;
    background: rgba(4, 34, 27, 0.42);
    box-shadow: 0 24px 60px rgba(1, 16, 12, 0.36);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    animation: resultIn 560ms var(--motion) both;
}

.loading-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin-bottom: 16px;
}

.loading-orbit::before,
.loading-orbit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.loading-orbit::after {
    inset: 8px;
    border-color: transparent;
    border-top-color: var(--gold);
    border-right-color: rgba(217, 179, 108, 0.36);
    animation: spin 1s linear infinite;
}

.loading-orbit span {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.loading-orbit i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(150deg, #12866A 0%, #0A4A3C 100%);
    font-style: normal;
    font-size: 20px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 14px 28px rgba(1, 16, 12, 0.34);
}

.loading-box strong {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.loading-box p {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.loading-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-top: 18px;
}

.loading-steps span {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 34px;
    padding: 6px 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 600;
    animation: loadingStep 1.8s ease-in-out infinite;
}

.loading-steps span:nth-child(2) {
    animation-delay: 0.25s;
}

.loading-steps span:nth-child(3) {
    animation-delay: 0.5s;
}

.loading-box em {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.52);
    font-style: normal;
    font-size: 12px;
}

.location-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

.location-actions button {
    min-height: 42px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.location-retry {
    border: 0;
    color: var(--gold-ink);
    background: linear-gradient(180deg, #EFDCA9 0%, #D9B36C 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 6px 14px rgba(1, 16, 12, 0.30);
}

.location-continue {
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.location-actions .location-retry:only-child {
    grid-column: 1 / -1;
}

.location-actions.is-single {
    grid-template-columns: 1fr;
}

.is-location-error .loading-orbit::after {
    animation: none;
    border-color: rgba(239, 68, 68, 0.85);
}

.is-location-error .loading-orbit i {
    background: linear-gradient(135deg, #B42318, #EF4444);
}

.is-location-error .loading-steps {
    display: none;
}

.is-slow-loading .loading-box em {
    color: var(--gold-soft);
}

/* —— 验证记录弹层 —— */

body.has-verification-history-open {
    overflow: hidden;
}

.verification-history-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-items: end;
}

.verification-history-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 24, 19, 0.52);
    backdrop-filter: blur(3px);
}

.verification-history-sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 750px);
    max-height: 72vh;
    margin: 0 auto;
    padding: 24px 18px max(20px, env(safe-area-inset-bottom));
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -18px 48px rgba(4, 24, 19, 0.20);
    animation: verificationSheetIn 280ms var(--motion) both;
}

.verification-history-sheet::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: #E0E5E1;
    transform: translateX(-50%);
}

.verification-history-sheet > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.verification-history-sheet > header h2 {
    color: var(--text);
    font-size: 19px;
    line-height: 1.35;
}

.verification-history-sheet > header p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.verification-history-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--body);
    background: #F1F4F2;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.verification-history-list {
    max-height: calc(72vh - 152px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.verification-history-state {
    padding: 34px 12px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.verification-history-more {
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(12, 107, 84, 0.18);
    border-radius: 9px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.verification-history-more:disabled {
    cursor: default;
    opacity: 0.58;
}

.verification-history-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #EEF2EF;
}

.verification-history-item:last-child {
    border-bottom: 0;
}

.verification-history-index {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand);
    font-size: 11px;
    font-weight: 700;
}

.verification-history-item header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.verification-history-item strong {
    color: var(--text);
    font-size: 14px;
}

.verification-history-item time {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
}

.verification-history-item p {
    margin-top: 5px;
    color: var(--body);
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
}

.toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10;
    max-width: calc(100% - 32px);
    transform: translate(-50%, -50%);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    background: rgba(9, 28, 22, 0.90);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hidden {
    display: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes verificationSheetIn {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes resultIn {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes iconPop {
    from {
        opacity: 0;
        transform: scale(0.82);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes stampIn {
    from {
        opacity: 0;
        transform: rotate(5deg) scale(1.5);
    }
    to {
        opacity: 1;
        transform: rotate(5deg) scale(1);
    }
}

/* 盖章动作:重落、微回弹 */
@keyframes sealStamp {
    0% {
        opacity: 0;
        transform: rotate(-12deg) scale(1.9);
    }
    58% {
        opacity: 1;
        transform: rotate(-12deg) scale(0.93);
    }
    80% {
        transform: rotate(-12deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: rotate(-12deg) scale(1);
    }
}

@keyframes loadingStep {
    0%,
    100% {
        color: rgba(255, 255, 255, 0.78);
        background: rgba(255, 255, 255, 0.06);
    }
    42% {
        color: var(--gold-ink);
        background: var(--gold-soft);
    }
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badgeDot {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 130, 102, 0.32);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(14, 130, 102, 0);
    }
}

@keyframes rowIn {
    from {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes detailOpen {
    from {
        opacity: 0;
        transform: translate3d(0, -6px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 无参数访问时展示的企业防伪能力宣传页 */
.landing-page {
    --landing-ink: #0F2A22;
    --landing-blue: #0C6B54;
    --landing-teal: #0E8266;
    --landing-coral: #B42318;
    --landing-pale: #EEF6F1;
    --landing-line: #DEE8E2;
    min-height: 100vh;
    color: var(--landing-ink);
    background: #FFFFFF;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--landing-ink);
    text-decoration: none;
}

.landing-brand img {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 8px;
}

.landing-brand span {
    display: flex;
    flex-direction: column;
}

.landing-brand strong {
    font-size: 17px;
    line-height: 1.25;
}

.landing-brand small {
    margin-top: 2px;
    color: #74827B;
    font-size: 10px;
}

.landing-nav__actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.landing-nav__actions span {
    color: #68776F;
    font-size: 13px;
}

.landing-nav__actions a {
    padding: 9px 15px;
    border: 1px solid var(--landing-line);
    border-radius: 6px;
    color: var(--landing-ink);
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.landing-nav__actions a:hover {
    border-color: var(--landing-teal);
    color: var(--landing-teal);
    transform: translateY(-1px);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    align-items: center;
    width: min(1180px, calc(100% - 48px));
    min-height: 585px;
    margin: 0 auto;
    border-top: 1px solid var(--landing-line);
}

.landing-hero__copy {
    max-width: 620px;
    padding: 52px 36px 52px 0;
    animation: landingRise 620ms var(--motion) both;
}

.landing-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--landing-blue);
    font-size: 13px;
    font-weight: 700;
}

.landing-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C7B4;
    box-shadow: 0 0 0 6px rgba(34, 199, 180, 0.12);
}

.landing-hero h1 {
    margin: 18px 0 20px;
    color: #0A211A;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.landing-lead {
    max-width: 580px;
    color: #596B62;
    font-size: 17px;
    line-height: 1.9;
}

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

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--landing-line);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.landing-button:hover {
    transform: translateY(-2px);
}

.landing-button--primary {
    border-color: var(--landing-blue);
    color: #FFFFFF;
    background: var(--landing-blue);
    box-shadow: 0 12px 24px rgba(12, 107, 84, 0.2);
}

.landing-button--primary:hover {
    background: #0A5745;
    box-shadow: 0 16px 30px rgba(12, 107, 84, 0.25);
}

.landing-button--secondary {
    color: var(--landing-ink);
    background: #FFFFFF;
}

.landing-scan-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #68776F;
    font-size: 13px;
}

.landing-scan-note svg {
    width: 19px;
    height: 19px;
    color: var(--landing-teal);
}

.landing-identity {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 470px;
    overflow: hidden;
    background:
        linear-gradient(rgba(12, 107, 84, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 107, 84, 0.055) 1px, transparent 1px),
        #F2F8F5;
    background-size: 34px 34px;
    animation: landingRise 720ms 80ms var(--motion) both;
}

.identity-ring {
    position: absolute;
    border: 1px solid rgba(12, 107, 84, 0.22);
    border-radius: 50%;
    animation: identityPulse 3.6s ease-in-out infinite;
}

.identity-ring--outer {
    width: 330px;
    height: 330px;
}

.identity-ring--inner {
    width: 220px;
    height: 220px;
    border-style: dashed;
    animation-delay: 900ms;
}

.identity-code {
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    width: 112px;
    height: 112px;
    padding: 21px;
    border-radius: 8px;
    background: var(--landing-blue);
    box-shadow: 0 22px 44px rgba(12, 107, 84, 0.28);
}

.identity-code span {
    border-radius: 2px;
    background: #FFFFFF;
}

.identity-code span:nth-child(2),
.identity-code span:nth-child(6),
.identity-code span:nth-child(8) {
    opacity: 0.35;
}

.identity-node {
    position: absolute;
    z-index: 3;
    min-width: 102px;
    padding: 10px 13px;
    border: 1px solid rgba(12, 107, 84, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(9, 34, 27, 0.09);
    animation: identityFloat 4.8s ease-in-out infinite;
}

.identity-node b,
.identity-node small {
    display: block;
}

.identity-node b {
    color: var(--landing-ink);
    font-size: 14px;
}

.identity-node small {
    margin-top: 2px;
    color: #7B887F;
    font-size: 11px;
}

.identity-node--one { top: 54px; left: 40px; }
.identity-node--two { top: 84px; right: 34px; animation-delay: 700ms; }
.identity-node--three { bottom: 70px; left: 52px; animation-delay: 1.4s; }
.identity-node--four { right: 40px; bottom: 48px; animation-delay: 2.1s; }

.landing-capability {
    padding: 76px max(24px, calc((100% - 1180px) / 2)) 84px;
    background: #F7F9FA;
}

.landing-section-heading {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: end;
    gap: 8px 32px;
    margin-bottom: 38px;
}

.landing-section-heading p {
    color: var(--landing-blue);
    font-size: 12px;
    font-weight: 700;
}

.landing-section-heading h2 {
    grid-row: span 2;
    margin: 0;
    color: var(--landing-ink);
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: 0;
}

.landing-section-heading > span {
    color: #68776F;
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
}

.capability-list article {
    position: relative;
    min-height: 240px;
    padding: 32px 25px;
    border-left: 1px solid var(--landing-line);
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.capability-list article:first-child {
    border-left: 0;
}

.capability-list article:hover {
    z-index: 1;
    color: #FFFFFF;
    background: var(--landing-blue);
    transform: translateY(-5px);
}

.capability-list em {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #9CABA2;
    font-style: normal;
}

.capability-list svg {
    width: 36px;
    height: 36px;
    margin-bottom: 25px;
    color: var(--landing-teal);
}

.capability-list article:hover svg,
.capability-list article:hover em,
.capability-list article:hover p {
    color: rgba(255, 255, 255, 0.78);
}

.capability-list h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.capability-list p {
    color: #66756D;
    font-size: 14px;
    line-height: 1.8;
}

.landing-process {
    padding: 72px max(24px, calc((100% - 1180px) / 2)) 82px;
    color: #FFFFFF;
    background: #0B3A2E;
}

.landing-section-heading--light p,
.landing-section-heading--light h2 {
    color: #FFFFFF;
}

.landing-process ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-process li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 94px;
    padding-right: 28px;
}

.landing-process li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    right: 8px;
    width: 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.26);
}

.landing-process li > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #63D9C4;
}

.landing-process strong {
    display: block;
    padding-top: 1px;
    font-size: 16px;
}

.landing-process li p {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

.landing-industries {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    width: min(1180px, calc(100% - 48px));
    min-height: 126px;
    margin: 0 auto;
}

.landing-industries strong {
    font-size: 16px;
}

.landing-industries div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    color: #66756D;
    font-size: 13px;
}

.landing-industries a {
    color: var(--landing-blue);
    font-weight: 700;
    text-decoration: none;
}

.landing-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 28px max(24px, calc((100% - 1180px) / 2));
    border-top: 1px solid var(--landing-line);
    color: #6D7A72;
    background: #F7F9FA;
    font-size: 12px;
}

.landing-footer a {
    color: var(--landing-blue);
    text-decoration: none;
}

.landing-footer > .landing-brand {
    color: var(--landing-ink);
    transition: color 180ms ease;
}

.landing-footer > .landing-brand:hover,
.landing-footer > .landing-brand:focus-visible {
    color: var(--landing-teal);
}

.landing-footer > p {
    justify-self: end;
    text-align: right;
}

@keyframes landingRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes identityPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes identityFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .landing-hero h1 {
        font-size: 42px;
    }

    .identity-node {
        min-width: 88px;
    }

    .identity-node--one,
    .identity-node--three { left: 18px; }
    .identity-node--two,
    .identity-node--four { right: 18px; }

    .capability-list {
        grid-template-columns: 1fr 1fr;
    }

    .capability-list article:nth-child(3) {
        border-left: 0;
    }

    .capability-list article:nth-child(n+3) {
        border-top: 1px solid var(--landing-line);
    }

    .landing-process ol {
        grid-template-columns: 1fr 1fr;
        gap: 26px 0;
    }

    .landing-process li:nth-child(2)::after {
        display: none;
    }

    .landing-industries,
    .landing-footer {
        grid-template-columns: 1fr auto;
    }

    .landing-industries div,
    .landing-footer p {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .landing-nav {
        width: calc(100% - 28px);
        min-height: 66px;
    }

    .landing-nav__actions span {
        display: none;
    }

    .landing-nav__actions {
        gap: 8px;
    }

    .landing-nav__actions a {
        padding: 8px 11px;
        font-size: 13px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        min-height: 0;
    }

    .landing-hero__copy {
        padding: 48px 0 30px;
        text-align: center;
    }

    .landing-eyebrow,
    .landing-actions,
    .landing-scan-note {
        justify-content: center;
    }

    .landing-hero h1 {
        margin-top: 14px;
        font-size: 36px;
    }

    .landing-lead {
        font-size: 15px;
        line-height: 1.8;
    }

    .landing-actions {
        margin-top: 24px;
    }

    .landing-button {
        min-height: 44px;
        padding: 0 17px;
    }

    .landing-scan-note {
        align-items: flex-start;
        margin: 20px auto 0;
        max-width: 300px;
        line-height: 1.6;
    }

    .landing-scan-note svg {
        flex: 0 0 auto;
        margin-top: 2px;
    }

    .landing-identity {
        height: 330px;
        margin-bottom: 18px;
    }

    .identity-ring--outer {
        width: 250px;
        height: 250px;
    }

    .identity-ring--inner {
        width: 170px;
        height: 170px;
    }

    .identity-code {
        width: 86px;
        height: 86px;
        padding: 17px;
        gap: 5px;
    }

    .identity-node {
        min-width: 78px;
        padding: 8px 10px;
    }

    .identity-node--one { top: 24px; left: 12px; }
    .identity-node--two { top: 42px; right: 10px; }
    .identity-node--three { bottom: 38px; left: 12px; }
    .identity-node--four { right: 10px; bottom: 20px; }

    .landing-capability,
    .landing-process {
        padding: 54px 18px 60px;
    }

    .landing-section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .landing-section-heading h2 {
        margin: 8px 0;
        font-size: 28px;
    }

    .capability-list {
        grid-template-columns: 1fr;
    }

    .capability-list article,
    .capability-list article:nth-child(3) {
        min-height: 0;
        padding: 24px 18px;
        border-top: 1px solid var(--landing-line);
        border-left: 0;
    }

    .capability-list article:first-child {
        border-top: 0;
    }

    .capability-list svg {
        margin-bottom: 16px;
    }

    .landing-process ol {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .landing-process li {
        min-height: 0;
        padding: 0;
    }

    .landing-process li::after {
        display: none;
    }

    .landing-industries,
    .landing-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
        padding: 28px 18px;
        gap: 18px;
    }

    .landing-industries div {
        gap: 8px 14px;
    }

    .landing-footer p {
        line-height: 1.7;
    }

    .verify-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .result-card {
        padding: 17px 14px 14px;
    }

    .verification-history-entry {
        width: calc(100% + 28px);
        margin: 15px -14px -14px;
    }

    .product-summary {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 13px;
    }

    .product-image {
        width: 70px;
        height: 70px;
    }

    .product-image-frame {
        width: 84px;
        height: 84px;
    }

    .product-main h3 {
        font-size: 20px;
    }

    .secret-layout {
        display: block;
    }

    .secret-actions {
        grid-template-columns: minmax(0, 1fr) 92px;
        gap: 7px;
    }

    .secret-form button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .card,
    .skeleton-card {
        width: calc(100vw - 28px);
        padding: 16px;
    }

    .result-content {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }

    .result-icon {
        width: 42px;
        height: 42px;
    }

    .result-icon .icon {
        width: 22px;
        height: 22px;
    }

    .result-copy h2 {
        font-size: 18px;
    }

    .verdict-seal {
        top: 14px;
        right: 8px;
        width: 84px;
        height: 84px;
    }

    .verdict-seal b {
        padding-left: 6px;
        font-size: 23px;
        letter-spacing: 6px;
    }

    .has-seal .result-head {
        min-height: 88px;
        padding-right: 84px;
    }

    .verify-steps {
        padding: 0;
    }

    .verify-step {
        gap: 3px;
        padding: 0 2px;
    }

    .verify-step span {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .verify-step strong {
        font-size: 10px;
    }

    .info-item {
        min-height: 36px;
        padding: 8px 0;
    }

    .info-item dd {
        font-size: 13px;
    }

    .loading-steps {
        grid-template-columns: 1fr;
    }

    .page-footer__legal {
        flex-direction: column;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
