:root {
    --ink-950: #071018;
    --ink-900: #0b151e;
    --ink-850: #101c27;
    --ink-800: #142330;
    --ink-700: #253847;
    --line: rgba(201, 220, 235, .22);
    --line-strong: rgba(201, 220, 235, .4);
    --paper: #f4f7f9;
    --muted: #aebcc7;
    --blue: #0787f8;
    --blue-light: #32a4ff;
    --shadow: 0 18px 60px rgba(0, 0, 0, .34);
    --radius: 10px;
    --content: 2000px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--ink-900);
    color: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; }
.content-width { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: white; color: black; border-radius: 5px; }
.skip-link:focus { transform: none; }
.icon { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.global-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(8, 17, 25, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}
.header-inner { width: min(calc(100% - 48px), 2000px); min-height: 76px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 3vw, 58px); }
.brand { display: inline-flex; min-width: max-content; line-height: 1; }
.brand-logo { display: block; width: clamp(210px, 15vw, 255px); height: auto; }
.footer-logo { width: clamp(250px, 19vw, 320px); }
.global-nav { display: flex; justify-content: center; align-items: stretch; align-self: stretch; gap: clamp(8px, 1.2vw, 22px); }
.nav-group { display: flex; align-items: stretch; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 7px; background: transparent; color: #d6dfe6; white-space: nowrap; font-size: 14px; font-weight: 550; }
.nav-link::after { position: absolute; right: 6px; bottom: 16px; left: 6px; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transition: transform .18s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: white; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-caret { font-size: 15px; color: #91a1ad; transition: transform .18s ease; }
.nav-group.is-open .nav-caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { display: inline-grid; width: 42px; height: 42px; place-items: center; background: transparent; color: #d9e3ea; border: 1px solid transparent; border-radius: 50%; }
.icon-button:hover, .icon-button:focus-visible { background: var(--ink-800); color: white; border-color: var(--line); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-weight: 650; transition: transform .17s ease, background .17s ease, border-color .17s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(180deg, #1596ff, #0477e3); color: white; border-color: #199bff; box-shadow: 0 9px 24px rgba(0, 123, 238, .22); }
.button-primary:hover { background: linear-gradient(180deg, #34a5ff, #0787f8); }
.button-secondary { background: rgba(15, 27, 38, .74); color: white; border-color: rgba(214, 229, 239, .62); }
.button-secondary:hover { background: rgba(29, 45, 58, .94); }
.button-ghost { background: transparent; border-color: var(--line); color: #cad5dd; }
.button-large { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.button:disabled { opacity: .68; box-shadow: none; transform: none; }
.header-cta { white-space: nowrap; }
.mobile-menu-button { display: none; }
.mobile-nav-actions, .mega-mobile-root { display: none; }

.staging-notice { background: #092a43; border-bottom: 1px solid rgba(91, 184, 250, .4); color: #d9efff; }
.staging-notice .content-width { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 13px; }
.staging-notice strong { color: #79c8ff; font-size: 11px; letter-spacing: .12em; }

.mega-menu {
    position: fixed;
    top: 76px;
    left: 50%;
    display: grid;
    width: min(calc(100% - 48px), 1950px);
    max-height: calc(100vh - 96px);
    grid-template-columns: 310px 1fr;
    visibility: hidden;
    overflow: auto;
    opacity: 0;
    background: rgba(10, 21, 30, .99);
    border: 1px solid var(--line-strong);
    border-top: 2px solid var(--blue);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    transform: translate(-50%, -8px);
    transition: opacity .17s ease, transform .17s ease, visibility .17s;
}
.nav-group.is-open .mega-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mega-intro { padding: 30px; background: linear-gradient(145deg, rgba(7, 135, 248, .13), transparent 68%); border-right: 1px solid var(--line); }
.mega-intro strong { display: block; margin: 7px 0 12px; font-size: 23px; line-height: 1.2; }
.mega-intro p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.mega-intro a, .text-link { display: inline-flex; align-items: center; gap: 8px; color: #64baff; font-weight: 700; }
.eyebrow, .mega-label { display: block; color: #73c0ff; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 18px; background: var(--line); }
.mega-grid > a { display: flex; min-height: 92px; align-items: center; gap: 12px; padding: 16px; background: var(--ink-900); font-size: 14px; font-weight: 650; }
.mega-grid > .mega-mobile-root { display: none; }
.mega-grid > a:hover { background: #172a38; }
.icon-tile { display: grid; width: 42px; height: 42px; place-items: center; color: #73c0ff; background: rgba(7, 135, 248, .11); border-radius: 8px; }
.vehicle-mega-content { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 26px; padding: 25px; }
.vehicle-model-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 22px; padding-top: 16px; }
.vehicle-model-grid section { min-width: 0; }
.vehicle-model-grid strong { display: block; margin-bottom: 7px; color: white; font-size: 13px; }
.vehicle-model-grid a { display: block; padding: 3px 0; color: var(--muted); font-size: 13px; }
.vehicle-model-grid a:hover, .task-links a:hover { color: #63baff; }
.task-links { border-left: 1px solid var(--line); padding-left: 24px; }
.task-links .mega-label { margin-bottom: 12px; }
.task-links a { display: flex; align-items: center; gap: 9px; padding: 8px 0; color: #d9e2e9; font-size: 13px; }
.task-links .icon { color: #60b7ff; }
.search-drawer { width: min(calc(100% - 48px), 1050px); margin: 0 auto 16px; align-items: center; gap: 12px; padding: 11px 12px 11px 18px; background: #152430; border: 1px solid var(--line-strong); border-radius: 9px; }
.search-drawer:not([hidden]) { display: flex; }
.search-drawer input, .market-search input { width: 100%; min-width: 0; padding: 10px 6px; background: transparent; color: white; border: 0; outline: none; }

.hero { position: relative; min-height: 555px; background-color: #101b23; background-image: url('../img/hero-workshop.webp'); background-position: center 49%; background-size: cover; }
.hero-shade, .page-masthead-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 9, 14, .35), rgba(4, 9, 14, .05) 52%, rgba(4, 9, 14, .35)), linear-gradient(0deg, rgba(5, 12, 17, .88), transparent 58%); }
.hero-content { position: absolute; right: 24px; bottom: 40px; left: 24px; z-index: 1; text-align: center; }
.hero h1 { max-width: 1100px; margin: 0 auto 10px; font-size: clamp(38px, 4.25vw, 72px); line-height: 1.04; letter-spacing: -.045em; text-shadow: 0 3px 24px rgba(0, 0, 0, .7); }
.hero p { max-width: 850px; margin: 0 auto 25px; color: #d8e2e9; font-size: clamp(16px, 1.3vw, 20px); }
.hero-actions { display: flex; justify-content: center; gap: 16px; }
.community-actions { justify-content: flex-start; margin-top: 28px; }
.trust-rail { display: grid; min-height: 112px; grid-template-columns: repeat(5, 1fr); padding-inline: max(24px, calc((100vw - var(--content)) / 2)); background: linear-gradient(180deg, #15232e, #0c161e); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-rail > div { display: flex; align-items: center; gap: 15px; padding: 20px; border-right: 1px solid var(--line); }
.trust-rail > div:first-child { border-left: 1px solid var(--line); }
.trust-icon { color: #e6edf2; }
.trust-icon .icon { width: 31px; height: 31px; stroke-width: 1.55; }
.trust-rail strong, .trust-rail small { display: block; }
.trust-rail strong { font-size: 14px; }
.trust-rail small { padding-top: 2px; color: var(--muted); font-size: 12px; }

.section { padding-block: 72px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 7px; font-size: clamp(27px, 2.4vw, 40px); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.category-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.category-card { position: relative; display: flex; min-height: 235px; flex-direction: column; padding: 22px; overflow: hidden; background: linear-gradient(155deg, #182a38, #0d1821); border: 1px solid var(--line); border-radius: var(--radius); }
.category-card:hover, .market-category-card:hover { border-color: #258edc; transform: translateY(-2px); }
.category-number { position: absolute; top: 8px; right: 13px; color: rgba(255, 255, 255, .08); font-size: 50px; font-weight: 800; }
.category-card-icon { display: grid; width: 53px; height: 53px; margin-bottom: 28px; place-items: center; color: #6cc0ff; background: rgba(7, 135, 248, .1); border: 1px solid rgba(88, 177, 246, .22); border-radius: 10px; }
.category-card-icon .icon { width: 27px; height: 27px; }
.category-card strong { line-height: 1.25; }
.category-card small { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.card-link { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: #64baff; font-size: 13px; font-weight: 700; }
.revenue-band { padding: 55px 0; background: linear-gradient(110deg, #0b2437, #112532 55%, #07345a); border-block: 1px solid rgba(81, 173, 239, .28); }
.revenue-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.revenue-inner h2 { max-width: 850px; margin: 0 0 8px; font-size: clamp(27px, 2.5vw, 42px); line-height: 1.1; }
.revenue-inner p { max-width: 850px; margin: 0; color: #b6c7d2; }

.page-masthead { position: relative; min-height: 190px; display: flex; align-items: end; padding: 34px 0; background-image: url('../img/hero-workshop.webp'); background-position: center 53%; background-size: cover; }
.page-masthead .content-width { position: relative; z-index: 1; }
.page-masthead h1 { max-width: 920px; margin: 0 0 8px; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.05; }
.page-masthead p { max-width: 670px; margin: 0; color: #d1dce3; font-size: 18px; }
.earn-masthead { min-height: 420px; }
.earn-masthead .button { margin-top: 24px; }
.browse-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding-block: 24px 70px; }
.context-sidebar { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); padding: 22px 18px; overflow: auto; background: linear-gradient(145deg, #172734, #101c25); border: 1px solid var(--line); border-radius: var(--radius); }
.context-sidebar h2 { margin: 0 0 5px; font-size: 25px; }
.context-sidebar > p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.filter-form { display: grid; gap: 13px; }
.filter-form label { display: grid; gap: 6px; color: #b7c5cf; font-size: 13px; }
.filter-label { display: flex; align-items: center; gap: 8px; }
.filter-label .icon { color: #6dbbf5; }
.filter-note { margin: 2px 0 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.filter-form select, .toolbar-actions select, .selectors select { width: 100%; min-height: 44px; padding: 8px 36px 8px 12px; background: #152430; border: 1px solid var(--line-strong); border-radius: 7px; }
.sidebar-mobile-head, .sidebar-trigger { display: none; }
.results-toolbar { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.results-status { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.segmented { min-height: 40px; padding: 8px 18px; background: #172632; color: var(--muted); border: 1px solid var(--line); }
.segmented:first-child { border-radius: 7px 0 0 7px; }
.segmented:nth-child(2) { margin-left: -9px; border-radius: 0 7px 7px 0; }
.segmented.is-active { color: #6ebeff; background: #1b3040; }
.converter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.converter-card { overflow: hidden; background: linear-gradient(155deg, #172835, #0f1c25); border: 1px solid var(--line); border-radius: var(--radius); }
.converter-card:hover { border-color: rgba(57, 162, 240, .65); }
.converter-image { position: relative; height: 230px; background-image: url('../img/hero-workshop.webp'); background-size: 1900px auto; }
.image-position-1 { background-position: 24% 54%; }
.image-position-2 { background-position: 48% 52%; }
.image-position-3 { background-position: 73% 55%; }
.image-position-4 { background-position: 36% 52%; }
.image-position-5 { background-position: 82% 54%; }
.image-position-6 { background-position: 63% 52%; }
.profile-label { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(12, 22, 29, .92); border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 700; }
.converter-body { position: relative; padding: 16px; }
.converter-body h2 { margin: 0; font-size: 20px; }
.converter-body > p { margin: 3px 0 16px; color: #b8c6d0; font-size: 11px; letter-spacing: .16em; }
.converter-body > .button { position: absolute; top: 14px; right: 14px; min-height: 39px; padding: 7px 13px; font-size: 13px; }
.capabilities { display: flex; flex-wrap: wrap; gap: 11px 17px; padding-top: 14px; border-top: 1px solid var(--line); color: #c2cdd5; font-size: 12px; }
.capabilities span { display: inline-flex; align-items: center; gap: 6px; }
.marketplace-head { padding: 40px 0; background: linear-gradient(115deg, #102331, #0b151e 60%, #063761); border-bottom: 1px solid var(--line); }
.marketplace-head-inner { display: grid; grid-template-columns: 1fr minmax(350px, .75fr); align-items: center; gap: 40px; }
.marketplace-head h1 { margin: 0 0 7px; font-size: clamp(34px, 3vw, 50px); line-height: 1.08; }
.marketplace-head p { margin: 0; color: var(--muted); }
.market-search { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 15px; background: #152632; border: 1px solid var(--line-strong); border-radius: 9px; }
.category-sidebar { padding: 16px 10px; }
.category-sidebar h2 { padding: 8px 9px 14px; font-size: 18px; }
.category-tree details { border-top: 1px solid rgba(201, 220, 235, .12); }
.category-tree summary { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 7px; padding: 8px 9px; color: #c8d3db; cursor: pointer; list-style: none; font-size: 13px; }
.category-tree summary::-webkit-details-marker { display: none; }
.category-tree summary > span:first-child { display: flex; align-items: center; gap: 9px; }
.category-tree summary .icon { color: #76bdf3; }
.category-tree summary.is-active { color: white; background: rgba(7, 135, 248, .12); border-radius: 6px; }
.category-tree details[open] .tree-chevron { transform: rotate(90deg); }
.category-tree details > div { padding: 0 9px 10px 39px; }
.category-tree details > div a { display: block; padding: 4px 0; color: var(--muted); font-size: 12px; }
.category-tree details > div a:hover { color: #66baff; }
.category-tree details > div a.is-active { color: white; font-weight: 700; }
.market-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-category-card { display: grid; min-height: 105px; grid-template-columns: 50px 1fr auto; align-items: center; gap: 15px; padding: 16px; background: linear-gradient(155deg, #172835, #0f1b24); border: 1px solid var(--line); border-radius: 9px; transition: transform .17s ease, border-color .17s ease; }
.market-category-card.is-active { border-color: #238fe1; box-shadow: inset 3px 0 #168ff0; }
.market-icon { display: grid; width: 50px; height: 50px; place-items: center; color: #68bbfa; background: rgba(7, 135, 248, .1); border-radius: 8px; }
.market-category-card strong, .market-category-card small { display: block; }
.market-category-card small { margin-top: 4px; color: var(--muted); }
.revenue-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.revenue-paths article { min-height: 295px; padding: 27px; background: linear-gradient(150deg, #182a38, #0e1921); border: 1px solid var(--line); border-radius: var(--radius); }
.revenue-paths h2 { margin: 0 0 9px; }
.revenue-paths p { color: var(--muted); }
.revenue-paths .text-link { margin-top: 18px; }
.feature-status { display: inline-flex; margin-top: 18px; color: #79c6ff; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; padding: 55px; text-align: center; background: linear-gradient(150deg, #142532, #0e1922); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.simple-page { min-height: 530px; padding-block: 105px; }
.status-mark { display: grid; width: 62px; height: 62px; margin-bottom: 25px; place-items: center; color: #66bbfa; background: rgba(7, 135, 248, .1); border: 1px solid rgba(87, 179, 247, .3); border-radius: 13px; }
.status-mark .icon { width: 31px; height: 31px; }
.simple-page h1 { max-width: 900px; margin: 0 0 14px; font-size: clamp(38px, 4vw, 60px); line-height: 1.05; }
.simple-page p { max-width: 720px; margin: 0 0 28px; color: var(--muted); font-size: 18px; }
.simple-page .legal-note { padding-left: 14px; color: #b9c8d2; border-left: 2px solid #328ed0; font-size: 14px; }
.information-masthead { min-height: 315px; }
.information-masthead .eyebrow { margin-bottom: 10px; }
.information-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; padding-block: 46px 82px; }
.information-aside { position: sticky; top: 100px; align-self: start; padding: 24px; background: linear-gradient(145deg, #172734, #101c25); border: 1px solid var(--line); border-radius: var(--radius); }
.information-aside strong { display: block; margin-bottom: 8px; font-size: 18px; }
.information-aside p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.information-content { display: grid; gap: 16px; }
.information-content > section { padding: 28px 30px; background: linear-gradient(150deg, #142532, #0e1922); border: 1px solid var(--line); border-radius: var(--radius); }
.information-content h2 { margin: 0 0 12px; font-size: clamp(23px, 2vw, 31px); line-height: 1.15; }
.information-content p { margin: 0 0 13px; color: #c3d0d8; }
.information-content p:last-child { margin-bottom: 0; }
.information-content ul { display: grid; gap: 8px; margin: 13px 0 0; padding-left: 22px; color: #c3d0d8; }
.information-content li::marker { color: var(--blue-light); }
.information-content .information-updated { margin: 7px 0 0; padding: 16px 18px; color: #9fb1bd; border-left: 2px solid #328ed0; font-size: 13px; }
.compact-masthead { min-height: 230px; }
.context-tree { display: grid; gap: 3px; }
.context-tree a { display: grid; min-height: 47px; grid-template-columns: 23px 1fr 18px; align-items: center; gap: 9px; padding: 8px 9px; color: #c7d2da; border-bottom: 1px solid rgba(201, 220, 235, .11); font-size: 13px; }
.context-tree a:hover { color: white; background: rgba(7, 135, 248, .1); border-radius: 6px; }
.context-tree a.is-active { color: white; background: rgba(7, 135, 248, .14); border-radius: 6px; box-shadow: inset 3px 0 #168ff0; }
.context-tree a > .icon:first-child { color: #65b8f6; }
.context-tree a > .icon:last-child { width: 15px; justify-self: end; color: #697e8c; }
.simple-panel { min-height: 430px; padding: 55px; background: linear-gradient(150deg, #142532, #0e1922); border: 1px solid var(--line); border-radius: var(--radius); }
.simple-panel h2 { margin: 0 0 12px; font-size: clamp(30px, 3vw, 46px); }
.simple-panel p { max-width: 650px; color: var(--muted); }

.account-page { position: relative; min-height: 720px; padding: 72px 0 90px; overflow: hidden; background-color: #09141d; background-image: url('../img/hero-workshop.webp'); background-position: center 52%; background-size: cover; }
.account-page-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 14, 21, .86) 0%, rgba(6, 17, 25, .72) 48%, rgba(6, 18, 27, .5) 100%), linear-gradient(0deg, rgba(5, 14, 21, .82), rgba(5, 14, 21, .14)); }
.account-layout { position: relative; z-index: 1; display: grid; min-height: 555px; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .65fr); align-items: center; gap: clamp(48px, 7vw, 125px); }
.account-intro h1 { max-width: 720px; margin: 0 0 16px; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.account-intro > p { max-width: 620px; margin: 0 0 31px; color: #c3d0d9; font-size: 18px; line-height: 1.55; }
.account-benefits { display: grid; max-width: 620px; gap: 13px; margin: 0; padding: 0; list-style: none; }
.account-benefits li { display: flex; align-items: center; gap: 11px; color: #d9e4eb; font-size: 14px; }
.account-benefits .icon { width: 19px; height: 19px; color: #65bcfc; }
.account-card { padding: 34px; background: linear-gradient(150deg, rgba(24, 43, 56, .98), rgba(11, 24, 33, .98)); border: 1px solid rgba(126, 174, 207, .28); border-radius: 12px; box-shadow: 0 25px 70px rgba(0, 0, 0, .38); }
.account-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; }
.account-card-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.025em; }
.account-card-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.account-card-icon { display: grid; width: 48px; height: 48px; place-items: center; color: #75c4ff; background: rgba(7, 135, 248, .12); border: 1px solid rgba(92, 183, 250, .22); border-radius: 9px; }
.account-form { display: grid; gap: 17px; }
.account-form > label:not(.remember-row) { display: grid; gap: 7px; color: #cbd7df; font-size: 13px; font-weight: 650; }
.account-form input[type="email"], .account-form input[type="password"] { width: 100%; min-height: 50px; padding: 10px 13px; color: white; background: #0d1c26; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; }
.account-form input[type="email"]:focus, .account-form input[type="password"]:focus { border-color: #45aaf1; box-shadow: 0 0 0 3px rgba(47, 156, 234, .13); }
.remember-row { display: flex; align-items: center; gap: 9px; color: #b8c7d1; font-size: 13px; }
.remember-row input { width: 17px; height: 17px; accent-color: var(--blue); }
.account-form .button { width: 100%; margin-top: 3px; }
.form-alert { margin-bottom: 18px; padding: 12px 14px; color: #ffd9d9; background: rgba(163, 47, 47, .2); border: 1px solid rgba(244, 117, 117, .35); border-radius: 8px; font-size: 13px; }
.account-preview-note { margin: 21px 0 0; padding-top: 18px; color: #9fb1bd; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.account-preview-note strong { margin-right: 5px; color: #69beff; font-size: 10px; letter-spacing: .13em; }

.global-footer { position: relative; min-height: 535px; overflow: hidden; background-color: #08131b; background-image: url('../img/footer-road.webp'); background-position: center bottom; background-size: cover; border-top: 1px solid var(--line); }
.footer-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 19, .88), rgba(5, 13, 19, .62) 55%, rgba(5, 13, 19, .74)), linear-gradient(0deg, rgba(5, 13, 19, .84), rgba(5, 13, 19, .18)); }
.footer-content { position: relative; z-index: 1; width: min(calc(100% - 48px), var(--content)); margin: auto; padding-top: 58px; }
.footer-brand { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin: 0; color: #c4d0d8; font-size: 13px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.footer-columns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; padding: 38px 0; }
.footer-columns section { display: grid; align-content: start; gap: 9px; }
.footer-columns h2 { margin: 0 0 5px; color: #7cc5fb; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.footer-columns a { color: #c4cfd7; font-size: 13px; line-height: 1.35; }
.footer-columns a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 30px; border-top: 1px solid var(--line); color: #9eacb6; font-size: 12px; }
.selectors { display: flex; gap: 9px; }
.selectors form { margin: 0; }
.selectors select { min-height: 38px; min-width: 120px; font-size: 12px; }

:focus-visible { outline: 2px solid #6ac0ff; outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 1320px) {
    .header-inner { gap: 24px; }
    .global-nav { gap: 4px; }
    .nav-link { font-size: 13px; }
    .header-cta { padding-inline: 14px; font-size: 13px; }
    .category-rail { grid-template-columns: repeat(3, 1fr); }
    .converter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vehicle-model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: auto 1fr auto; }
    .mobile-menu-button { display: inline-grid; justify-self: end; }
    .global-nav { position: fixed; top: 76px; right: 0; left: 0; display: none; max-height: calc(100vh - 76px); padding: 12px 24px 26px; overflow: auto; background: #0a151e; border-bottom: 1px solid var(--line); }
    .global-nav.is-open { display: block; }
    .nav-group { display: block; }
    .nav-link { width: 100%; min-height: 50px; justify-content: space-between; padding: 0 3px; border-bottom: 1px solid var(--line); }
    a.nav-link { display: flex; }
    .nav-link::after { display: none; }
    .mega-menu { position: static; display: none; width: 100%; max-height: none; grid-template-columns: 1fr; visibility: visible; opacity: 1; border: 0; border-radius: 0; box-shadow: none; transform: none; transition: none; }
    .nav-group.is-open .mega-menu { display: grid; transform: none; }
    .mega-intro { display: none; }
    .mega-mobile-root { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px; color: #73c0ff; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 750; }
    .mega-grid > .mega-mobile-root { display: flex; grid-column: 1 / -1; background: #132532; }
    .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1px; }
    .vehicle-mega-content { grid-template-columns: 1fr; padding: 18px 4px; }
    .vehicle-model-grid { grid-template-columns: repeat(3, 1fr); }
    .task-links { padding-left: 0; border-left: 0; }
    .header-actions { justify-self: end; }
    .header-actions .icon-button { display: none; }
    .header-cta { display: none; }
    .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; }
    .mobile-nav-actions form { display: flex; grid-column: 1 / -1; align-items: center; padding: 4px 5px 4px 12px; background: #152430; border: 1px solid var(--line-strong); border-radius: 8px; }
    .mobile-nav-actions input { width: 100%; min-width: 0; padding: 9px 4px; background: transparent; color: white; border: 0; outline: 0; }
    .browse-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; gap: 42px; }
    .account-intro { max-width: 760px; }
    .account-card { width: min(100%, 620px); }
    .context-sidebar { position: fixed; z-index: 110; top: 0; bottom: 0; left: 0; width: min(380px, 92vw); max-height: none; visibility: hidden; border-radius: 0; transform: translateX(-105%); transition: transform .2s ease, visibility .2s; }
    .context-sidebar.is-open { visibility: visible; transform: none; box-shadow: 16px 0 60px rgba(0, 0, 0, .55); }
    .sidebar-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
    .sidebar-trigger { display: inline-flex; justify-self: start; }
    .trust-rail { grid-template-columns: repeat(2, 1fr); }
    .revenue-paths { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
    .content-width, .footer-content, .header-inner { width: min(calc(100% - 30px), var(--content)); }
    .header-inner { min-height: 68px; }
    .brand-logo { width: 205px; }
    .footer-logo { width: 260px; }
    .global-nav { top: 68px; }
    .vehicle-model-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-grid { grid-template-columns: 1fr; }
    .hero { min-height: 600px; background-position: 43% 50%; }
    .hero-content { bottom: 27px; }
    .hero h1 { font-size: 38px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .trust-rail { grid-template-columns: 1fr; padding-inline: 15px; }
    .staging-notice .content-width { min-height: 54px; align-items: flex-start; flex-direction: column; gap: 1px; padding-block: 8px; text-align: left; }
    .trust-rail > div { min-height: 84px; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-rail > div:first-child { border-left: 0; }
    .category-rail, .converter-grid, .market-category-grid, .revenue-paths { grid-template-columns: 1fr; }
    .category-card { min-height: 210px; }
    .split-heading, .revenue-inner, .footer-brand, .footer-bottom { align-items: flex-start; flex-direction: column; }
    .page-masthead { min-height: 245px; }
    .browse-layout { padding-top: 16px; }
    .results-toolbar { align-items: flex-start; flex-direction: column; }
    .toolbar-actions { width: 100%; flex-wrap: wrap; }
    .toolbar-actions select { flex: 1 1 100%; }
    .converter-image { height: 220px; }
    .converter-body > .button { position: static; width: 100%; margin-top: 16px; }
    .marketplace-head-inner { grid-template-columns: 1fr; gap: 25px; }
    .market-search { flex-wrap: wrap; }
    .market-search .button { width: 100%; }
    .mobile-nav-actions { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .selectors { width: 100%; }
    .selectors label { flex: 1; }
    .simple-page { padding-block: 72px; }
    .information-layout { grid-template-columns: 1fr; padding-block: 28px 58px; }
    .information-aside { position: static; }
    .information-content > section { padding: 23px 20px; }
    .account-page { padding: 55px 0 68px; }
    .account-layout { min-height: 0; gap: 35px; }
    .account-intro h1 { font-size: 41px; }
    .account-card { padding: 25px 21px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* FitYourself marketplace commerce results */
.shop-results-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -2px 0 18px; padding: 13px 15px; color: var(--muted); background: rgba(20, 35, 48, .62); border: 1px solid rgba(201, 220, 235, .14); border-radius: 8px; font-size: 13px; }
.shop-results-head strong { color: var(--paper); font-size: 16px; }
.shop-results-head .text-link { flex: 0 0 auto; }
.market-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.market-product-card { display: flex; min-width: 0; min-height: 395px; flex-direction: column; overflow: hidden; background: linear-gradient(155deg, #172835, #0f1b24); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease; }
.market-product-card:hover, .market-product-card:focus-visible { border-color: rgba(50, 164, 255, .72); box-shadow: 0 18px 42px rgba(0, 0, 0, .28); transform: translateY(-3px); outline: 0; }
.market-product-media { display: grid; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; background: #eaf0f4; border-bottom: 1px solid var(--line); }
.market-product-media img { width: 100%; height: 100%; object-fit: contain; }
.market-product-placeholder { display: grid; width: 72px; height: 72px; place-items: center; color: #65b9f8; background: #dce9f2; border: 1px solid #bed0dc; border-radius: 13px; }
.market-product-placeholder .icon { width: 34px; height: 34px; }
.market-product-body { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 18px; }
.market-product-name { color: var(--paper); font-size: 17px; font-weight: 760; line-height: 1.28; }
.market-product-summary { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.market-product-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.market-product-meta strong { color: white; font-size: 18px; }
.market-product-meta > span { color: #9db0bc; font-size: 11px; }
.market-product-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; color: #73c0ff; border-top: 1px solid rgba(201, 220, 235, .13); font-size: 13px; font-weight: 750; }
.market-product-action .icon { width: 16px; height: 16px; }
.market-empty-state { min-height: 365px; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.market-empty-state .market-empty-icon { margin: 0 auto 20px; }
.market-empty-state strong { color: var(--paper); }
.market-empty-state .button { display: inline-flex; }

@media (max-width: 720px) {
    .shop-results-head { align-items: flex-start; flex-direction: column; }
    .market-product-grid { grid-template-columns: 1fr; }
    .market-product-card { min-height: 0; }
    .market-empty-state { min-height: 330px; padding: 38px 22px; }
}
