@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/oswald-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/oswald-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/oswald-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/oswald-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* TBR showcase site — style D "Rivista di settore" (brief of TBR Mobile S488, section 4).
   Mobile first: 360 px, 16 px gutter. Square corners, 1 px rules, no gradients.
   Capitals are written in the text (toLocaleUpperCase), never with text-transform. */

:root {
  --v-paper: #F5F3EF;
  --v-ink: #0E1A20;
  --v-ink-2: #2E3E46;
  --v-ink-3: #4A5A62;
  --v-night: #0E1A20;
  --v-night-2: #24343C;
  --v-brand: #E93100;
  --v-num: #C42900;
  --v-num-dark: #FF7A4D;
  --v-cyan: #00BEE9;
  --v-on-dark: #FFFFFF;
  --v-on-dark-2: #C9D6DD;
  --v-on-dark-3: #8DA3AE;
  --v-placeholder: #D8D4CC;
  --v-field: #FFFFFF;
  --v-veil: rgba(8, 18, 24, 0.38);
  --v-gutter: 16px;
  --v-section: 64px;
  --v-title: 'Oswald', 'Arial Narrow', sans-serif;
  --v-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (min-width: 768px) {
  :root {
    --v-gutter: 40px;
    --v-section: 96px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--v-paper);
  color: var(--v-ink);
  font-family: var(--v-text);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--v-ink);
}

a:hover {
  color: var(--v-num);
}

a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--v-cyan);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--v-ink);
  color: var(--v-on-dark);
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 5;
  padding: 16px var(--v-gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  border-bottom: 1px solid var(--v-ink);
}

.site-header--hero {
  border-bottom: 0;
  color: var(--v-on-dark);
}

/* The logo: white on the hero photo, ink on the paper pages (vetrina/assets/brand) */
.brand {
  display: block;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
}

.site-header--hero .site-nav a,
.site-header--hero .brand,
.site-header--hero .lang-menu summary {
  color: var(--v-on-dark);
}

.site-nav a:hover {
  color: var(--v-num);
}

.site-header--hero .site-nav a:hover {
  color: var(--v-on-dark);
  text-decoration: underline;
}

.site-nav .nav-download {
  border-bottom: 2px solid var(--v-brand);
  padding-bottom: 2px;
}

@media (min-width: 768px) {
  .site-header {
    padding: 28px var(--v-gutter);
  }

  .brand img {
    height: 44px;
  }

  .site-nav {
    gap: 8px 26px;
    font-size: 15px;
  }
}

/* Language menu: <details>, no JavaScript */
.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 4px 0;
  color: var(--v-ink);
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary::after {
  content: ' ▾';
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--v-paper);
  border: 1px solid var(--v-ink);
  min-width: 200px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 10;
}

/* Phones: the nav wraps and the language code can sit anywhere on its line,
   so the list hangs from the header's left gutter instead. */
@media (max-width: 767px) {
  .lang-menu {
    position: static;
  }

  .lang-menu ul {
    left: var(--v-gutter);
    right: auto;
    top: 100%;
  }
}

.lang-menu li a {
  display: block;
  padding: 8px 16px;
  color: var(--v-ink);
  font-weight: 500;
  letter-spacing: 0;
}

.site-header--hero .lang-menu li a {
  color: var(--v-ink);
}

.lang-menu li a[aria-current] {
  color: var(--v-num);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 600px;
  height: 100vh;
  height: 100svh;
  max-height: 900px;
  background: var(--v-night-2);
  color: var(--v-on-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero picture,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--v-veil);
}

