:root {
  color-scheme: dark;
  --bg: #111214;
  --panel: #191a1d;
  --panel-soft: #202124;
  --line: rgba(255, 255, 255, .09);
  --muted: #9c9da1;
  --text: #f5f4f2;
  --red: #d82d35;
  --red-light: #fa4a50;
  --font-display: "Oswald", Impact, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 14px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.site-shell { width: min(100%, 1600px); margin: 0 auto; overflow: hidden; }

.site-header { height: 82px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(17, 18, 20, .97); position: relative; z-index: 3; }
.brand { display: inline-flex; gap: 12px; align-items: center; min-width: 190px; }
.brand img { object-fit: contain; border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: 1.5px; line-height: 1; }
.brand-copy small { color: #b6b5b4; font-family: var(--font-display); font-size: 9px; letter-spacing: 2.5px; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-link { color: #b7b7b9; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: white; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.server-status { display: inline-flex; align-items: center; gap: 8px; color: #b9b9ba; font-size: 11px; }
.server-status i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--red); }
.account-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 9px 0; border: 0; background: none; color: #c1c1c3; cursor: pointer; font-size: 11px; font-weight: 600; transition: color .2s ease; }
.account-trigger:hover { color: white; }
.account-trigger svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-trigger { display: inline-flex; gap: 9px; align-items: center; padding: 10px 0 10px 18px; border: 0; border-left: 1px solid var(--line); background: none; cursor: pointer; font-size: 11px; font-weight: 600; }
.cart-trigger svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-trigger b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--red); font-size: 10px; }

