/* https://getdesign.md/design-md/bmw/preview */

:root {
--primary: #1c69d4;
--primary-active: #0653b6;
--primary-disabled: #d6d6d6;
--ink: #262626;
--body: #3c3c3c;
--body-strong: #1a1a1a;
--muted: #6b6b6b;
--muted-soft: #9a9a9a;
--hairline: #e6e6e6;
--hairline-strong: #cccccc;
--canvas: #ffffff;
--surface-soft: #f7f7f7;
--surface-card: #fafafa;
--surface-strong: #ebebeb;
--surface-dark: #1a2129;
--surface-dark-elevated: #262e38;
--on-primary: #ffffff;
--on-dark: #ffffff;
--on-dark-soft: #bbbbbb;
--m-blue-light: #0066b1;
--m-blue-dark: #1c69d4;
--m-red: #e22718;
--m-stripe-gradient: linear-gradient(90deg, #0066b1 0%, #0066b1 33%, #1c69d4 33%, #1c69d4 66%, #e22718 66%, #e22718 100%);
--display: 'Inter', system-ui, sans-serif;
--text: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--canvas); color: var(--body); font-family: var(--text); font-size: 16px; line-height: 1.55; font-weight: 300; }

.nav { position: sticky; top: 0; z-index: 100; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 0 48px; height: 64px; }
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: 0.3px; }
.nav-cta { background: var(--primary); color: var(--on-primary); border: none; padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; letter-spacing: 0.5px; }

.hero { padding: 80px 48px; background: var(--canvas); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; max-width: 1440px; margin: 0 auto; }
.hero-content { max-width: 720px; }
.hero h1 { font-family: var(--display); font-size: 64px; font-weight: 700; line-height: 1.05; color: var(--ink); margin: 0 0 24px; text-align: left; }
.hero p { font-size: 20px; color: var(--body); max-width: 540px; margin: 0 0 32px; line-height: 1.5; font-weight: 300; text-align: left; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.btn-hero-primary { background: var(--primary); color: var(--on-primary); border: none; padding: 14px 32px; height: 48px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; letter-spacing: 0.5px; }
.btn-hero-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline-strong); padding: 13px 31px; height: 48px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; letter-spacing: 0.5px; }
.hero-art { aspect-ratio: 1; background: var(--surface-dark); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(28,105,212,0.18) 0%, transparent 60%); }
.hero-art .stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--m-stripe-gradient); }
.hero-art .label { position: relative; z-index: 1; color: var(--on-dark); font-weight: 700; font-size: 32px; letter-spacing: 0; }
.hero-art .sublabel { position: relative; z-index: 1; color: var(--on-dark-soft); font-size: 14px; margin-top: 8px; font-weight: 300; }

section { max-width: 1440px; margin: 0 auto; padding: 80px 48px; border-top: 1px solid var(--hairline); }
.section-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.section-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.section-heading { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.1; }
.section-intro { font-size: 16px; color: var(--body); max-width: 720px; margin-bottom: 48px; font-weight: 300; line-height: 1.55; }

