:root {
    --ink: #08090d;
    --muted: #5e6674;
    --line: #d8dde7;
    --paper: #f3f4f7;
    --surface: #ffffff;
    --accent: #df1f2d;
    --accent-dark: #a80f1b;
    --sun: #f3c14b;
    --steel: #263244;
    --shadow: 0 22px 55px rgba(8, 9, 13, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 0 5vw;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 9, 13, 0.96), rgba(16, 18, 25, 0.96) 68%, rgba(80, 11, 19, 0.96)),
        #08090d;
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.brand,
.top-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: clamp(154px, 18vw, 217px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.top-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.top-nav a:hover {
    border-color: var(--accent);
    color: #fff;
}

.hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 66vh;
    overflow: hidden;
    padding: 106px 5vw 56px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.94) 0%, rgba(10, 12, 18, 0.78) 45%, rgba(132, 14, 26, 0.38) 100%),
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0 57%, rgba(223, 31, 45, 0.86) 57% 62%, transparent 62%),
        linear-gradient(118deg, transparent 0 71%, rgba(255, 255, 255, 0.16) 71% 73%, transparent 73%),
        linear-gradient(180deg, transparent 0 78%, rgba(8, 9, 13, 0.88) 100%);
}

.hero::after {
    position: absolute;
    right: -8vw;
    bottom: -80px;
    width: min(560px, 60vw);
    height: 180px;
    content: "";
    background: var(--accent);
    transform: skewX(-24deg);
    box-shadow: -34px 0 0 rgba(255, 255, 255, 0.14), -70px 0 0 rgba(8, 9, 13, 0.58);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.model-hero .eyebrow,
.lead-section .eyebrow {
    color: #fff;
}

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

h1 {
    max-width: 980px;
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 6.3vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 670px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.13rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: min(860px, 100%);
    margin: 0 0 28px;
}

.hero-stats > div {
    display: grid;
    gap: 4px;
    min-height: 88px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(8, 9, 13, 0.5);
    backdrop-filter: blur(12px);
}

.hero-stats strong {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.hero-stats span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-status {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.hero-status span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 9, 13, 0.38);
}

.hero-status strong {
    margin-right: 6px;
    color: #fff;
}

.search-bar {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.25fr)
        minmax(145px, 0.72fr)
        minmax(145px, 0.72fr)
        minmax(190px, 1fr)
        minmax(145px, 0.72fr)
        auto;
    gap: 12px;
    width: min(1010px, 100%);
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 5px solid var(--accent);
    border-radius: 8px;
    background: rgba(8, 9, 13, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

label {
    display: grid;
    gap: 6px;
}

label span {
    color: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.search-bar label span,
.lead-form label span {
    color: rgba(255, 255, 255, 0.86);
}

input,
select,
textarea,
button {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

input,
select,
textarea {
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(223, 31, 45, 0.22);
    border-color: var(--accent);
}

select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

textarea {
    resize: vertical;
}

button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff3447);
    box-shadow: 0 12px 24px rgba(223, 31, 45, 0.28);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

button:hover,
.button-link:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    box-shadow: 0 15px 28px rgba(223, 31, 45, 0.34);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.featured-band,
.catalog-section,
.lead-section,
.model-detail {
    padding-right: 5vw;
    padding-left: 5vw;
}

.brand-browser {
    padding: 26px 5vw 18px;
    background:
        linear-gradient(90deg, #08090d, #151821 72%, #420a12),
        #08090d;
}

.brand-browser .section-heading {
    margin-bottom: 14px;
    color: #fff;
}

.brand-browser .section-heading > span {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.brand-browser .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.brand-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.brand-pill span {
    font-weight: 900;
}

.brand-pill small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    min-height: 26px;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.76rem;
    font-weight: 900;
}

.brand-pill:hover,
.brand-pill.is-active {
    border-color: rgba(223, 31, 45, 0.7);
    color: #fff;
    background: rgba(223, 31, 45, 0.18);
    transform: translateY(-1px);
}

.featured-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 26px;
    background:
        linear-gradient(90deg, #08090d, #151821 72%, #420a12),
        #08090d;
}

.feature-card {
    position: relative;
    min-height: 184px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.feature-card::before {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 5px;
    content: "";
    background: var(--accent);
}

.feature-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(8, 9, 13, 0.08), rgba(8, 9, 13, 0.9));
}

.feature-card img {
    width: 100%;
    height: 100%;
    min-height: 184px;
    object-fit: cover;
    transition: transform 180ms ease;
}

.feature-card:hover img {
    transform: scale(1.04);
}

.feature-card span,
.feature-card strong {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
}

.feature-card span {
    bottom: 46px;
    font-size: 0.94rem;
    font-weight: 800;
}

.feature-card strong {
    bottom: 18px;
    font-size: 1rem;
}

.catalog-section {
    padding-top: 58px;
    padding-bottom: 60px;
    background:
        linear-gradient(180deg, #f7f8fa, #fff 54%, #f0f2f6),
        var(--paper);
}

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

.section-heading > span {
    padding: 8px 12px;
    border-left: 4px solid var(--accent);
    color: var(--steel);
    background: #fff;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(8, 9, 13, 0.08);
}

.section-heading.compact {
    margin-bottom: 16px;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.model-card,
.version-card,
.lead-panel,
.empty-state {
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 15px 34px rgba(8, 9, 13, 0.08);
}

.model-card {
    position: relative;
    display: grid;
    overflow: hidden;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.model-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--accent), #111318 72%);
}

.model-card:hover {
    box-shadow: 0 22px 48px rgba(8, 9, 13, 0.14);
    transform: translateY(-2px);
}

.model-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at top left, rgba(223, 31, 45, 0.08), transparent 40%),
        linear-gradient(180deg, #f8f9fc, #edf1f6);
}

.model-card-media img {
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
}

.model-card-body {
    display: grid;
    gap: 16px;
    padding: 20px 22px 22px;
}

.model-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.model-card-heading p {
    margin-bottom: 3px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.model-card-type,
.model-card > p,
.version-card p,
.message-page p,
.lead-section p {
    color: var(--muted);
}

.model-card-type {
    display: block;
    margin-top: -8px;
    font-size: 0.88rem;
    font-weight: 700;
}

.model-card-meta {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--steel);
    background: #edf1f6;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.model-card-footer {
    display: flex;
    justify-content: end;
}

.model-card-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff3447);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

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

dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

dd {
    margin: 0;
    font-weight: 900;
}

.empty-state {
    padding: 28px;
}

.lead-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 64px;
    color: #fff;
    background:
        linear-gradient(118deg, rgba(223, 31, 45, 0.92) 0 34%, transparent 34% 100%),
        linear-gradient(135deg, #08090d 0%, #151821 58%, #410a12 100%);
}

.lead-section h2 {
    max-width: 560px;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    text-transform: uppercase;
}

.lead-section p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(8, 9, 13, 0.7);
    box-shadow: var(--shadow);
}

.lead-form.tight {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.lead-form.tight label span {
    color: var(--muted);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 12px;
}

.field-row-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.model-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    align-items: start;
    min-height: 56vh;
    overflow: hidden;
    gap: 32px;
    padding: 92px 5vw 40px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #0a0b10 0%, #151821 56%, #3a0810 100%);
}

.model-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 9, 13, 0.24) 0%, rgba(8, 9, 13, 0.06) 38%, transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%);
}