.eyebrow { display: flex; align-items: center; gap: 10px; color: #c3c0c0; font-size: 9px; font-weight: 700; letter-spacing: 2.2px; }
.eyebrow > span { width: 20px; height: 2px; display: inline-block; background: var(--red); }
.section-heading h2, .join-copy h2, .auth-dialog h2 { margin: 25px 0 18px; font-family: var(--font-display); font-size: clamp(70px, 9.3vw, 122px); font-weight: 600; letter-spacing: -2px; line-height: .87; }
.section-heading h2 em, .join-copy h2 em, .auth-dialog h2 em { color: var(--red); font-style: normal; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 27px; padding: 0 20px; border: 1px solid transparent; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-light); }
.button-quiet { border-color: rgba(255,255,255,.16); background: rgba(20,20,20,.18); }
.button-quiet:hover { border-color: rgba(255,255,255,.45); }
.section-wrap { padding-right: 11.5%; padding-left: 11.5%; }
.page-banner { --banner-art: url("../assets/images/blackline-city-art.avif"); position: relative; width: 100%; aspect-ratio: 1983 / 793; overflow: hidden; border-bottom: 1px solid var(--line); background-color: var(--bg); background-image: var(--banner-art); background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-banner-store { --banner-art: url("../assets/images/Blackline City Official Store.png"); }
.page-banner-rules { --banner-art: url("../assets/images/Blackline City Server Rules.png"); }
.page-banner-help { --banner-art: url("../assets/images/Blackline City Help Centre.png"); }
.page-banner-city { --banner-art: url("../assets/images/blackline-city-art.avif"); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rules-card h2 em, .help-card h2 em { color: var(--red); font-style: normal; }
.city-section { padding-top: 76px; padding-bottom: 48px; }
.city-link-number { color: var(--red); font-family: var(--font-display); font-size: 17px; }
.city-link-arrow { color: #a4a4a6; font-size: 15px; }
.home-packages { padding-top: 20px; padding-bottom: 82px; }
.home-packages .section-heading { align-items: end; }
.home-packages .section-heading h2 { max-width: 610px; font-size: clamp(42px, 5vw, 61px); }
.home-packages .section-heading h2 em { color: var(--red); font-style: normal; }
.home-packages-intro { max-width: 350px; }
.home-packages-intro .section-intro { margin: 0 0 14px; }
.home-packages-message { padding: 14px 18px; margin: 0 0 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--muted); font-size: 11px; line-height: 1.7; }
.home-packages-message[hidden] { display: none; }
.home-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-package-card .product-details p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-package-link { min-height: 34px; gap: 10px; padding: 0 10px; font-size: 9px; }
.home-packages-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.home-packages-footer p { margin: 0; color: var(--muted); font-size: 10px; }
.home-packages-footer .button { min-height: 39px; gap: 17px; padding: 0 13px; font-size: 10px; }
.home-steps { padding-top: 14px; padding-bottom: 84px; }
.home-steps-heading { margin-bottom: 22px; }
.home-steps-heading .eyebrow { margin-bottom: 13px; }
.home-steps-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(37px, 4.5vw, 52px); font-weight: 600; letter-spacing: -.5px; line-height: .98; }
.home-steps-heading h2 em { color: var(--red); font-style: normal; }
.home-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-step { min-height: 118px; display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s ease, transform .2s ease; }
.home-step:hover { transform: translateY(-3px); border-color: rgba(216,45,53,.55); }
.home-step > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 8px; }
.home-step strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: .2px; }
.home-step small { color: var(--muted); font-size: 10px; line-height: 1.7; }
.help-content, .rules-content { padding-top: 54px; padding-bottom: 82px; }
.help-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-card { position: relative; min-height: 320px; overflow: hidden; padding: 27px 24px; border: 1px solid var(--line); background: linear-gradient(145deg, #1d1e21, #17181a); }
.help-number { position: absolute; top: 14px; right: 18px; color: rgba(216,45,53,.24); font-family: var(--font-display); font-size: 54px; line-height: 1; }
.help-card .eyebrow { position: relative; margin: 0 0 18px; font-size: 8px; }
.help-card h2, .rules-card h2 { position: relative; margin: 0; font-family: var(--font-display); font-size: clamp(29px, 3vw, 37px); font-weight: 500; letter-spacing: -.3px; line-height: .96; }
.help-card > p:not(.eyebrow) { min-height: 68px; margin: 14px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.help-card .button { min-height: 40px; gap: 18px; padding: 0 13px; font-size: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #eee; font-size: 10px; font-weight: 700; }
.text-link:hover { color: var(--red-light); }
.help-faqs { padding-top: 12px; padding-bottom: 82px; }
.help-faq-heading { max-width: 1100px; margin: 0 auto 24px; }
.help-faq-heading .eyebrow { margin-bottom: 14px; }
.help-faq-heading h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(38px, 5vw, 54px); font-weight: 600; letter-spacing: -.5px; line-height: .98; }
.help-faq-heading h2 em { color: var(--red); font-style: normal; }
.help-faq-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.help-faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 1100px; margin: 0 auto; }
.help-faq summary h2 { font-size: clamp(20px, 2.3vw, 26px); line-height: 1.2; }
.help-faq .rules-card-content { display: block; }
.help-faq .rules-card-content a { color: #f5f4f2; font-weight: 700; }
.help-faq .rules-card-content a:hover { color: var(--red-light); }
.rules-notice { max-width: 1100px; padding: 18px 20px; margin: 0 auto 22px; border: 1px solid rgba(216,45,53,.32); background: rgba(216,45,53,.07); }
.rules-notice strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: .4px; }
.rules-notice p { margin: 7px 0 0; color: #b1b1b3; font-size: 11px; line-height: 1.7; }
.rules-notice code { color: #f0c4c6; font-family: Consolas, monospace; }
.rules-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.rules-card { align-self: start; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.rules-card summary { position: relative; display: block; padding: 25px 62px 25px 26px; cursor: pointer; list-style: none; }
.rules-card summary::-webkit-details-marker { display: none; }
.rules-card summary::before, .rules-card summary::after { position: absolute; top: 50%; right: 27px; border-radius: 2px; background: var(--red); content: ""; transform: translateY(-50%); }
.rules-card summary::before { right: 22px; width: 12px; height: 2px; }
.rules-card summary::after { width: 2px; height: 12px; }
.rules-card[open] summary { border-bottom: 1px solid var(--line); }
.rules-card[open] summary::after { height: 0; }
.rules-card .eyebrow { margin: 0 0 15px; font-size: 8px; }
.rules-card h2 { font-size: 32px; }
.rules-card-content { display: grid; gap: 22px; padding: 22px 26px 27px; color: #b3b3b5; font-size: 12px; line-height: 1.75; }
.rules-card-content p { margin: 0 0 10px; }
.rules-card-content p:last-child { margin-bottom: 0; }
.rules-card-content > ul, .rules-subsection > ul, .rules-subsection > ol { display: grid; gap: 9px; padding-left: 20px; margin: 0; }
.rules-card-content li { padding-left: 3px; }
.rules-card li::marker { color: var(--red); font-weight: 700; }
.rules-card-content strong { color: #e6e5e4; font-weight: 600; }
.rules-card-content code { color: #f0c4c6; font-family: Consolas, monospace; }
.rules-subsection h3 { margin: 0 0 9px; color: #f5f4f2; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: .2px; line-height: 1.2; }
.rules-subheading { margin: 17px 0 7px; color: #e5e4e3; font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: .2px; }
.rules-weapon-list { margin-top: 9px !important; }
.rules-footnote { color: #8e8f92; font-size: 10px; }
.store-section { padding-top: 82px; padding-bottom: 74px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2, .join-copy h2 { margin: 0; font-size: clamp(46px, 5vw, 62px); line-height: .95; letter-spacing: -1px; }
.section-intro { max-width: 325px; margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.city-intro { max-width: 430px; margin-bottom: 6px; }
.city-intro .section-intro { max-width: none; margin: 0 0 17px; }
.city-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.city-actions .button { min-height: 42px; gap: 14px; padding: 0 15px; }
.store-message { padding: 14px 18px; margin: 0 0 22px; border: 1px solid rgba(216, 45, 53, .35); background: rgba(216, 45, 53, .08); color: #f0c4c6; font-size: 12px; line-height: 1.6; }
.store-message.is-setup { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); color: #b9b9bb; }
.store-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-tabs { display: flex; align-items: center; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; position: relative; padding: 20px 0; border: 0; background: none; color: #8f9093; cursor: pointer; font-size: 10px; font-weight: 700; transition: color .2s ease; }
.category-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; content: ""; }
.category-tab:hover, .category-tab.is-active { color: white; }
.category-tab.is-active::after { background: var(--red); }
.secure-note { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #828387; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.secure-note svg { width: 15px; fill: none; stroke: #8c8d90; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); animation: rise-in .45s both; animation-delay: calc(var(--card-order, 0) * 55ms); transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.product-visual { position: relative; height: 178px; overflow: hidden; background: #222326; }
.product-visual::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,15,17,.75), transparent 55%), linear-gradient(135deg, rgba(216,45,53,.13), transparent 55%); content: ""; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .77; transition: transform .5s ease; }
.product-card:hover .product-visual img { transform: scale(1.04); }
.product-visual-fallback { display: grid; place-items: center; background: linear-gradient(140deg, #292a2d, #17181a 70%); }
.product-visual-fallback::before { position: absolute; top: 32px; left: 50%; width: 140px; height: 140px; border: 1px solid rgba(216,45,53,.25); border-radius: 50%; content: ""; transform: translateX(-50%); }
.product-visual-fallback > span { color: rgba(216,45,53,.35); font-family: var(--font-display); font-size: 80px; font-weight: 600; letter-spacing: -5px; }
.product-category { position: absolute; z-index: 1; bottom: 13px; left: 15px; color: #f1eeee; font-size: 8px; font-weight: 700; letter-spacing: 1.6px; }
.product-details { padding: 17px 17px 14px; }
.product-details h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: .3px; }
.product-details p { min-height: 34px; margin: 0; color: #97989a; font-size: 10px; line-height: 1.7; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--line); }
.product-footer > strong { font-size: 13px; }
.add-button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); background: none; cursor: pointer; font-size: 20px; line-height: 1; transition: background .2s ease, border .2s ease; }
.add-button:hover:not(:disabled) { border-color: var(--red); background: var(--red); }
.add-button:disabled { cursor: not-allowed; opacity: .42; }
.empty-products { grid-column: 1 / -1; padding: 38px 20px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 12px; }

.join-section { padding-bottom: 76px; }
.join-card { position: relative; min-height: 286px; display: flex; align-items: center; overflow: hidden; padding: 42px 6%; border: 1px solid var(--line); background: linear-gradient(105deg, #1b1c1f 15%, #202124 100%); }
.join-copy { position: relative; z-index: 1; max-width: 360px; }
.join-copy .eyebrow { margin: 0 0 15px; }
.join-copy h2 { font-size: clamp(43px, 4.5vw, 55px); }
.join-copy > p:not(.eyebrow) { max-width: 290px; margin: 14px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.join-copy .button { min-height: 41px; }
.join-emblem { position: absolute; top: 50%; right: 20%; width: 170px; height: 170px; transform: translateY(-50%); opacity: .45; }
.join-emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.65)); }
.join-stripe { position: absolute; top: -50%; right: -14%; width: 34%; height: 200%; background: rgba(216,45,53,.09); transform: rotate(25deg); }
.site-footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 7.2%; border-top: 1px solid var(--line); color: #77787b; font-size: 9px; }
.brand-small { min-width: 0; }
.brand-small .brand-copy strong { font-size: 16px; }
.brand-small .brand-copy small { font-size: 7px; }
.site-footer p { margin: 0; }
.site-footer p strong { color: #c4c4c5; }

.overlay { position: fixed; z-index: 10; inset: 0; display: flex; justify-content: flex-end; background: rgba(0,0,0,.66); backdrop-filter: blur(3px); }
.overlay[hidden] { display: none; }
.overlay-dismiss { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: default; }
.cart-panel { position: relative; z-index: 1; width: min(440px, 100%); height: 100%; display: flex; flex-direction: column; padding: 28px 30px 24px; border-left: 1px solid var(--line); background: #17181a; box-shadow: -20px 0 60px rgba(0,0,0,.28); animation: slide-in .25s ease both; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.panel-heading .eyebrow { margin: 0 0 9px; font-size: 8px; }
.panel-heading h2 { margin: 0; font-family: var(--font-display); font-size: 29px; font-weight: 500; letter-spacing: 1px; }
.panel-heading h2 span { color: var(--red); font-size: 16px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 23px; line-height: 1; }
.cart-items { overflow-y: auto; }
.cart-items[hidden] { display: none; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-item > div { display: flex; flex-direction: column; gap: 6px; }
.cart-item strong { font-size: 11px; }
.cart-item span { color: #898a8d; font-size: 10px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty[hidden] { display: none; }
.empty-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid rgba(216,45,53,.5); color: var(--red); font-size: 24px; }
.cart-empty h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.cart-empty p { color: var(--muted); font-size: 11px; }
.text-button { padding: 8px 0; border: 0; background: none; color: #f3f3f3; cursor: pointer; font-size: 10px; font-weight: 700; }
.creator-code { padding: 19px 0 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creator-code label { display: block; margin-bottom: 10px; color: #9a9b9e; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.code-field { display: flex; min-height: 40px; border: 1px solid rgba(255,255,255,.14); }
.code-field input { width: 100%; min-width: 0; padding: 0 11px; border: 0; background: #202124; color: white; font-size: 10px; outline: 0; }
.code-field input:disabled { opacity: .65; }
.code-field button { min-width: 68px; border: 0; border-left: 1px solid rgba(255,255,255,.12); background: #28292c; cursor: pointer; font-size: 10px; font-weight: 700; }
.code-field button:hover:not(:disabled) { background: var(--red); }
.code-field button:disabled { cursor: not-allowed; opacity: .55; }
.creator-code > p { margin: 8px 0 0; color: #85868a; font-size: 9px; line-height: 1.5; }
.cart-summary { padding-top: 19px; }
.total-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.total-row strong { font-size: 16px; }
.cart-summary > p { margin: 9px 0 16px; color: #898a8d; font-size: 9px; line-height: 1.6; }
.checkout-button { width: 100%; justify-content: space-between; }
.checkout-button:disabled { cursor: not-allowed; opacity: .48; }

.modal-overlay { z-index: 11; align-items: center; justify-content: center; padding: 20px; }
.auth-dialog { position: relative; width: min(480px, 100%); padding: 36px; border: 1px solid var(--line); background: #18191c; box-shadow: 0 20px 80px rgba(0,0,0,.45); }
.auth-close { position: absolute; top: 20px; right: 20px; }
.auth-dialog .eyebrow { margin: 0; padding-right: 40px; font-size: 8px; }
.auth-dialog h2 { margin: 23px 0 13px; font-size: 47px; letter-spacing: -.5px; }
.auth-copy { color: #a6a6a8; font-size: 11px; line-height: 1.8; }
.auth-options { display: grid; gap: 9px; margin-top: 21px; }
.auth-option { justify-content: space-between; }
.auth-footnote { margin: 16px 0 0; color: #77787b; font-size: 9px; line-height: 1.6; }
.toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; max-width: min(380px, calc(100vw - 44px)); padding: 13px 17px; border: 1px solid rgba(255,255,255,.15); background: #242528; box-shadow: 0 8px 30px rgba(0,0,0,.35); color: #f5f4f2; font-size: 11px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.has-overlay { overflow: hidden; }

@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in { from { transform: translateX(20px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }

@media (min-width: 1400px) {
  .product-visual { height: 210px; }
}
@media (max-width: 850px) {
  .site-header { height: 72px; padding: 0 5%; }
  .main-nav { gap: 22px; }
  .header-actions { gap: 13px; }
  .server-status { display: none; }
  .section-wrap { padding-right: 8%; padding-left: 8%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-steps, .home-package-grid, .home-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-packages .section-heading h2 { font-size: clamp(40px, 6vw, 54px); }
}
@media (max-width: 600px) {
  .site-header { height: auto; min-height: 66px; flex-wrap: wrap; row-gap: 8px; padding: 10px 20px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 7px; letter-spacing: 2px; }
  .main-nav { order: 3; display: flex; flex: 1 0 100%; justify-content: space-between; gap: 18px; overflow-x: auto; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-link { flex: 0 0 auto; font-size: 10px; }
  .header-actions { gap: 0; margin-left: auto; }
  .account-trigger { gap: 5px; padding-right: 10px; font-size: 10px; }
  .account-trigger svg { width: 17px; }
  .cart-trigger { padding-left: 13px; }
  .section-wrap { padding-right: 22px; padding-left: 22px; }
  .store-section { padding-top: 58px; padding-bottom: 55px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 23px; }
  .section-heading h2 { font-size: 50px; }
  .city-section { padding-top: 56px; padding-bottom: 34px; }
  .home-packages { padding-top: 8px; padding-bottom: 58px; }
  .home-packages .section-heading h2 { font-size: 43px; }
  .home-package-grid, .home-steps-grid { grid-template-columns: 1fr; }
  .home-package-card .product-visual { height: 165px; }
  .home-packages-footer { align-items: flex-start; flex-direction: column; }
  .home-steps { padding-top: 0; padding-bottom: 60px; }
  .home-steps-heading h2 { font-size: 39px; }
  .home-step { min-height: 100px; }
  .help-steps, .rules-grid { grid-template-columns: 1fr; }
  .help-content, .rules-content { padding-top: 34px; padding-bottom: 58px; }
  .help-faqs { padding-top: 0; padding-bottom: 58px; }
  .help-faq-heading { margin-bottom: 20px; }
  .help-faq-heading h2 { font-size: 40px; }
  .help-faq summary { padding-right: 55px; }
  .help-faq summary h2 { font-size: 20px; }
  .help-card { min-height: 0; padding: 24px 21px; }
  .help-card > p:not(.eyebrow) { min-height: 0; }
  .rules-card summary { padding: 23px 57px 23px 21px; }
  .rules-card summary::before { right: 16px; }
  .rules-card summary::after { right: 21px; }
  .rules-card-content { gap: 19px; padding: 19px 21px 23px; font-size: 11px; }
  .rules-card-content > ul, .rules-subsection > ul, .rules-subsection > ol { gap: 8px; }
  .rules-subsection h3 { font-size: 17px; }
  .rules-subheading { margin-top: 14px; }
  .section-intro { max-width: 350px; font-size: 11px; }
  .store-toolbar { align-items: start; flex-direction: column-reverse; gap: 0; padding-top: 11px; }
  .secure-note { align-self: end; margin: 0 0 1px; }
  .category-tabs { width: 100%; gap: 22px; }
  .category-tab { padding: 15px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 13px; padding-top: 15px; }
  .product-visual { height: 185px; }
  .product-details { padding: 16px; }
  .account-section { padding-bottom: 24px; }
  .account-card { min-height: 300px; padding: 28px 23px; }
  .account-copy { max-width: 100%; }
  .account-copy h2 { font-size: 43px; }
  .account-copy > p:not(.eyebrow) { max-width: 275px; }
  .account-copy .button { gap: 14px; padding: 0 13px; font-size: 10px; }
  .account-art { right: -17%; width: 55%; opacity: .58; }
  .account-art-ring { width: 170px; height: 170px; }
  .account-art-number { font-size: 90px; }
  .account-art-caption { right: 16px; bottom: 20px; font-size: 7px; }
  .join-section { padding-bottom: 50px; }
  .join-card { min-height: 325px; padding: 32px 24px; }
  .join-copy h2 { font-size: 49px; }
  .join-emblem { right: -22px; width: 130px; height: 130px; opacity: .27; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px 22px; }
  .cart-panel { padding: 22px 20px 18px; }
  .auth-dialog { padding: 30px 24px; }
  .auth-dialog h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
