@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --bg: #f4f6f3;
    --bg-soft: #fbfcf8;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --ink: #171b1d;
    --ink-soft: #5e686d;
    --line: rgba(23, 27, 29, 0.1);
    --accent: #d3372f;
    --accent-strong: #98211c;
    --accent-warm: #f0b35b;
    --gold: #c59b44;
    --steel: #3d5967;
    --steel-soft: #dce7e8;
    --success: #2e8d60;
    --warning: #c9731c;
    --danger: #c03329;
    --radius-sm: 8px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 44px rgba(26, 38, 42, 0.09);
    --shadow-deep: 0 28px 74px rgba(24, 31, 34, 0.18);
    --font-body: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Plus Jakarta Sans", "Avenir Next", sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at top left, rgba(240, 141, 75, 0.12), transparent 26%),
        linear-gradient(180deg, #f7f2ea 0%, #f4efe7 45%, #f7f4ee 100%);
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    background:
        radial-gradient(circle at top right, rgba(182, 38, 31, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.18));
    overflow-x: hidden;
}

body.dialog-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 28, 25, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 28, 25, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.32), transparent 82%);
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

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

.page-shell {
    padding: 28px 0 32px;
}

.section-shell {
    position: relative;
    margin-bottom: 26px;
    padding: 92px 0;
}

.section-shell::before {
    content: "";
    position: absolute;
    inset: 18px 0;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0.18));
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 0;
}

.section-shell > .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(182, 38, 31, 0.16);
    background: rgba(255, 251, 244, 0.78);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    box-shadow: 0 0 0 6px rgba(182, 38, 31, 0.08);
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h1,
.section-heading h2,
.section-heading h3,
.page-title,
.display-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.98;
}

.page-title,
.section-heading h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-heading h3 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-heading p,
.lead {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 14px 0;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(248, 243, 234, 0.84);
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
    backdrop-filter: blur(18px);
}

.site-header .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(400px, 1fr) max-content;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    height: 64px;
}

.brand-copy strong {
    display: block;
    font-size: 1rem;
}

.brand-copy span {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

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

.main-nav a {
    position: relative;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.header-actions .btn,
.header-actions .ghost-btn {
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(32, 28, 25, 0.08);
    border-radius: 50%;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 10px 22px rgba(32, 28, 25, 0.08);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span + span {
    margin-top: 4px;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.btn,
.ghost-btn,
.icon-btn {
    border: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(127, 23, 20, 0.18);
}

.btn:hover,
.ghost-btn:hover,
.icon-btn:hover {
    transform: translateY(-2px);
}

.btn:hover {
    box-shadow: 0 20px 38px rgba(127, 23, 20, 0.22);
}

.btn.secondary {
    background: rgba(255,255,255,0.74);
    color: var(--ink);
    border: 1px solid rgba(32, 28, 25, 0.12);
    box-shadow: none;
}

.btn.secondary:hover,
.ghost-btn:hover,
.icon-btn:hover {
    box-shadow: 0 14px 28px rgba(32, 28, 25, 0.1);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(32, 28, 25, 0.08);
    color: var(--ink);
}

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(32, 28, 25, 0.08);
    box-shadow: 0 10px 22px rgba(32, 28, 25, 0.08);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.auth-entry {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.auth-login-btn {
    padding: 12px 18px;
}

.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 290px;
    padding: 6px 8px 6px 6px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(32, 28, 25, 0.1);
    box-shadow: 0 10px 22px rgba(32, 28, 25, 0.08);
}

.auth-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
}

.auth-name {
    display: grid;
    min-width: 0;
    line-height: 1.18;
}

.auth-name strong,
.auth-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-name strong {
    font-size: 0.82rem;
}

.auth-name span {
    max-width: 118px;
    color: var(--ink-soft);
    font-size: 0.74rem;
}

.auth-logout {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(32, 28, 25, 0.06);
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.auth-logout:hover {
    transform: translateY(-1px);
    background: rgba(182, 38, 31, 0.1);
    color: var(--accent);
}

@media (max-width: 1280px) {
    .auth-name {
        display: none;
    }

    .auth-chip {
        gap: 6px;
    }
}

.glass-card,
.surface-card,
.info-card,
.feature-card,
.detail-card,
.summary-card,
.modal-panel,
.cart-panel,
.config-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,250,244,0.88));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.hero-copy p {
    max-width: 700px;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.8);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust-line {
    margin-top: 14px;
    color: rgba(255,255,255,0.86);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-metric {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.hero-metric:hover {
    transform: translateY(-5px);
    border-color: rgba(182, 38, 31, 0.18);
    box-shadow: 0 18px 36px rgba(62, 44, 28, 0.1);
}

.hero-metric strong {
    display: block;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.8rem;
}

.hero-metric span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,0.74);
    font-size: 0.9rem;
}

.hero-stage-wrap {
    display: grid;
    gap: 16px;
}

.hero-stage {
    position: relative;
    min-height: 520px;
    padding: 34px;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 20%, rgba(240, 141, 75, 0.28), transparent 24%),
        radial-gradient(circle at 80% 18%, rgba(209, 174, 107, 0.18), transparent 20%),
        linear-gradient(145deg, #1d1a18 0%, #30231f 50%, #8d231d 100%);
    box-shadow: var(--shadow-deep);
}

.hero-stage::before,
.hero-stage::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-stage::before {
    width: 520px;
    height: 520px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
}

.hero-stage::after {
    width: 520px;
    height: 520px;
    left: -240px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(240,141,75,0.22), transparent 70%);
}

.stage-badges {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stage-badge {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.88);
    font-size: 0.86rem;
}

.glove-hero-3d {
    position: absolute;
    inset: 86px 18px 30px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.glove-ring,
.glove-shadow {
    position: absolute;
    border-radius: 50%;
}

.glove-ring {
    width: min(420px, 92%);
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        inset 0 0 0 28px rgba(255,255,255,0.02),
        0 0 0 80px rgba(255,255,255,0.025);
}

.glove-shadow {
    width: 280px;
    height: 60px;
    background: radial-gradient(circle, rgba(0,0,0,0.45), transparent 68%);
    bottom: 28px;
    filter: blur(12px);
}

.glove-stage-stack {
    position: relative;
    display: grid;
    place-items: center;
    width: min(430px, 82%);
    height: min(360px, 70%);
}

.hero-product-image {
    --hero-img-scale: 0.82;
    --hero-img-x: 0px;
    --hero-img-y: -16px;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 30px 52px rgba(0,0,0,0.38));
    transform: translate(var(--hero-img-x), var(--hero-img-y)) scale(var(--hero-img-scale));
    transition: transform 0.25s ease;
}

.hero-stage:hover .hero-product-image {
    transform: translate(var(--hero-img-x), calc(var(--hero-img-y) - 2px)) scale(var(--hero-img-scale));
}

.hero-stage-copy {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.9);
}

.hero-stage-copy strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.hero-stage-copy span {
    font-size: 0.96rem;
    line-height: 1.6;
}

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

.hero-thumb {
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.84);
    padding: 10px;
    display: grid;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.hero-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px;
}

.hero-thumb span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hero-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.32);
}

.hero-thumb.active {
    border-color: rgba(240, 141, 75, 0.84);
    background: rgba(240, 141, 75, 0.16);
    box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

.hero-thumb:focus-visible {
    outline: 2px solid rgba(255,255,255,0.78);
    outline-offset: 2px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 70px;
    margin-bottom: 28px;
    border-radius: 34px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background:
        radial-gradient(circle at 88% 16%, rgba(182, 38, 31, 0.08), transparent 20%),
        radial-gradient(circle at 10% 0%, rgba(240, 141, 75, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(249,246,241,0.96));
    color: var(--ink);
    box-shadow: 0 20px 48px rgba(23, 23, 23, 0.06);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.page-hero::before {
    inset: auto -120px -180px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 38, 31, 0.08), transparent 72%);
}

.page-hero::after {
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 28, 25, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 28, 25, 0.03) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 74%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-heading {
    max-width: none;
}

.page-hero .section-heading h1 {
    max-width: none;
    color: var(--ink);
    font-size: clamp(2.75rem, 4.5vw, 4.2rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.page-hero .eyebrow {
    border-color: rgba(182, 38, 31, 0.14);
    background: rgba(255,255,255,0.82);
    color: var(--accent);
}

.page-hero .section-heading p {
    max-width: 640px;
    color: #5f5f5f;
    font-size: 1.03rem;
}

.page-hero .tab-strip {
    margin-top: 24px;
    padding: 6px;
    border-radius: 22px;
    background: rgba(255,255,255,0.58);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.8);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.page-hero .tab-strip::-webkit-scrollbar {
    display: none;
}

.grid-3,
.grid-4,
.stats-grid,
.feature-grid,
.spec-grid,
.cert-grid {
    display: grid;
    gap: 22px;
}

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

.grid-4,
.spec-grid,
.cert-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.info-card,
.detail-card,
.summary-card,
.config-card {
    padding: 24px;
}

.feature-card,
.detail-card,
.summary-card,
.config-card {
    display: grid;
    align-content: start;
    gap: 14px;
}

.feature-card {
    min-height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(182, 38, 31, 0.16);
    box-shadow: 0 18px 38px rgba(62, 44, 28, 0.12);
}

.feature-card h3,
.detail-card h3,
.summary-card h3,
.config-card h3,
.modal-panel h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.feature-card p,
.detail-card p,
.summary-card p,
.config-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.68;
}

.feature-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.filter-bar,
.tab-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-bar-spaced {
    margin-bottom: 22px;
}

.chip,
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid rgba(32, 28, 25, 0.08);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.76);
    color: var(--ink-soft);
    cursor: pointer;
    transition: 0.22s ease;
}

.chip:hover,
.tab-btn:hover {
    border-color: rgba(182, 38, 31, 0.22);
    color: var(--ink);
    transform: translateY(-2px);
}

.chip.active,
.tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(127, 23, 20, 0.18);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.52);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,244,0.9));
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--gold));
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.5) 45%, transparent 68%);
    opacity: 0;
    transform: translateX(-120%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(182, 38, 31, 0.18);
    box-shadow: 0 26px 58px rgba(62, 44, 28, 0.13);
}

.product-card:hover::after {
    animation: cardShine 0.9s var(--ease-out);
}

.product-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(240,141,75,0.16), transparent 28%),
        linear-gradient(180deg, #faf5ee 0%, #f1e9de 100%);
}

.product-media img {
    transition: transform 0.4s var(--ease-spring), filter 0.35s ease;
}

.product-card:hover .product-media img {
    filter: drop-shadow(0 18px 26px rgba(32, 28, 25, 0.16));
    transform: translateY(-6px) scale(1.04) rotate(-1deg);
}

.product-series {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.8);
    color: var(--ink);
    font-size: 0.8rem;
}

.product-card-body {
    padding: 22px;
}

.product-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(182, 38, 31, 0.1);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.tag.success {
    background: rgba(46, 141, 96, 0.14);
    color: var(--success);
}

.tag.warning {
    background: rgba(201, 115, 28, 0.14);
    color: var(--warning);
}

.tag.danger {
    background: rgba(192, 51, 41, 0.12);
    color: var(--danger);
}

.product-card p {
    margin: 0 0 12px;
    color: var(--ink-soft);
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.price-row strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.muted {
    color: var(--ink-soft);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-spotlight {
    position: sticky;
    top: 108px;
}

.detail-spotlight .modal-panel {
    padding: 26px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

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

.spec-pill {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(246, 239, 231, 0.9);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

.spec-pill strong {
    display: block;
    margin-bottom: 4px;
}

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

.bullet-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-soft);
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 16, 13, 0.4);
    backdrop-filter: blur(8px);
    z-index: 120;
}

.modal.open {
    display: flex;
}

.modal-panel {
    width: min(960px, 100%);
    max-height: 88vh;
    overflow: auto;
    padding: 28px;
}

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

.modal-close {
    margin-left: auto;
}

.config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
}

.config-card {
    padding: 28px;
}

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

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(32, 28, 25, 0.1);
    background: rgba(255,255,255,0.88);
    color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(182, 38, 31, 0.45);
    box-shadow: 0 0 0 4px rgba(182, 38, 31, 0.08);
}

.range-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-value {
    min-width: 110px;
    text-align: right;
    color: var(--ink-soft);
}

.results-stack {
    display: grid;
    gap: 16px;
}

.inline-actions,
.detail-actions,
.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-actions {
    margin-top: 10px;
}

.stack-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.spaced-file-info,
.spaced-results,
.status-spacer,
.quote-top-gap,
.cart-summary-row {
    margin-top: 18px;
}

.upload-icon {
    margin-bottom: 8px;
    font-size: 32px;
}

.tight-heading {
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cart-size-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.cart-size-control select {
    min-width: 66px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.spotlight-price {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.spotlight-media {
    width: min(320px, 100%);
    margin: 0 auto 18px;
}

.lead-spaced {
    margin-bottom: 18px;
}

.modal-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 24px;
}

.quote-option-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 150px));
    gap: 12px;
    margin: 20px 0;
}

.quote-option-row label {
    display: grid;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.quote-option-row select,
.quote-option-row input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.modal-media-panel {
    padding: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #faf5ee, #f0e6da);
}

.recommend-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.84));
    border: 1px solid rgba(32, 28, 25, 0.08);
    box-shadow: var(--shadow-soft);
}

.recommend-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.score-badge {
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(46, 141, 96, 0.12);
    color: var(--success);
    font-weight: 700;
}

.config-summary {
    display: grid;
    gap: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
}

.msds-panel {
    display: grid;
    gap: 18px;
}

.upload-zone {
    position: relative;
    padding: 42px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.84));
    border: 1px solid rgba(32, 28, 25, 0.08);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.upload-zone::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 20px;
    border: 1px dashed rgba(182, 38, 31, 0.22);
}

.upload-zone > * {
    position: relative;
    z-index: 1;
}

.oem-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.oem-stage {
    position: sticky;
    top: 108px;
    min-height: 700px;
    padding: 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 18%, rgba(240, 141, 75, 0.22), transparent 24%),
        linear-gradient(150deg, #191613 0%, #2b1d19 44%, #89241d 100%);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.oem-stage-copy {
    position: relative;
    z-index: 2;
    max-width: 320px;
    color: rgba(255,255,255,0.9);
}

.oem-stage-copy h2,
.oem-stage-copy h3 {
    color: #fff;
}

.oem-preview-wrap {
    position: absolute;
    inset: 206px 18px 164px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.oem-preview-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 68%);
    filter: blur(8px);
}

.oem-preview-card {
    position: absolute;
    width: min(520px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(-30px) rotateX(72deg);
}

.oem-preview-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    animation: floatGlove 6s ease-in-out infinite;
}