.model-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    content: "";
    background: linear-gradient(90deg, var(--accent), #fff 42%, var(--accent));
}

.model-hero-copy,
.model-hero-media {
    position: relative;
    z-index: 1;
}

.model-hero-copy {
    max-width: 790px;
    padding-top: 4px;
}

.model-hero-copy > p:last-child {
    max-width: 520px;
}

.model-hero-media {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: min(470px, 58vh);
}

.model-hero-media img {
    width: min(100%, 900px);
    max-height: 60vh;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.model-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 700;
}

.breadcrumb-trail a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.breadcrumb-trail a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb-trail strong {
    color: #fff;
    font-weight: 800;
}

.back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 900;
}

.back-link:hover {
    color: #fff;
}

.model-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 64px;
    background: var(--paper);
}

.version-list {
    display: grid;
    gap: 16px;
}

.version-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    overflow: hidden;
}

.version-card-media {
    display: block;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(223, 31, 45, 0.08), transparent 42%),
        linear-gradient(180deg, #f8f9fc, #edf1f6);
}

.version-card img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    padding: 20px;
    object-fit: contain;
}

.version-card-content {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px 22px 22px 0;
}

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

.version-card-price {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 900;
    white-space: nowrap;
}

.version-card dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.version-card-actions {
    display: flex;
    justify-content: end;
}

