/* Vogo site styles. Tokens from brand/design-system/project/tokens.json (version 2, red and ink). */

@font-face { font-family: "Figtree"; src: url("/fonts/vogo/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/vogo/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/vogo/jetbrains-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #f6f6f8; --surface: #ffffff; --ink: #161a2b; --muted: #575b6e; --line: #dedfe6; --control-line: #8a8fa3;
  --logo-red: #e8314f; --brand: #c8203f; --brand-strong: #a8172f; --on-brand: #ffffff; --brand-tint: #fde6ea;
  --red-on-ink: #ff8a9a; --notice: #fff4d6; --danger: #b3261e;
  --ink-panel: #232842; --ink-line: #343a57; --on-ink-muted: #c3c6d4;
  --shadow-card: 0 1px 2px rgba(22,26,43,.06), 0 6px 20px rgba(22,26,43,.06);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r-sm: 6px; --r-md: 14px; --r-pill: 999px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #10121c; --surface: #1a1d2b; --ink: #eceef4; --muted: #a9adbd; --line: #2c3044; --control-line: #6c7189;
    --brand: #ff5c73; --brand-strong: #ff8a9a; --on-brand: #10121c; --brand-tint: #3a1a22; --notice: #3a3115; --danger: #ff8a80;
    --ink-panel: #1a1d2b; --ink-line: #2c3044;
    --shadow-card: 0 1px 2px rgba(0,0,0,.5);
    color-scheme: dark;
  }
  .logo-light { display: none !important; }
  .logo-dark { display: block !important; }
  .band-ink { background: #0b0d15 !important; }
}
@media not (prefers-color-scheme: dark) { .logo-dark { display: none !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/24px var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }
[x-cloak] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }
.stack > * + * { margin-top: var(--gap, 16px); }

/* Type */
.label { font: 700 12px/16px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--brand); }
.display-xl { margin: 0; font: 800 clamp(40px, 6vw, 64px)/1.03 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.h1 { margin: 0; font: 800 clamp(32px, 4.4vw, 44px)/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.h2 { margin: 0; font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.h3 { margin: 0; font: 700 24px/30px var(--display); }
.lead { margin: 0; font: 400 18px/28px var(--sans); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md);
  font: 600 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-line { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--line); font: 600 15px/1 var(--sans); color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-current="page"] { background: var(--brand-tint); border-color: var(--brand); }

/* Header and footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.site-header .logo img { height: 36px; width: auto; display: block; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-pill); background: var(--ground); }
.search:focus-within { border-color: var(--control-line); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--ink); outline: none; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.navlink { font: 600 15px/1 var(--sans); color: var(--ink); text-decoration: none; }
.navlink:hover, .navlink[aria-current="page"] { color: var(--brand); }
@media (max-width: 640px) {
  .site-header .wrap { padding-block: 10px; gap: 10px 16px; }
  .site-header .logo img { height: 30px; }
  .site-header .search { order: 3; flex-basis: 100%; min-height: 42px; }
  .main-nav { margin-left: auto; gap: 12px; }
  .main-nav .hide-sm { display: none; }
}
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--ink); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(22,26,43,.14); max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.site-menu .wrap { display: flex; flex-direction: column; gap: 12px; padding-block: 16px 20px; }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu-cats { columns: 2; column-gap: 16px; }
@media (min-width: 760px) { .site-menu-cats { columns: 4; } }
.site-menu-cats li, .site-menu-links li { break-inside: avoid; }
.site-menu a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 22px; }
.site-menu a:hover { color: var(--brand); }
.site-menu-links { display: flex; flex-wrap: wrap; gap: 0 20px; border-top: 1px solid var(--line); padding-top: 8px !important; }
html { scroll-padding-top: 140px; }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 40px; margin-top: 72px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 500 15px/20px var(--sans); align-content: flex-start; }

.breadcrumb { font: 500 14px/20px var(--sans); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; margin: 0; list-style: none; padding-left: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }

/* Panels and sections */
.section { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { margin: 0; font: 700 22px/28px var(--display); }
.band-white { background: var(--surface); border-block: 1px solid var(--line); }
.band-ink { background: #161a2b; color: #fff; }
.band-ink .lead { color: var(--on-ink-muted); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 15px/20px var(--sans); color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks li svg { flex: none; }
/* Long lines (tips, worth knowing): one per row, tick at the top, normal text colour. */
.panel .ticks { flex-direction: column; flex-wrap: nowrap; gap: 10px; color: var(--ink); font-weight: 400; line-height: 22px; }
.panel .ticks li { align-items: flex-start; gap: 10px; }
.panel .ticks li svg { margin-top: 2px; }

/* Two-column page (offers + sidebar) */
.page-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.page-cols > main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-cols > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Brand and logo tiles */
.tile { flex: none; width: 96px; height: 60px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center;
  justify-content: center; overflow: hidden; font: 800 13px/1 var(--display); color: #161a2b; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tile-lg { width: 160px; height: 100px; border-radius: var(--r-md); font-size: 20px; }
.tile-sm { width: 72px; height: 46px; border-radius: 10px; font-size: 11px; }
.tile-xs { width: 44px; height: 28px; border-radius: 8px; font-size: 8px; }
.chip-logo { padding: 6px 14px 6px 6px; }

/* Tiles for "popular" lists (category page brands, homepage categories): two across on a phone. */
.pick-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.pick { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); text-decoration: none; }
.pick:hover { border-color: var(--brand); }
.pick-text { display: flex; flex-direction: column; min-width: 0; }
.pick .name { font-weight: 700; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.pick .count { font-size: 13px; line-height: 18px; color: var(--muted); }
/* Brand tiles: logo across the top at full width, name underneath, so neither is squeezed. */
.pick:not(.pick-cat):not(.ptile) { flex-direction: column; align-items: stretch; gap: 8px; }
.pick:not(.pick-cat):not(.ptile) .tile { width: 100%; height: 64px; }
.pick-cat { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 96px; }
.pick-logos { display: flex; gap: 4px; }
.more-list { margin-top: 12px; }
.more-list summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--brand); cursor: pointer; }
.more-list ul { list-style: none; margin: 8px 0 0; padding: 0; columns: 2; column-gap: 20px; }
@media (min-width: 760px) { .more-list ul { columns: 4; } }
.more-list li { break-inside: avoid; padding: 8px 0; line-height: 20px; }

/* Phone deals: phone screen first. */
.ptile { align-items: center; }
.ptile[hidden], .pdeal[hidden] { display: none; }
.ptile-img { flex: none; width: 48px; height: 56px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ptile-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.phone-answer { margin: 0 0 20px; font-size: 17px; line-height: 26px; max-width: 70ch; }
.phone-tools { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; margin-bottom: 16px; }
.phone-tool { display: flex; flex-direction: column; gap: 6px; }
.phone-sort { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--control-line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 15px var(--sans); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.seg-btn { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font: 600 14px var(--sans); white-space: nowrap; cursor: pointer; }
.seg-btn.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch-btn { width: 40px; height: 40px; padding: 0; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.swatch-btn.is-on { border-color: var(--ink); }
.swatch { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); vertical-align: middle; }
.swatch-any { background: conic-gradient(#c62828, #f1d54a, #3b8f4a, #2f6fcf, #6e3fa6, #c62828); }
.pdeal-colours .swatch, .bphone-sw .swatch { width: 14px; height: 14px; margin-right: 2px; }
.pdeal-list { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pdeal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pdeal { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pdeal.is-na { opacity: .55; box-shadow: none; }
.pdeal-head { display: flex; gap: 12px; align-items: center; }
.pdeal-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pdeal-ret { font-weight: 700; color: var(--ink); text-decoration: none; }
.pdeal-price { text-align: right; font: 800 24px/26px var(--display); color: var(--brand); display: flex; flex-direction: column; }
.pdeal-price small { font: 500 13px/16px var(--sans); color: var(--muted); }
.pdeal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
@media (min-width: 560px) { .pdeal-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pdeal-facts div { background: var(--ground); border-radius: var(--r-sm); padding: 8px 10px; }
.pdeal-facts dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.pdeal-facts dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 20px; }
.pdeal-colours, .pdeal-na { margin: 0; }
.pdeal-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; }
.pdeal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pdeal-foot .btn { flex: 1 1 160px; }
.brand-phones { display: flex; flex-direction: column; gap: 10px; }
.bphone { padding: 0; }
.bphone summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; min-height: 64px; }
.bphone summary::-webkit-details-marker { display: none; }
.bphone summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); flex: none; }
.bphone[open] summary::after { transform: rotate(-135deg); }
.bphone-sw { display: flex; gap: 2px; margin-top: 4px; }
.bphone-body { display: flex; flex-direction: column; gap: 12px; padding: 0 12px 12px; }
.bphone-body .pdeal { box-shadow: none; border: 1px solid var(--line); }
.bphone-more { font-weight: 600; }
.phone-info { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cat-info { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.page-head.phone-head { flex-wrap: nowrap; gap: 16px; }
.phone-head > div { min-width: 0; }
.phone-pic { flex: none; margin: 0; width: 96px; height: 128px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); }
.phone-pic img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
@media (min-width: 760px) { .phone-pic { width: 150px; height: 200px; } }
.spec-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.spec-list div { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.spec-list div:first-child { border-top: 0; }
.spec-list dt { color: var(--muted); font-size: 14px; line-height: 20px; }
.spec-list dd { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; }

.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 28px 32px; }
.page-head > div:not(.tile) { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* Offer card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; position: relative; }
.badge { display: inline-flex; align-items: center; align-self: flex-start; padding: 7px 12px; border-radius: var(--r-pill); background: #161a2b; color: #fff;
  font: 800 18px/1 var(--display); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .badge { background: #eceef4; color: #10121c; } }
.badge-lg { padding: 8px 14px; font-size: 22px; }
.badge-sm { padding: 4px 9px; font-size: 14px; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--ink); }
.tag-grey { background: var(--ground); color: var(--muted); border: 1px solid var(--line); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 14px/20px var(--sans); color: var(--muted); margin: 0; padding: 0; list-style: none; }

/* Wide card on brand pages: saving | perforation | details */
.offer { display: flex; flex-wrap: wrap; }
.offer-left { flex: 1 1 180px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.offer-right { flex: 999 1 340px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.offer-title { margin: 0; font: 700 24px/30px var(--display); text-wrap: balance; }
.vperf { width: 16px; flex: none; background-image: radial-gradient(circle at center, var(--ground) 4px, transparent 4.5px); background-size: 16px 32px; background-position: center; }
.perf { height: 16px; flex: none; background-image: radial-gradient(circle at center, var(--ground) 4px, transparent 4.5px); background-size: 32px 16px; background-position: center; }
@media (max-width: 620px) { .offer .vperf { width: 100%; height: 16px; background-size: 32px 16px; } .offer-left { flex-direction: row; align-items: center; flex-wrap: wrap; padding-bottom: 8px; } .offer-right { padding-top: 8px; } }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.offer.is-expired { box-shadow: none; opacity: .72; }
.offer.is-expired .badge { background: var(--muted); color: var(--surface); }

/* Compact card for grids (homepage, categories, similar offers) */
.mini { display: flex; flex-direction: column; }
.mini-top { padding: 18px 20px 10px; display: flex; gap: 12px; align-items: center; }
.mini-top .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-top .who a { font: 700 16px/20px var(--sans); color: var(--ink); text-decoration: none; }
.mini-top .who a:hover { color: var(--brand); }
.mini-body { padding: 10px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mini-body h3 { margin: 0; font: 700 20px/26px var(--display); }
.mini-body .btn { margin-top: auto; }

/* Code box and notices */
.code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1.5px dashed var(--brand); border-radius: var(--r-sm);
  background: var(--brand-tint); align-self: flex-start; }
.code span { font: 600 20px/28px var(--mono); letter-spacing: .08em; }
.copy { font: 600 14px/1 var(--sans); padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--notice); font-size: 15px; line-height: 22px; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.stats div { background: var(--ground); border-radius: 10px; padding: 12px 14px; }
.stats dt { font: 500 13px/18px var(--sans); color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 700 20px/26px var(--display); }

/* Similar brands list */
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.brand-list li { display: flex; align-items: center; gap: 12px; }
.brand-list a.name { flex: 1; min-width: 0; font: 600 15px/20px var(--sans); color: var(--ink); text-decoration: none; }
.brand-list a.name:hover { color: var(--brand); }

/* FAQs */
.faqs details { border-top: 1px solid var(--line); }
.faqs summary { cursor: pointer; font: 600 16px/24px var(--sans); padding-block: 14px; list-style-position: outside; }
.faqs .rich { margin: 0 0 16px; color: var(--muted); }

/* Rich text from the admin editors */
.rich { font: 400 16px/26px var(--sans); }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font: 700 26px/32px var(--display); margin: 32px 0 12px; }
.rich h3 { font: 700 20px/26px var(--display); margin: 24px 0 8px; }
.rich p, .rich ul, .rich ol { margin: 0 0 16px; }
.rich img { border-radius: 10px; display: block; margin: 20px 0; }
.rich blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand); font: 600 19px/28px var(--display); }
.rich table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.rich th { background: var(--ground); }
.rich th p, .rich td p { margin: 0; }
.prose { max-width: 720px; }

/* A to Z */
.az-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.az-letters a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); }
.az-letters a:hover { border-color: var(--brand); }
.az-group h2 { font: 800 28px/1 var(--display); margin: 0 0 12px; }
.az-group ul { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 24px; }
.az-group li { padding: 4px 0; break-inside: avoid; }

/* Blog */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card .img { aspect-ratio: 16/9; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { margin: 0; font: 700 20px/26px var(--display); }
.post-card:hover h3 { color: var(--brand); }
.post-hero { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; margin: 24px 0; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.author { display: flex; gap: 14px; align-items: center; }
.author img, .author .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.author .avatar { background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 20px/1 var(--display); }

/* Pagination */
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* Empty brand state */
.empty { text-align: left; }

/* Homepage hero with photo */
.hero { padding-block: 56px 64px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 380px; min-width: 0; position: relative; max-width: 480px; margin-inline: auto; padding: 0 0 28px 28px; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px rgba(22,26,43,.16); }
.hero-member { position: absolute; left: 0; bottom: 0; width: 230px; padding: 16px 18px; border-radius: 16px; background: #c8203f; color: #fff;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 14px 30px rgba(22,26,43,.22); transform: rotate(-3deg); }
.hero-offer { position: absolute; right: -12px; top: 28px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; transform: rotate(2.5deg); max-width: 250px; }
@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  .hero-art { padding: 0 0 24px 0; }
  .hero-member { left: 8px; width: 200px; }
  .hero-offer { display: none; }
}

/* Who can join: role photos */
.roles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.role { margin: 0; display: flex; flex-direction: column; }
.role img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.role figcaption { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.role strong { font: 700 18px/24px var(--display); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.also .chip { padding: 8px 12px; font-size: 14px; font-weight: 500; }
.also .chip:hover { border-color: var(--line); }

/* About page body */
.about-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); }
.about-body .prose { max-width: 760px; }

/* Tear-off code strip: red "Get code" with a dashed coupon tab showing the code is there */
.code-btn { display: inline-flex; align-items: stretch; min-height: 48px; padding: 0; border: 0; border-radius: var(--r-md); cursor: pointer;
  text-decoration: none; font: 600 16px/1 var(--sans); background: none; position: relative; }
.code-btn-block { display: flex; width: 100%; }
.code-btn-main { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; background: var(--brand);
  color: var(--on-brand); border-radius: var(--r-md) 0 0 var(--r-md); position: relative; z-index: 1;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); padding-right: 30px; margin-right: -14px; }
.code-btn-tab { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 92px; padding: 0 14px 0 26px;
  border: 1.5px dashed var(--brand); border-left: 0; border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--brand-tint); color: var(--ink);
  font: 600 16px/1 var(--mono); letter-spacing: .08em; }
.code-btn-tab .code-dots { color: var(--muted); letter-spacing: .02em; }
.code-btn-tab svg + span { font: 700 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.code-btn:hover .code-btn-main { background: var(--brand-strong); }
.code-btn:hover .code-btn-tab { border-style: solid; }
.code-btn:disabled { cursor: wait; opacity: .8; }

/* Offer details drop-down */
.offer-more { border-top: 1px solid var(--line); padding-top: 10px; }
.offer-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/20px var(--sans); color: var(--ink);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.offer-more summary::-webkit-details-marker { display: none; }
.offer-more summary:hover { border-color: var(--ink); }
.offer-more[open] summary svg { transform: rotate(180deg); }
.offer-more-body { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.offer-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 14px; line-height: 20px; }
.offer-facts div { display: contents; }
.offer-facts dt { color: var(--muted); }
.offer-facts dd { margin: 0; font-weight: 600; }
.offer-left .tile { margin-bottom: 4px; }
@media (max-width: 620px) { .offer-left .tile { width: 84px; height: 52px; margin: 0; } }

/* Social media links */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: 600 14px/1 var(--sans); }
.social a:hover { border-color: var(--brand); color: var(--brand); }
.social-labels a { padding: 0 16px 0 12px; height: 44px; }
.follow-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--r-md);
  background: var(--brand-tint); }

/* Forms (join, sign in, account, verify) */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 600 15px/20px var(--sans); }
.field .hint { font-size: 14px; line-height: 20px; color: var(--muted); }
.input { min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--control-line); background: var(--surface); color: var(--ink);
  font: 400 16px/1 var(--sans); width: 100%; }
.input:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
input[type=file].input { padding: 10px 14px; height: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font: 500 14px/20px var(--sans); }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--brand-tint); font-size: 15px; line-height: 22px; }
.flash-error { background: var(--surface); border: 1.5px solid var(--danger); }
.auth-wrap { max-width: 1000px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; }
.auth-wrap > .panel { flex: 1 1 420px; padding: 32px; }
.auth-wrap > aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--brand-tint); font: 700 14px/1 var(--sans); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: 600 15px/20px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Cookie banner (public/js/consent.js). Reject all and Accept all always share one style. */
.cc { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 12px; pointer-events: none; }
.cc-box { pointer-events: auto; width: 100%; max-width: 560px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 40px rgba(22,26,43,.25); padding: 20px; display: flex; flex-direction: column; gap: 12px; font: 400 15px/22px var(--sans); max-height: calc(100vh - 24px); overflow: auto; }
.cc-box:focus { outline: none; }
.cc-box h2 { margin: 0; font: 700 20px/26px var(--display); }
.cc-box p { margin: 0; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { min-height: 48px; border-radius: var(--r-md); border: 0; background: var(--ink); color: var(--surface); font: 700 16px/1 var(--sans); cursor: pointer; }
.cc-btn:hover { opacity: .88; }
.cc-link { background: none; border: 0; padding: 4px; align-self: center; color: var(--ink); font: 600 15px/20px var(--sans); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc-row div { display: flex; flex-direction: column; gap: 2px; }
.cc-row span { font-size: 14px; line-height: 20px; color: var(--muted); }
.cc-on { flex: none; font-weight: 600; }
.cc-switch { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--control-line); position: relative; cursor: pointer; margin: 0; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch:checked { background: var(--brand); }
.cc-switch:checked::after { transform: translateX(20px); }
.cc-small { font-size: 13px !important; line-height: 18px !important; color: var(--muted); }
.cc-small code { font: 600 12px/1 var(--mono); }
.cc-forced { top: 0; align-items: flex-end; pointer-events: auto; background: rgba(22,26,43,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 700px) { .cc-forced { align-items: center; } }
html.cc-lock, html.cc-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .cc-switch::after { transition: none; } }

/* Vogo as an app (see /app/ and js/app.js) */
.is-app [data-app-promo] { display: none; }
.app-guides { display: flex; flex-direction: column; gap: 16px; margin-block: 16px; }
.app-guide > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-guide > summary::-webkit-details-marker { display: none; }
.app-guide > summary::after { content: "+"; font: 700 24px/1 var(--sans); color: var(--brand); }
.app-guide[open] > summary::after { content: "\2212"; }
.app-guide .steps { gap: 12px; font-size: 17px; line-height: 26px; }
.app-guide .steps li::marker { font-weight: 700; color: var(--brand); }

/* The hidden attribute always wins, even on flex panels. */
[hidden] { display: none !important; }