.oem-render-image {
    width: min(430px, 78%);
    filter: drop-shadow(0 34px 60px rgba(0,0,0,0.35));
    transform: translate(0, -14px) rotate(-6deg) rotateY(-10deg);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.oem-three-viewport {
    position: relative;
    width: min(390px, 74%);
    aspect-ratio: 1 / 1;
    transform: translate(0, -2px);
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
}

.oem-three-viewport canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.oem-hotspot-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.oem-hotspot {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    background: rgba(31, 24, 20, 0.58);
    color: rgba(255,255,255,0.94);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
    transform: translate(-50%, -50%);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.oem-hotspot:hover {
    background: rgba(127, 23, 20, 0.72);
    transform: translate(-50%, -50%) scale(1.04);
}

.oem-hotspot span {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #fff5df;
    box-shadow: 0 0 0 6px rgba(240, 141, 75, 0.28);
}

.oem-hotspot strong {
    max-width: 88px;
    overflow: hidden;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oem-hotspot.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.oem-view-controls {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: inline-flex;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-pill);
    background: rgba(30, 24, 20, 0.46);
    box-shadow: 0 18px 38px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.oem-preview-stack.is-3d-ready .oem-view-controls {
    opacity: 1;
    pointer-events: auto;
}

.oem-view-btn {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.86);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.oem-view-btn:hover,
.oem-view-btn.is-active,
.oem-view-btn[aria-pressed="true"] {
    background: rgba(255,255,255,0.94);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.oem-view-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.oem-preview-stack.is-3d-ready #oemPreviewFallback {
    display: none;
}

.oem-preview-stack.is-3d-ready .logo-chip {
    display: none !important;
}

.oem-preview-stack.material-latex .oem-render-image {
    filter: hue-rotate(-8deg) saturate(1.08) drop-shadow(0 34px 60px rgba(0,0,0,0.35));
}

.oem-preview-stack.material-pu .oem-render-image {
    filter: grayscale(0.08) brightness(1.04) drop-shadow(0 34px 60px rgba(0,0,0,0.35));
}

.oem-preview-stack.coverage-full .oem-render-image {
    transform: translate(0, -14px) rotate(-6deg) rotateY(-10deg) scale(1.02);
}

.oem-preview-stack.coverage-three-quarter .oem-render-image {
    transform: translate(0, -14px) rotate(-6deg) rotateY(-10deg) scale(1.01);
}

.oem-preview-stack.size-s .oem-render-image { transform: translate(0, -15px) rotate(-6deg) rotateY(-10deg) scale(0.92); }
.oem-preview-stack.size-m .oem-render-image { transform: translate(0, -14px) rotate(-6deg) rotateY(-10deg) scale(0.97); }
.oem-preview-stack.size-l .oem-render-image { transform: translate(0, -13px) rotate(-6deg) rotateY(-10deg) scale(1.01); }
.oem-preview-stack.size-xl .oem-render-image { transform: translate(0, -12px) rotate(-6deg) rotateY(-10deg) scale(1.04); }
.oem-preview-stack.size-xxl .oem-render-image { transform: translate(0, -10px) rotate(-6deg) rotateY(-10deg) scale(1.07); }

.oem-preview-stack.model-krakenguard .oem-render-image {
    filter: saturate(1.1) brightness(1.02) drop-shadow(0 34px 60px rgba(0,0,0,0.35));
}

.oem-preview-stack.model-cutguard .oem-render-image {
    filter: contrast(1.06) drop-shadow(0 34px 60px rgba(0,0,0,0.35));
}

.oem-preview-stack.model-hoodguard .oem-render-image {
    filter: brightness(0.96) contrast(1.08) drop-shadow(0 34px 60px rgba(0,0,0,0.35));
}

.logo-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(-9deg);
    display: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 64px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
    overflow: hidden;
}

.logo-chip.active {
    display: flex;
}

.oem-float-badge {
    position: absolute;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
}

.oem-float-badge strong {
    display: block;
    font-size: 0.82rem;
}

.oem-float-badge span {
    font-size: 1rem;
}

.oem-badge-1 { top: 110px; right: 24px; }
.oem-badge-2 { top: 240px; left: 20px; }
.oem-badge-3 { bottom: 108px; right: 28px; }

.oem-preview-notice {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    max-width: 260px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.84);
    backdrop-filter: blur(10px);
}

.oem-preview-notice strong {
    display: block;
    color: #fff;
    font-size: 0.82rem;
    margin-bottom: 3px;
}

.oem-material-readout {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    width: min(348px, calc(100% - 48px));
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(31, 24, 20, 0.34);
    box-shadow: 0 18px 42px rgba(0,0,0,0.16);
    color: rgba(255,255,255,0.86);
    backdrop-filter: blur(12px);
}

.oem-readout-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.oem-material-swatch {
    --preview-material-color: #293746;
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255,255,255,0.5), transparent 24%),
        var(--preview-material-color);
    box-shadow: inset 0 -8px 16px rgba(0,0,0,0.18), 0 12px 22px rgba(0,0,0,0.16);
}

.oem-readout-main strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.2;
}

.oem-readout-main p {
    margin: 5px 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
}

.oem-material-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.oem-material-tabs span {
    display: grid;
    place-items: center;
    min-height: 30px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.76);
    font-size: 0.72rem;
}

.oem-material-tabs span.is-active {
    background: rgba(255,255,255,0.94);
    color: var(--accent-strong);
}

.quote-grid {
    display: grid;
    gap: 18px;
}

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

.kpi {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

.kpi strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.quote-board {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(182, 38, 31, 0.08), rgba(240, 141, 75, 0.12));
    border: 1px solid rgba(182, 38, 31, 0.08);
}

.quote-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 12px;
}

.quote-main strong {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
}

.quote-lines {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.quote-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
}

.alert-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(32, 28, 25, 0.08);
    color: var(--ink-soft);
}

.cart-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(19, 15, 13, 0.42);
    backdrop-filter: blur(6px);
    z-index: 130;
}

.cart-modal.open {
    display: flex;
}

.cart-panel {
    width: min(900px, 100%);
    max-height: 86vh;
    overflow: auto;
    padding: 28px;
}

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

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(32, 28, 25, 0.12);
    background: rgba(255,255,255,0.8);
    cursor: pointer;
}

.site-footer {
    margin-top: 20px;
    padding: 72px 0 24px;
    background:
        radial-gradient(circle at top right, rgba(240, 141, 75, 0.12), transparent 18%),
        linear-gradient(180deg, #1b1815 0%, #141210 100%);
    color: #fff;
}

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

.footer-group h3 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-group p,
.footer-group a {
    display: block;
    color: rgba(255,255,255,0.72);
}

.footer-group p + p,
.footer-group a + a {
    margin-top: 8px;
}

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

.footer-stack {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}

.empty-state {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.72);
    color: var(--ink-soft);
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Login routing */
body[data-page="login"] .login-hero {
    padding: 58px 0;
}

body[data-page="login"] .login-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
    gap: 28px;
    align-items: center;
}

body[data-page="login"] .login-hero .section-heading {
    margin-bottom: 0;
}

body[data-page="login"] .login-route-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(240, 141, 75, 0.3), transparent 28%),
        linear-gradient(145deg, #1c1815 0%, #31221d 58%, #89241d 100%);
    box-shadow: var(--shadow-deep);
}

body[data-page="login"] .login-route-panel div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
}

body[data-page="login"] .login-route-panel strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

body[data-page="login"] .login-route-panel p {
    margin: 0;
    color: rgba(255,255,255,0.76);
}

body[data-page="login"] .login-route-panel i {
    display: block;
    width: 2px;
    height: 24px;
    margin-left: 30px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, var(--accent-warm), rgba(255,255,255,0.2));
}

body[data-page="login"] .login-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
    gap: 24px;
    align-items: start;
}

body[data-page="login"] .login-panel {
    gap: 18px;
}

body[data-page="login"] .login-panel .section-heading {
    margin-bottom: 8px;
}

body[data-page="login"] .login-current-session {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: rgba(246, 239, 231, 0.82);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="login"] .login-current-session strong,
body[data-page="login"] .login-current-session span {
    display: block;
}

body[data-page="login"] .login-current-session strong {
    margin: 4px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

body[data-page="login"] .login-status {
    padding: 13px 16px;
    border-radius: 18px;
    border: 1px solid rgba(32, 28, 25, 0.08);
    color: var(--ink-soft);
    background: rgba(246, 239, 231, 0.82);
}

body[data-page="login"] .login-status.error {
    border-color: rgba(192, 51, 41, 0.24);
    color: var(--danger);
    background: rgba(192, 51, 41, 0.08);
}

body[data-page="login"] .login-status.success {
    border-color: rgba(46, 141, 96, 0.24);
    color: var(--success);
    background: rgba(46, 141, 96, 0.1);
}

body[data-page="login"] .login-demo-stack {
    display: grid;
    gap: 18px;
}

body[data-page="login"] .login-role-card {
    gap: 16px;
}

body[data-page="login"] .login-role-card .btn {
    justify-self: start;
}

body[data-page="login"] .login-credential-list {
    display: grid;
    gap: 10px;
}

body[data-page="login"] .login-credential-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="login"] .login-credential-list span {
    color: var(--ink-soft);
}

body[data-page="login"] .login-credential-list strong {
    text-align: right;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    body[data-page="login"] .login-hero-grid,
    body[data-page="login"] .login-layout {
        grid-template-columns: 1fr;
    }

    body[data-page="login"] .login-demo-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .auth-login-btn {
        padding: 10px 13px;
        font-size: 0.88rem;
    }

    .auth-chip {
        gap: 6px;
        padding: 5px;
    }

    .auth-avatar {
        width: 34px;
        height: 34px;
    }

    .auth-name span,
    .auth-logout {
        display: none;
    }

    .auth-name strong {
        max-width: 54px;
    }

    body[data-page="login"] .login-hero {
        padding: 48px 0;
    }

    body[data-page="login"] .login-route-panel,
    body[data-page="login"] .login-panel,
    body[data-page="login"] .login-role-card {
        border-radius: 24px;
    }

    body[data-page="login"] .login-current-session {
        grid-template-columns: 1fr;
    }

    body[data-page="login"] .login-demo-stack {
        grid-template-columns: 1fr;
    }

    body[data-page="login"] .login-role-card .btn,
    body[data-page="login"] .inline-actions .btn,
    body[data-page="login"] .inline-actions .ghost-btn {
        width: 100%;
    }
}

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

@keyframes heroSurfaceIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes heroMediaRise {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes productFloat {
    0%, 100% {
        transform: translateY(0) rotate(-0.4deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.6deg);
    }
}

@keyframes cardShine {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    30% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@keyframes gridDrift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 84px 84px;
    }
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 6px rgba(182, 38, 31, 0.08);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(182, 38, 31, 0.02);
    }
}