.lead-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
    overflow: hidden;
    padding: 24px;
}

.lead-panel::before {
    display: block;
    height: 5px;
    margin: -24px -24px 0;
    content: "";
    background: linear-gradient(90deg, var(--accent), #111318);
}

.plans {
    display: grid;
    gap: 10px;
}

.plans-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plans-heading strong {
    font-size: 0.98rem;
}

.plans-heading a {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fafb;
}

.plan-option input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--accent);
}

.plan-option small {
    display: block;
    color: var(--muted);
}

.plans-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.offer-coverage-note {
    padding: 12px 14px;
    border: 1px solid rgba(38, 50, 68, 0.12);
    border-left: 4px solid var(--steel);
    border-radius: 8px;
    background: #f9fafb;
}

.offer-coverage-note.is-warning {
    border-color: rgba(223, 31, 45, 0.22);
    border-left-color: var(--accent);
    color: #7c1320;
    background: rgba(223, 31, 45, 0.08);
}

.offer-coverage-note.is-positive {
    border-color: rgba(24, 113, 72, 0.2);
    border-left-color: #187148;
    color: #15553a;
    background: rgba(24, 113, 72, 0.08);
}

.lead-version-price {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(223, 31, 45, 0.14);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(223, 31, 45, 0.08), rgba(255, 255, 255, 0.95));
}

.lead-version-price span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-version-price strong {
    color: var(--ink);
    font-size: 1.08rem;
}

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

.chat-entry-button,
.chat-widget-form button,
.chat-widget-close {
    font: inherit;
}

.chat-entry-button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #0f1219;
    font-weight: 900;
    cursor: pointer;
}

.chat-entry-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.chat-widget {
    display: grid;
    margin-top: 16px;
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(8, 9, 13, 0.08);
    overflow: hidden;
}

.chat-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, #0f1219, #1a1f29 78%, #5f0d16);
    color: #fff;
}

.chat-widget-header strong {
    display: block;
    margin-top: 4px;
}

