:root {
  color-scheme: light;
  --canvas: #fbf8f5;
  --paper: #fff;
  --ink: #281e20;
  --muted: #66585a;
  --red: #9d232d;
  --red-dark: #761923;
  --wine: #371118;
  --blush: #f9eae7;
  --line: #e8ddda;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.5 var(--font); }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--red-dark); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #ad3843; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; width: 1.25rem; height: 1.25rem; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; background: white; padding: 10px 14px; border-radius: 8px; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 790; letter-spacing: -.06em; white-space: nowrap; }
.wordmark-domain { color: var(--red); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--red); color: white; }
.logo-mark svg { width: 22px; height: 22px; }
.header-help { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); border-radius: 9px; min-height: 44px; padding: 8px 14px; color: var(--ink); font-weight: 660; font-size: .875rem; white-space: nowrap; }
.header-help svg { width: 17px; height: 17px; color: var(--red); }
.header-help:hover { background: var(--canvas); border-color: #c8aeaa; }

.hero { position: relative; isolation: isolate; overflow: hidden; margin-block: 27px 36px; border-radius: 22px; background: var(--wine); color: white; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 39%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 41%; }
.hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--wine), rgba(55,17,24,.88) 10%, rgba(55,17,24,.38) 32%, transparent 64%); }
.hero-content { padding: 39px 50px 41px; max-width: 605px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #ffd6cc; font-size: .8125rem; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: #f59686; }
.hero h1 { margin: 11px 0 12px; font-size: clamp(2.5rem, 5.3vw, 4.12rem); font-weight: 770; letter-spacing: -.066em; line-height: 1.02; }
.hero p { max-width: 410px; color: #f6ddda; font-size: 1.0625rem; line-height: 1.55; }
.search-box { display: flex; align-items: center; gap: 11px; width: min(100%, 450px); margin-top: 23px; min-height: 55px; padding: 4px 8px 4px 16px; border: 1px solid transparent; border-radius: 11px; background: white; color: var(--ink); }
.search-box input { width: 100%; min-width: 0; padding: 9px 0; outline: none; border: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #75686a; opacity: 1; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box:focus-within { outline: 3px solid #f8a69a; outline-offset: 3px; }
.search-icon { color: var(--red); flex: none; }

.browse-heading h2, .help-band h2, .modal h2 { font-size: clamp(1.7rem, 3.2vw, 2.0625rem); font-weight: 770; letter-spacing: -.05em; line-height: 1.15; }
.browse-heading p { margin-top: 7px; color: var(--muted); }
.filters { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 650; font-size: .875rem; white-space: nowrap; }
.filter-chip svg { width: 16px; height: 16px; }
.filter-chip:hover { border-color: #d9a29e; background: #fff5f2; }
.filter-chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: white; }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 39px; margin: 9px 0 3px; }
.results-line p { color: var(--muted); font-size: .875rem; font-weight: 560; }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; padding: 4px 0; background: transparent; color: var(--red-dark); font-weight: 675; font-size: .875rem; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--red); text-decoration-thickness: 2px; }
.results-line .text-button { min-height: 39px; }

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.brand-grid li { display: flex; min-width: 0; }
.brand-card { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 91px; padding: 13px; text-align: left; color: var(--ink); border: 1px solid var(--line); background: white; border-radius: 13px; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.brand-card:hover { background: #fffcfa; border-color: #cc8e8c; box-shadow: 0 4px 12px #55212a0a; }
.card-icon, .support-icon, .modal-icon, .empty-icon { display: grid; flex: none; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--blush); color: var(--red); }
.card-icon svg { width: 22px; height: 22px; }
.brand-card-copy { display: grid; align-content: center; flex: 1; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.brand-name { font-size: 1rem; font-weight: 760; line-height: 1.2; letter-spacing: -.022em; }
.brand-meta { font-size: .875rem; line-height: 1.3; color: var(--muted); }
.card-open { color: var(--red); flex: none; }
.card-open svg { width: 15px; height: 15px; }

.more { display: flex; justify-content: center; margin-top: 19px; }
.more:has(button[hidden]) { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; border: 1px solid transparent; border-radius: 9px; padding: 9px 16px; font-weight: 700; font-size: .875rem; text-decoration: none; text-align: center; }
.button-outline { color: var(--red-dark); background: var(--paper); border-color: #dcc4c1; }
.button-outline:hover { background: #fff4f0; border-color: #c38986; }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }

.empty { display: grid; justify-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); padding: 32px 16px; border-radius: 14px; text-align: center; }
.empty h3 { font-size: 1.25rem; }
.empty p { color: var(--muted); overflow-wrap: anywhere; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 5px; }

.help-band { display: flex; align-items: center; gap: 15px; margin-block: 32px 0; padding: 19px 22px; border-radius: 14px; background: #f4ebe7; }
.help-band h2 { font-size: 1.25rem; }
.help-band p { margin-top: 4px; color: var(--muted); }
.help-band .button { flex: none; margin-left: auto; }
.support-icon { background: #fff8f5; border: 1px solid #eedbd6; width: 44px; height: 44px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 23px; font-size: .875rem; color: var(--muted); }
.footer a { font-weight: 650; text-underline-offset: 3px; }

.modal { width: min(524px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 27px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 22px 90px #210a1550; }
.modal::backdrop { background: #281218a8; }
body:has(dialog[open]) { overflow: hidden; }
.icon-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.icon-button:hover { background: var(--blush); color: var(--red-dark); }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal-icon { margin-bottom: 12px; }
.modal-eyebrow { margin-bottom: 4px; color: var(--red-dark); text-transform: uppercase; font-size: .8125rem; font-weight: 740; letter-spacing: .09em; }
.modal-intro { margin-top: 9px; color: var(--muted); }
.equipment-choices { border: 0; padding: 0; margin: 16px 0 0; }
.equipment-choices legend { padding: 0; margin-bottom: 7px; font-weight: 720; }
#equipment-options { display: flex; flex-wrap: wrap; gap: 8px; }
.equipment-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; font-weight: 630; cursor: pointer; }
.equipment-choice:has(input:checked) { border-color: #c98080; background: #fff1ed; color: var(--red-dark); }
.equipment-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--red); }
.recommendation { margin-top: 16px; padding: 14px 15px; border: 1px solid #eddcd6; border-radius: 11px; background: #fcf3ef; }
.recommendation h3 { font-size: 1.125rem; line-height: 1.25; letter-spacing: -.025em; }
.recommendation p { margin-top: 6px; color: var(--muted); }
.modal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 17px; }
.help-steps { margin: 15px 0 0; padding-left: 22px; color: var(--muted); }
.help-steps li + li { margin-top: 9px; }
.help-steps strong { color: var(--ink); }

@media (max-width: 950px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-content { padding-left: 35px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { min-height: 62px; }
  .hero { margin-block: 18px 28px; border-radius: 17px; }
  .hero-art { inset: 0 0 0 23%; }
  .hero-art img { object-position: 63% 40%; }
  .hero-art::after { background: linear-gradient(90deg, var(--wine), rgba(55,17,24,.91) 20%, rgba(55,17,24,.57) 56%, rgba(55,17,24,.23)), linear-gradient(0deg, var(--wine), transparent 65%); }
  .hero-content { padding: 29px 23px 25px; }
  .hero h1 { font-size: clamp(2.375rem, 8vw, 3.5rem); }
  .hero p { max-width: 290px; font-size: 1rem; }
  .search-box { margin-top: 18px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .brand-card { min-height: 87px; padding: 10px; gap: 8px; }
  .card-icon { width: 35px; height: 35px; border-radius: 8px; }
  .card-icon svg { width: 19px; height: 19px; }
  .card-open { display: none; }
  .help-band { flex-wrap: wrap; gap: 11px; padding: 15px; }
  .help-band div { flex: 1; min-width: 0; }
  .help-band .button { margin-left: 55px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .wordmark { gap: 8px; font-size: 1.3125rem; }
  .logo-mark { width: 34px; height: 34px; }
  .header-help { padding-inline: 10px; gap: 6px; }
  .hero-content { padding-inline: 17px; }
  .hero h1 { font-size: 2rem; }
  .filter-chip { padding-inline: 11px; }
  .filter-chip svg { display: none; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 68px; }
  .help-band .button { margin-left: 0; }
}
@media (max-width: 440px) {
  .modal { padding: 22px; }
  .modal-actions > .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