@keyframes panelPop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@media (prefers-reduced-motion: no-preference) {
    body.motion-ready .site-header {
        animation: headerDrop 0.72s var(--ease-out) both;
    }

    body.motion-ready .page-hero {
        animation: heroSurfaceIn 0.9s var(--ease-out) both;
    }

    body.motion-ready .page-hero::after {
        animation: gridDrift 20s linear infinite;
    }

    body.motion-ready .eyebrow::before {
        animation: dotPulse 2.8s ease-in-out infinite;
    }

    body.motion-ready[data-page="home"] .home-hero-line {
        opacity: 0;
        animation: heroLineRise 0.82s var(--ease-out) forwards;
    }

    body.motion-ready[data-page="home"] .home-hero-line:nth-child(1) {
        animation-delay: 0.1s;
    }

    body.motion-ready[data-page="home"] .home-hero-line:nth-child(2) {
        animation-delay: 0.18s;
    }

    body.motion-ready[data-page="home"] .home-hero-line:nth-child(3) {
        animation-delay: 0.26s;
    }

    body.motion-ready[data-page="home"] .home-simple-copy .section-heading p,
    body.motion-ready[data-page="home"] .home-simple-copy .hero-actions {
        opacity: 0;
        animation: heroLineRise 0.78s var(--ease-out) forwards;
    }

    body.motion-ready[data-page="home"] .home-simple-copy .section-heading p {
        animation-delay: 0.36s;
    }

    body.motion-ready[data-page="home"] .home-simple-copy .hero-actions {
        animation-delay: 0.46s;
    }

    body.motion-ready[data-page="home"] .home-hero-image-card {
        animation: heroMediaRise 0.95s var(--ease-spring) 0.18s both;
    }

    body.motion-ready[data-page="home"] .home-hero-image-card img {
        animation: productFloat 6s ease-in-out 1.05s infinite;
    }

    body.motion-ready .reveal-on-scroll {
        opacity: 0;
        filter: blur(6px);
        transform: translateY(30px);
        transition:
            opacity 0.72s var(--ease-out),
            filter 0.72s var(--ease-out),
            transform 0.72s var(--ease-out);
        transition-delay: var(--reveal-delay, 0ms);
        will-change: opacity, transform, filter;
    }

    body.motion-ready .reveal-on-scroll.is-visible {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

    body.motion-ready .modal.open .modal-panel,
    body.motion-ready .cart-modal.open .cart-panel {
        animation: panelPop 0.36s var(--ease-out) both;
    }
}

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

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

    .reveal-on-scroll {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

@media (max-width: 1100px) {
    .site-header .container {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .hero-grid,
    .product-layout,
    .config-grid,
    .oem-layout {
        grid-template-columns: 1fr;
    }

    .detail-spotlight {
        position: static;
    }

    .oem-stage {
        position: relative;
        top: auto;
    }

    .hero-metrics,
    .quote-kpis,
    .footer-grid,
    .grid-4,
    .spec-grid,
    .cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-stage-wrap {
        max-width: 780px;
        margin: 0 auto;
    }

    .oem-preview-wrap {
        inset: 202px 14px 132px;
    }

    .oem-three-viewport {
        width: min(390px, 78%);
        transform: translate(0, -2px);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: grid;
        gap: 8px;
        padding: 16px;
        border-radius: 28px;
        background: rgba(255,255,255,0.96);
        border: 1px solid rgba(32, 28, 25, 0.08);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        flex-wrap: nowrap;
    }

    .site-header.nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(247, 242, 234, 0.56);
    }

    .main-nav a::after {
        display: none;
    }
}

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

    .page-shell {
        padding-top: 16px;
    }

    .site-header .container {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand img {
        height: 56px;
        flex: 0 0 56px;
    }

    .brand-copy span {
        display: none;
    }

    .header-actions {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .header-actions .btn.secondary {
        display: none;
    }

    .page-hero {
        padding: 62px 0 56px;
        border-radius: 28px;
        overflow: hidden;
    }

    .page-hero .section-heading h1 {
        max-width: 100%;
        font-size: 2.34rem;
        line-height: 1.06;
        overflow-wrap: break-word;
    }

    .page-hero .tab-strip {
        margin-top: 18px;
    }

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

    .hero-trust-line {
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    .hero-metrics,
    .quote-kpis,
    .footer-grid,
    .grid-4,
    .spec-grid,
    .cert-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section-shell {
        padding: 72px 0;
    }

    .hero-stage,
    .oem-stage {
        min-height: 620px;
        padding: 22px;
    }

    .oem-stage-copy {
        max-width: 270px;
    }

    .oem-float-badge {
        padding: 10px 12px;
        border-radius: 16px;
    }

    .oem-badge-1 {
        top: 178px;
        right: 16px;
        max-width: 128px;
    }

    .oem-badge-2 {
        top: 286px;
        left: 22px;
    }

    .oem-badge-3 {
        display: none;
    }

    .oem-preview-wrap {
        inset: 300px 8px 224px;
    }

    .oem-three-viewport {
        width: min(310px, 84%);
        transform: translate(0, 0);
    }

    .oem-view-controls {
        right: 50%;
        bottom: 8px;
        transform: translateX(50%);
        gap: 5px;
        padding: 6px;
    }

    .oem-view-btn {
        width: 34px;
        height: 34px;
    }

    .oem-hotspot {
        width: 34px;
        height: 34px;
        justify-content: center;
        padding: 0;
    }

    .oem-hotspot strong {
        display: none;
    }

    .oem-stage {
        min-height: 760px;
    }

    .oem-preview-notice {
        left: 22px;
        right: 22px;
        bottom: 154px;
        max-width: none;
    }

    .oem-material-readout {
        left: 22px;
        right: 22px;
        bottom: 22px;
        width: auto;
    }

    .oem-render-image,
    .oem-preview-stack.size-s .oem-render-image,
    .oem-preview-stack.size-m .oem-render-image,
    .oem-preview-stack.size-l .oem-render-image,
    .oem-preview-stack.size-xl .oem-render-image,
    .oem-preview-stack.size-xxl .oem-render-image,
    .oem-preview-stack.coverage-full .oem-render-image,
    .oem-preview-stack.coverage-three-quarter .oem-render-image {
        width: min(320px, 82%);
        transform: translate(0, 4px) rotate(-5deg);
    }

    .glove-hero-3d {
        inset: 86px 10px 24px;
    }

    .hero-stage-thumbs {
        grid-template-columns: 1fr;
    }

    .hero-thumb {
        grid-template-columns: 86px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .hero-thumb img {
        aspect-ratio: 1 / 1;
    }

    .glove-stage-stack {
        width: min(340px, 86%);
        height: min(280px, 62%);
    }

    .oem-preview-stack img {
        width: 92%;
    }

    .cart-item,
    .quote-main,
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-layout {
        grid-template-columns: 1fr;
    }
}


/* Homepage banner (keep original color system) */
.hero-banner-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 620px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background:
        radial-gradient(circle at 80% 18%, rgba(255,255,255,0.18), transparent 30%),
        radial-gradient(circle at 16% 20%, rgba(240,141,75,0.24), transparent 30%),
        linear-gradient(145deg, #1d1a18 0%, #30231f 50%, #8d231d 100%);
    box-shadow: var(--shadow-deep);
}

.hero-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 20px;
}

@media (max-width: 1100px) {
    .hero-banner-card {
        min-height: 500px;
    }
}

@media (max-width: 720px) {
    .hero-banner-card {
        min-height: 340px;
        border-radius: 24px;
    }

    .hero-banner-card img {
        padding: 10px;
    }
}

/* Home hero redesign */
body[data-page="home"] {
    background:
        radial-gradient(circle at top left, rgba(216, 36, 36, 0.04), transparent 20%),
        linear-gradient(180deg, #f7f7f5 0%, #f5f3ef 52%, #f8f6f2 100%);
}

body[data-page="home"]::before {
    background-image:
        linear-gradient(rgba(30, 30, 30, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 30, 30, 0.02) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 78%);
}

body[data-page="home"] .container {
    width: min(1220px, calc(100% - 44px));
}

body[data-page="home"] .site-header {
    padding: 14px 0;
}

body[data-page="home"] .site-header::before {
    background: rgba(247, 247, 245, 0.82);
    border-bottom: 1px solid #e2ddd5;
    box-shadow: 0 8px 20px rgba(23, 23, 23, 0.03);
}

body[data-page="home"] .site-header .container {
    width: min(1280px, calc(100% - 48px));
    gap: 24px;
}

body[data-page="home"] .brand img {
    height: 64px;
}

body[data-page="home"] .brand-copy strong {
    font-size: 1rem;
    letter-spacing: 0;
}

body[data-page="home"] .brand-copy span {
    color: var(--ink-soft);
    font-size: 0.9rem;
    letter-spacing: 0;
}

body[data-page="home"] .main-nav {
    gap: 14px;
}

body[data-page="home"] .main-nav a {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

body[data-page="home"] .main-nav a::after {
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

body[data-page="home"] .header-cta {
    padding: 13px 22px;
    box-shadow: 0 14px 30px rgba(216, 36, 36, 0.18);
}

body[data-page="home"] .page-shell {
    padding: 16px 0 32px;
}

body[data-page="home"] .page-hero.home-hero {
    margin-bottom: 52px;
    padding: 28px 0 34px;
    border-radius: 34px;
    border: 1px solid #e2ddd5;
    background:
        radial-gradient(circle at top right, rgba(216, 36, 36, 0.06), transparent 22%),
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.82), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 248, 245, 0.96));
    color: #171717;
    box-shadow: 0 20px 48px rgba(23, 23, 23, 0.05);
}

body[data-page="home"] .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 32px;
    align-items: start;
}

body[data-page="home"] .hero-copy {
    padding: 10px 0 0;
}

body[data-page="home"] .hero-copy .section-heading {
    margin-bottom: 18px;
}

body[data-page="home"] .home-hero .eyebrow {
    margin-bottom: 20px;
    border-color: rgba(216, 36, 36, 0.12);
    background: rgba(255, 255, 255, 0.84);
    color: #d82424;
}

body[data-page="home"] .home-hero .section-heading h1 {
    max-width: 9.2ch;
    margin-bottom: 14px;
    color: #171717;
    font-size: clamp(3.35rem, 4.35vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

body[data-page="home"] .hero-title-accent {
    color: #d82424;
}

body[data-page="home"] .hero-copy p,
body[data-page="home"] .home-hero .section-heading p {
    max-width: 520px;
    margin-bottom: 0;
    color: #5f5f5f;
    font-size: clamp(1rem, 1.35vw, 1.125rem);
    line-height: 1.68;
}

body[data-page="home"] .hero-platform-note {
    display: grid;
    gap: 4px;
    max-width: 520px;
    margin-bottom: 0;
    margin-top: 14px;
    padding: 12px 14px 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(226, 221, 213, 0.82);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 20px rgba(23, 23, 23, 0.03);
    position: relative;
}

body[data-page="home"] .hero-platform-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d82424, rgba(216, 36, 36, 0.15));
}

body[data-page="home"] .hero-platform-note strong {
    color: #171717;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

body[data-page="home"] .hero-actions {
    gap: 16px;
    margin-bottom: 14px;
}

body[data-page="home"] .hero-actions .btn {
    min-width: 210px;
    padding: 15px 24px;
}

body[data-page="home"] .hero-actions .btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d8d2ca;
    color: #171717;
    box-shadow: 0 12px 26px rgba(23, 23, 23, 0.04);
}

body[data-page="home"] .hero-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    color: #5f5f5f;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
}

body[data-page="home"] .hero-trust-line span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.7);
}

body[data-page="home"] .hero-showcase {
    position: relative;
    display: grid;
    gap: 16px;
}

body[data-page="home"] .hero-workflow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.8);
    color: #5f5f5f;
    font-size: 0.82rem;
    font-weight: 700;
}

body[data-page="home"] .hero-workflow i {
    width: 16px;
    height: 1px;
    background: rgba(216, 36, 36, 0.45);
    position: relative;
}

body[data-page="home"] .hero-workflow i::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid rgba(216, 36, 36, 0.45);
    border-right: 1px solid rgba(216, 36, 36, 0.45);
    transform: rotate(45deg);
}

body[data-page="home"] .hero-metrics {
    gap: 12px;
    margin-top: 0;
}

body[data-page="home"] .hero-metrics-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
}

body[data-page="home"] .hero-metric {
    min-height: 110px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid #e2ddd5;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(23, 23, 23, 0.04);
    backdrop-filter: blur(10px);
    position: relative;
}

body[data-page="home"] .hero-metric::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(216, 36, 36, 0.9), rgba(216, 36, 36, 0.18));
}

body[data-page="home"] .hero-metric strong {
    color: #171717;
    font-size: clamp(1.34rem, 1.8vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

body[data-page="home"] .hero-metric span {
    margin-top: 10px;
    color: #5f5f5f;
    font-size: 0.9rem;
    line-height: 1.45;
}

body[data-page="home"] .hero-showcase-frame {
    position: relative;
    min-height: 590px;
    padding: 22px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background:
        radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.98), transparent 26%),
        radial-gradient(circle at 80% 22%, rgba(216, 36, 36, 0.05), transparent 24%),
        linear-gradient(160deg, #fcfcfa 0%, #f1efea 54%, #ebe8e1 100%);
    box-shadow: 0 20px 44px rgba(23, 23, 23, 0.065);
}

body[data-page="home"] .hero-showcase-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    border: 1px solid rgba(226, 221, 213, 0.62);
    pointer-events: none;
}

body[data-page="home"] .hero-visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 30, 30, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 30, 30, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.68), transparent 82%);
    opacity: 0.6;
}

body[data-page="home"] .hero-product-card {
    position: absolute;
    inset: 58px 34px 112px 34px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 245, 0.94));
    box-shadow: 0 18px 36px rgba(23, 23, 23, 0.07);
}

body[data-page="home"] .hero-product-card::after {
    content: "";
    position: absolute;
    inset: auto 54px 30px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 23, 23, 0.16), transparent 72%);
    filter: blur(10px);
}

body[data-page="home"] .hero-product-meta {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body[data-page="home"] .hero-product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(250, 248, 245, 0.96);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.92);
    color: #5f5f5f;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body[data-page="home"] .hero-product-halo {
    position: absolute;
    width: min(430px, 74%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(216, 36, 36, 0.11), rgba(216, 36, 36, 0) 66%),
        radial-gradient(circle at 50% 55%, rgba(0, 0, 0, 0.09), transparent 72%);
    filter: blur(2px);
}

body[data-page="home"] .hero-product-card img {
    position: relative;
    z-index: 2;
    width: min(520px, 84%);
    transform: translateY(0);
    filter: contrast(1.22) saturate(1.08) brightness(0.93) drop-shadow(0 24px 20px rgba(30, 30, 30, 0.18));
}

body[data-page="home"] .hero-visual-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(226, 221, 213, 0.9);
    background: rgba(255, 255, 255, 0.92);
    color: #171717;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 30px rgba(23, 23, 23, 0.06);
}

body[data-page="home"] .hero-visual-chip-top {
    top: 34px;
    left: 34px;
}

body[data-page="home"] .hero-visual-chip-side {
    top: 86px;
    right: 28px;
}

body[data-page="home"] .hero-visual-chip-bottom {
    left: 28px;
    bottom: 30px;
}

body[data-page="home"] .hero-spec-card {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 4;
    width: min(290px, calc(100% - 52px));
    padding: 16px 16px 14px;
    border-radius: 20px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px rgba(23, 23, 23, 0.075);
}

body[data-page="home"] .hero-spec-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #d82424;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body[data-page="home"] .hero-spec-card > strong {
    display: block;
    margin-bottom: 8px;
    color: #171717;
    font-size: 1.05rem;
    line-height: 1.28;
}

body[data-page="home"] .hero-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body[data-page="home"] .hero-spec-item {
    padding: 10px 10px 9px;
    border-radius: 14px;
    background: rgba(250, 248, 245, 0.9);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.8);
}

body[data-page="home"] .hero-spec-item span {
    display: block;
    margin-bottom: 4px;
    color: #5f5f5f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body[data-page="home"] .hero-spec-item strong {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

body[data-page="home"] .hero-spec-item-wide {
    grid-column: 1 / -1;
}

@media (max-width: 1100px) {
    body[data-page="home"] .container {
        width: min(100% - 40px, 100%);
    }

    body[data-page="home"] .main-nav {
        gap: 8px;
    }

    body[data-page="home"] .main-nav a {
        padding: 12px 14px;
    }

    body[data-page="home"] .page-hero.home-hero {
        padding: 24px 0 32px;
    }

    body[data-page="home"] .hero-grid {
        gap: 24px;
    }

    body[data-page="home"] .home-hero .section-heading h1 {
        max-width: 12ch;
        font-size: clamp(3rem, 7vw, 4rem);
    }

    body[data-page="home"] .hero-showcase-frame {
        min-height: 500px;
    }

    body[data-page="home"] .hero-product-card {
        inset: 64px 26px 104px 26px;
    }

    body[data-page="home"] .hero-spec-card {
        bottom: 22px;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .container {
        width: min(100% - 24px, 100%);
    }

    body[data-page="home"] .site-header {
        padding: 12px 0;
    }

    body[data-page="home"] .site-header .container {
        gap: 14px;
    }

    body[data-page="home"] .brand img {
        height: 50px;
    }

    body[data-page="home"] .brand-copy span {
        font-size: 0.78rem;
    }

    body[data-page="home"] .page-shell {
        padding-top: 10px;
    }

    body[data-page="home"] .page-hero.home-hero {
        padding: 18px 0 28px;
        border-radius: 28px;
    }

    body[data-page="home"] .home-hero .section-heading h1 {
        max-width: 100%;
        font-size: clamp(2.5rem, 11vw, 3.2rem);
        line-height: 1.06;
    }

    body[data-page="home"] .hero-platform-note {
        padding: 16px 18px 16px 20px;
    }

    body[data-page="home"] .hero-actions .btn {
        min-width: 100%;
    }

    body[data-page="home"] .hero-trust-line span {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.76rem;
    }

    body[data-page="home"] .hero-workflow {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-items: start;
        margin-top: 0;
        padding: 12px 14px;
        border-radius: 18px;
    }

    body[data-page="home"] .hero-workflow i {
        width: 1px;
        height: 12px;
        margin-left: 8px;
    }

    body[data-page="home"] .hero-workflow i::after {
        right: -3px;
        top: 7px;
        transform: rotate(135deg);
    }

    body[data-page="home"] .hero-metric {
        min-height: auto;
        padding: 18px;
    }

    body[data-page="home"] .hero-showcase-frame {
        min-height: 420px;
        padding: 18px;
        border-radius: 26px;
    }

    body[data-page="home"] .hero-showcase-frame::before {
        inset: 12px;
        border-radius: 20px;
    }

    body[data-page="home"] .hero-product-card {
        inset: 52px 14px 134px;
        border-radius: 24px;
    }

    body[data-page="home"] .hero-product-card img {
        width: min(330px, 86%);
        transform: translateY(2px);
    }

    body[data-page="home"] .hero-product-meta {
        left: 12px;
        right: 12px;
        top: 12px;
    }

    body[data-page="home"] .hero-product-meta span {
        font-size: 0.68rem;
    }

    body[data-page="home"] .hero-visual-chip {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 0.74rem;
    }

    body[data-page="home"] .hero-visual-chip-top {
        top: 20px;
        left: 20px;
    }

    body[data-page="home"] .hero-visual-chip-side {
        top: auto;
        right: 20px;
        bottom: 118px;
    }

    body[data-page="home"] .hero-visual-chip-bottom {
        left: 20px;
        bottom: 118px;
    }

    body[data-page="home"] .hero-spec-card {
        right: 18px;
        bottom: 18px;
        width: calc(100% - 36px);
        padding: 18px;
        border-radius: 20px;
    }

    body[data-page="home"] .hero-spec-card > strong {
        font-size: 1.05rem;
    }

    body[data-page="home"] .hero-spec-grid {
        grid-template-columns: 1fr;
    }

}

body[data-page="home"] .hero-grid {
    align-items: center;
}

body[data-page="home"] .hero-copy {
    display: grid;
    gap: 18px;
}

body[data-page="home"] .hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #5f5f5f;
    font-size: 0.95rem;
}

body[data-page="home"] .hero-social-proof p {
    margin: 0;
}

body[data-page="home"] .hero-avatar-stack {
    display: flex;
    align-items: center;
}

body[data-page="home"] .hero-avatar-stack span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, #171717, #d82424);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(23, 23, 23, 0.08);
}

body[data-page="home"] .hero-avatar-stack span:first-child {
    margin-left: 0;
}

body[data-page="home"] .home-announce-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 34px rgba(23, 23, 23, 0.04);
}