.chat-widget-close {
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.chat-widget-body {
    display: grid;
    gap: 10px;
    max-height: 340px;
    padding: 16px;
    overflow-y: auto;
    background: #f7f8fa;
}

.chat-message {
    display: flex;
}

.chat-message p {
    margin: 0;
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 8px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.chat-message.assistant p {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 18px rgba(8, 9, 13, 0.05);
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user p {
    color: #fff;
    background: linear-gradient(135deg, #df1f2d, #ff4a59);
}

.chat-widget-form {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.chat-widget-contact {
    display: grid;
    gap: 10px;
}

.chat-widget-field {
    display: grid;
    gap: 6px;
}

.chat-widget-field span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.chat-widget-field input,
.chat-widget-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.chat-widget-field input {
    min-height: 46px;
}

.chat-widget-form textarea {
    min-height: 90px;
    resize: vertical;
}

.chat-widget-actions {
    display: grid;
    gap: 10px;
}

.chat-widget-actions small {
    color: var(--muted);
    line-height: 1.4;
}

.chat-widget-form button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-weight: 900;
    cursor: pointer;
}

.chat-widget-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.adsense-banner {
    display: block;
    margin-top: 18px;
    padding: 16px;
    border: 3px solid #1e40ff;
    border-radius: 8px;
    background: #0a36ff;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(10, 54, 255, 0.22);
}

.adsense-banner-horizontal {
    margin: 22px auto 10px;
    padding: 10px 14px;
}

.adsense-banner-square {
    margin-top: 18px;
    padding: 10px 14px;
}

.adsense-banner-vertical {
    margin-top: 18px;
    padding: 10px 14px;
}

.adsense-banner .adsbygoogle {
    min-height: 140px;
    position: relative;
    z-index: 2;
}

.adsense-banner-fallback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 96px;
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.adsense-banner-fallback strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.adsense-banner-fallback span {
    display: block;
    font-size: 0.82rem;
    opacity: 0.92;
}

.model-status {
    margin-top: 26px;
}

.version-stats {
    width: min(760px, 100%);
    margin-top: 26px;
}

.version-detail {
    align-items: start;
}

.version-switcher {
    display: grid;
    gap: 10px;
}

.version-pill {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(8, 9, 13, 0.06);
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.version-pill strong {
    font-size: 0.98rem;
}

.version-pill span {
    color: var(--muted);
    font-size: 0.86rem;
}

.version-pill:hover,
.version-pill.is-active {
    border-color: rgba(223, 31, 45, 0.48);
    box-shadow: 0 16px 32px rgba(8, 9, 13, 0.1);
    transform: translateY(-1px);
}

.version-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #f5f7fb);
    box-shadow: 0 18px 36px rgba(8, 9, 13, 0.08);
}

.version-spotlight-copy {
    display: grid;
    gap: 18px;
}

.version-offer-list {
    display: grid;
    gap: 10px;
}

.version-offer-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(223, 31, 45, 0.12);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: rgba(223, 31, 45, 0.04);
}

.version-offer-item span {
    color: var(--muted);
    font-size: 0.86rem;
}

.version-offer-cta {
    width: fit-content;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
}

.version-spotlight-media {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 12px;
    border-radius: 8px;
    background:
        radial-gradient(circle at top left, rgba(223, 31, 45, 0.08), transparent 42%),
        linear-gradient(180deg, #f8f9fc, #edf1f6);
}

.version-spotlight-media img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.message-page {
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 70vh;
    padding: 80px 5vw;
}

.message-page pre {
    max-width: 100%;
    overflow: auto;
    padding: 16px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 5vw;
    color: rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(90deg, #07080b, #12151d 70%, #3c0810),
        #07080b;
    border-top: 4px solid var(--accent);
}

.site-footer div {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.admin-login {
    display: grid;
    min-height: calc(100vh - 76px);
    place-items: center;
    padding: 64px 5vw;
    color: #fff;
    background:
        linear-gradient(118deg, transparent 0 54%, rgba(223, 31, 45, 0.84) 54% 60%, transparent 60%),
        linear-gradient(135deg, rgba(8, 9, 13, 0.94), rgba(8, 9, 13, 0.76)),
        url("https://images.unsplash.com/photo-1511919884226-fd3cad34687c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.admin-login-card {
    display: grid;
    width: min(460px, 100%);
    gap: 16px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 5px solid var(--accent);
    border-radius: 8px;
    background: rgba(8, 9, 13, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.admin-login-card img {
    width: 172px;
}

.admin-login-card h1 {
    margin-bottom: 4px;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.admin-alert {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--sun);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
}

.admin-alert.danger {
    border-left-color: var(--accent);
    color: #fff;
}

.admin-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 74px 5vw 44px;
    color: #fff;
    background:
        linear-gradient(118deg, transparent 0 60%, rgba(223, 31, 45, 0.9) 60% 66%, transparent 66%),
        linear-gradient(90deg, #08090d, #151821 70%, #420a12);
}

.admin-hero h1 {
    margin-bottom: 10px;
}

.admin-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
}

.admin-logout {
    width: auto;
    min-width: 120px;
}

.admin-nav {
    display: flex;
    gap: 10px;
    padding: 16px 5vw 0;
    background:
        linear-gradient(180deg, #f7f8fa, #fff 46%, #eef1f5),
        var(--paper);
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 800;
}

.admin-nav a.is-active {
    border-color: rgba(223, 31, 45, 0.2);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 12px 24px rgba(8, 9, 13, 0.08);
}

.admin-section {
    padding: 28px 5vw 68px;
    background:
        linear-gradient(180deg, #f7f8fa, #fff 46%, #eef1f5),
        var(--paper);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.admin-stats article,
.admin-panel {
    border: 1px solid rgba(38, 50, 68, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 15px 34px rgba(8, 9, 13, 0.08);
}

.admin-stats article {
    display: grid;
    gap: 4px;
    min-height: 104px;
    padding: 16px;
    border-top: 5px solid var(--accent);
}

.admin-stats span,
.admin-list span,
.admin-table span,
.admin-panel-heading > span,
.admin-list small {
    color: var(--muted);
}

.admin-stats article strong {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 18px;
}

.admin-panel {
    overflow: hidden;
}

.admin-panel.wide {
    grid-column: span 1;
}

.admin-panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--line);
}

.admin-panel-heading h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.admin-panel-heading > span {
    font-weight: 900;
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

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

.admin-table th {
    color: var(--steel);
    background: #f7f8fa;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td small {
    display: block;
    margin-top: 6px;
}

.admin-detail-line {
    color: var(--muted);
    line-height: 1.45;
}

.admin-detail-line b {
    color: var(--ink);
}

.admin-chat-history {
    margin-top: 10px;
}

.admin-chat-history summary {
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.admin-chat-messages {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.admin-chat-message {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f8fa;
}

.admin-chat-message small {
    margin: 0;
}

.admin-chat-message p {
    margin: 6px 0 0;
    line-height: 1.45;
    color: var(--ink);
}

.admin-chat-message-user {
    border-left: 4px solid var(--accent);
}

.admin-chat-message-assistant {
    border-left: 4px solid #263244;
}

.admin-list {
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
}

.admin-list > div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #f9fafb;
}

.admin-list.compact > div {
    border-left-color: var(--steel);
}

.admin-list strong,
.admin-list b {
    color: var(--ink);
}

.admin-list b {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--steel);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.db-browser {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.65fr);
    gap: 18px;
    align-items: start;
}

.db-sidebar {
    position: sticky;
    top: 18px;
}

.db-table-list {
    display: grid;
    gap: 10px;
    max-height: 72vh;
    padding: 18px 20px 20px;
    overflow-y: auto;
}

.db-table-link {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-left: 4px solid rgba(38, 50, 68, 0.18);
    border-radius: 8px;
    color: inherit;
    background: #f9fafb;
    text-decoration: none;
}

.db-table-link strong {
    color: var(--ink);
}

.db-table-link small {
    color: var(--muted);
}

.db-table-link.is-active {
    border-left-color: var(--accent);
    background: #fff4f5;
}

.db-content {
    display: grid;
    gap: 18px;
}

.db-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 18px 20px 20px;
    background: #f9fafb;
}

.db-meta article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.db-meta span,
.db-sample-note,
.db-empty {
    color: var(--muted);
}

.db-meta strong {
    color: var(--ink);
}

.db-sample-note,
.db-empty {
    padding: 18px 20px 20px;
}

.db-sample-note {
    padding-bottom: 0;
}

.db-cell {
    max-width: 240px;
    word-break: break-word;
}

.db-null {
    font-style: italic;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff !important;
    background: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-status {
        display: grid;
    }

    .search-bar,
    .model-grid,
    .featured-band,
    .lead-section,
    .model-detail,
    .version-spotlight,
    .db-browser,
    .admin-grid,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .lead-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header,
    .site-footer,
    .section-heading,
    .admin-nav,
    .admin-hero,
    .admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .top-nav {
        width: 100%;
        justify-content: space-between;
    }

    .top-nav a {
        padding: 0;
        font-size: 0.86rem;
    }

    .hero,
    .model-hero {
        min-height: 64vh;
        padding-top: 84px;
    }

    .model-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 28px;
    }

    .model-hero-media {
        min-height: auto;
        justify-content: center;
    }

    .model-hero-media img {
        width: 100%;
        max-height: 38vh;
    }

    .hero::after {
        width: 70vw;
    }

    h1 {
        font-size: 2.45rem;
    }

    .hero-stats,
    .hero-status {
        grid-template-columns: 1fr;
    }

    .search-bar {
        padding: 12px;
    }

    .version-card,
    .version-card dl {
        grid-template-columns: 1fr;
    }

    .version-card-content {
        padding: 0 18px 18px;
    }

    .field-row-wide,
    .version-card-heading,
    .plans-heading {
        grid-template-columns: 1fr;
    }

    .version-card-heading,
    .plans-heading {
        display: grid;
    }

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

    .chat-widget-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