.hero-body {
  position: relative;
  padding: 0 var(--v-gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(44px, 11vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  max-width: 1000px;
  overflow-wrap: break-word;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 16px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.5;
  max-width: 620px;
}

.caption {
  font-size: 12px;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .hero-body {
    padding-bottom: 44px;
    gap: 20px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .caption {
    font-size: 13px;
  }
}

/* ---------- Sports index ---------- */

.sports-index {
  padding: 20px var(--v-gutter);
  border-bottom: 1px solid var(--v-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: baseline;
}

.sports-index a {
  text-decoration: none;
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.num {
  color: var(--v-num);
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
}

@media (min-width: 768px) {
  .sports-index {
    padding: 26px var(--v-gutter);
    gap: 8px 30px;
  }

  .sports-index a {
    font-size: 22px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: var(--v-section) var(--v-gutter);
  scroll-margin-top: 0;
}

.section--dark {
  background: var(--v-night);
  color: var(--v-on-dark);
}

.section--dark a {
  color: var(--v-on-dark);
}

.section--dark .num {
  color: var(--v-num-dark);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}

.split--center {
  align-items: center;
}

.split > * {
  min-width: 0;
}

.col {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.col--wide {
  flex: 1.3 1 520px;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.lead-big {
  font-family: var(--v-title);
  font-weight: 500;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.12;
}

.title-xl {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.92;
  overflow-wrap: break-word;
}

.title-l {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--v-ink-2);
}

.section--dark .text {
  color: var(--v-on-dark-2);
}

.small {
  font-size: 14px;
  color: var(--v-ink-3);
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.head-row .text {
  max-width: 460px;
}

/* Numbered rows, like the contents page of a magazine */
.rows {
  display: flex;
  flex-direction: column;
}

.row {
  border-top: 1px solid var(--v-ink);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: baseline;
}

.row .num {
  flex: 0 0 32px;
  font-size: 14px;
  margin: 0;
}

.row-title {
  flex: 0 0 190px;
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.03em;
}

.row-text {
  flex: 1 1 240px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--v-ink-2);
}

.row--short .row-title {
  flex-basis: 110px;
}

/* ---------- Phones and placeholders ---------- */

.phones {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.phone {
  width: 47%;
  max-width: 210px;
  aspect-ratio: 9 / 19.5;
  background: var(--v-ink);
  padding: 8px;
  border-radius: 28px;
}

.phone + .phone {
  margin-top: 48px;
}

.phone--large {
  width: 100%;
  max-width: 270px;
  border-radius: 34px;
  padding: 9px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  overflow: hidden;
  background: var(--v-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 14px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen--image {
  padding: 0;
}

.phone-wrap {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .phone + .phone {
    margin-top: 80px;
  }
}

/* ---------- Sports grid ---------- */

.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 24px;
  margin-top: 40px;
}

.sport-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 16px;
}

.frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--v-night-2);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--light {
  background: var(--v-placeholder);
}

.sport-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.sport-head .num {
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 15px;
  margin: 0;
}

.sport-name {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.03em;
}

.sport-count {
  font-size: 14px;
  color: var(--v-on-dark-3);
}

.sport-disciplines {
  font-size: 16px;
  line-height: 1.6;
  color: var(--v-on-dark-2);
}

/* ---------- Spot Radar ---------- */

.vibes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vibe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vibe-list li {
  border: 1px solid var(--v-ink);
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Clubs ---------- */

.club-photo {
  flex: 1 1 400px;
  max-height: 720px;
}

/* ---------- Contest ---------- */

.formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--v-on-dark);
  margin-top: 40px;
}

.format {
  padding: 20px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.format .num {
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 15px;
  margin: 0;
}

.format-title {
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.format-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--v-on-dark-2);
}

.panels {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0 24px;
}

.panel {
  flex: 1 1 320px;
  aspect-ratio: 4 / 3;
  background: var(--v-night-2);
  color: var(--v-on-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  padding: 24px;
  overflow: hidden;
}

.panel--image {
  padding: 0;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contest-print {
  font-size: 17px;
  color: var(--v-on-dark-2);
}

.contest-print strong {
  color: var(--v-on-dark);
}

/* ---------- Community ---------- */

.community {
  padding-bottom: 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .community-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ---------- Download ---------- */

.download {
  padding-top: calc(var(--v-section) + 16px);
  padding-bottom: calc(var(--v-section) + 16px);
  border-bottom: 1px solid var(--v-ink);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.title-xxl {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(56px, 13vw, 120px);
  line-height: 0.9;
  overflow-wrap: break-word;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge img {
  height: 50px;
  width: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px var(--v-gutter);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer-langs a {
  color: var(--v-ink-3);
}

.footer-langs a[aria-current] {
  color: var(--v-ink);
  font-weight: 600;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* ---------- Text pages: FAQ, legal, share, 404 ---------- */

.page {
  padding: 48px var(--v-gutter) var(--v-section);
  max-width: 920px;
}

.page-title {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.page-lead {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--v-ink-2);
}

.toc {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--v-ink);
}

.toc li {
  border-top: 1px solid var(--v-ink);
}

.toc a {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  text-decoration: none;
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 18px;
}

.toc .num {
  flex: 0 0 32px;
  margin: 0;
  font-family: var(--v-text);
  font-size: 14px;
}

.faq-category {
  margin-top: 56px;
  scroll-margin-top: 16px;
}

.faq-category-title {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.05;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v-ink);
}

.faq-category-title .num {
  font-family: var(--v-text);
  font-size: 15px;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(14, 26, 32, 0.25);
  scroll-margin-top: 16px;
}

.faq-item:target {
  border-left: 3px solid var(--v-brand);
  padding-left: 14px;
}

.faq-q {
  font-family: var(--v-text);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
}

.faq-a {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--v-ink-2);
}

/* Delete account: in-app steps and the request form */
.delete-block {
  margin-top: 40px;
}

.delete-steps {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
}

.delete-step {
  flex: 1 1 0;
  max-width: 210px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delete-step .phone {
  width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
  max-width: 520px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

.field input,
.field textarea {
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  color: var(--v-ink);
  background: var(--v-field);
  border: 1px solid var(--v-ink);
  border-radius: 0;
  padding: 10px 12px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.button {
  align-self: flex-start;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--v-on-dark);
  background: var(--v-ink);
  border: 0;
  border-radius: 0;
  padding: 12px 22px;
  cursor: pointer;
}

.button:hover {
  background: var(--v-num);
}

/* Honeypot for bots: off screen, never seen or reached by people */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal documents: the text comes verbatim from src/lib/legalContent.js */
.legal-switch {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.legal-switch a {
  border: 1px solid var(--v-ink);
  padding: 6px 14px;
  font-weight: 600;
  text-decoration: none;
}

.legal-switch a[aria-current] {
  background: var(--v-ink);
  color: var(--v-on-dark);
}

.legal-container {
  margin-top: 32px;
}

.legal-title {
  font-family: var(--v-title);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
}

.legal-updated {
  margin-top: 12px;
  font-size: 15px;
  color: var(--v-ink-3);
}

.legal-beta-warning {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--v-ink);
  border-left: 4px solid var(--v-brand);
}

.legal-beta-warning h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.legal-section {
  margin-top: 36px;
}

.legal-section-title {
  font-family: var(--v-title);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--v-ink);
  margin-bottom: 12px;
}

.legal-section-content {
  font-size: 16px;
  line-height: 1.65;
  color: var(--v-ink-2);
  overflow-wrap: break-word;
}

.legal-section-content p {
  margin: 0 0 12px;
}

.legal-h4 {
  font-size: 17px;
  margin: 20px 0 8px;
  color: var(--v-ink);
}

.legal-list {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.legal-table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(14, 26, 32, 0.35);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(14, 26, 32, 0.06);
}

/* Shared post and session pages */
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
  max-width: 1200px;
}

.share-media {
  flex: 1 1 340px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-media img,
.share-media video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: var(--v-night);
}

.share-body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.share-caption {
  font-size: 19px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.share-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-facts li {
  border-top: 1px solid var(--v-ink);
  padding: 12px 0;
  font-size: 17px;
}