body[data-page="home"] .home-announce-copy {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

body[data-page="home"] .home-announce-copy p {
    margin: 0;
    color: #5f5f5f;
}

body[data-page="home"] .home-announce-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #171717, #303030);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body[data-page="home"] .home-announce-link {
    color: #171717;
    font-weight: 700;
    white-space: nowrap;
}

body[data-page="home"] .hero-platform-note span {
    color: #5f5f5f;
    font-size: 0.94rem;
    line-height: 1.65;
}

body[data-page="home"] .hero-showcase {
    gap: 0;
}

body[data-page="home"] .home-command-card {
    position: relative;
    padding: 18px;
    border-radius: 30px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background:
        radial-gradient(circle at top right, rgba(216, 36, 36, 0.07), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 241, 0.96));
    box-shadow: 0 26px 58px rgba(23, 23, 23, 0.08);
    overflow: hidden;
}

body[data-page="home"] .home-command-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 24px;
    border: 1px solid rgba(226, 221, 213, 0.68);
    pointer-events: none;
}

body[data-page="home"] .home-command-head,
body[data-page="home"] .home-command-lines,
body[data-page="home"] .home-showcase-panel,
body[data-page="home"] .home-hero-thumbs {
    position: relative;
    z-index: 1;
}

body[data-page="home"] .home-command-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #171717;
}

body[data-page="home"] .home-command-head strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

body[data-page="home"] .home-command-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

body[data-page="home"] .home-command-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5d0c9;
}

body[data-page="home"] .home-command-dots span:first-child {
    background: #d82424;
}

body[data-page="home"] .home-command-dots span:nth-child(2) {
    background: #f08d4b;
}

body[data-page="home"] .home-command-dots span:nth-child(3) {
    background: #171717;
}

body[data-page="home"] .home-command-lines {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(23, 23, 23, 0.92);
    color: rgba(255, 255, 255, 0.82);
    font-family: "SFMono-Regular", "Menlo", "Monaco", monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .home-showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

body[data-page="home"] .home-showcase-copy,
body[data-page="home"] .home-showcase-visual {
    min-height: 100%;
    border-radius: 24px;
}

body[data-page="home"] .home-showcase-copy {
    padding: 22px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.78);
}

body[data-page="home"] .home-showcase-copy h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    line-height: 1.02;
}

body[data-page="home"] .home-showcase-copy p {
    margin: 0;
    color: #5f5f5f;
}

body[data-page="home"] .home-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

body[data-page="home"] .home-showcase-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(248, 244, 238, 0.96);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.82);
    color: #5f5f5f;
    font-size: 0.8rem;
    font-weight: 600;
}

body[data-page="home"] .home-showcase-stats {
    display: grid;
    gap: 10px;
}

body[data-page="home"] .home-showcase-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(248, 244, 238, 0.96);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.82);
}

body[data-page="home"] .home-showcase-stat strong {
    color: #171717;
    font-size: 0.95rem;
}

body[data-page="home"] .home-showcase-stat span {
    color: #5f5f5f;
    font-size: 0.82rem;
}

body[data-page="home"] .home-showcase-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 30px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.88), transparent 56%),
        linear-gradient(180deg, #f6f2ec 0%, #efe9e0 100%);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.78);
}

body[data-page="home"] .home-showcase-halo {
    position: absolute;
    width: min(400px, 78%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(216, 36, 36, 0.13), rgba(216, 36, 36, 0) 64%),
        radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 0.12), transparent 72%);
    filter: blur(2px);
}

body[data-page="home"] .home-showcase-visual img {
    position: relative;
    z-index: 2;
    width: min(480px, 88%);
    object-fit: contain;
    filter: contrast(1.18) saturate(1.06) brightness(0.95) drop-shadow(0 28px 22px rgba(30, 30, 30, 0.2));
    transform: translate(var(--hero-img-x, 0px), var(--hero-img-y, 0px)) scale(var(--hero-img-scale, 1));
    transition: transform 0.25s ease;
}

body[data-page="home"] .home-command-card:hover .home-showcase-visual img {
    transform: translate(var(--hero-img-x, 0px), calc(var(--hero-img-y, 0px) - 2px)) scale(var(--hero-img-scale, 1));
}

body[data-page="home"] .home-floating-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 32px rgba(23, 23, 23, 0.08);
    color: #171717;
    font-size: 0.8rem;
    font-weight: 700;
}

body[data-page="home"] .home-floating-badge-top {
    top: 18px;
    left: 18px;
}

body[data-page="home"] .home-floating-badge-bottom {
    right: 18px;
    bottom: 18px;
}

body[data-page="home"] .home-hero-thumbs {
    margin-top: 18px;
}

body[data-page="home"] .home-hero-thumbs .hero-thumb {
    border-color: rgba(226, 221, 213, 0.92);
    background: rgba(255, 255, 255, 0.86);
    color: #171717;
    box-shadow: 0 12px 26px rgba(23, 23, 23, 0.04);
}

body[data-page="home"] .home-hero-thumbs .hero-thumb img {
    background: linear-gradient(180deg, rgba(250, 248, 245, 1), rgba(244, 238, 230, 0.92));
    border-color: rgba(226, 221, 213, 0.92);
}

body[data-page="home"] .home-hero-thumbs .hero-thumb span {
    color: #171717;
}

body[data-page="home"] .home-hero-thumbs .hero-thumb.active {
    border-color: rgba(216, 36, 36, 0.28);
    background: rgba(255, 248, 248, 0.98);
    box-shadow: 0 16px 34px rgba(216, 36, 36, 0.08);
}

body[data-page="home"] .home-logo-band {
    padding: 10px 0 20px;
}

body[data-page="home"] .home-logo-label {
    margin: 0 0 18px;
    color: #5f5f5f;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body[data-page="home"] .home-logo-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

body[data-page="home"] .home-logo-strip span {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: rgba(255, 255, 255, 0.78);
    color: #171717;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(23, 23, 23, 0.04);
}

body[data-page="home"] .workflow-orbit {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.2fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: center;
}

body[data-page="home"] .workflow-column {
    display: grid;
    gap: 18px;
}

body[data-page="home"] .workflow-point,
body[data-page="home"] .workflow-center-card,
body[data-page="home"] .home-quote-card,
body[data-page="home"] .home-cta-card {
    border-radius: 28px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 241, 0.96));
    box-shadow: 0 20px 42px rgba(23, 23, 23, 0.06);
}

body[data-page="home"] .workflow-point {
    padding: 24px;
}

body[data-page="home"] .workflow-point h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.32rem;
}

body[data-page="home"] .workflow-point p {
    margin: 0;
    color: #5f5f5f;
}

body[data-page="home"] .workflow-center {
    display: grid;
}

body[data-page="home"] .workflow-sphere {
    position: relative;
    padding: 24px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.82), transparent 52%),
        linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(239, 233, 224, 0.98));
    border: 1px solid rgba(226, 221, 213, 0.92);
    box-shadow: 0 28px 56px rgba(23, 23, 23, 0.07);
}

body[data-page="home"] .workflow-sphere-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 23, 23, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 23, 23, 0.04) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.82), transparent 78%);
    opacity: 0.6;
}

body[data-page="home"] .workflow-center-card {
    position: relative;
    z-index: 1;
    padding: 22px;
}

body[data-page="home"] .workflow-center-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

body[data-page="home"] .workflow-center-top span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(248, 244, 238, 0.96);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.82);
    color: #171717;
    font-size: 0.82rem;
    font-weight: 700;
}

body[data-page="home"] .workflow-center-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.8fr);
    gap: 16px;
}

body[data-page="home"] .workflow-center-stack,
body[data-page="home"] .workflow-mini-side {
    display: grid;
    gap: 12px;
}

body[data-page="home"] .workflow-mini-card,
body[data-page="home"] .workflow-side-card {
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 244, 238, 0.96);
    box-shadow: inset 0 0 0 1px rgba(226, 221, 213, 0.82);
}

body[data-page="home"] .workflow-mini-card strong,
body[data-page="home"] .workflow-side-card strong {
    display: block;
    margin-bottom: 8px;
    color: #171717;
    font-size: 0.96rem;
}

body[data-page="home"] .workflow-mini-card span,
body[data-page="home"] .workflow-side-card span {
    color: #5f5f5f;
    font-size: 0.88rem;
    line-height: 1.6;
}

body[data-page="home"] .workflow-side-label {
    display: inline-flex;
    margin-bottom: 8px;
    color: #d82424;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body[data-page="home"] .home-product-grid {
    margin-top: 6px;
}

body[data-page="home"] .home-grid-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

body[data-page="home"] .home-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
    align-items: stretch;
}

body[data-page="home"] .home-quote-card,
body[data-page="home"] .home-cta-card {
    padding: 28px;
}

body[data-page="home"] .home-quote {
    margin: 0 0 24px;
    color: #171717;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.24;
}

body[data-page="home"] .home-quote-meta {
    display: grid;
    gap: 4px;
}

body[data-page="home"] .home-quote-meta strong {
    color: #171717;
    font-size: 1rem;
}

body[data-page="home"] .home-quote-meta span {
    color: #5f5f5f;
}

body[data-page="home"] .home-cta-card {
    display: grid;
    align-content: center;
    gap: 16px;
}

body[data-page="home"] .home-cta-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

body[data-page="home"] .home-cta-card p {
    margin: 0;
    color: #5f5f5f;
    max-width: 640px;
}

@media (max-width: 1100px) {
    body[data-page="home"] .home-announce-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    body[data-page="home"] .home-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body[data-page="home"] .home-showcase-panel,
    body[data-page="home"] .workflow-center-main,
    body[data-page="home"] .workflow-orbit,
    body[data-page="home"] .home-proof-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .workflow-center {
        order: -1;
    }

    body[data-page="home"] .workflow-column {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body[data-page="home"] .home-showcase-visual {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .hero-social-proof {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body[data-page="home"] .home-announce-bar,
    body[data-page="home"] .home-command-card,
    body[data-page="home"] .workflow-sphere,
    body[data-page="home"] .workflow-point,
    body[data-page="home"] .home-quote-card,
    body[data-page="home"] .home-cta-card {
        padding: 18px;
    }

    body[data-page="home"] .home-command-lines {
        padding: 14px;
        font-size: 0.76rem;
    }

    body[data-page="home"] .home-showcase-copy {
        padding: 18px;
    }

    body[data-page="home"] .home-showcase-visual {
        min-height: 300px;
        padding: 22px 12px;
    }

    body[data-page="home"] .home-floating-badge {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.74rem;
    }

    body[data-page="home"] .home-hero-thumbs {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-logo-strip,
    body[data-page="home"] .workflow-column {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-grid-actions {
        flex-direction: column;
    }

    body[data-page="home"] .home-grid-actions .btn {
        width: 100%;
    }

    body[data-page="home"] .home-quote {
        font-size: clamp(1.35rem, 7vw, 1.9rem);
    }

    body[data-page="home"] .home-cta-card h2 {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
    }
}

body[data-page="home"] .page-hero.home-hero {
    padding: 34px 0 42px;
}

body[data-page="home"] .home-simple-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
    gap: 38px;
    align-items: center;
}

body[data-page="home"] .home-simple-copy {
    max-width: 580px;
}

body[data-page="home"] .home-simple-copy .section-heading {
    margin-bottom: 22px;
}

body[data-page="home"] .home-simple-copy .section-heading h1 {
    max-width: none;
    margin-bottom: 16px;
    color: #171717;
    font-size: clamp(3rem, 4.8vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

body[data-page="home"] .home-hero-title {
    display: inline-grid;
    gap: 2px;
}

body[data-page="home"] .home-hero-line {
    display: block;
    color: #171717;
}

body[data-page="home"] .home-hero-line-accent {
    color: #d82424;
}

body[data-page="home"] .home-simple-copy .section-heading p {
    max-width: 520px;
    color: #5f5f5f;
    font-size: clamp(1rem, 1.3vw, 1.08rem);
    line-height: 1.7;
}

body[data-page="home"] .home-simple-copy .hero-actions {
    margin-top: 0;
}

body[data-page="home"] .home-simple-copy .hero-actions .btn {
    min-width: 210px;
}

body[data-page="home"] .home-hero-media {
    display: grid;
}

body[data-page="home"] .home-hero-image-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 34px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.92), transparent 54%),
        radial-gradient(circle at 78% 20%, rgba(216, 36, 36, 0.06), transparent 22%),
        linear-gradient(160deg, #fcfcfa 0%, #f1efea 54%, #ebe8e1 100%);
    box-shadow: 0 24px 48px rgba(23, 23, 23, 0.07);
}

body[data-page="home"] .home-hero-image-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    border: 1px solid rgba(226, 221, 213, 0.68);
    pointer-events: none;
}

body[data-page="home"] .home-hero-image-card::after {
    content: "";
    position: absolute;
    inset: auto 70px 34px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 23, 23, 0.16), transparent 72%);
    filter: blur(10px);
}

body[data-page="home"] .home-hero-image-card img {
    position: relative;
    z-index: 1;
    width: min(540px, 86%);
    object-fit: contain;
    filter: contrast(1.16) saturate(1.05) brightness(0.96) drop-shadow(0 24px 20px rgba(30, 30, 30, 0.16));
    transition: filter 0.35s ease;
}

body[data-page="home"] .home-hero-image-card:hover img {
    filter: contrast(1.18) saturate(1.08) brightness(0.98) drop-shadow(0 30px 24px rgba(30, 30, 30, 0.2));
}

body[data-page="home"] .home-workflow-section {
    margin-top: 0;
}

body[data-page="home"] .home-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

body[data-page="home"] .home-workflow-card {
    padding: 26px 24px;
    border-radius: 28px;
    border: 1px solid rgba(226, 221, 213, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 241, 0.96));
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.05);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

body[data-page="home"] .home-workflow-card:hover {
    transform: translateY(-7px);
    border-color: rgba(216, 36, 36, 0.18);
    box-shadow: 0 26px 52px rgba(23, 23, 23, 0.09);
}