.palette-group { margin-bottom: 56px; }
.palette-group h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1.5px; }
.palette-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.swatch { border: 1px solid var(--hairline); background: var(--canvas); }
.swatch-color { height: 80px; }
.swatch-meta { padding: 12px 14px; }
.swatch-name { font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.swatch-hex { font-family: ui-monospace, monospace; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.swatch-role { font-size: 13px; color: var(--body); line-height: 1.5; font-weight: 300; }

.m-stripe-display { height: 16px; background: var(--m-stripe-gradient); margin-bottom: 16px; }

.type-row { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.type-row:last-child { border-bottom: none; }
.type-meta { font-size: 12px; color: var(--muted); line-height: 1.5; font-weight: 300; }
.type-meta strong { display: block; color: var(--ink); font-weight: 700; font-size: 12px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.type-sample { color: var(--ink); }

.button-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.button-cell { border: 1px solid var(--hairline); padding: 28px; background: var(--canvas); min-width: 0; }
.button-cell.on-dark { background: var(--surface-dark); border-color: rgba(255,255,255,0.1); }
.button-cell.on-dark .button-label, .button-cell.on-dark .button-meta { color: var(--on-dark); }
.button-label { font-size: 12px; color: var(--ink); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.button-meta { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; font-weight: 300; }
.btn { display: inline-block; padding: 14px 32px; height: 48px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; line-height: 1; letter-spacing: 0.5px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary-active { background: var(--primary-active); color: var(--on-primary); }
.btn-primary-disabled { background: var(--primary-disabled); color: var(--muted); cursor: not-allowed; }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline-strong); padding: 13px 31px; }
.btn-secondary-on-dark { background: transparent; color: var(--on-dark); border: 1px solid var(--on-dark); padding: 13px 31px; }
.btn-text-link { background: transparent; color: var(--ink); border: none; padding: 0; height: auto; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.btn-text-link::after { content: ' ›'; }
.text-link { background: transparent; color: var(--ink); border: none; padding: 0; font-size: 16px; cursor: pointer; font-family: inherit; font-weight: 300; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; min-width: 0; }
.card-grid > * { min-width: 0; }

.model-card { background: var(--canvas); padding: 24px; }
.model-card-photo { width: 100%; aspect-ratio: 16/10; background: var(--surface-card); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; position: relative; }
.model-card-photo .render { width: 75%; height: 60%; background: linear-gradient(180deg, #444 0%, #1a1a1a 100%); }
.model-card h4 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.model-card .tagline { font-size: 14px; color: var(--body); margin-bottom: 16px; font-weight: 300; line-height: 1.55; }

.feature-photo-card { background: var(--canvas); padding: 24px; border: 1px solid var(--hairline); }
.feature-photo-card .photo { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--surface-dark) 0%, #2a3540 100%); margin-bottom: 16px; }
.feature-photo-card h4 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.feature-photo-card p { font-size: 14px; color: var(--body); font-weight: 300; line-height: 1.55; }

.hero-band-dark { background: var(--surface-dark); color: var(--on-dark); padding: 80px 48px; position: relative; overflow: hidden; }
.hero-band-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(28,105,212,0.15) 0%, transparent 60%); }
.hero-band-dark .inner { position: relative; z-index: 1; max-width: 720px; }
.hero-band-dark h2 { font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--on-dark); line-height: 1.05; margin-bottom: 16px; }
.hero-band-dark p { font-size: 20px; color: var(--on-dark-soft); margin-bottom: 32px; font-weight: 300; line-height: 1.55; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--hairline); }
.spec-cell { background: var(--canvas); padding: 24px; }
.spec-cell .value { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.spec-cell .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }

.inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.inventory-card { background: var(--canvas); padding: 16px; border: 1px solid var(--hairline); }
.inventory-card .photo { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #2a2a2c 0%, #444 100%); margin-bottom: 12px; }
.inventory-card .model { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.inventory-card .variant { font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 300; }
.inventory-card .price { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { background: var(--canvas); border: 1px solid var(--hairline-strong); padding: 8px 14px; font-size: 12px; font-weight: 400; color: var(--ink); cursor: pointer; letter-spacing: 0.5px; }
.filter-chip.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.config-row { display: flex; gap: 12px; flex-wrap: wrap; }
.configurator-option-tile { background: var(--canvas); border: 1px solid var(--hairline); padding: 16px 24px; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-weight: 300; }
.configurator-option-tile.selected { border: 2px solid var(--primary); padding: 15px 23px; }
.configurator-option-tile .swatch-dot { width: 24px; height: 24px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.form-cell { min-width: 0; }
.form-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.form-label .filter-chip { margin-left: auto; }
.form-input { width: 100%; background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline-strong); padding: 14px 16px; height: 48px; font-size: 16px; font-family: inherit; font-weight: 300; }
.form-input:focus, .form-input.focused { border-color: var(--ink); border-width: 2px; padding: 13px 15px; outline: none; }

.cookie-consent-card { background: var(--canvas); border: 1px solid var(--hairline); padding: 24px; max-width: 480px; }
.cookie-consent-card p { font-size: 14px; color: var(--body); margin-bottom: 16px; font-weight: 300; line-height: 1.55; }

.category-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--hairline); margin-bottom: 32px; flex-wrap: wrap; }
.category-tab { padding: 12px 0; color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; border-bottom: 2px solid transparent; }
.category-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

.cta-band-photo { background: var(--surface-dark); padding: 80px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band-photo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(28,105,212,0.2) 0%, transparent 60%); }
.cta-band-photo .inner { position: relative; z-index: 1; }
.cta-band-photo h2 { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--on-dark); margin-bottom: 32px; }

.spacing-row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.spacing-block { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.spacing-bar { background: var(--ink); height: 28px; }
.spacing-label { font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; }

.radius-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.radius-block { width: 96px; height: 96px; background: var(--surface-card); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink); font-weight: 700; font-family: ui-monospace, monospace; }

.elevation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.elevation-card { padding: 24px; font-size: 13px; color: var(--ink); border: 1px solid var(--hairline); background: var(--canvas); }
.elevation-card h5 { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.elevation-card p { color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.55; }
.elevation-card-card { background: var(--surface-card); }
.elevation-dark { background: var(--surface-dark); color: var(--on-dark); border-color: rgba(255,255,255,0.1); }
.elevation-dark h5 { color: var(--on-dark); }
.elevation-dark p { color: var(--on-dark-soft); }

.responsive-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 14px; }
.responsive-table th, .responsive-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
.responsive-table th { font-weight: 700; color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.responsive-table td { color: var(--body); font-weight: 300; }
.device-ladder { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.device-bar { background: var(--surface-card); border: 1px solid var(--hairline); color: var(--muted); text-align: center; padding: 8px; font-size: 11px; font-family: ui-monospace, monospace; flex-shrink: 0; }

.responsive-sub { margin-top: 32px; }
.responsive-sub h4 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.responsive-sub ul { padding-left: 20px; color: var(--body); font-size: 14px; font-weight: 300; line-height: 1.55; }

.footer { background: var(--surface-soft); color: var(--body); padding: 64px 48px; font-size: 13px; font-weight: 300; }
.footer .footer-inner { max-width: 1440px; margin: 0 auto; }
.footer .columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.footer .col-head { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer .col-link { font-size: 13px; line-height: 2; color: var(--body); display: block; text-decoration: none; font-weight: 300; }
.footer .legal { padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--muted); }

.cell, .cell > *, .demo, .button-cell, .component-cell { min-width: 0; }
.cell.wide, .button-cell.wide, .component-cell.wide { grid-column: span 2; }
@media (max-width: 1024px) {
section { padding: 64px 32px; }
.section-heading { font-size: 32px; }
.nav > :last-child { display: none; }
.hero { grid-template-columns: 1fr; gap: 32px; padding: 64px 32px; }
.hero h1 { font-size: 44px; }
.hero-art, .hero-art-photo { display: none; }
.type-row { grid-template-columns: 1fr; gap: 8px; }
.type-row .type-meta { padding-bottom: 4px; }
.footer .columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
.cell.wide, .button-cell.wide, .component-cell.wide { grid-column: span 1; }
.nav { padding: 0 48px; height: auto; min-height: 56px; }
.nav-links { display: none; }
.hero { padding: 48px 20px; }
.hero h1 { font-size: 36px; }
.hero p { font-size: 16px; }
section { padding: 48px 20px; }
.section-heading { font-size: 28px; }
.palette-grid, .button-grid, .card-grid, .form-grid, .elevation-grid, .spec-grid, .inventory-grid { grid-template-columns: 1fr !important; gap: 16px; }
.spec-grid { gap: 1px; }
.spacing-row, .radius-row { gap: 12px; }
.responsive-table { font-size: 12px; }
.responsive-table th, .responsive-table td { padding: 10px 8px; }
.device-ladder { gap: 8px; }
.footer { padding: 32px 16px; }
.footer .columns { grid-template-columns: 1fr; gap: 16px; }
.cta-band-photo { padding: 48px 20px; }
.cta-band-photo h2 { font-size: 24px; }
.hero-band-dark { padding: 48px 20px; }
.hero-band-dark h2 { font-size: 36px; }
}

/* getdesign.md nav additions */
.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-brand-link, .nav-brand-link:link, .nav-brand-link:visited, .nav-brand-link:hover, .nav-brand-link:active { text-decoration: none; color: inherit; }
.nav-brand { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.nav-github, .nav-github:link, .nav-github:visited, .nav-github:hover, .nav-github:active {
display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
color: inherit; text-decoration: none; padding: 5px 10px;
border: 1px solid rgba(128, 128, 128, 0.3); border-radius: 6px;
opacity: 0.75; transition: opacity 200ms ease, border-color 200ms ease;
font-family: inherit; line-height: 1; white-space: nowrap;
}
.nav-github:hover { opacity: 1; border-color: rgba(128, 128, 128, 0.55); }
.nav-github svg { display: block; flex-shrink: 0; }

/* getdesign.md nav centering */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav > .nav-left { justify-self: start; }
.nav > .nav-links { justify-self: center; }
.nav > :last-child { justify-self: end; }


/* Shared VoltAgent footer content */
.footer { text-align: left; }
.footer-shell { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h6 { margin: 0 0 14px; color: inherit; font: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; }
.footer-col span { display: block; margin: 0 0 10px; color: inherit; opacity: 0.72; font-size: 14px; line-height: 1.35; }
.footer-credit { margin-top: 48px; padding-top: 24px; border-top: 1px solid currentColor; color: inherit; opacity: 0.78; font-size: 13px; line-height: 1.4; }
.footer-credit a { color: inherit; text-decoration: none; font-weight: 600; }
.footer-credit img { border-radius: 3px; vertical-align: -2px; margin-right: 3px; }
@media (max-width: 760px) {
.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}


.btn-all.copied {
    background-color: var(--primary-active);
}
