/* Shared by the pairing guides (/wine-pairing, /beer-pairing, /pairing/*).
   Same palette and type as the homepage; the homepage keeps its own inline
   styles. */
:root {
  --bg:       #1a1b26;
  --surface:  #22233a;
  --purple:   #c3a5ff;
  --purple-d: #7c54cd;
  --white:    #ffffff;
  --muted:    #a0a0b4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--white); font-family: -apple-system, 'Segoe UI', sans-serif; line-height: 1.65; }
a { color: var(--purple); }

nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(195,165,255,0.15); }
.nav-logo { font-size: 1.2rem; font-weight: 700; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--purple); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-left: 1.1rem; }
.nav-links a:first-child { margin-left: 0; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--purple); }

main { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; margin-bottom: 0.75rem; }
.lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
h2 { font-size: clamp(1.35rem, 4vw, 1.7rem); line-height: 1.25; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; }
main > p, main li { color: #d6d6e2; }

.answer { background: var(--surface); border: 1px solid rgba(195,165,255,0.25); border-left: 4px solid var(--purple); border-radius: 12px; padding: 1.25rem 1.4rem; }
.answer .label { color: var(--purple); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.answer p { margin-bottom: 0.5rem; }
.answer p:last-child { margin-bottom: 0; }

.mode { color: var(--purple); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2.75rem; }
.mode + h2 { margin-top: 0.25rem; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { background: var(--surface); border: 1px solid rgba(195,165,255,0.12); border-radius: 14px; padding: 1.25rem 1.4rem; }
.card .why { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.75rem; }
.card ol { padding-left: 1.3rem; }
.card li { margin-bottom: 0.2rem; }
.card li span { color: var(--muted); font-size: 0.88rem; }

ul.plain { padding-left: 1.2rem; margin-bottom: 1rem; }
ul.plain li { margin-bottom: 0.5rem; }

.faq h3 { margin-top: 1.5rem; }
.faq p { color: #d6d6e2; }

.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.guides a { display: block; background: var(--surface); border: 1px solid rgba(195,165,255,0.15); border-radius: 12px; padding: 1rem 1.2rem; text-decoration: none; color: var(--white); }
.guides a:hover { border-color: var(--purple); }
.guides a span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }

.note { color: var(--muted); font-size: 0.85rem; border-top: 1px solid rgba(195,165,255,0.12); padding-top: 1rem; margin-top: 2.5rem; }

.cta { text-align: center; background: var(--surface); border-radius: 16px; padding: 2rem 1.25rem; margin-top: 2.5rem; }
.cta h2 { margin: 0 0 0.5rem; }
.cta p { color: var(--muted); margin-bottom: 1.25rem; }

/* STORE BADGES -- official artwork only, sized on VISIBLE height as on the
   homepage and /edcellars (Google's PNG carries transparent clear space). */
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.stores a { display: block; line-height: 0; }
.stores a:active { opacity: 0.85; }
.badge-apple { height: 44px; }
.badge-play  { height: 65.5px; margin: -10.75px -11px; }

footer { border-top: 1px solid rgba(195,165,255,0.12); padding: 2rem 1.5rem; text-align: center; color: var(--muted); font-size: 0.85rem; }
footer a { margin: 0 0.5rem; text-decoration: none; }
footer a:hover { text-decoration: underline; }