body[data-page="home"] .home-workflow-card h3 {
    margin: 0 0 12px;
    color: #171717;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

body[data-page="home"] .home-workflow-card p {
    margin: 0;
    color: #5f5f5f;
    line-height: 1.68;
}

body[data-page="home"] .home-metrics-band {
    padding: 0 0 20px;
}

body[data-page="home"] .home-metrics-strip {
    margin-top: 0;
}

body[data-page="home"] .home-proof-section {
    padding-top: 76px;
}

@media (max-width: 1100px) {
    body[data-page="home"] .page-hero.home-hero {
        padding: 28px 0 36px;
    }

    body[data-page="home"] .home-simple-hero {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .home-simple-copy {
        max-width: none;
    }

    body[data-page="home"] .home-simple-copy .section-heading h1 {
        max-width: none;
        font-size: clamp(2.8rem, 7vw, 4rem);
    }

    body[data-page="home"] .home-hero-image-card {
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .page-hero.home-hero {
        padding: 20px 0 28px;
    }

    body[data-page="home"] .home-simple-hero {
        gap: 22px;
    }

    body[data-page="home"] .home-simple-copy .section-heading h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 11vw, 3.2rem);
        line-height: 1.04;
    }

    body[data-page="home"] .home-simple-copy .hero-actions .btn {
        min-width: 100%;
    }

    body[data-page="home"] .home-hero-image-card {
        min-height: 280px;
        padding: 20px;
        border-radius: 24px;
    }

    body[data-page="home"] .home-hero-image-card::before {
        inset: 10px;
        border-radius: 18px;
    }

    body[data-page="home"] .home-hero-image-card::after {
        inset: auto 40px 18px;
    }

    body[data-page="home"] .home-hero-image-card img {
        width: min(320px, 88%);
    }

    body[data-page="home"] .home-workflow-card {
        padding: 20px 18px;
        border-radius: 22px;
    }

    body[data-page="home"] .home-workflow-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin dashboard */
body[data-page="admin"] .site-header .icon-btn svg,
body[data-page="admin"] .header-actions .btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

body[data-page="admin"] {
    overflow-x: hidden;
}

body[data-page="admin"] .admin-hero {
    padding: 52px 0;
}

body[data-page="admin"] .admin-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 28px;
    align-items: center;
}

body[data-page="admin"] .admin-hero .section-heading {
    margin-bottom: 0;
    min-width: 0;
}

body[data-page="admin"] .admin-hero .section-heading h1 span {
    display: block;
}

body[data-page="admin"] .admin-hero .hero-actions {
    margin-top: 26px;
}

body[data-page="admin"] .admin-command-panel {
    position: relative;
    overflow: hidden;
    min-width: 0;
    display: grid;
    gap: 22px;
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 12%, rgba(240, 141, 75, 0.28), transparent 28%),
        linear-gradient(145deg, #1c1815 0%, #31221d 54%, #89241d 100%);
    color: #fff;
    box-shadow: var(--shadow-deep);
}

body[data-page="admin"] .admin-command-panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    pointer-events: none;
}

body[data-page="admin"] .admin-command-panel > * {
    position: relative;
    z-index: 1;
}

body[data-page="admin"] .admin-command-head,
body[data-page="admin"] .admin-section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

body[data-page="admin"] .admin-command-head {
    min-width: 0;
}

body[data-page="admin"] .admin-command-head strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.6rem;
}

body[data-page="admin"] .admin-pipeline,
body[data-page="admin"] .admin-task-list,
body[data-page="admin"] .admin-load-list,
body[data-page="admin"] .admin-bars,
body[data-page="admin"] .admin-region-list {
    display: grid;
    gap: 14px;
}

body[data-page="admin"] .admin-pipeline div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

body[data-page="admin"] .admin-pipeline span,
body[data-page="admin"] .admin-alert-strip {
    color: rgba(255,255,255,0.78);
}

body[data-page="admin"] .admin-pipeline strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.8rem;
}

body[data-page="admin"] .admin-pipeline i,
body[data-page="admin"] .admin-load-list i,
body[data-page="admin"] .admin-bars i {
    display: block;
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.14);
}

body[data-page="admin"] .admin-pipeline i::before,
body[data-page="admin"] .admin-load-list i::before,
body[data-page="admin"] .admin-bars i::before {
    content: "";
    display: block;
    width: var(--bar);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-warm), var(--gold));
}

body[data-page="admin"] .admin-alert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

body[data-page="admin"] .admin-alert-strip .tag {
    display: inline-block;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

body[data-page="admin"] .admin-overview-section {
    padding: 0 0 26px;
}

body[data-page="admin"] .admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body[data-page="admin"] .admin-kpi-card {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    min-width: 0;
}

body[data-page="admin"] .admin-kpi-card strong {
    display: block;
    margin: 4px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
}

body[data-page="admin"] .admin-kpi-card p {
    font-size: 0.92rem;
}

body[data-page="admin"] .admin-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(182, 38, 31, 0.1);
    color: var(--accent);
}

body[data-page="admin"] .admin-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

body[data-page="admin"] .admin-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 24px;
    align-items: start;
}

body[data-page="admin"] .admin-side-stack {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

body[data-page="admin"] .admin-request-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

body[data-page="admin"] .admin-request-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--gold));
}

body[data-page="admin"] .admin-side-card {
    gap: 18px;
}

body[data-page="admin"] .admin-task-list > div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(246, 239, 231, 0.82);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="admin"] .admin-task-list strong {
    display: block;
    margin: 10px 0 4px;
}

body[data-page="admin"] .admin-task-list p {
    font-size: 0.92rem;
}

body[data-page="admin"] .admin-load-list > div,
body[data-page="admin"] .admin-bars > div {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(90px, 1.2fr) auto;
    gap: 12px;
    align-items: center;
}

body[data-page="admin"] .admin-load-list i,
body[data-page="admin"] .admin-bars i {
    grid-column: auto;
    background: rgba(32, 28, 25, 0.08);
}

body[data-page="admin"] .admin-load-list i::before,
body[data-page="admin"] .admin-bars i::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

body[data-page="admin"] .admin-section-row {
    margin-bottom: 22px;
}

body[data-page="admin"] .admin-section-row .section-heading {
    margin-bottom: 0;
}

body[data-page="admin"] .admin-section-row .filter-bar {
    justify-content: flex-end;
    padding-top: 12px;
}

body[data-page="admin"] .admin-table-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.52);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,244,0.9));
    box-shadow: var(--shadow-soft);
}

body[data-page="admin"] .admin-table {
    width: 100%;
    border-collapse: collapse;
}

body[data-page="admin"] .admin-table th,
body[data-page="admin"] .admin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
    text-align: left;
    vertical-align: middle;
}

body[data-page="admin"] .admin-table th {
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body[data-page="admin"] .admin-table td {
    color: var(--ink);
}

body[data-page="admin"] .admin-table td span:not(.tag) {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

body[data-page="admin"] .admin-table tbody tr:hover {
    background: rgba(246, 239, 231, 0.56);
}

body[data-page="admin"] .admin-analytics-grid,
body[data-page="admin"] .admin-compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body[data-page="admin"] .admin-chart-card,
body[data-page="admin"] .admin-catalog-card,
body[data-page="admin"] .admin-region-card {
    min-height: 340px;
}

body[data-page="admin"] .admin-chart-card {
    grid-column: span 1;
}

body[data-page="admin"] .admin-health-ring {
    display: grid;
    place-items: center;
    justify-self: center;
    width: 180px;
    aspect-ratio: 1 / 1;
    margin: 12px 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--surface-strong) 0 56%, transparent 57%),
        conic-gradient(var(--accent) 0 91%, rgba(32, 28, 25, 0.08) 91% 100%);
    box-shadow: inset 0 0 0 1px rgba(32, 28, 25, 0.04);
}

body[data-page="admin"] .admin-health-ring strong {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 2.3rem;
    line-height: 1;
}

body[data-page="admin"] .admin-health-ring span {
    margin-top: -34px;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

body[data-page="admin"] .admin-region-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="admin"] .admin-region-list strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

body[data-page="admin"] .admin-compliance-panel {
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 92% 0%, rgba(182, 38, 31, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.28));
    border: 1px solid rgba(255,255,255,0.42);
}

body[data-page="admin"] .admin-compliance-panel .section-heading {
    margin-bottom: 24px;
}

@media (max-width: 1100px) {
    body[data-page="admin"] .admin-hero-grid,
    body[data-page="admin"] .admin-workspace-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="admin"] .admin-kpi-grid,
    body[data-page="admin"] .admin-analytics-grid,
    body[data-page="admin"] .admin-compliance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="admin"] .admin-side-stack {
        position: static;
    }

    body[data-page="admin"] .admin-section-row {
        display: grid;
    }

    body[data-page="admin"] .admin-section-row .filter-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    body[data-page="admin"] .site-header .container {
        width: min(100%, calc(100% - 24px));
    }

    body[data-page="admin"] .brand {
        gap: 10px;
    }

    body[data-page="admin"] .brand img {
        height: 54px;
    }

    body[data-page="admin"] .brand-copy span {
        display: none;
    }

    body[data-page="admin"] .header-actions {
        gap: 8px;
    }

    body[data-page="admin"] .header-actions .btn.secondary {
        display: none;
    }

    body[data-page="admin"] .icon-btn,
    body[data-page="admin"] .menu-toggle {
        width: 44px;
        height: 44px;
    }

    body[data-page="admin"] .admin-hero {
        padding: 42px 0;
    }

    body[data-page="admin"] .page-hero .section-heading h1 {
        font-size: 2.1rem;
        line-height: 1.06;
    }

    body[data-page="admin"] .admin-command-panel,
    body[data-page="admin"] .admin-compliance-panel {
        padding: 20px;
        border-radius: 24px;
    }

    body[data-page="admin"] .admin-command-head {
        display: grid;
    }

    body[data-page="admin"] .admin-command-head .tag {
        justify-self: start;
    }

    body[data-page="admin"] .admin-pipeline div {
        grid-template-columns: 1fr;
    }

    body[data-page="admin"] .admin-pipeline strong {
        justify-self: start;
    }

    body[data-page="admin"] .admin-alert-strip {
        display: grid;
        grid-template-columns: 1fr;
    }

    body[data-page="admin"] .admin-kpi-grid,
    body[data-page="admin"] .admin-analytics-grid,
    body[data-page="admin"] .admin-compliance-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="admin"] .admin-kpi-card {
        grid-template-columns: auto 1fr;
    }

    body[data-page="admin"] .admin-kpi-card .tag {
        grid-column: 2;
        justify-self: start;
    }

    body[data-page="admin"] .admin-load-list > div,
    body[data-page="admin"] .admin-bars > div {
        grid-template-columns: 1fr auto;
    }

    body[data-page="admin"] .admin-load-list i,
    body[data-page="admin"] .admin-bars i {
        grid-column: 1 / -1;
        order: 3;
    }

    body[data-page="admin"] .admin-table-card {
        overflow-x: auto;
    }

    body[data-page="admin"] .admin-table {
        min-width: 760px;
    }
}

/* Smart complaint handling */
body[data-page="claims"] {
    overflow-x: hidden;
}

body[data-page="claims"] .site-header .icon-btn svg,
body[data-page="claims"] .header-actions .btn svg,
body[data-page="claims"] .claims-upload-icon svg,
body[data-page="claims"] .claims-preview-mark svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

body[data-page="claims"] .claims-hero {
    padding: 54px 0;
}

body[data-page="claims"] .claims-hero-grid,
body[data-page="claims"] .claims-workspace,
body[data-page="claims"] .claims-after-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.52fr);
    gap: 26px;
    align-items: start;
}

body[data-page="claims"] .claims-hero-grid {
    align-items: center;
}

body[data-page="claims"] .claims-hero .section-heading {
    margin-bottom: 0;
    min-width: 0;
}

body[data-page="claims"] .claims-hero .section-heading h1 {
    letter-spacing: 0;
}

body[data-page="claims"] .claims-hero .section-heading h1 span {
    display: block;
}

body[data-page="claims"] .claims-hero .hero-actions {
    margin-top: 26px;
}

body[data-page="claims"] .claims-intake-card,
body[data-page="claims"] .claims-policy-panel,
body[data-page="claims"] .claims-upload-panel,
body[data-page="claims"] .claims-human-panel {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,250,244,0.88));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

body[data-page="claims"] .claims-intake-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 22px;
    padding: 28px;
    border-color: rgba(255,255,255,0.16);
    background:
        radial-gradient(circle at 86% 14%, rgba(240, 141, 75, 0.26), transparent 26%),
        linear-gradient(145deg, #1b1714 0%, #32221d 52%, #8e231d 100%);
    color: #fff;
    box-shadow: var(--shadow-deep);
}

body[data-page="claims"] .claims-intake-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    pointer-events: none;
}

body[data-page="claims"] .claims-intake-card > * {
    position: relative;
    z-index: 1;
}

body[data-page="claims"] .claims-intake-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

body[data-page="claims"] .claims-intake-card > strong {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    line-height: 0.9;
}

body[data-page="claims"] .claims-mini-bars {
    display: grid;
    gap: 15px;
}

body[data-page="claims"] .claims-mini-bars div {
    display: grid;
    gap: 8px;
}

body[data-page="claims"] .claims-mini-bars span {
    color: rgba(255,255,255,0.78);
}

body[data-page="claims"] .claims-mini-bars i,
body[data-page="claims"] .claims-risk-meter,
body[data-page="claims"] .claims-risk-meter span {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-pill);
}

body[data-page="claims"] .claims-mini-bars i {
    height: 9px;
    background: rgba(255,255,255,0.14);
}

body[data-page="claims"] .claims-mini-bars i::before {
    content: "";
    display: block;
    width: var(--bar);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-warm), var(--gold));
}

body[data-page="claims"] .claims-route-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
}

body[data-page="claims"] .claims-route-strip span {
    color: rgba(255,255,255,0.74);
}

body[data-page="claims"] .claims-route-strip b {
    color: #fff;
    font-family: var(--font-display);
}

body[data-page="claims"] .claims-upload-panel,
body[data-page="claims"] .claims-human-panel {
    padding: 30px;
}

body[data-page="claims"] .claims-upload-zone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 240px;
    padding: 36px 24px;
    margin-bottom: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(240,141,75,0.12), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.84));
    border: 1px dashed rgba(182, 38, 31, 0.28);
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body[data-page="claims"] .claims-upload-zone:hover {
    transform: translateY(-3px);
    border-color: rgba(182, 38, 31, 0.46);
    box-shadow: 0 20px 42px rgba(62, 44, 28, 0.1);
}

body[data-page="claims"] .claims-upload-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

body[data-page="claims"] .claims-upload-icon,
body[data-page="claims"] .claims-preview-mark {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(182, 38, 31, 0.1);
    color: var(--accent);
}

body[data-page="claims"] .claims-upload-zone strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
}

body[data-page="claims"] .claims-upload-zone span:last-child {
    max-width: 520px;
    color: var(--ink-soft);
}

body[data-page="claims"] .claims-preview-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(rgba(32, 28, 25, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 28, 25, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #faf5ee 0%, #f0e6da 100%);
    background-size: 36px 36px, 36px 36px, auto;
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="claims"] .claims-preview-card img {
    display: none;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    padding: 18px;
}

body[data-page="claims"] .claims-preview-card img.is-visible {
    display: block;
}

body[data-page="claims"] .claims-preview-empty {
    display: grid;
    place-items: center;
    gap: 12px;
    color: var(--ink-soft);
    text-align: center;
}

body[data-page="claims"] .claims-form {
    display: grid;
    gap: 4px;
}

body[data-page="claims"] .claims-status-stack {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

body[data-page="claims"] .claims-ticket-id {
    padding: 16px;
    border-radius: 20px;
    background: rgba(182, 38, 31, 0.08);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

body[data-page="claims"] .claims-ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr) minmax(280px, 0.52fr);
    gap: 22px;
}

body[data-page="claims"] .claims-result-card,
body[data-page="claims"] .claims-risk-card,
body[data-page="claims"] .claims-route-card {
    min-height: 100%;
}

body[data-page="claims"] .claims-result-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

body[data-page="claims"] .claims-result-head h3 {
    margin-top: 6px;
}

body[data-page="claims"] .claims-confidence {
    display: inline-grid;
    place-items: center;
    width: 82px;
    aspect-ratio: 1 / 1;
    flex: 0 0 82px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0 var(--confidence, 0%), rgba(32,28,25,0.08) var(--confidence, 0%) 100%);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

body[data-page="claims"] .claims-evidence-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

body[data-page="claims"] .claims-evidence-list span {
    padding: 8px 11px;
    border-radius: var(--radius-pill);
    background: rgba(182, 38, 31, 0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
}

body[data-page="claims"] .claims-risk-meter {
    height: 14px;
    margin: 20px 0 8px;
    background: rgba(32, 28, 25, 0.08);
}

body[data-page="claims"] .claims-risk-meter span {
    width: var(--score);
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
    transition: width 0.35s ease;
}

body[data-page="claims"] .claims-risk-labels {
    display: flex;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

body[data-page="claims"] .claims-route-steps {
    display: grid;
    gap: 12px;
}

body[data-page="claims"] .claims-route-steps > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(246, 239, 231, 0.72);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="claims"] .claims-route-steps span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    grid-row: span 2;
    border-radius: 50%;
    background: rgba(32, 28, 25, 0.08);
    color: var(--ink-soft);
    font-weight: 800;
}

body[data-page="claims"] .claims-route-steps p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

body[data-page="claims"] .claims-route-steps .active span {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
}

body[data-page="claims"] .claims-route-steps .is-warning span {
    background: linear-gradient(135deg, var(--warning), var(--danger));
}

body[data-page="claims"] .claims-solution-board {
    display: grid;
    gap: 18px;
}

body[data-page="claims"] .claims-solution-card {
    position: relative;
    overflow: hidden;
}

body[data-page="claims"] .claims-solution-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--success), var(--accent-warm), var(--gold));
}

