:root {
  --lgt-ink: #101d29;
  --lgt-charcoal: #192a38;
  --lgt-charcoal-2: #263b4b;
  --lgt-primary: #365f7a;
  --lgt-primary-dark: #27465b;
  --lgt-brass: #b89a62;
  --lgt-paper: #f5f3ee;
  --lgt-white: #fff;
  --lgt-muted: #66737c;
  --lgt-border: rgba(16, 29, 41, .14);
  --lgt-shadow: 0 18px 50px rgba(16, 29, 41, .10);
  --lgt-serif: Georgia, 'Times New Roman', serif;
  --lgt-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lgt-shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lgt-paper);
  color: var(--lgt-ink);
  font-family: var(--lgt-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lgt-primary); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-shell { width: min(calc(100% - 40px), var(--lgt-shell)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; margin: 8px; padding: 12px 16px; background: #fff; color: #000; z-index: 100000; }

.announcement-bar { background: var(--lgt-primary-dark); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.announcement-divider { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.7); }

.site-header { position: relative; z-index: 50; background: var(--lgt-ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-main { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.site-branding { min-width: 260px; }
.custom-logo-link img { width: auto; max-width: min(100%, 420px); max-height: 62px; }
.wordmark { display: inline-flex; align-items: center; color: #fff; }
.wordmark:hover { color: #fff; }
.wordmark-copy { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-copy strong { font: 700 1.28rem/1.05 var(--lgt-serif); letter-spacing: .035em; }
.wordmark-copy small { margin-top: 7px; color: rgba(255,255,255,.62); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }

.primary-navigation { justify-self: center; }
.primary-navigation ul { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 700; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--lgt-brass); }
.header-actions { display: flex; gap: 18px; align-items: center; }
.account-link { display: inline-flex; gap: 8px; align-items: center; color: rgba(255,255,255,.85); font-weight: 700; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }

.mobile-account-actions { display: none; }
body.menu-open { overflow: hidden; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 3px; font-size: .9rem; font-weight: 800; letter-spacing: .02em; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--lgt-primary); color: #fff; box-shadow: 0 9px 20px rgba(54,95,122,.25); }
.button-primary:hover { background: var(--lgt-primary-dark); color: #fff; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .82rem; }
.button-outline-light { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.03); }
.button-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.button-outline-dark { border-color: var(--lgt-ink); color: var(--lgt-ink); background: transparent; }
.button-outline-dark:hover { background: var(--lgt-ink); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--lgt-primary); }

.hero-section { position: relative; overflow: hidden; min-height: 630px; display: flex; align-items: center; background: var(--lgt-ink); color: #fff; }
.hero-section::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 34%, rgba(184,154,98,.19), transparent 30%), linear-gradient(120deg, transparent 60%, rgba(255,255,255,.025) 60%); pointer-events: none; }
.hero-texture { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(30deg, rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(150deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 38px 66px; mask-image: linear-gradient(to right, transparent, #000); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr); gap: 78px; align-items: center; padding-block: 94px; }
.eyebrow { margin: 0 0 18px; color: var(--lgt-brass); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dark { color: var(--lgt-primary); }
.hero-copy h1 { max-width: 730px; margin: 0; font: 700 clamp(3.15rem, 5.3vw, 5.8rem)/.94 var(--lgt-serif); letter-spacing: -.045em; }
.hero-lead { max-width: 680px; margin: 27px 0 0; color: rgba(255,255,255,.72); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 28px; color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--lgt-brass); }

.hero-panel { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.15); background: rgba(32,38,42,.84); box-shadow: 0 35px 80px rgba(0,0,0,.32); backdrop-filter: blur(12px); }
.hero-panel::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(184,154,98,.15); pointer-events: none; }
.hero-panel-topline { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 800; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6fcf82; box-shadow: 0 0 0 5px rgba(111,207,130,.12); }
.marketplace-search { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0; margin-bottom: 24px; }
.marketplace-search input { min-width: 0; height: 58px; padding: 0 18px 0 48px; border: 1px solid rgba(255,255,255,.14); border-right: 0; background: #fff; color: var(--lgt-ink); outline: none; }
.marketplace-search input:focus { box-shadow: inset 0 0 0 2px var(--lgt-brass); }
.marketplace-search button { min-width: 98px; border: 0; background: var(--lgt-primary); color: #fff; font-weight: 800; }
.search-icon { position: absolute; z-index: 2; left: 17px; top: 50%; transform: translateY(-50%); color: var(--lgt-muted); }
.quick-categories { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quick-categories a { position: relative; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); color: rgba(255,255,255,.78); font-size: .84rem; font-weight: 750; }
.quick-categories a:hover { color: #fff; border-color: rgba(184,154,98,.5); background: rgba(184,154,98,.06); }
.quick-categories a span { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--lgt-brass); }

.proof-strip { background: var(--lgt-charcoal); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid > div { display: flex; align-items: center; gap: 14px; min-height: 102px; padding: 18px 28px; border-right: 1px solid rgba(255,255,255,.08); }
.proof-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.proof-grid strong { color: var(--lgt-brass); font: 700 2rem/1 var(--lgt-serif); }
.proof-grid span { max-width: 150px; color: rgba(255,255,255,.65); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }

.section { padding-block: 100px; }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .tier-intro h2, .dealer-panel h2, .archive-header h1, .entry-header h1, .not-found-inner h1, .page-heading h1 { margin: 0; font: 700 clamp(2.25rem,4vw,4.1rem)/1.02 var(--lgt-serif); letter-spacing: -.035em; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.centered-heading { max-width: 750px; margin-inline: auto; text-align: center; }
.section-listings { background: #fff; }

.marketplace-empty { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 30px; border: 1px dashed rgba(16,29,41,.25); background: var(--lgt-paper); }
.marketplace-empty h3 { margin: 0 0 7px; font: 700 1.5rem/1.15 var(--lgt-serif); }
.marketplace-empty p { margin: 0; color: var(--lgt-muted); }
.marketplace-empty-mark { display: grid; place-items: center; width: 62px; height: 62px; background: var(--lgt-ink); color: var(--lgt-brass); }
.marketplace-empty-mark svg { width: 27px; height: 27px; }

.listing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.listing-card { overflow: hidden; border: 1px solid var(--lgt-border); background: #fff; box-shadow: 0 8px 30px rgba(16,29,41,.04); transition: .2s ease; }
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--lgt-shadow); }
.listing-card-image { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: #e7e2d8; }
.listing-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.listing-card:hover .listing-card-image img { transform: scale(1.035); }
.listing-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(16,29,41,.23); font: 700 2.2rem/1 var(--lgt-serif); background: linear-gradient(135deg,#ebe6db,#d9d2c5); }
.listing-image-placeholder.large { min-height: 460px; }
.listing-badge { position: absolute; left: 13px; top: 13px; padding: 5px 9px; background: var(--lgt-ink); color: #fff; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.listing-card-body { padding: 19px; }
.listing-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--lgt-muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.listing-card h3 { margin: 10px 0 19px; font: 700 1.25rem/1.2 var(--lgt-serif); }
.listing-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--lgt-border); }
.listing-card-footer strong { font-size: 1rem; }
.listing-card-footer span { display: inline-flex; align-items: center; gap: 5px; color: var(--lgt-primary); font-size: .74rem; font-weight: 800; }

.section-how { background: var(--lgt-paper); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.steps-grid article { position: relative; min-height: 310px; padding: 34px; border-top: 3px solid var(--lgt-primary); background: #fff; box-shadow: 0 16px 45px rgba(16,29,41,.06); }
.step-number { position: absolute; right: 22px; top: 17px; color: rgba(16,29,41,.11); font: 700 3.2rem/1 var(--lgt-serif); }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 54px; background: var(--lgt-ink); color: var(--lgt-brass); }
.step-icon svg { width: 24px; height: 24px; }
.steps-grid h3 { margin: 0 0 11px; font: 700 1.55rem/1.15 var(--lgt-serif); }
.steps-grid p { margin: 0; color: var(--lgt-muted); font-size: .94rem; }

.section-tiers { background: var(--lgt-ink); color: #fff; }
.tier-grid { display: grid; grid-template-columns: .95fr 1fr 1fr; gap: 24px; align-items: stretch; }
.tier-intro { padding: 34px 42px 34px 0; align-self: center; }
.tier-intro p:last-child { color: rgba(255,255,255,.65); }
.tier-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.tier-card-featured { border-color: var(--lgt-brass); background: rgba(184,154,98,.08); }
.tier-label { margin: 0 0 14px; color: var(--lgt-brass); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.tier-card h3 { margin: 0; font: 700 1.55rem/1.16 var(--lgt-serif); }
.tier-price { display: flex; align-items: end; gap: 10px; margin: 28px 0 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tier-price strong { font: 700 3rem/.9 var(--lgt-serif); }
.tier-price span { color: rgba(255,255,255,.55); font-size: .75rem; }
.tier-card ul { display: grid; gap: 12px; padding: 0; margin: 0 0 30px; list-style: none; color: rgba(255,255,255,.75); font-size: .9rem; }
.tier-card li { display: flex; gap: 9px; align-items: center; }
.tier-card li svg { color: var(--lgt-brass); }
.tier-card .button { margin-top: auto; }

.section-dealers { background: linear-gradient(135deg, var(--lgt-primary-dark), var(--lgt-ink)); color: #fff; }
.dealer-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.dealer-panel > div { max-width: 880px; }
.dealer-panel .eyebrow { color: #fff; opacity: .72; }
.dealer-panel p:last-child { color: rgba(255,255,255,.75); }

.site-footer { padding-top: 75px; background: #0b151e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 55px; padding-bottom: 55px; }
.footer-brand p, .footer-grid section > p { color: rgba(255,255,255,.55); font-size: .86rem; }
.wordmark-footer { margin-bottom: 17px; }
.footer-grid h2 { margin: 0 0 18px; color: var(--lgt-brass); font-size: .75rem; font-family: var(--lgt-sans); text-transform: uppercase; letter-spacing: .12em; }
.footer-grid ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-grid a { color: rgba(255,255,255,.68); font-size: .86rem; }
.footer-grid a:hover { color: #fff; }
.footer-legal { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.38); font-size: .72rem; }
.footer-legal p { margin: 0; }
.footer-legal p:last-child { max-width: 760px; justify-self: end; text-align: right; }

.content-layout, .prose-content { max-width: 900px; }
.archive-header, .entry-header, .page-heading { margin-bottom: 42px; }
.archive-description { max-width: 760px; color: var(--lgt-muted); }
.prose-content .entry-content > * { max-width: 760px; }
.prose-content .entry-content > .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); }
.prose-content h2, .prose-content h3 { font-family: var(--lgt-serif); }
.entry-meta { color: var(--lgt-primary); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.entry-featured-image { margin-bottom: 36px; }
.post-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.content-card { overflow: hidden; border: 1px solid var(--lgt-border); background: #fff; }
.content-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.content-card-image img { width: 100%; height: 100%; object-fit: cover; }
.content-card-body { padding: 28px; }
.content-card h2 { margin: 7px 0 12px; font: 700 1.7rem/1.14 var(--lgt-serif); }
.content-card .entry-summary { color: var(--lgt-muted); }

.not-found-page { min-height: 70vh; display: grid; place-items: center; padding: 70px 0; }
.not-found-inner { max-width: 720px; text-align: center; }
.not-found-code { margin: 0; color: rgba(16,29,41,.08); font: 700 10rem/.8 var(--lgt-serif); }
.not-found-inner form, .no-results form { display: flex; max-width: 520px; margin: 25px auto; }
.not-found-inner form input, .no-results form input { flex: 1; min-width: 0; padding: 13px; border: 1px solid var(--lgt-border); }
.not-found-inner form button, .no-results form button { border: 0; padding-inline: 20px; background: var(--lgt-ink); color: #fff; }
.no-results { padding: 45px; border: 1px dashed var(--lgt-border); text-align: center; background: #fff; }
.no-results .marketplace-empty-mark { margin-inline: auto; }

.single-listing { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr); gap: 45px; }
.single-listing-media img { width: 100%; }
.single-listing-summary { position: sticky; top: 30px; align-self: start; padding: 34px; background: #fff; border: 1px solid var(--lgt-border); box-shadow: var(--lgt-shadow); }
.single-listing-summary h1 { margin: 0; font: 700 clamp(2rem,4vw,3.6rem)/1 var(--lgt-serif); }
.single-listing-price { margin: 25px 0; color: var(--lgt-primary); font: 700 2rem/1 var(--lgt-serif); }
.listing-specs { display: grid; gap: 0; margin: 25px 0; border-block: 1px solid var(--lgt-border); }
.listing-specs > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--lgt-border); }
.listing-specs > div:last-child { border-bottom: 0; }
.listing-specs dt { color: var(--lgt-muted); }
.listing-specs dd { margin: 0; font-weight: 700; }
.listing-compliance-note { display: flex; gap: 12px; margin-top: 25px; padding: 16px; background: var(--lgt-paper); color: var(--lgt-muted); font-size: .78rem; }
.listing-compliance-note svg { flex: 0 0 auto; color: var(--lgt-primary); }
.listing-compliance-note p { margin: 0; }
.single-listing-content { grid-column: 1 / 2; }
.single-listing-seller { grid-column: 2; }

.marketplace-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.marketplace-layout { display: grid; grid-template-columns: 250px 1fr; gap: 35px; }
.marketplace-filters:empty { display: none; }
.marketplace-filters:empty + section { grid-column: 1/-1; }
.seller-header { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-bottom: 45px; padding: 32px; background: #fff; border: 1px solid var(--lgt-border); }
.seller-avatar img { border-radius: 50%; }
.seller-header h1 { margin: 0; font: 700 2.6rem/1 var(--lgt-serif); }
.seller-header p { margin-bottom: 0; }
.full-width-page .page-heading { padding-top: 75px; }
.comments-area { margin-top: 60px; padding-top: 35px; border-top: 1px solid var(--lgt-border); }

@media (max-width: 1120px) {
  .header-main { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: block; justify-self: end; }
  .primary-navigation { display: none; grid-column: 1/-1; width: 100%; max-height: calc(100vh - 110px); overflow-y: auto; padding-bottom: 24px; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { display: block; padding: 10px 0; }
  .header-actions { display: none; }
  .mobile-account-actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-account-actions .account-link { padding: 0; }
  .mobile-account-actions .button { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 760px; }
  .listing-grid { grid-template-columns: repeat(3,1fr); }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier-intro { grid-column: 1/-1; padding-right: 0; max-width: 760px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > section:last-child { grid-column: 1/-1; }
}

@media (max-width: 780px) {
  .site-shell { width: min(calc(100% - 26px), var(--lgt-shell)); }
  .announcement-inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .announcement-divider { flex: 0 0 auto; }
  .site-branding { min-width: 0; }
  .wordmark-copy small { display: none; }
  .header-main { min-height: 76px; }
  .hero-section { min-height: auto; }
  .hero-grid { padding-block: 70px; }
  .hero-copy h1 { font-size: clamp(2.8rem,13vw,4.6rem); }
  .hero-panel { padding: 22px; }
  .marketplace-search { grid-template-columns: 1fr; }
  .marketplace-search input { border-right: 1px solid rgba(255,255,255,.14); }
  .marketplace-search button { min-height: 48px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid > div { border-bottom: 1px solid rgba(255,255,255,.08); }
  .section { padding-block: 72px; }
  .split-heading, .dealer-panel, .marketplace-header { align-items: flex-start; flex-direction: column; display: flex; }
  .listing-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid, .tier-grid, .post-grid, .footer-grid, .single-listing, .marketplace-layout { grid-template-columns: 1fr; }
  .tier-intro { grid-column: auto; }
  .single-listing-summary { position: static; }
  .single-listing-content, .single-listing-seller { grid-column: auto; }
  .seller-header { grid-template-columns: auto 1fr; }
  .footer-grid > section:last-child { grid-column: auto; }
  .footer-legal { grid-template-columns: 1fr; }
  .footer-legal p:last-child { justify-self: start; text-align: left; }
  .marketplace-empty { grid-template-columns: auto 1fr; }
  .marketplace-empty .button { grid-column: 1/-1; }
}

@media (max-width: 520px) {
  .wordmark-copy strong { font-size: 1rem; }
  .mobile-account-actions { align-items: stretch; flex-direction: column; }
  .mobile-account-actions .button { width: 100%; margin-left: 0; }
  .hero-actions .button { width: 100%; }
  .quick-categories, .proof-grid, .listing-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 82px; }
  .marketplace-empty { grid-template-columns: 1fr; text-align: center; }
  .marketplace-empty-mark { margin-inline: auto; }
}

/* Marketplace category discovery and SEO navigation. */
.marketplace-search select { min-width: 0; min-height: 58px; border: 1px solid rgba(255,255,255,.14); background: #fff; color: var(--lgt-ink); padding: 0 14px; font: inherit; }
.quick-categories { max-height: 258px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.section-category-directory { background: #f2f5f7; }
.section-heading-copy { max-width: 560px; margin: 0; color: var(--lgt-muted); }
.category-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.category-directory-card { display: flex; flex-direction: column; min-height: 225px; padding: 24px; border: 1px solid var(--lgt-border); border-top: 4px solid var(--lgt-primary); border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(23,50,77,.06); margin-left: min(calc(var(--category-depth,0) * 8px),24px); }
.category-directory-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.category-directory-card h3 a { color: var(--lgt-ink); }
.category-directory-card > p:not(.category-parent-label) { color: var(--lgt-muted); font-size: .92rem; }
.category-directory-card .text-link { margin-top: auto; }
.category-parent-label { margin: 0 0 8px; color: var(--lgt-primary); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lgt-breadcrumbs { margin: 0 0 24px; font-size: .84rem; }
.lgt-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; list-style: none; padding: 0; margin: 0; }
.lgt-breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; color: var(--lgt-muted); }
.lgt-breadcrumbs li:not(:last-child)::after { content: '/'; color: #9ca8b2; }
.lgt-breadcrumbs a { color: var(--lgt-primary); font-weight: 700; }
.archive-intro { max-width: 780px; margin: 12px 0 0; color: var(--lgt-muted); }
.marketplace-category-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--lgt-border); border-radius: 7px; background: #fff; }
.marketplace-category-links > span { margin-right: 4px; color: var(--lgt-ink); font-weight: 800; }
.marketplace-category-links a { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #edf3f8; color: var(--lgt-primary); font-size: .82rem; font-weight: 750; }
.marketplace-category-links a:hover,.marketplace-category-links a[aria-current="page"] { background: var(--lgt-primary); color: #fff; }
.category-children { margin: 0 0 24px; }
.category-children h2 { margin-bottom: 12px; font-size: 1.15rem; }
.category-child-links { display: flex; flex-wrap: wrap; gap: 10px; }
.category-child-links a { padding: 10px 13px; border: 1px solid var(--lgt-border); border-radius: 6px; background: #fff; color: var(--lgt-ink); font-weight: 750; }
.listing-card-category { display: inline-flex; margin-bottom: 8px; color: var(--lgt-primary); font-size: .74rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.listing-card-excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2.8em; margin: 8px 0 16px; color: var(--lgt-muted); font-size: .88rem; line-height: 1.45; }
.single-listing-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.single-listing-categories a { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #edf3f8; color: var(--lgt-primary); font-size: .78rem; font-weight: 800; }

@media (max-width: 960px) {
  .category-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .marketplace-search select { min-height: 50px; }
  .category-directory-grid { grid-template-columns: 1fr; }
  .category-directory-card { margin-left: 0; }
}

/* Release 1.4: clearer controls, stable workflow pages, and editable homepage UI. */
.header-main > * { min-width: 0; }
.primary-navigation { max-width: 100%; }
.primary-navigation .menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: rgba(255,255,255,.035);
}
.primary-navigation .menu > .menu-item > a:hover,
.primary-navigation .menu > .current-menu-item > a {
  border-color: rgba(184,154,98,.75);
  background: rgba(184,154,98,.08);
}
.header-actions { gap: 10px; }
.header-actions .account-link,
.mobile-account-actions .account-link {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 5px;
  background: rgba(255,255,255,.035);
}
.header-actions .account-link:hover,
.mobile-account-actions .account-link:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.header-actions .button,
.mobile-account-actions .button { border-width: 2px; }

.hero-panel .marketplace-search {
  grid-template-columns: minmax(190px,2fr) minmax(150px,1fr) minmax(130px,1fr) auto;
  gap: 11px;
}
.hero-panel .marketplace-search input,
.hero-panel .marketplace-search select,
.hero-panel .marketplace-search button {
  min-width: 0;
  min-height: 56px;
  border: 2px solid #8797a4 !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 0 rgba(0,0,0,.14);
}
.hero-panel .marketplace-search input,
.hero-panel .marketplace-search select {
  padding: 0 15px;
  background: #fff;
}
.hero-panel .marketplace-search input:focus,
.hero-panel .marketplace-search select:focus {
  border-color: var(--lgt-brass) !important;
  outline: 3px solid rgba(184,154,98,.2);
  box-shadow: 0 3px 0 rgba(0,0,0,.14);
}
.hero-panel .marketplace-search button {
  padding-inline: 20px;
  border-color: #18384d !important;
}
.page-intro { max-width: 800px; margin: 18px 0 0; color: var(--lgt-muted); font-size: 1.05rem; }
.full-width-page .page-heading { padding-bottom: 10px; }
.workflow-content { width: min(calc(100% - 40px), var(--lgt-shell)); padding-bottom: 90px; }
.workflow-content .entry-content { width: 100%; max-width: none; }
.lgtm-workflow-page .full-width-page { overflow: hidden; }
.lgtm-workflow-page .lgtm-panel,
.lgtm-workflow-page .lgtm-dashboard,
.lgtm-workflow-page .lgtm-order-status,
.lgtm-workflow-page .lgtm-checkout-grid { max-width: 100%; }

@media (max-width: 1120px) {
  .primary-navigation .menu > .menu-item > a { display: flex; margin: 5px 0; padding: 10px 12px; }
  .mobile-account-actions { width: 100%; }
  .mobile-account-actions .account-link,
  .mobile-account-actions .button { flex: 1 1 180px; }
  .hero-panel .marketplace-search { grid-template-columns: 1fr 1fr; }
  .hero-panel .marketplace-search button { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  .hero-panel .marketplace-search { grid-template-columns: 1fr; gap: 12px; }
  .hero-panel .marketplace-search button { grid-column: auto; width: 100%; }
  .workflow-content { width: min(calc(100% - 26px), var(--lgt-shell)); padding-bottom: 70px; }
  .full-width-page .page-heading { padding-top: 52px; margin-bottom: 26px; }
}
@media (max-width: 520px) {
  .mobile-account-actions { display: grid; grid-template-columns: 1fr; }
  .mobile-account-actions .account-link,
  .mobile-account-actions .button { width: 100%; min-width: 0; }
  .hero-panel-topline { align-items: flex-start; gap: 12px; flex-direction: column; }
}

/* Release 1.4.1: responsive header and full-width workflow-page repair. */
html,
body {
  width: 100%;
  max-width: none !important;
}
body { overflow-x: hidden; overflow-x: clip; }
.site-header,
.announcement-bar,
.site-main,
.site-footer {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* A two-level desktop header prevents menu and account controls from colliding. */
.header-main {
  grid-template-columns: minmax(230px, 1fr) auto;
  grid-template-areas:
    "branding actions"
    "navigation navigation";
  column-gap: 28px;
  row-gap: 14px;
  min-height: 0;
  padding-block: 18px 16px;
}
.site-branding {
  grid-area: branding;
  min-width: 0;
  align-self: center;
}
.primary-navigation {
  grid-area: navigation;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.primary-navigation ul {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.primary-navigation .menu > .menu-item > a,
.header-actions .account-link,
.header-actions .button {
  white-space: nowrap;
}
.header-actions {
  grid-area: actions;
  justify-self: end;
  min-width: 0;
  flex-wrap: nowrap;
}
.menu-toggle { grid-area: toggle; }

/* Workflow pages should read as a full site page, not a narrow card floating in space. */
.lgtm-workflow-page {
  background: #fff;
}
.lgtm-workflow-page .site-main,
.lgtm-workflow-page .full-width-page,
.lgtm-workflow-page .full-width-page > article {
  width: 100%;
  max-width: none;
  margin: 0;
}
.lgtm-workflow-page .full-width-page {
  background: linear-gradient(180deg, #f7f6f2 0, #fff 320px);
  overflow: visible;
}
.lgtm-workflow-page .page-heading,
.lgtm-workflow-page .workflow-content {
  width: min(calc(100% - 48px), 1320px);
  max-width: 1320px;
  margin-inline: auto;
}
.lgtm-workflow-page .page-heading {
  padding-top: 58px;
  padding-bottom: 30px;
  margin-bottom: 0;
}
.lgtm-workflow-page .page-heading h1 {
  max-width: 1040px;
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.lgtm-workflow-page .page-intro {
  max-width: 920px;
  font-size: 1.04rem;
}
.lgtm-workflow-page .workflow-content {
  padding-top: 12px;
}
.lgtm-workflow-page .lgtm-application-shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "branding toggle"
      "navigation navigation";
    row-gap: 0;
    padding-block: 10px;
  }
  .menu-toggle { display: block; justify-self: end; }
  .primary-navigation { grid-column: auto; }
  .primary-navigation ul { justify-content: stretch; }
  .header-actions { display: none; }
  .primary-navigation .menu > .menu-item > a {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .lgtm-workflow-page .page-heading,
  .lgtm-workflow-page .workflow-content {
    width: min(calc(100% - 28px), 1320px);
  }
  .lgtm-workflow-page .page-heading {
    padding-top: 42px;
    padding-bottom: 22px;
  }
  .lgtm-workflow-page .page-heading h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }
}

/* Release 1.4.2: compatibility, accessibility, and responsive hardening. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--lgt-brass);
  outline-offset: 3px;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

.prose-content iframe,
.prose-content video,
.entry-content iframe,
.entry-content video {
  max-width: 100%;
}

.prose-content pre,
.entry-content pre,
.prose-content table,
.entry-content table {
  max-width: 100%;
  overflow: auto;
}

.prose-content table,
.entry-content table {
  display: block;
  border-collapse: collapse;
}

.prose-content th,
.prose-content td,
.entry-content th,
.entry-content td {
  padding: .7rem .85rem;
  border: 1px solid var(--lgt-border);
}

.prose-content blockquote,
.entry-content blockquote {
  margin-inline: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--lgt-primary);
  background: rgba(54, 95, 122, .06);
}

.navigation.pagination {
  margin-top: 40px;
}

.navigation.pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation.pagination a,
.navigation.pagination .current,
.navigation.pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--lgt-border);
  border-radius: 4px;
  background: #fff;
}

.navigation.pagination .current {
  border-color: var(--lgt-primary);
  background: var(--lgt-primary);
  color: #fff;
  font-weight: 800;
}

.seller-listings {
  margin-top: 52px;
}

.seller-listings .section-heading h2 {
  margin: 0;
  font: 700 clamp(2rem, 3.5vw, 3.3rem)/1.05 var(--lgt-serif);
}

.menu-toggle[aria-expanded='true'] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle > span:not(.screen-reader-text) {
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 780px) {
  .announcement-inner {
    min-height: 0;
    padding-block: 9px;
    flex-wrap: wrap;
    gap: 4px 12px;
    text-align: center;
    line-height: 1.35;
  }

  .announcement-inner > span:not(.announcement-divider) {
    flex: 1 1 100%;
  }

  .announcement-divider {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--lgt-shell));
  }

  .lgtm-workflow-page .page-heading h1 {
    font-size: clamp(2.15rem, 11vw, 3.15rem);
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
