/* Wine List Check. House style shared with the Vino Cammino venue reports (locked 23 Oct 2026):
   white page, near-black ink, one green, black rules, Domine headings with Quattrocento Sans. */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5c5c5c;
  --rule: #dcdcdc;
  --rule-thin: #e4e4e4;
  --green: #1f6b52;
  --green-soft: #dcebe4;
  --on-green: #ffffff;
  --warn: #b04a2f;
  --display: "Domine", Georgia, serif;
  --body: "Quattrocento Sans", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --ink: #f2f2f2; --muted: #a8a8a8; --rule: #333333; --rule-thin: #2c2c2c;
    --green: #5cc29c; --green-soft: #1f3b31; --on-green: #121212; --warn: #ef8d70;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121212; --ink: #f2f2f2; --muted: #a8a8a8; --rule: #333333; --rule-thin: #2c2c2c;
  --green: #5cc29c; --green-soft: #1f3b31; --on-green: #121212; --warn: #ef8d70;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--body); }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap {
  max-width: 1120px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* header: the reports' title block, a heavy rule above and a hairline below */
header.site { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 18px; border-top: 6px solid var(--ink); border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink); text-decoration: none; }
.mark { width: 22px; height: 22px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid var(--on-green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.login { font: 700 15px/1 var(--body); color: var(--ink); text-decoration: none; border: 1px solid var(--ink); padding: 9px 14px; }
.login:hover { background: var(--ink); color: var(--bg); }

/* pills: one component for the city choice and the four uses */
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.beta { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 6px 8px; margin-left: 4px; }
.pill {
  font: 700 14px/1.2 var(--body); color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
}
.pill[aria-pressed="true"], .pill[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 40px 0 56px; }
.copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
h1 { font-weight: 700; font-size: clamp(40px, 5.6vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
.lede { font-size: 18px; line-height: 1.55; max-width: 52ch; }
.city-note { font: 600 17px/1.4 var(--display); max-width: 46ch; padding-top: 14px; border-top: 1px solid var(--ink); }

.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto; gap: 8px; max-width: 620px; scroll-margin-top: 24px; }
.join input {
  font: 16px/1.2 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--ink); border-radius: 0;
  padding: 13px 14px; min-width: 0; width: 100%;
}
.join input::placeholder { color: var(--muted); }
.join button, .btn {
  font: 700 15px/1 var(--body); color: var(--on-green); background: var(--green); border: 0; border-radius: 0; padding: 0 18px;
  cursor: pointer; white-space: nowrap; min-height: 46px;
}
.join button[disabled] { opacity: .6; cursor: default; }
.status { grid-column: 1 / -1; font-size: 15px; font-weight: 700; min-height: 1.4em; }
.status.ok { color: var(--green); }
.status.err { color: var(--warn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nw { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* illustration: a ruled panel like a report section */
.preview { margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0 14px; min-width: 0; display: grid; gap: 14px; }
.preview figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 700 20px/1.2 var(--display); }
.tag { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tabs .pill { font-size: 13.5px; padding: 7px 12px; }
.pane { display: grid; gap: 12px; }
.pane[hidden] { display: none; }

/* free and subscriber markers: an open square for a free account, a filled one for subscribers */
.sq { display: inline-block; width: 11px; height: 11px; border: 1.5px solid var(--ink); vertical-align: -1px; margin-right: 6px; }
.sq.sub { background: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--muted); }

.query { border: 1px solid var(--ink); padding: 10px 12px; font: 500 17px/1.2 var(--display); }
.query .lbl { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.query em { color: var(--muted); }
.step { font: 700 11px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hint { font-size: 13.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--rule); padding: 4px 10px; }
.chip.on { color: var(--ink); border-color: var(--ink); }

.rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); counter-reset: r; }
.rows li { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; grid-template-areas: "w l p" "v v v"; column-gap: 8px; row-gap: 1px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule-thin); }
ol.rows li { counter-increment: r; grid-template-columns: 22px auto minmax(12px, 1fr) auto; grid-template-areas: "n w l p" ". v v v"; }
ol.rows li::before {
  content: counter(r); grid-area: n; align-self: center; width: 17px; height: 17px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); font: 700 10.5px/1 var(--body); font-variant-numeric: tabular-nums;
}
ol.rows li.sub::before { background: var(--ink); color: var(--bg); }
.rows .w { grid-area: w; font: 500 16.5px/1.3 var(--display); min-width: 0; }
.rows .w i { font: 400 13px/1 var(--body); color: var(--muted); margin-left: 4px; }
.rows .lead { grid-area: l; border-bottom: 1px dotted var(--rule); transform: translateY(-4px); }
.rows .p { grid-area: p; font: 700 16.5px/1.3 var(--body); font-variant-numeric: lining-nums tabular-nums; }
.rows .v { grid-area: v; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.rows .v::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.v.good { color: var(--green); } .v.fair { color: var(--muted); } .v.high { color: var(--warn); }
.v.none { color: var(--muted); } .v.none::before { background: transparent; border: 1.5px solid currentColor; width: 6px; height: 6px; }
.rows.picks li { grid-template-columns: auto minmax(12px, 1fr) auto 12px; grid-template-areas: "w l p g"; }
.rows.picks li::after { content: "\203A"; grid-area: g; font: 700 18px/1 var(--body); color: var(--muted); }
.rows.picks .p { font-weight: 400; font-size: 14px; color: var(--muted); }

/* what you get: free account against subscriber, then the sign-up */
.cta { background: var(--green-soft); padding: 14px 16px 16px; display: grid; gap: 14px; }
.tiers { width: 100%; border-collapse: collapse; font-size: 14px; }
.tiers caption { text-align: left; font: 700 17px/1.2 var(--display); padding-bottom: 8px; }
.tiers th, .tiers td { text-align: left; vertical-align: top; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule); }
.tiers thead th { font: 700 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tiers tbody th { font-weight: 700; width: 40%; }
.tiers tbody tr:last-child th, .tiers tbody tr:last-child td { border-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cta-actions a { font-weight: 700; color: var(--ink); }
.beta-note { font-size: 13px; color: var(--muted); margin-top: -6px; }
.preview .note { font-size: 13px; color: var(--muted); }

/* sections below the fold: black section rules, as in the reports */
.how, .method { border-top: 2px solid var(--ink); padding: 14px 0 44px; display: grid; gap: 16px; }
.how h2, .method h2 { font-weight: 600; font-size: 24px; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cols4 h3 { font-weight: 600; font-size: 18.5px; line-height: 1.25; margin-bottom: 6px; }
.cols4 p, .method p { color: var(--muted); }
.method .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.method b { color: var(--ink); }

footer.site { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ink); font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); }

/* text pages: privacy, log in, not found */
.doc { max-width: 68ch; padding: 40px 0 72px; display: grid; gap: 12px; align-content: start; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc h2 { margin-top: 18px; font-weight: 600; font-size: 21px; }
.doc .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 28px 0 44px; }
  .method .cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 560px) {
  .join { grid-template-columns: minmax(0, 1fr); }
  .join button { min-height: 48px; }
  .rows .w, .rows .p { font-size: 15.5px; }
  .tabs .pill { font-size: 13px; padding: 7px 10px; }
  .tiers { font-size: 13.5px; }
  .cols4 { grid-template-columns: minmax(0, 1fr); }
}