body[data-page="claims"] .claims-solution-board.needs-human .claims-solution-card::before {
    background: linear-gradient(90deg, var(--warning), var(--danger));
}

body[data-page="claims"] .claims-policy-panel {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
    padding: 26px;
}

body[data-page="claims"] .claims-policy-panel h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

body[data-page="claims"] .claims-policy-list {
    display: grid;
    gap: 14px;
}

body[data-page="claims"] .claims-policy-list > div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(246, 239, 231, 0.82);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="claims"] .claims-policy-list strong {
    display: block;
    margin: 10px 0 4px;
}

body[data-page="claims"] .claims-policy-list p {
    margin: 0;
    color: var(--ink-soft);
}

body[data-page="claims"] .claims-human-panel {
    background:
        radial-gradient(circle at 90% 0%, rgba(182, 38, 31, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,250,244,0.68));
}

body[data-page="claims"] .claims-human-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 22px;
}

body[data-page="claims"] .claims-chat {
    display: grid;
    gap: 14px;
}

body[data-page="claims"] .claims-chat > div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(246, 239, 231, 0.82);
    border: 1px solid rgba(32, 28, 25, 0.08);
}

body[data-page="claims"] .claims-chat strong {
    color: var(--accent);
}

body[data-page="claims"] .claims-chat p {
    margin-top: 6px;
}

body[data-page="claims"] .btn.is-loading {
    pointer-events: none;
    opacity: 0.74;
}

body[data-page="claims"] .btn.is-loading::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.42);
    border-top-color: #fff;
    animation: claimsSpin 0.7s linear infinite;
}

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

@media (max-width: 1100px) {
    body[data-page="claims"] .claims-hero-grid,
    body[data-page="claims"] .claims-workspace,
    body[data-page="claims"] .claims-after-grid,
    body[data-page="claims"] .claims-ai-grid,
    body[data-page="claims"] .claims-human-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="claims"] .claims-status-stack,
    body[data-page="claims"] .claims-policy-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    body[data-page="claims"] .site-header .container {
        width: min(100%, calc(100% - 24px));
    }

    body[data-page="claims"] .brand img {
        height: 54px;
    }

    body[data-page="claims"] .brand-copy span {
        display: none;
    }

    body[data-page="claims"] .header-actions .btn.secondary {
        display: none;
    }

    body[data-page="claims"] .icon-btn,
    body[data-page="claims"] .menu-toggle {
        width: 44px;
        height: 44px;
    }

    body[data-page="claims"] .claims-hero {
        padding: 42px 0;
    }

    body[data-page="claims"] .page-hero .section-heading h1 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    body[data-page="claims"] .claims-upload-panel,
    body[data-page="claims"] .claims-human-panel,
    body[data-page="claims"] .claims-policy-panel,
    body[data-page="claims"] .claims-intake-card {
        padding: 20px;
        border-radius: 24px;
    }

    body[data-page="claims"] .claims-upload-zone {
        min-height: 210px;
        padding: 28px 18px;
    }

    body[data-page="claims"] .claims-preview-card {
        min-height: 220px;
    }

    body[data-page="claims"] .claims-result-head {
        display: grid;
    }

    body[data-page="claims"] .claims-confidence {
        width: 72px;
    }

body[data-page="claims"] .claims-route-strip {
        grid-template-columns: 1fr;
    }
}

/* Home page production polish */
body[data-page="home"] {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.72), rgba(244,246,243,0.92)),
        radial-gradient(circle at 86% 10%, rgba(61, 89, 103, 0.12), transparent 24%),
        radial-gradient(circle at 8% 18%, rgba(211, 55, 47, 0.08), transparent 24%);
}

body[data-page="home"] .site-header::before {
    background: rgba(250, 251, 247, 0.88);
}

.cart-trigger {
    position: relative;
    min-height: 46px;
    padding: 10px 14px;
}

.cart-trigger .cart-count {
    position: static;
    min-width: 22px;
    height: 22px;
    margin-left: 2px;
    background: var(--steel);
}

body[data-page="home"] .page-hero.home-hero {
    margin: 0 auto 28px;
    padding: 22px 0 30px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(239,244,243,0.94) 42%, rgba(251,247,240,0.96) 100%);
    border-color: rgba(23, 27, 29, 0.08);
    box-shadow: 0 22px 64px rgba(23, 27, 29, 0.08);
}

body[data-page="home"] .page-hero.home-hero::before,
body[data-page="home"] .page-hero.home-hero::after {
    display: none;
}

body[data-page="home"] .home-announce-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
}

body[data-page="home"] .home-announce-copy {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

body[data-page="home"] .home-announce-copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

body[data-page="home"] .home-announce-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(61, 89, 103, 0.12);
    color: var(--steel);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

body[data-page="home"] .home-announce-link {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
}

body[data-page="home"] .home-command-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(26px, 4vw, 58px);
    align-items: center;
}

body[data-page="home"] .home-simple-copy {
    max-width: 680px;
}

body[data-page="home"] .home-simple-copy .section-heading {
    margin-bottom: 28px;
}

body[data-page="home"] .home-hero-title {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    max-width: 100%;
}

body[data-page="home"] .home-hero-line {
    display: block;
    color: var(--ink);
    font-size: clamp(3rem, 5.35vw, 5.55rem);
    line-height: 0.96;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

body[data-page="home"] .home-hero-line-accent {
    color: var(--accent);
}

body[data-page="home"] .home-simple-copy .section-heading p {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

body[data-page="home"] .home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

body[data-page="home"] .home-trust-row span {
    padding: 9px 12px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.76);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

body[data-page="home"] .home-command-card {
    position: relative;
    display: grid;
    gap: 16px;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(23, 27, 29, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,246,246,0.92));
    box-shadow: var(--shadow-deep);
}

body[data-page="home"] .home-command-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 27, 29, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 27, 29, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.46), transparent 70%);
    pointer-events: none;
}

body[data-page="home"] .home-command-head,
body[data-page="home"] .home-showcase-panel,
body[data-page="home"] .home-command-lines {
    position: relative;
    z-index: 1;
}

body[data-page="home"] .home-command-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(23, 27, 29, 0.88);
    color: #fff;
}

body[data-page="home"] .home-command-head strong {
    margin-right: auto;
    font-size: 0.92rem;
}

body[data-page="home"] .home-command-head > span {
    color: rgba(255,255,255,0.72);
    font-size: 0.82rem;
}

body[data-page="home"] .home-command-dots {
    display: inline-flex;
    gap: 5px;
}

body[data-page="home"] .home-command-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

body[data-page="home"] .home-command-dots span:nth-child(2) {
    background: var(--accent-warm);
}

body[data-page="home"] .home-command-dots span:nth-child(3) {
    background: var(--success);
}

body[data-page="home"] .home-showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(260px, 1fr);
    min-height: 360px;
    overflow: hidden;
    border-radius: 10px;
    background:
        radial-gradient(circle at 72% 42%, rgba(211,55,47,0.12), transparent 28%),
        linear-gradient(135deg, #f8fbfa 0%, #e6eeee 58%, #f8f1e7 100%);
    border: 1px solid rgba(23, 27, 29, 0.08);
}

body[data-page="home"] .home-showcase-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px;
}

body[data-page="home"] .home-showcase-copy h3 {
    margin: 18px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.1vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: 0;
}

body[data-page="home"] .home-showcase-copy p {
    margin: 0;
    color: var(--ink-soft);
}

body[data-page="home"] .home-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body[data-page="home"] .home-showcase-tags span {
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(211,55,47,0.1);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
}

body[data-page="home"] .home-showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

body[data-page="home"] .home-showcase-stat {
    display: grid;
    align-content: start;
    gap: 3px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(23, 27, 29, 0.08);
}

body[data-page="home"] .home-showcase-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

body[data-page="home"] .home-showcase-stat span {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

body[data-page="home"] .home-showcase-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 320px;
}

body[data-page="home"] .home-showcase-halo {
    position: absolute;
    width: min(360px, 86%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.32) 45%, transparent 72%);
    border: 1px solid rgba(255,255,255,0.7);
}

body[data-page="home"] .home-showcase-visual img {
    position: relative;
    z-index: 2;
    width: min(330px, 88%);
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 28px 36px rgba(23, 27, 29, 0.24));
    transform: rotate(-5deg);
}

body[data-page="home"] .home-floating-badge {
    position: absolute;
    z-index: 3;
    width: max-content;
    max-width: 168px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(23, 27, 29, 0.08);
    box-shadow: 0 14px 30px rgba(23, 27, 29, 0.11);
}

body[data-page="home"] .home-floating-badge strong,
body[data-page="home"] .home-floating-badge span {
    display: block;
}

body[data-page="home"] .home-floating-badge strong {
    font-size: 0.86rem;
}

body[data-page="home"] .home-floating-badge span {
    color: var(--ink-soft);
    font-size: 0.74rem;
}

body[data-page="home"] .home-floating-badge-top {
    top: 26px;
    right: 20px;
}

body[data-page="home"] .home-floating-badge-bottom {
    left: 20px;
    bottom: 22px;
}

body[data-page="home"] .home-command-lines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="home"] .home-command-lines span {
    min-height: 58px;
    padding: 11px;
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(23, 27, 29, 0.08);
    color: var(--ink-soft);
    font-size: 0.86rem;
}

body[data-page="home"] .home-command-lines strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-family: var(--font-display);
}

body[data-page="home"] .home-logo-band {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

body[data-page="home"] .home-logo-label {
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

body[data-page="home"] .home-logo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="home"] .home-logo-strip span {
    display: grid;
    min-height: 58px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(23, 27, 29, 0.08);
    color: var(--steel);
    font-weight: 800;
}

body[data-page="home"] .section-shell::before {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(244,246,243,0.34));
}

body[data-page="home"] .home-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

body[data-page="home"] .home-workflow-card {
    min-height: 260px;
    padding: 22px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.86);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body[data-page="home"] .home-workflow-card:hover {
    transform: translateY(-5px);
    border-color: rgba(211, 55, 47, 0.18);
    box-shadow: 0 24px 54px rgba(23, 27, 29, 0.1);
}

body[data-page="home"] .workflow-step {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: rgba(61, 89, 103, 0.12);
    color: var(--steel);
    font-family: var(--font-display);
    font-weight: 800;
}

body[data-page="home"] .home-workflow-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.28rem;
}

body[data-page="home"] .home-workflow-card p {
    margin: 0;
    color: var(--ink-soft);
}

body[data-page="home"] .home-hazard-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

body[data-page="home"] .home-hazard-copy h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0;
}

body[data-page="home"] .home-hazard-copy p {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

body[data-page="home"] .home-hazard-buttons {
    display: grid;
    gap: 10px;
}

body[data-page="home"] .home-hazard-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.84);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

body[data-page="home"] .home-hazard-button:hover,
body[data-page="home"] .home-hazard-button.active {
    transform: translateX(4px);
    border-color: rgba(211, 55, 47, 0.28);
    background: #fff;
}

body[data-page="home"] .home-hazard-button span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

body[data-page="home"] .home-hazard-button strong {
    display: block;
    font-size: 0.98rem;
}

body[data-page="home"] .home-hazard-button em {
    flex: 0 0 auto;
    color: var(--accent);
    font-style: normal;
    font-weight: 900;
}

body[data-page="home"] .home-hazard-results {
    padding: 18px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,245,245,0.9));
    box-shadow: var(--shadow-soft);
}

body[data-page="home"] .home-hazard-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(23, 27, 29, 0.88);
    color: #fff;
}

body[data-page="home"] .home-hazard-results-head span {
    color: rgba(255,255,255,0.72);
    font-size: 0.84rem;
}

body[data-page="home"] .home-match-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body[data-page="home"] .home-match-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    min-height: 190px;
    padding: 14px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.82);
}

body[data-page="home"] .home-match-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbfa, #e5eeee);
    padding: 10px;
}

body[data-page="home"] .home-match-card h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.1;
}

body[data-page="home"] .home-match-card p {
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-size: 0.87rem;
    line-height: 1.48;
}

body[data-page="home"] .home-match-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body[data-page="home"] .home-match-actions .btn,
body[data-page="home"] .home-match-actions .ghost-btn {
    padding: 9px 12px;
    font-size: 0.82rem;
}

body[data-page="home"] .home-metrics-band {
    margin: 0 0 26px;
}

body[data-page="home"] .home-metrics-strip {
    margin-top: 0;
    padding: 18px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #1f282b, #3d5967);
    box-shadow: var(--shadow-deep);
}

body[data-page="home"] .home-metrics-strip .hero-metric {
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
}

body[data-page="home"] .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .home-grid-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

body[data-page="home"] .home-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 18px;
}

body[data-page="home"] .home-quote-card,
body[data-page="home"] .home-cta-card {
    padding: clamp(26px, 4vw, 44px);
    border-radius: 12px;
    border: 1px solid rgba(23, 27, 29, 0.08);
    box-shadow: var(--shadow-soft);
}

body[data-page="home"] .home-quote-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232,240,241,0.88));
}

body[data-page="home"] .home-quote {
    margin: 0 0 24px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.12;
}

body[data-page="home"] .home-quote-meta {
    display: grid;
    gap: 4px;
}

body[data-page="home"] .home-quote-meta span {
    color: var(--ink-soft);
}

body[data-page="home"] .home-cta-card {
    background:
        linear-gradient(135deg, #1f282b 0%, #324a54 62%, #98211c 100%);
    color: #fff;
}

body[data-page="home"] .home-cta-card .eyebrow {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

body[data-page="home"] .home-cta-card h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: 0;
}

body[data-page="home"] .home-cta-card p {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.78);
}

body[data-page="home"] .home-cta-card .btn.secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.18);
}

.product-card,
.surface-card,
.info-card,
.feature-card,
.detail-card,
.summary-card,
.modal-panel,
.cart-panel,
.config-card {
    border-radius: 8px;
}

.product-media {
    min-height: 220px;
}

.product-actions .btn,
.product-actions .ghost-btn {
    padding-right: 12px;
    padding-left: 12px;
    white-space: normal;
}

