:root {
  --ink: #101218;
  --muted: #686d78;
  --line: #e3e4e7;
  --soft: #f4f4f1;
  --paper: #fbfbf8;
  --blue: #3154d5;
  --cobalt: #2446c4;
  --lime: #d8ff3e;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 24px 60px rgba(8, 12, 24, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header { height: 72px; padding: 0 clamp(20px, 4vw, 66px); display: flex; align-items: center; justify-content: space-between; background: #0e1015; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 17px; letter-spacing: .18em; font-weight: 800; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); transform: rotate(45deg); }
.brand-mark svg { width: 17px; transform: rotate(-45deg); }
.primary-nav { display: flex; align-items: center; gap: 34px; height: 100%; margin-left: 8vw; }
.primary-nav a, .nav-more { position: relative; height: 100%; display: flex; align-items: center; border: 0; background: transparent; color: #b5b7bd; font-size: 13px; cursor: pointer; }
.primary-nav a:hover, .nav-more:hover, .primary-nav a.active { color: white; }
.primary-nav a.active::after { content: ""; position: absolute; height: 2px; background: var(--lime); bottom: 0; left: 0; right: 0; }
.nav-more svg { width: 14px; margin-left: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .avatar-button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: white; display: grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.12); }
.avatar-button { border-radius: 50%; background: #e9ecf2; color: #17191e; font-size: 11px; font-weight: 800; }
.cart-button { position: relative; }
.cart-count { position: absolute; right: -5px; top: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 20px; display: none; place-items: center; background: var(--lime); color: #111; border: 2px solid #0e1015; font-size: 9px; font-weight: 900; }
.credit-pill { height: 38px; border: 1px solid rgba(216,255,62,.32); background: rgba(216,255,62,.1); color: #f7ffdb; padding: 0 14px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.credit-pill strong { color: var(--lime); }
.credit-gem { color: var(--lime); }
.mobile-search { display: none; }

.hero { min-height: 630px; height: calc(100vh - 72px); max-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; background: #0b0e14; color: white; }
.hero-image { position: absolute; inset: 0; background: url('assets/atlas-hero.png') center / cover no-repeat; transform: scale(1.005); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,10,.96) 0%, rgba(6,7,10,.83) 28%, rgba(6,7,10,.2) 62%, rgba(6,7,10,.06) 100%), linear-gradient(0deg, rgba(6,7,10,.62), transparent 46%); }
.hero-content { width: min(660px, 48vw); margin-left: clamp(24px, 8vw, 128px); position: relative; z-index: 2; margin-top: -10px; }
.eyebrow { font-size: 10px; letter-spacing: .22em; font-weight: 800; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow span { width: 28px; height: 1px; background: var(--lime); }
.eyebrow.dark { color: #686d78; }
.eyebrow.dark span { background: var(--blue); }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; line-height: .95; font-size: clamp(55px, 6.4vw, 92px); margin: 0; }
.hero h1 em { color: #b4b7c0; font-weight: 400; }
.hero-copy { color: #bbbfc8; font-size: 16px; line-height: 1.65; max-width: 540px; margin: 28px 0; }
.hero-search { width: min(650px, 80vw); background: white; height: 64px; display: flex; align-items: center; padding: 0 8px 0 21px; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.hero-search > svg { color: #747985; flex: 0 0 auto; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; color: #191b21; background: transparent; }
.hero-search input::placeholder { color: #8c919a; }
.hero-search kbd { border: 1px solid #d8d9dc; background: #f5f5f3; color: #777c86; padding: 5px 7px; font-size: 10px; margin-right: 8px; }
.hero-search button { height: 48px; min-width: 104px; border: 0; background: var(--blue); color: white; font-weight: 700; font-size: 13px; cursor: pointer; }
.hero-search button:hover { background: var(--cobalt); }
.trending { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 11px; color: #858993; }
.trending button { border: 0; background: none; color: #c4c7ce; padding: 0 0 3px; border-bottom: 1px solid #555a64; cursor: pointer; }
.trending button:hover { color: white; border-color: white; }
.hero-stat { position: absolute; bottom: 30px; right: clamp(24px, 5vw, 80px); z-index: 2; display: flex; gap: 12px; align-items: flex-start; background: rgba(9,11,16,.72); backdrop-filter: blur(12px); padding: 13px 17px; border: 1px solid rgba(255,255,255,.12); }
.hero-stat strong { display: block; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.hero-stat small { display: block; color: #8d929e; margin-top: 2px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216,255,62,.13); margin-top: 6px; }

.trust-strip { min-height: 92px; padding: 20px clamp(24px, 7vw, 112px); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; border-bottom: 1px solid var(--line); background: white; }
.trust-strip > div { display: flex; align-items: center; gap: 13px; justify-content: center; padding: 0 22px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-strip svg { width: 19px; color: var(--blue); }
.trust-strip span { display: flex; flex-direction: column; gap: 3px; }
.trust-strip strong { font-size: 12px; }
.trust-strip small { color: #8a8e97; font-size: 10px; }

.marketplace { max-width: 1440px; margin: 0 auto; padding: 82px clamp(24px, 5vw, 80px) 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 54px); font-weight: 400; letter-spacing: -.035em; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading > a { font-size: 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #aaa; }
.section-heading a svg { width: 16px; }
.category-tabs { margin-top: 48px; display: flex; gap: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.category-tabs button { white-space: nowrap; border: 0; background: none; padding: 0 0 17px; color: #7a7f88; font-size: 12px; position: relative; cursor: pointer; }
.category-tabs button span { margin-left: 5px; color: #a5a8ae; font-size: 9px; }
.category-tabs button.active { color: var(--ink); font-weight: 700; }
.category-tabs button.active::after { content: ""; height: 2px; position: absolute; left: 0; right: 0; bottom: -1px; background: var(--ink); }
.catalog-toolbar { min-height: 70px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.filter-button, .filter-chip { height: 32px; border: 1px solid #d9dade; background: white; display: flex; align-items: center; gap: 8px; padding: 0 11px; font-size: 10px; font-weight: 700; cursor: pointer; }
.filter-button svg { width: 15px; }
.filter-button > span { min-width: 17px; height: 17px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 50%; font-size: 8px; }
.active-filters { display: flex; gap: 7px; }
.filter-chip { background: #f0f2fa; border-color: #dce0ee; color: #48506a; font-weight: 500; }
.filter-chip span { font-size: 14px; color: #7e8390; }
.result-count { margin-left: auto; font-size: 11px; color: #8a8e97; }
.result-count strong { color: var(--ink); }
.sort-select { display: flex; align-items: center; color: #8a8e97; font-size: 10px; margin-left: 20px; }
.sort-select select { border: 0; background: transparent; font-weight: 700; color: var(--ink); outline: 0; padding: 5px; cursor: pointer; }
.catalog-layout { display: grid; grid-template-columns: 196px 1fr; gap: 30px; padding-top: 28px; }
.filter-panel { border-right: 1px solid var(--line); padding-right: 24px; }
.filter-mobile-head { display: none; }
.filter-group { padding: 0 0 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-title { width: 100%; padding: 0; display: flex; justify-content: space-between; border: 0; background: none; font-size: 11px; font-weight: 800; cursor: pointer; }
.filter-title svg { width: 14px; transition: transform .2s; }
.filter-group.open .filter-title svg { transform: rotate(180deg); }
.filter-options, .range-wrap { display: none; padding-top: 14px; }
.filter-group.open .filter-options, .filter-group.open .range-wrap { display: flex; }
.filter-options { flex-direction: column; gap: 11px; }
.filter-options.two-col { display: none; grid-template-columns: 1fr 1fr; }
.filter-group.open .filter-options.two-col { display: grid; }
.filter-options label { display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 7px; font-size: 10px; color: #555b65; cursor: pointer; }
.filter-options input { appearance: none; width: 14px; height: 14px; border: 1px solid #c6c8cd; background: white; display: grid; place-content: center; margin: 0; }
.filter-options input:checked { background: var(--blue); border-color: var(--blue); }
.filter-options input:checked::after { content: "✓"; color: white; font-size: 9px; }
.filter-options small { color: #aaaeb6; }
.range-wrap { flex-direction: column; }
.range-wrap input { width: 100%; accent-color: var(--blue); }
.range-wrap div { display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #9b9fa8; margin-top: 5px; }
.range-wrap strong { font-size: 8px; color: #555b65; }
.range-wrap b { font-weight: inherit; }
.apply-filters { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 18px; }
.product-card { min-width: 0; cursor: pointer; animation: reveal .4s both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.product-media { aspect-ratio: 1.18; position: relative; overflow: hidden; background: #e8e9eb; }
.product-image { position: absolute; inset: 0; background-color: #20252e; background-repeat: no-repeat; filter: brightness(1.04) contrast(1.08); transition: transform .5s ease, filter .5s ease; }
.product-card:hover .product-image { transform: scale(1.045); filter: brightness(1.12) contrast(1.12); }
.product-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); pointer-events: none; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; z-index: 1; }
.badge { padding: 5px 7px; background: rgba(255,255,255,.93); backdrop-filter: blur(6px); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge.new { background: var(--lime); }
.preview-button { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border: 0; display: grid; place-items: center; background: rgba(17,19,23,.84); color: white; opacity: 0; transform: translateY(5px); transition: .2s; cursor: pointer; z-index: 2; }
.preview-button svg { width: 16px; }
.product-card:hover .preview-button { opacity: 1; transform: translateY(0); }
.product-meta { padding-top: 13px; }
.product-type { display: flex; justify-content: space-between; align-items: center; color: #8f939b; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.product-type span:last-child { text-transform: none; letter-spacing: 0; }
.product-meta h3 { font-family: Georgia, serif; font-size: 18px; font-weight: 400; margin: 7px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-bottom { display: flex; justify-content: space-between; align-items: end; }
.format-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.format-tags span { font-size: 7px; font-weight: 800; color: #717680; background: #ebecef; padding: 4px 5px; }
.price { display: flex; flex-direction: column; align-items: end; }
.price small { font-size: 7px; color: #999da5; }
.price strong { font-size: 13px; }
.no-results { grid-column: 1/-1; border: 1px solid var(--line); padding: 80px 30px; text-align: center; color: #777c85; }
.no-results h3 { color: var(--ink); font-family: Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 8px; }

.team-banner { margin: 0 clamp(20px, 4vw, 64px) 64px; min-height: 450px; padding: clamp(42px, 6vw, 84px); position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 80% 20%, #284ab8 0, transparent 25%), linear-gradient(130deg, #171a24 0%, #10131b 58%, #19233e 100%); display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; }
.team-banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000); }
.team-banner > * { position: relative; z-index: 1; }
.team-banner h2 { font-family: Georgia, serif; font-size: clamp(38px, 4vw, 58px); line-height: 1.02; font-weight: 400; letter-spacing: -.04em; margin: 0; }
.team-banner > div > p:not(.eyebrow) { color: #aeb4c3; max-width: 560px; line-height: 1.7; font-size: 14px; margin: 24px 0; }
.light-button { height: 46px; padding: 0 18px; background: white; border: 0; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 32px; cursor: pointer; }
.light-button svg { width: 15px; }
.pipeline-card { background: rgba(12,15,24,.82); border: 1px solid rgba(255,255,255,.14); padding: 25px; box-shadow: 0 28px 70px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.pipeline-head { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .15em; color: #8b93a5; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.live-dot { color: var(--lime); }
.pipeline-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; margin: 18px 0; }
.pipe-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #444b5b; font-size: 8px; color: #8c93a3; }
.pipeline-row strong, .pipeline-row small { display: block; }
.pipeline-row strong { font-size: 11px; }
.pipeline-row small { color: #70788b; font-size: 8px; margin-top: 4px; }
.pipeline-row > span:last-child { font-size: 9px; color: #8d95a6; }
.pipeline-row.active .pipe-icon { border-color: var(--lime); color: var(--lime); }
.pipeline-row.active > span:last-child { color: var(--lime); }
.pipeline-line { width: 1px; height: 8px; margin: -10px 0 -10px 17px; background: #3f4655; }
.mini-progress { height: 2px; background: #353c4b; margin: -9px 0 0 50px; }
.mini-progress span { display: block; height: 100%; width: 84%; background: var(--lime); }

footer { min-height: 150px; background: #0c0e13; color: #777d88; padding: 36px clamp(24px, 5vw, 80px); display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 20px 50px; }
.footer-brand { color: white; }
footer p { font-family: Georgia, serif; font-size: 17px; }
footer div { display: flex; gap: 28px; font-size: 10px; color: #b5bac4; }
footer small { grid-column: 1/-1; font-size: 8px; letter-spacing: .1em; }

.overlay { position: fixed; inset: 0; background: rgba(3,5,9,.65); backdrop-filter: blur(4px); z-index: 40; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 50; padding: 30px; transform: translateX(100%); transition: .3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.drawer-header p, .account-form > p { font-size: 8px; letter-spacing: .18em; font-weight: 800; color: #838892; }
.drawer-header h2 { font-family: Georgia, serif; font-weight: 400; margin: 5px 0 0; }
.close-button { width: 36px; height: 36px; border: 1px solid var(--line); background: white; display: grid; place-items: center; cursor: pointer; }
.close-button svg { width: 17px; }
.cart-items { overflow: auto; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { background-color: #12151c; background-repeat: no-repeat; min-height: 70px; }
.cart-item h4 { margin: 2px 0 6px; font-family: Georgia, serif; font-weight: 400; font-size: 15px; }
.cart-item small { color: #8b8f98; font-size: 8px; }
.cart-item strong { font-size: 12px; }
.remove-item { border: 0; background: none; font-size: 18px; color: #999da5; cursor: pointer; padding: 0; }
.cart-empty { margin: auto 0; text-align: center; }
.cart-empty > span { margin: 0 auto 20px; width: 55px; height: 55px; border: 1px solid var(--line); display: grid; place-items: center; }
.cart-empty h3 { font-family: Georgia, serif; font-weight: 400; font-size: 22px; margin: 0; }
.cart-empty p { color: #888d97; font-size: 11px; line-height: 1.6; padding: 0 50px; }
.cart-summary { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: none; }
.cart-summary > div { display: flex; justify-content: space-between; }
.cart-summary > div span { font-size: 11px; color: #777b84; }
.cart-summary > div strong { font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.cart-summary p { color: #7d828b; display: flex; gap: 7px; font-size: 8px; align-items: center; }
.cart-summary p svg { color: var(--blue); width: 14px; }
.cart-summary button, .viewer-buy button, .account-form > button[type="submit"] { width: 100%; height: 50px; border: 0; background: var(--blue); color: white; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 20px; cursor: pointer; }
.cart-summary button:hover, .viewer-buy button:hover, .account-form > button[type="submit"]:hover { background: var(--cobalt); }

.modal { position: fixed; left: 50%; top: 50%; width: min(1120px, calc(100vw - 48px)); max-height: calc(100vh - 48px); background: var(--paper); z-index: 60; transform: translate(-50%, -47%) scale(.98); opacity: 0; visibility: hidden; transition: .25s; box-shadow: var(--shadow); overflow: auto; }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.modal-close { position: absolute; right: 15px; top: 15px; z-index: 5; }
.viewer-modal { display: grid; grid-template-columns: 1.5fr 1fr; }
.viewer-stage { min-height: 610px; position: relative; overflow: hidden; background: #20252e; }
#modelCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#modelCanvas:active { cursor: grabbing; }
.viewer-loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: white; background: radial-gradient(circle at center, #303846, #171b23 72%); transition: opacity .3s, visibility .3s; }
.viewer-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.viewer-loading span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--lime); animation: spin .8s linear infinite; margin-bottom: 7px; }
.viewer-loading strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.viewer-loading small { color: #8f97a8; font-size: 8px; letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-badge { position: absolute; left: 18px; top: 18px; color: #cbd0da; background: rgba(12,14,20,.8); border: 1px solid rgba(255,255,255,.15); padding: 8px 11px; font-size: 8px; letter-spacing: .12em; }
.viewer-badge span { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--lime); }
.viewer-controls { position: absolute; right: 15px; top: 70px; display: grid; }
.viewer-controls button { width: 34px; height: 34px; background: rgba(12,14,20,.78); color: white; border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.viewer-modes { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; padding: 4px; background: rgba(12,14,20,.84); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(10px); }
.viewer-modes > span { padding: 0 9px; color: #868e9e; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.viewer-modes button { height: 29px; padding: 0 10px; border: 0; background: transparent; color: #aeb5c1; font-size: 8px; cursor: pointer; }
.viewer-modes button:hover { color: white; }
.viewer-modes button.active { color: #11141b; background: var(--lime); font-weight: 800; }
.orbit-hint { position: absolute; right: 18px; bottom: 18px; color: #a4a9b4; background: rgba(12,14,20,.72); padding: 9px 11px; font-size: 8px; }
.viewer-info { padding: 52px 34px 30px; }
.viewer-info h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; margin: 0; }
.viewer-info > p:not(.eyebrow) { color: #747983; font-size: 11px; line-height: 1.7; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border: 1px solid var(--line); }
.spec-grid div { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid div:nth-child(even) { border-right: 0; }
.spec-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-grid small, .viewer-buy small { color: #999da6; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; display: block; }
.spec-grid strong { font-size: 10px; display: block; margin-top: 5px; }
.format-list { display: flex; gap: 6px; margin: 22px 0; }
.format-list span { background: #e9eaed; padding: 6px 8px; font-size: 8px; font-weight: 800; }
.viewer-buy { border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: center; }
.viewer-buy strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }

.account-modal { max-width: 860px; grid-template-columns: 1fr 1fr; }
.account-modal.open { display: grid; }
.account-visual { background: #141722; color: white; padding: 55px 45px; min-height: 510px; display: flex; flex-direction: column; justify-content: center; background-image: radial-gradient(circle at 80% 20%, rgba(49,84,213,.5), transparent 32%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, 30px 30px, 30px 30px; }
.brand-mark.large { width: 48px; height: 48px; margin-bottom: 32px; }
.account-visual h2 { font-family: Georgia, serif; font-size: 40px; font-weight: 400; margin: 0; }
.account-visual p { color: #9ea5b3; }
.credit-stack { margin-top: 60px; border: 1px solid rgba(216,255,62,.35); background: rgba(216,255,62,.07); padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.credit-stack span { grid-row: 1/3; color: var(--lime); align-self: center; }
.credit-stack strong { font-size: 11px; }
.credit-stack small { color: #89909d; font-size: 8px; }
.account-form { padding: 58px 42px 35px; }
.account-form h2 { font-family: Georgia, serif; font-size: 31px; font-weight: 400; margin: 4px 0 30px; }
.account-form label { display: block; font-size: 9px; font-weight: 700; margin-bottom: 16px; }
.account-form input { display: block; width: 100%; height: 44px; border: 1px solid #d9dade; background: white; outline: 0; padding: 0 12px; margin-top: 7px; font-size: 11px; }
.account-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(49,84,213,.1); }
.account-form > small { display: block; text-align: center; color: #999da5; font-size: 7px; margin-top: 12px; }
.form-divider { display: flex; align-items: center; gap: 10px; color: #aaa; font-size: 8px; margin: 24px 0; }
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso-button { width: 100%; height: 44px; background: white; border: 1px solid #d9dade; font-size: 10px; font-weight: 700; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 16px; background: #11141b; color: white; z-index: 90; display: flex; align-items: center; gap: 9px; opacity: 0; visibility: hidden; transition: .25s; font-size: 10px; box-shadow: var(--shadow); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 15px; color: var(--lime); }
body.no-scroll { overflow: hidden; }

@media (max-width: 1080px) {
  .primary-nav { gap: 20px; margin-left: 2vw; }
  .credit-pill { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-banner { grid-template-columns: 1fr 380px; gap: 45px; }
}

@media (max-width: 780px) {
  .site-header { height: 62px; padding: 0 18px; }
  .primary-nav { display: none; }
  .mobile-search { display: grid; }
  .hero { height: 690px; min-height: 0; align-items: flex-start; padding-top: 82px; }
  .hero-image { background-position: 64% center; opacity: .72; }
  .hero-scrim { background: linear-gradient(180deg, rgba(7,8,12,.98) 0%, rgba(7,8,12,.8) 45%, rgba(7,8,12,.3) 100%); }
  .hero-content { width: calc(100% - 40px); min-width: 0; max-width: none; margin: 0 20px; }
  .hero h1 { font-size: clamp(46px, 13vw, 62px); }
  .hero-copy { font-size: 14px; margin: 20px 0; }
  .hero-search { width: 100%; height: 58px; }
  .hero-search kbd { display: none; }
  .hero-search button { min-width: 82px; height: 44px; }
  .trending { gap: 10px; overflow: auto; }
  .hero-stat { left: 20px; right: auto; bottom: 18px; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 12px; }
  .trust-strip > div { justify-content: flex-start; border-right: 0; padding: 13px; }
  .marketplace { padding: 62px 18px 75px; }
  .section-heading { align-items: start; }
  .section-heading > a { display: none; }
  .section-heading h2 { font-size: 39px; }
  .category-tabs { gap: 24px; margin-top: 34px; }
  .active-filters { display: none; }
  .catalog-toolbar { min-height: 60px; }
  .sort-select { margin-left: auto; }
  .result-count { display: none; }
  .catalog-layout { display: block; padding-top: 20px; }
  .filter-panel { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(360px, 90vw); padding: 25px; background: white; transform: translateX(100%); transition: .25s; overflow: auto; }
  .filter-panel.open-mobile { transform: translateX(0); box-shadow: var(--shadow); }
  .filter-mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-family: Georgia, serif; font-size: 24px; }
  .filter-mobile-head button { border: 0; background: none; }
  .apply-filters { display: block; position: sticky; bottom: 0; width: 100%; height: 46px; background: var(--blue); color: white; border: 0; font-size: 11px; font-weight: 800; }
  .product-grid { gap: 26px 10px; }
  .product-meta h3 { font-size: 15px; }
  .product-type span:last-child { display: none; }
  .team-banner { margin: 0; padding: 54px 24px; grid-template-columns: 1fr; gap: 45px; }
  .pipeline-card { padding: 20px; }
  footer { grid-template-columns: 1fr; }
  footer div { flex-wrap: wrap; }
  footer small { grid-column: auto; }
  .viewer-modal { grid-template-columns: 1fr; }
  .viewer-stage { min-height: 390px; }
  .viewer-modes { left: 12px; bottom: 12px; }
  .viewer-modes > span { display: none; }
  .viewer-modes button { padding: 0 8px; }
  .orbit-hint { display: none; }
  .viewer-info { padding: 35px 25px 25px; }
  .account-modal.open { display: block; }
  .account-visual { display: none; }
}

@media (max-width: 460px) {
  .brand { font-size: 14px; }
  .brand-mark { width: 27px; height: 27px; }
  .header-actions { gap: 6px; }
  .icon-button, .avatar-button { width: 34px; height: 34px; }
  .hero-search input { font-size: 12px; }
  .hero-search button { min-width: 70px; font-size: 11px; }
  .trust-strip small { display: none; }
  .trust-strip strong { font-size: 10px; }
  .catalog-toolbar { gap: 5px; }
  .sort-select { font-size: 0; }
  .sort-select select { font-size: 9px; max-width: 125px; }
  .product-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-media { aspect-ratio: 1.3; }
  .product-meta h3 { font-size: 19px; }
  .preview-button { opacity: 1; transform: none; }
  .modal { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .viewer-stage { min-height: 310px; }
  .account-form { padding: 50px 25px 30px; }
}

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