@media (max-width: 1100px) {
    body[data-page="home"] .home-command-hero,
    body[data-page="home"] .home-hazard-layout,
    body[data-page="home"] .home-proof-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-simple-copy {
        max-width: none;
    }

    body[data-page="home"] .home-workflow-grid,
    body[data-page="home"] .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .home-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .page-hero.home-hero {
        padding: 18px 0 28px;
        border-radius: 16px;
    }

    .cart-trigger {
        display: none;
    }

    body[data-page="home"] .header-cta {
        display: none;
    }

    body[data-page="home"] .auth-entry {
        display: none;
    }

    body[data-page="home"] .site-header .container {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body[data-page="home"] .home-announce-bar,
    body[data-page="home"] .home-announce-copy,
    body[data-page="home"] .home-grid-actions,
    body[data-page="home"] .home-command-lines {
        display: grid;
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-command-head {
        flex-wrap: wrap;
    }

    body[data-page="home"] .home-showcase-panel,
    body[data-page="home"] .home-workflow-grid,
    body[data-page="home"] .home-product-grid,
    body[data-page="home"] .home-match-grid,
    body[data-page="home"] .home-logo-strip {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-showcase-copy {
        padding: 22px;
    }

    body[data-page="home"] .home-showcase-visual {
        min-height: 330px;
    }

    body[data-page="home"] .home-floating-badge {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        justify-self: stretch;
        max-width: none;
        width: auto;
        margin: 0 18px 12px;
    }

    body[data-page="home"] .home-match-card {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: auto;
    }

    body[data-page="home"] .home-match-card img {
        height: 128px;
    }

    body[data-page="home"] .home-metrics-strip {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-hero-line {
        font-size: clamp(2.55rem, 12vw, 3.35rem);
        line-height: 1.02;
    }
}

/* Minimal home direction */
body[data-page="home"] .page-shell {
    padding-top: 18px;
    overflow: hidden;
}

body[data-page="home"] .page-hero.home-hero {
    min-height: auto;
    display: grid;
    align-items: center;
    margin-bottom: 0;
    padding: 58px 0 42px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, #fbfcfa 0%, #eef4f3 100%);
    box-shadow: none;
}

body[data-page="home"] .home-apple-hero {
    display: grid;
    gap: clamp(26px, 4vw, 42px);
    text-align: center;
}

body[data-page="home"] .home-apple-copy {
    display: grid;
    justify-items: center;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

body[data-page="home"] .home-apple-copy .eyebrow {
    margin-bottom: 16px;
    background: transparent;
}

body[data-page="home"] .home-apple-copy h1 {
    max-width: 820px;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4.4vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

body[data-page="home"] .home-apple-copy h1 span {
    display: inline;
}

body[data-page="home"] .home-apple-copy h1 span:nth-child(1)::after,
body[data-page="home"] .home-apple-copy h1 span:nth-child(3)::after {
    content: " ";
}

body[data-page="home"] .home-apple-copy h1 span:nth-child(2)::after {
    content: "";
    display: block;
}

body[data-page="home"] .home-apple-copy p {
    max-width: 680px;
    width: min(680px, 100%);
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

body[data-page="home"] .home-apple-copy .hero-actions {
    justify-content: center;
    margin-top: 28px;
}

body[data-page="home"] .home-apple-product {
    display: grid;
    place-items: center;
    min-height: 260px;
}

body[data-page="home"] .home-apple-product img {
    width: min(620px, 72%);
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 34px 44px rgba(23, 27, 29, 0.2));
}

body[data-page="home"] .section-shell {
    margin-bottom: 0;
    padding: 72px 0;
}

body[data-page="home"] .section-shell::before {
    display: none;
}

body[data-page="home"] .section-heading {
    margin-bottom: 34px;
}

body[data-page="home"] .section-heading h2 {
    margin: 0 auto;
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(2.15rem, 4vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: 0;
}

body[data-page="home"] .home-minimal-section {
    background: #fff;
}

body[data-page="home"] .home-minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(23, 27, 29, 0.08);
}

body[data-page="home"] .home-minimal-grid article {
    min-height: 260px;
    padding: clamp(24px, 3vw, 42px);
    background: #f6f8f6;
}

body[data-page="home"] .home-minimal-grid span {
    display: block;
    margin-bottom: 58px;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
}

body[data-page="home"] .home-minimal-grid h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
}

body[data-page="home"] .home-minimal-grid p {
    max-width: 260px;
    margin: 0;
    color: var(--ink-soft);
}

body[data-page="home"] .home-catalog-section {
    background: linear-gradient(180deg, #f6f8f6, #fff);
}

body[data-page="home"] .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body[data-page="home"] .home-product-tile {
    display: grid;
    justify-items: center;
    min-height: 520px;
    padding: clamp(24px, 4vw, 46px);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 48px rgba(23, 27, 29, 0.07);
}

body[data-page="home"] .home-product-tile img {
    width: min(260px, 90%);
    height: 270px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 24px 28px rgba(23, 27, 29, 0.14));
}

body[data-page="home"] .home-product-tile h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.5vw, 2.45rem);
    line-height: 1;
}

body[data-page="home"] .home-product-tile p {
    max-width: 300px;
    margin: 0 0 22px;
    color: var(--ink-soft);
}

body[data-page="home"] .home-product-tile .ghost-btn {
    margin-top: auto;
}

body[data-page="home"] .home-minimal-cta {
    display: grid;
    justify-items: center;
    min-height: 440px;
    align-content: center;
    padding: clamp(34px, 6vw, 74px);
    border-radius: 24px;
    background:
        linear-gradient(135deg, #1f282b 0%, #324a54 68%, #98211c 100%);
    color: #fff;
    text-align: center;
}

body[data-page="home"] .home-minimal-cta h2 {
    max-width: 740px;
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0;
}

body[data-page="home"] .home-minimal-cta p {
    max-width: 610px;
    margin: 22px 0 28px;
    color: rgba(255,255,255,0.78);
    font-size: 1.1rem;
}

@media (max-width: 1100px) {
    body[data-page="home"] .home-product-grid,
    body[data-page="home"] .home-minimal-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .home-product-tile {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .page-hero.home-hero {
        min-height: auto;
        padding: 46px 0 54px;
    }

    body[data-page="home"] .home-apple-copy h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 10vw, 2.9rem);
        line-height: 1.06;
        overflow-wrap: break-word;
    }

    body[data-page="home"] .home-apple-copy p {
        width: min(100%, 280px);
    }

    body[data-page="home"] .home-apple-copy h1 span {
        display: block;
    }

    body[data-page="home"] .home-apple-copy h1 span::after {
        content: "" !important;
        display: none !important;
    }

    body[data-page="home"] .home-apple-product {
        min-height: 210px;
    }

    body[data-page="home"] .home-apple-product img {
        width: min(340px, 88vw);
        max-height: 270px;
    }

    body[data-page="home"] .home-minimal-grid article {
        min-height: 220px;
    }

    body[data-page="home"] .home-minimal-grid span {
        margin-bottom: 40px;
    }

    body[data-page="home"] .home-product-tile {
        padding: 28px 20px;
    }

    body[data-page="home"] .home-product-tile img {
        height: 230px;
    }

    body[data-page="home"] .home-grid-actions .btn {
        width: 100%;
    }
}

/* Minimal inner pages */
body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-shell {
    padding-top: 0;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero {
    margin-bottom: 0;
    padding: 46px 0 40px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fbfcfa 0%, #f0f5f4 100%);
    box-shadow: none;
    text-align: center;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero::before,
body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero::after {
    display: none;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading h1 {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.7rem, 4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading h1 span {
    display: block;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading p {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.24rem);
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-shell {
    margin-bottom: 0;
    padding: 50px 0;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-shell::before {
    display: none;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-heading {
    margin-bottom: 28px;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-heading h2 {
    font-size: clamp(2rem, 2.9vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

body[data-page="products"] .product-layout {
    display: block;
}

body[data-page="products"] .detail-spotlight {
    display: none;
}

body[data-page="products"] .product-grid,
body[data-page="selection"] .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

body[data-page="products"] .product-card,
body[data-page="selection"] .product-card {
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 27, 29, 0.07);
}

body[data-page="products"] .product-card::before,
body[data-page="products"] .product-card::after,
body[data-page="selection"] .product-card::before,
body[data-page="selection"] .product-card::after {
    display: none;
}

body[data-page="products"] .product-media,
body[data-page="selection"] .product-media {
    min-height: 220px;
    background: linear-gradient(180deg, #f8fbfa, #eef4f3);
}

body[data-page="products"] .product-media img,
body[data-page="selection"] .product-media img {
    max-height: 185px;
    object-fit: contain;
}

body[data-page="products"] .product-card-body,
body[data-page="selection"] .product-card-body {
    display: grid;
    justify-items: center;
    min-height: 230px;
    text-align: center;
}

body[data-page="products"] .product-card-body p,
body[data-page="selection"] .product-card-body p {
    max-width: 280px;
}

body[data-page="products"] .product-actions,
body[data-page="selection"] .product-actions {
    width: 100%;
    margin-top: auto;
}

body[data-page="selection"] .tab-strip {
    justify-content: center;
}

body[data-page="selection"] .config-card,
body[data-page="selection"] .summary-card,
body[data-page="oem"] .config-card,
body[data-page="oem"] .summary-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 27, 29, 0.07);
}

body[data-page="oem"] .oem-stage {
    border-radius: 24px;
    box-shadow: 0 22px 58px rgba(23, 27, 29, 0.1);
}

.site-toast {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 160;
    max-width: 360px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: #1f282b;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 18px 48px rgba(23, 27, 29, 0.22);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-panel {
    width: min(820px, 100%);
    padding: 26px;
}

.cart-item {
    padding: 16px 0;
}

.cart-workflow {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.cart-workflow p {
    max-width: 620px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.cart-workflow-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-workflow-actions #clearCart {
    margin-left: auto;
}

.cart-workflow button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.selection-result-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 22px 0 18px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.selection-result-meta strong {
    color: var(--ink);
    font-size: 1rem;
}

.order-docs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.order-docs a {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.order-docs a:hover {
    color: var(--ink);
    border-color: rgba(23, 27, 29, 0.24);
}

/* Compact desktop workspaces */
body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .page-shell {
    padding-top: 0;
}

body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .section-shell {
    margin-bottom: 0;
    padding: 48px 0;
}

body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .section-shell::before {
    display: none;
}

body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .section-heading {
    margin-bottom: 24px;
}

body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .section-heading h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: 0;
}

body[data-page="login"] .login-hero,
body[data-page="admin"] .admin-hero,
body[data-page="claims"] .claims-hero {
    padding: 50px 0 44px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fbfcfa 0%, #eef4f3 100%);
    box-shadow: none;
}

body[data-page="login"] .login-hero::before,
body[data-page="login"] .login-hero::after,
body[data-page="admin"] .admin-hero::before,
body[data-page="admin"] .admin-hero::after,
body[data-page="claims"] .claims-hero::before,
body[data-page="claims"] .claims-hero::after {
    display: none;
}

body[data-page="login"] .login-hero-grid,
body[data-page="admin"] .admin-hero-grid,
body[data-page="claims"] .claims-hero-grid {
    display: block;
}

body[data-page="login"] .login-hero .section-heading,
body[data-page="admin"] .admin-hero .section-heading,
body[data-page="claims"] .claims-hero .section-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

body[data-page="login"] .login-hero .section-heading h1,
body[data-page="admin"] .admin-hero .section-heading h1,
body[data-page="claims"] .claims-hero .section-heading h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(2.8rem, 4.3vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: 0;
}

body[data-page="login"] .login-hero .section-heading p,
body[data-page="admin"] .admin-hero .section-heading p,
body[data-page="claims"] .claims-hero .section-heading p {
    max-width: 620px;
    margin: 18px auto 0;
    font-size: 1.08rem;
}

body[data-page="login"] .login-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    gap: 22px;
    max-width: 1120px;
}

body[data-page="login"] .login-panel,
body[data-page="login"] .login-role-card {
    padding: 24px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(23, 27, 29, 0.07);
}

body[data-page="login"] .login-demo-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="login"] .login-role-card p {
    min-height: 52px;
}

body[data-page="login"] .login-credential-list div {
    display: grid;
    gap: 2px;
    padding: 8px 0;
}

body[data-page="login"] .login-credential-list strong {
    text-align: left;
    font-size: 0.9rem;
}

body[data-page="claims"] .claims-hero .hero-actions {
    justify-content: center;
    margin-top: 24px;
}

body[data-page="claims"] .claims-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
}

body[data-page="claims"] .claims-upload-panel,
body[data-page="claims"] .claims-human-panel {
    padding: 24px;
}

body[data-page="claims"] .claims-upload-zone {
    min-height: 160px;
    padding: 24px;
    border-radius: 8px;
}

body[data-page="claims"] .claims-preview-card {
    min-height: 220px;
    border-radius: 8px;
}

body[data-page="claims"] .claims-ai-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.45fr) minmax(260px, 0.62fr);
    gap: 16px;
}

body[data-page="claims"] .claims-result-card,
body[data-page="claims"] .claims-risk-card,
body[data-page="claims"] .claims-route-card,
body[data-page="claims"] .claims-solution-card,
body[data-page="claims"] .claims-chat-card,
body[data-page="claims"] .claims-handoff-card {
    padding: 22px;
}

body[data-page="claims"] .claims-route-steps {
    gap: 8px;
}

body[data-page="claims"] .claims-route-steps > div {
    padding: 10px;
    border-radius: 8px;
}

body[data-page="admin"] .admin-hero .section-heading h1 span {
    display: inline;
}

body[data-page="admin"] .admin-hero .section-heading h1 span:first-child::after {
    content: " ";
}

body[data-page="admin"] .admin-overview-section {
    padding: 34px 0 10px;
}

body[data-page="admin"] .admin-kpi-grid {
    gap: 12px;
}

body[data-page="admin"] .admin-kpi-card {
    padding: 18px;
    box-shadow: 0 12px 32px rgba(23, 27, 29, 0.06);
}

body[data-page="admin"] .admin-kpi-card strong {
    font-size: 2rem;
}

body[data-page="admin"] .admin-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

body[data-page="admin"] .admin-workspace-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
}

body[data-page="admin"] .admin-request-card,
body[data-page="admin"] .admin-side-card,
body[data-page="admin"] .admin-chart-card,
body[data-page="admin"] .admin-catalog-card,
body[data-page="admin"] .admin-region-card,
body[data-page="admin"] .admin-compliance-panel {
    background: #fff;
    box-shadow: 0 14px 38px rgba(23, 27, 29, 0.06);
}

body[data-page="admin"] .admin-request-card::before {
    display: none;
}

body[data-page="admin"] .admin-table th,
body[data-page="admin"] .admin-table td {
    padding: 14px 16px;
}

body[data-page="admin"] .admin-chart-card,
body[data-page="admin"] .admin-catalog-card,
body[data-page="admin"] .admin-region-card {
    min-height: 290px;
}

body[data-page="admin"] button:disabled {
    opacity: 0.58;
    cursor: default;
}

/* Compact, consistently sized controls for the shared desktop header. */
body:not([data-page="admin"]) .site-header {
    padding: 10px 0;
}

body:not([data-page="admin"]) .site-header .container {
    grid-template-columns: minmax(260px, 290px) minmax(380px, 1fr) max-content;
    gap: 18px;
}

body:not([data-page="admin"]) .brand {
    gap: 11px;
}

body:not([data-page="admin"]) .brand img {
    height: 52px;
}

body:not([data-page="admin"]) .brand-copy span {
    white-space: nowrap;
    font-size: 0.82rem;
}

body:not([data-page="admin"]) .main-nav {
    gap: 12px;
}

body:not([data-page="admin"]) .main-nav a {
    padding: 8px 0;
    font-size: 0.9rem;
}

body:not([data-page="admin"]) .header-actions {
    gap: 8px;
}

body:not([data-page="admin"]) .header-actions > .btn,
body:not([data-page="admin"]) .header-actions > .ghost-btn,
body:not([data-page="admin"]) .header-actions .auth-login-btn,
body:not([data-page="admin"]) .header-actions .auth-chip {
    box-sizing: border-box;
    height: 40px;
}

body:not([data-page="admin"]) .header-actions > .btn,
body:not([data-page="admin"]) .header-actions > .ghost-btn,
body:not([data-page="admin"]) .header-actions .auth-login-btn {
    min-height: 0;
    padding: 0 14px;
    gap: 7px;
    font-size: 0.84rem;
    line-height: 1;
    box-shadow: none;
}

body:not([data-page="admin"]) .header-actions > .btn:hover,
body:not([data-page="admin"]) .header-actions > .ghost-btn:hover,
body:not([data-page="admin"]) .header-actions .auth-login-btn:hover {
    box-shadow: 0 8px 18px rgba(32, 28, 25, 0.09);
}

body:not([data-page="admin"]) .header-actions .cart-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 1px;
    font-size: 10px;
}

body:not([data-page="admin"]) .header-actions .auth-chip {
    gap: 7px;
    max-width: 260px;
    padding: 3px 5px 3px 3px;
    box-shadow: none;
}

body:not([data-page="admin"]) .header-actions .auth-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.74rem;
}

body:not([data-page="admin"]) .header-actions .auth-logout {
    height: 30px;
    padding: 0 9px;
    font-size: 0.7rem;
}

@media (max-width: 720px) {
    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero {
        padding: 48px 0 42px;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading h1 {
        font-size: clamp(2rem, 8.6vw, 2.65rem);
        line-height: 1.08;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading p {
        max-width: 280px;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-heading h2 {
        font-size: clamp(1.75rem, 7.6vw, 2.25rem);
    }

    body[data-page="products"] .filter-bar,
    body[data-page="selection"] .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px 8px;
        scrollbar-width: none;
    }

    body[data-page="products"] .filter-bar::-webkit-scrollbar,
    body[data-page="selection"] .filter-bar::-webkit-scrollbar {
        display: none;
    }

    body[data-page="products"] .filter-bar .chip,
    body[data-page="selection"] .filter-bar .chip {
        flex: 0 0 auto;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .cart-trigger {
        display: none;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .auth-entry {
        display: none;
    }
}

/* 2026 visual refinement layer */
:root {
    --bg: #f5f7f6;
    --bg-soft: #fafbf9;
    --surface: rgba(255, 255, 255, 0.9);
    --ink: #14191b;
    --ink-soft: #5d686d;
    --line: rgba(20, 25, 27, 0.1);
    --accent: #d52f29;
    --accent-strong: #a61f1b;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 16px 42px rgba(28, 38, 41, 0.08);
    --shadow-deep: 0 28px 72px rgba(28, 38, 41, 0.15);
}

html {
    color-scheme: light;
    background: var(--bg);
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(213, 47, 41, 0.045), transparent 25%),
        radial-gradient(circle at 92% 24%, rgba(61, 89, 103, 0.055), transparent 24%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    opacity: 0.4;
    background-size: 96px 96px;
}

::selection {
    background: rgba(213, 47, 41, 0.18);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid rgba(213, 47, 41, 0.24);
    outline-offset: 3px;
}

.container {
    width: min(1240px, calc(100% - 56px));
}

.site-header {
    padding: 10px 0;
}

.site-header::before {
    background: rgba(250, 251, 249, 0.88);
    border-bottom-color: rgba(20, 25, 27, 0.07);
    box-shadow: 0 8px 30px rgba(28, 38, 41, 0.035);
    backdrop-filter: blur(22px) saturate(150%);
}

body:not([data-page="admin"]) .site-header .container,
.site-header .container {
    grid-template-columns: minmax(235px, 280px) minmax(380px, 1fr) max-content;
    gap: 20px;
}

.brand img,
body:not([data-page="admin"]) .brand img {
    height: 48px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(213, 47, 41, 0.13);
}

.brand-copy {
    line-height: 1.25;
}

.brand-copy strong {
    letter-spacing: -0.02em;
}

.brand-copy span,
body:not([data-page="admin"]) .brand-copy span {
    margin-top: 3px;
    font-size: 0.76rem;
}

.main-nav {
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(20, 25, 27, 0.06);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.52);
}

.main-nav a,
body:not([data-page="admin"]) .main-nav a {
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.main-nav a::after {
    display: none;
}

.main-nav a:hover {
    background: rgba(20, 25, 27, 0.045);
}

.main-nav a.active {
    background: #fff;
    box-shadow: 0 5px 15px rgba(28, 38, 41, 0.08);
}

.btn,
.ghost-btn,
.chip,
.tab-btn,
.icon-btn,
.menu-toggle {
    min-height: 42px;
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #df3730, var(--accent-strong));
    box-shadow: 0 12px 24px rgba(166, 31, 27, 0.18);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(166, 31, 27, 0.24);
}

.btn:active,
.ghost-btn:active,
.chip:active,
.tab-btn:active {
    transform: translateY(0) scale(0.98);
}

.btn.secondary,
.ghost-btn {
    border-color: rgba(20, 25, 27, 0.11);
    background: rgba(255, 255, 255, 0.82);
}

.btn.secondary:hover,
.ghost-btn:hover {
    border-color: rgba(20, 25, 27, 0.19);
    background: #fff;
}

.eyebrow {
    margin-bottom: 16px;
    padding: 7px 12px;
    border-color: rgba(213, 47, 41, 0.14);
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    box-shadow: 0 6px 16px rgba(28, 38, 41, 0.04);
}

.eyebrow::before {
    width: 7px;
    height: 7px;
}

.section-heading h1,
.section-heading h2,
.section-heading h3,
.page-title,
.display-title {
    letter-spacing: -0.045em;
}

.section-heading p,
.lead {
    line-height: 1.75;
}

body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero,
body[data-page="login"] .login-hero,
body[data-page="admin"] .admin-hero,
body[data-page="claims"] .claims-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 58px;
    background:
        radial-gradient(circle at 18% 0%, rgba(213, 47, 41, 0.08), transparent 27%),
        radial-gradient(circle at 82% 100%, rgba(61, 89, 103, 0.1), transparent 28%),
        linear-gradient(180deg, #fcfdfb 0%, #eef4f3 100%);
    border-bottom: 1px solid rgba(20, 25, 27, 0.06);
}

body[data-page="home"] .page-hero.home-hero {
    position: relative;
    padding-top: 72px;
    background:
        radial-gradient(circle at 20% 8%, rgba(213, 47, 41, 0.07), transparent 27%),
        radial-gradient(circle at 80% 88%, rgba(61, 89, 103, 0.11), transparent 31%),
        linear-gradient(180deg, #fcfdfb 0%, #edf4f3 100%);
    border-bottom: 1px solid rgba(20, 25, 27, 0.06);
}

body[data-page="home"] .home-apple-copy h1 {
    max-width: 880px;
    font-size: clamp(3.1rem, 5vw, 4.8rem);
    letter-spacing: -0.06em;
}

body[data-page="home"] .home-apple-copy p {
    max-width: 720px;
    color: #526067;
    line-height: 1.7;
}

body[data-page="home"] .home-apple-product {
    min-height: 290px;
}

body[data-page="home"] .home-apple-product img {
    width: min(660px, 74%);
    filter: drop-shadow(0 38px 42px rgba(28, 38, 41, 0.2));
}

body[data-page="home"] .home-minimal-grid {
    gap: 14px;
    overflow: visible;
    background: transparent;
}

body[data-page="home"] .home-minimal-grid article {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    border: 1px solid rgba(20, 25, 27, 0.075);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #fff 0%, #f2f6f5 100%);
    box-shadow: 0 14px 36px rgba(28, 38, 41, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body[data-page="home"] .home-minimal-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(213, 47, 41, 0.16);
    box-shadow: 0 22px 48px rgba(28, 38, 41, 0.1);
}

body[data-page="home"] .home-minimal-grid span {
    margin-bottom: 50px;
}

body[data-page="home"] .home-product-tile,
.product-card,
.feature-card,
.summary-card,
.detail-card,
.config-card,
.modal-panel,
.cart-panel {
    border: 1px solid rgba(20, 25, 27, 0.075);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 38px rgba(28, 38, 41, 0.065);
}

body[data-page="home"] .home-product-tile,
.product-card,
.feature-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body[data-page="home"] .home-product-tile:hover,
.product-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(213, 47, 41, 0.15);
    box-shadow: 0 24px 56px rgba(28, 38, 41, 0.11);
}

body[data-page="home"] .home-product-tile {
    min-height: 500px;
}

.product-grid {
    gap: 20px;
}

body[data-page="products"] .product-grid,
body[data-page="selection"] .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

body[data-page="products"] .product-card,
body[data-page="selection"] .product-card {
    overflow: hidden;
    border: 1px solid rgba(20, 25, 27, 0.075);
    border-radius: var(--radius-lg);
}

body[data-page="products"] .product-media,
body[data-page="selection"] .product-media {
    min-height: 240px;
    border-bottom: 1px solid rgba(20, 25, 27, 0.06);
    background:
        radial-gradient(circle at 50% 40%, #fff, transparent 55%),
        linear-gradient(180deg, #f4f8f7, #eaf1f0);
}

body[data-page="products"] .product-media img,
body[data-page="selection"] .product-media img {
    max-height: 195px;
    filter: drop-shadow(0 16px 17px rgba(28, 38, 41, 0.14));
}

body[data-page="products"] .product-card-body,
body[data-page="selection"] .product-card-body {
    min-height: 250px;
    padding: 24px;
}

.product-card h3 {
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.tag {
    border: 1px solid rgba(20, 25, 27, 0.055);
    font-weight: 700;
}

.filter-bar,
.tab-strip {
    gap: 8px;
}

.chip,
.tab-btn {
    border: 1px solid rgba(20, 25, 27, 0.09);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink-soft);
}

.chip:hover,
.tab-btn:hover {
    border-color: rgba(213, 47, 41, 0.2);
    background: #fff;
    color: var(--ink);
}

.chip.active,
.tab-btn.active {
    border-color: transparent;
    background: linear-gradient(135deg, #df3730, var(--accent-strong));
    color: #fff;
    box-shadow: 0 10px 22px rgba(166, 31, 27, 0.16);
}

.form-group {
    gap: 8px;
}

.form-group label {
    color: #344146;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea,
.cart-size-control select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(20, 25, 27, 0.11);
    border-radius: 12px;
    background: #fbfcfb;
    color: var(--ink);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-group textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(20, 25, 27, 0.2);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: rgba(213, 47, 41, 0.48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(213, 47, 41, 0.08);
}

.summary-row,
.spec-pill,
.quote-line {
    border-color: rgba(20, 25, 27, 0.075);
}

.empty-state {
    min-height: 160px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(20, 25, 27, 0.17);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
}

.modal,
.cart-modal {
    backdrop-filter: blur(12px);
}

.modal-panel,
.cart-panel {
    box-shadow: 0 32px 90px rgba(20, 25, 27, 0.22);
}

.site-footer {
    margin-top: 48px;
    padding-top: 64px;
    background:
        radial-gradient(circle at 88% 0%, rgba(213, 47, 41, 0.18), transparent 24%),
        linear-gradient(145deg, #182126 0%, #101517 100%);
}

.footer-grid {
    gap: 42px;
}

.footer-group h3 {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.footer-group p,
.footer-group a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.footer-group a {
    width: fit-content;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-group a:hover {
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    body:not([data-page="admin"]) .site-header .container,
    .site-header .container {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .main-nav {
        top: calc(100% + 8px);
        padding: 10px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 20px 52px rgba(28, 38, 41, 0.16);
    }

    .main-nav a,
    body:not([data-page="admin"]) .main-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .main-nav a.active {
        background: rgba(213, 47, 41, 0.08);
        color: var(--accent-strong);
        box-shadow: none;
    }

    .menu-toggle {
        border-radius: 12px;
        box-shadow: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 32px, 100%);
    }

    .site-header,
    body:not([data-page="admin"]) .site-header {
        padding: 8px 0;
    }

    body:not([data-page="admin"]) .site-header .container,
    .site-header .container {
        position: relative;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .brand img,
    body:not([data-page="admin"]) .brand img {
        flex-basis: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .header-actions {
        position: absolute;
        top: 0;
        right: 0;
        gap: 6px;
    }

    .header-actions > :not(.menu-toggle) {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        background: #fff;
    }

    body[data-page="home"] .page-hero.home-hero {
        padding: 52px 0 44px;
    }

    body[data-page="home"] .home-apple-copy h1 {
        max-width: calc(100vw - 32px);
        font-size: clamp(2.5rem, 12vw, 3.25rem);
        letter-spacing: -0.055em;
    }

    body[data-page="home"] .home-apple-copy p {
        width: min(calc(100vw - 32px), 330px);
        font-size: 1rem;
    }

    body[data-page="home"] .home-apple-copy .hero-actions {
        width: min(calc(100vw - 32px), 330px);
    }

    body[data-page="home"] .home-apple-copy .hero-actions .btn {
        width: 100%;
    }

    body[data-page="home"] .home-apple-product {
        min-height: 220px;
    }

    body[data-page="home"] .home-minimal-grid article {
        min-height: 200px;
    }

    body[data-page="home"] .home-product-tile {
        border-radius: 18px;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero,
    body[data-page="login"] .login-hero,
    body[data-page="admin"] .admin-hero,
    body[data-page="claims"] .claims-hero {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading,
    body[data-page="login"] .login-hero .section-heading,
    body[data-page="admin"] .admin-hero .section-heading,
    body[data-page="claims"] .claims-hero .section-heading {
        max-width: calc(100vw - 32px);
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading h1,
    body[data-page="login"] .login-hero .section-heading h1,
    body[data-page="admin"] .admin-hero .section-heading h1,
    body[data-page="claims"] .claims-hero .section-heading h1 {
        max-width: calc(100vw - 32px);
        font-size: clamp(2.05rem, 10vw, 2.65rem);
        overflow-wrap: anywhere;
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .page-hero .section-heading p,
    body[data-page="login"] .login-hero .section-heading p,
    body[data-page="admin"] .admin-hero .section-heading p,
    body[data-page="claims"] .claims-hero .section-heading p {
        max-width: min(calc(100vw - 32px), 330px);
    }

    body:is([data-page="products"], [data-page="selection"], [data-page="oem"], [data-page="buyer"]) .section-shell,
    body:is([data-page="login"], [data-page="admin"], [data-page="claims"]) .section-shell {
        padding: 42px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .product-grid {
        gap: 16px;
    }

    body[data-page="products"] .product-grid,
    body[data-page="selection"] .product-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="products"] .product-card-body,
    body[data-page="selection"] .product-card-body {
        min-height: auto;
    }

    .inline-actions,
    .form-actions,
    .detail-actions,
    .stack-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .inline-actions .btn,
    .inline-actions .ghost-btn,
    .form-actions .btn,
    .form-actions .ghost-btn,
    .detail-actions .btn,
    .detail-actions .ghost-btn {
        width: 100%;
    }

    .footer-grid {
        gap: 28px;
    }
}
