/* ============================================================
   SPORTSCAR TOURS — shared site stylesheet
   Palette lifted 1:1 from the iOS app (DesignSystem/Theme.swift)
   Used by every page: index, legal, contact, support, join.
   ============================================================ */
:root {
  --bg:            #0F1217;   /* palette.background        */
  --surface:       #191D25;   /* palette.surface           */
  --surface-el:    #232833;   /* palette.surfaceElevated   */
  --stroke:        rgba(255,255,255,.08);
  --text-1:        #F4F5F7;   /* textPrimary               */
  --text-2:        #9AA0AB;   /* textSecondary             */
  --text-3:        #5C6270;   /* textTertiary              */
  --accent:        #00684A;   /* Aston racing green        */
  --accent-2:      #1FB58F;   /* accentSecondary           */
  --accent-rgb:    0,104,74;  /* accent, as an R,G,B triplet — lets rgba() glows/shadows follow the live marque */
  --accent-2-rgb:  31,181,143;
  --on-accent:     #fff;
  --radius-card:   20px;
  --radius-btn:    14px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- signature carbon-weave backdrop (CarbonBackground.swift) ---- */
.carbon {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.045) 0px,
      rgba(255,255,255,.045) 0.5px,
      transparent 0.5px,
      transparent 22px),
    var(--bg);
}
.glow-tr::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle 640px at 88% -5%, rgba(var(--accent-rgb),.17), transparent 70%);
}
.glow-bl::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle 520px at 8% 105%, rgba(var(--accent-rgb),.08), transparent 70%);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position:relative; }
.wrap.narrow { max-width: 780px; }

/* ---- typography ---- */
.eyebrow {
  display:flex; align-items:center; gap:10px;
  font-size:12px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color: var(--accent);
}
.eyebrow::before { content:""; width:22px; height:3px; background:var(--accent); border-radius:2px; }
.eyebrow.center { justify-content:center; }
h1, h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sub { color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34em; }
.mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; }

/* ---- buttons (RacingButton.swift) ---- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 28px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 1.02rem; letter-spacing:.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-fill {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb),.28);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(var(--accent-rgb),.38); }
.btn-ghost {
  background: var(--surface-el); color: var(--text-1);
  border: 1.5px solid rgba(var(--accent-rgb),.6);
}
.btn-ghost:hover { background:#2a3040; }

/* ---- nav ---- */
nav {
  position: sticky; top:0; z-index:50;
  background: rgba(15,18,23,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo { display:flex; align-items:center; gap:12px; }
.logo img { width:34px; height:34px; border-radius:8px; }
.logo span {
  font-size:13px; font-weight:800; letter-spacing:.24em; text-transform:uppercase;
}
.nav-right { display:flex; align-items:center; gap:20px; }
.nav-links { display:flex; gap:28px; align-items:center; font-size:.95rem; color:var(--text-2); white-space:nowrap; }
.nav-links a:hover { color:var(--text-1); }
.btn-nav { padding: 10px 20px; font-size:.92rem; }
/* nav-scoped language switcher — same pill component as the legal-page hero, sized down and always visible */
.nav-right .lang-switch { margin-bottom: 0; flex: none; }
.nav-right .lang-switch a { padding: 5px 11px; font-size: .78rem; }
@media (max-width: 920px) {
  .nav-links a:not(.btn) { display:none; }
}
@media (max-width: 560px) {
  .logo span { font-size:11px; letter-spacing:.15em; }
  .logo img { width:30px; height:30px; }
  .btn-nav { padding: 9px 14px; font-size:.88rem; }
  .nav-right { gap:10px; }
  .nav-right .lang-switch a { padding: 5px 8px; font-size:.72rem; }
}

/* ---- hero ---- */
.hero { padding: 84px 0 0; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items:center; }
.hero h1 .accent { color: var(--accent); }
.hero .cta-row { display:flex; gap:16px; flex-wrap:wrap; margin-top:36px; }
.hero-copy > * + * { margin-top: 22px; }

.store-note { color: var(--text-3); font-size:.85rem; margin-top:14px; }

/* phone mockup */
.phone-stage { position:relative; z-index:0; display:flex; justify-content:center; padding: 10px 0 0; }
.phone {
  width: min(320px, 78vw);
  border-radius: 46px;
  border: 1px solid rgba(255,255,255,.14);
  background:#000;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.55),
    0 0 120px rgba(var(--accent-rgb),.12);
  transform: rotate(2.5deg);
}
.phone img { border-radius: 36px; }
.phone.back {
  position:absolute; right: 4%; bottom: -12%;
  width: min(250px, 60vw);
  transform: rotate(-7deg);
  opacity:.9; z-index:-1;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone.back { display:none; }
  .phone { transform:none; }
}

/* ---- stat strip (stat tiles from TourDetail) ---- */
.stats { padding: 72px 0 8px; }
.stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.stat {
  background: var(--surface); border:1px solid var(--stroke);
  border-radius: var(--radius-card); text-align:center; padding: 26px 12px;
}
.stat b { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight:700; display:block; }
.stat span {
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--text-2); font-weight:600;
}
@media (max-width: 640px){ .stat-row { grid-template-columns:1fr; } }

/* ---- sections ---- */
section { position:relative; }
.section-pad { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head h2 { margin: 14px 0 16px; }

/* feature cards */
.cards { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
@media (max-width: 980px){ .cards { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .cards { grid-template-columns: 1fr;} }
.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),.45); background: var(--surface-el); }
.card .icon {
  width:46px; height:46px; border-radius: 13px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb),.18), rgba(var(--accent-rgb),.18));
  border: 1px solid rgba(var(--accent-rgb),.35);
  margin-bottom: 18px;
}
.card .icon svg { width:22px; height:22px; stroke: var(--accent); }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: .95rem; }

/* split feature sections */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; gap:40px; } }
.split .shot { position:relative; display:flex; justify-content:center; }
.split .shot .phone { transform: rotate(-2deg); }
.split.flip .shot .phone { transform: rotate(2deg); }
/* a second, smaller phone fanned out behind the main one — same idea as the hero's stacked pair */
.split .shot .phone.back { transform: rotate(-9deg); }
.split.flip .shot .phone.back { transform: rotate(9deg); }
@media (max-width: 880px) { .split .shot .phone.back { display:none; } }
.feature-list { list-style:none; margin-top: 30px; display:flex; flex-direction:column; gap:22px; }
.feature-list li { display:flex; gap:16px; align-items:flex-start; }
.feature-list .fi {
  flex:none; width:40px; height:40px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: var(--surface-el); border:1px solid var(--stroke);
}
.feature-list .fi svg { width:19px; height:19px; stroke: var(--accent); }
.feature-list b { display:block; font-size:1.02rem; }
.feature-list p { color: var(--text-2); font-size:.94rem; }

/* gauge ring (GaugeRing.swift homage) */
.gauges { display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.gauge {
  background: var(--surface); border:1px solid var(--stroke); border-radius:18px;
  padding: 18px 22px; text-align:center; min-width:120px;
}
.gauge .ring {
  width:64px; height:64px; margin:0 auto 10px; border-radius:50%;
  background:
    radial-gradient(closest-side, var(--surface) 79%, transparent 80% 100%),
    conic-gradient(from 220deg, var(--accent) 0deg, var(--accent-2) var(--deg,200deg), #2a3040 var(--deg,200deg) 280deg, transparent 280deg);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.95rem;
}
.gauge span { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-2); font-weight:600; }

/* marque theming */
.marques { display:grid; grid-template-columns: repeat(6, 1fr); gap:14px; }
@media (max-width: 880px){ .marques { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 560px){ .marques { grid-template-columns: repeat(2,1fr);} }
/* narrower variant for when the grid sits in one half of a split layout, not the full width */
.marques.compact { grid-template-columns: repeat(3, 1fr); gap:12px; }
@media (max-width: 560px){ .marques.compact { grid-template-columns: repeat(2,1fr);} }
.marque {
  background: var(--surface); border:1px solid var(--stroke); border-radius: var(--radius-card);
  padding: 22px 16px; text-align:center;
  transition: transform .2s ease, border-color .2s ease;
}
.marque:hover { transform: translateY(-4px); }
.marque[data-marque] { cursor: pointer; outline: none; }
.marque[data-marque]:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.marque .chip {
  position: relative;
  width: 52px; height:52px; border-radius:50%; margin:0 auto 14px;
  border: 3px solid rgba(255,255,255,.1);
  box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 24px var(--chip-glow, transparent);
  transition: border-color .2s ease;
}
.marque b { display:block; font-size:.95rem; }
.marque span { font-size:.78rem; color: var(--text-3); }
.marque .picked-tag {
  display:block; font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--accent); margin-top:6px; height:14px; opacity:0; transition: opacity .15s ease;
}
.marque.active .picked-tag { opacity:1; }
.marque.active .chip { border-color: rgba(255,255,255,.9); }
.marque.active .chip::after {
  content:"\2713"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:1.05rem; text-shadow: 0 1px 3px rgba(0,0,0,.6);
  background: rgba(0,0,0,.18); border-radius:50%;
}
.m-mclaren .chip { background:#FF6A13; --chip-glow: rgba(255,106,19,.35); }
.m-aston   .chip { background:#00684A; --chip-glow: rgba(0,104,74,.4); }
.m-lambo   .chip { background:#CDE000; --chip-glow: rgba(205,224,0,.3); }
.m-lotus   .chip { background:#009A44; --chip-glow: rgba(0,154,68,.35); }
.m-ferrari .chip { background:#D40000; --chip-glow: rgba(212,0,0,.4); }
.m-porsche .chip { background:linear-gradient(135deg,#C9CDD2 60%, #A6192E 60%); --chip-glow: rgba(201,205,210,.25); }
.m-mclaren:hover { border-color:#FF6A13aa; } .m-aston:hover { border-color:#00684Aaa; }
.m-lambo:hover { border-color:#CDE000aa; }  .m-lotus:hover { border-color:#009A44aa; }
.m-ferrari:hover { border-color:#D40000aa; } .m-porsche:hover { border-color:#C9CDD2aa; }

/* ---- cookie consent banner (EU ePrivacy / GDPR) ---- */
.cookie-banner {
  position: fixed; left:0; right:0; bottom:0; z-index:200; padding:16px;
  transform: translateY(120%); transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 920px; margin:0 auto;
  background: var(--surface-el); border:1px solid var(--stroke); border-radius:16px;
  padding: 20px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
}
.cookie-banner-inner p { color: var(--text-2); font-size:.92rem; flex:1; min-width:240px; margin:0; }
.cookie-banner-inner a { color: var(--accent); text-decoration:underline; text-underline-offset:2px; }
.cookie-banner-actions { display:flex; gap:10px; flex:none; }
.cookie-banner-actions .btn { padding:11px 22px; font-size:.9rem; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction:column; align-items:stretch; text-align:center; }
  .cookie-banner-actions { justify-content:center; }
}

/* ---- pricing ---- */
.pricing-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; align-items:stretch; }
@media (max-width: 980px){ .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .pricing-grid { grid-template-columns: 1fr; } }
.price-card.inquiry { background: var(--surface); border-style: dashed; }
.price-card.inquiry:hover { border-style: solid; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display:flex; flex-direction:column;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),.45); }
.price-card.featured {
  background: var(--surface-el);
  border-color: rgba(var(--accent-rgb),.6);
  box-shadow: 0 20px 50px rgba(var(--accent-rgb),.14);
  position: relative;
}
.badge {
  display:inline-block;
  font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color: var(--on-accent); background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 5px 12px; border-radius:999px; margin-bottom:18px;
}
.price-card .badge { align-self:flex-start; }
.price-card h3 { font-size:1.15rem; font-weight:700; }
.price-card .price { margin-top:10px; }
.price-card .price b { font-size:2.1rem; font-weight:800; letter-spacing:-.01em; }
.price-card .price span { color: var(--text-2); font-size:.9rem; }
.price-card .tagline { color: var(--text-2); font-size:.92rem; margin-top:8px; }
.price-card ul { list-style:none; margin-top:26px; display:flex; flex-direction:column; gap:13px; flex:1; }
.price-card li { display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color: var(--text-1); }
.price-card li svg { flex:none; width:17px; height:17px; stroke: var(--accent); margin-top:2px; }
.price-card .btn { margin-top:26px; width:100%; }
.pricing-note { color: var(--text-3); font-size:.88rem; text-align:center; margin-top:32px; }
.pricing-note a { color: var(--text-2); text-decoration:underline; text-underline-offset:2px; }
.pricing-note a:hover { color: var(--text-1); }

/* ---- roadmap ("more to come") ---- */
.roadmap-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; max-width: 760px; margin-inline: auto; }
@media (max-width: 880px){ .roadmap-grid { grid-template-columns: 1fr; } }
.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.roadmap-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),.4); background: var(--surface-el); }
.roadmap-card.featured {
  background: var(--surface-el);
  border-color: rgba(var(--accent-rgb),.6);
  box-shadow: 0 20px 50px rgba(var(--accent-rgb),.16);
}
.roadmap-card .icon {
  width:46px; height:46px; border-radius: 13px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb),.18), rgba(var(--accent-rgb),.18));
  border: 1px solid rgba(var(--accent-rgb),.35);
  margin-bottom: 18px;
}
.roadmap-card .icon svg { width:22px; height:22px; stroke: var(--accent); }
.roadmap-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.roadmap-card p { color: var(--text-2); font-size: .95rem; }
.roadmap-note { color: var(--text-3); font-size:.88rem; text-align:center; margin-top:32px; }

/* quote */
.quote { text-align:center; max-width: 760px; margin:0 auto; }
.quote blockquote {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing:-.01em; line-height:1.3;
}
.quote blockquote .accent { color: var(--accent); }
.quote cite { display:block; margin-top:20px; color: var(--text-3); font-style:normal;
  font-size:12px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; }

/* CTA band */
.cta-band {
  border-radius: 28px; overflow:hidden; position:relative;
  background:
    radial-gradient(circle 500px at 85% 0%, rgba(var(--accent-2-rgb),.25), transparent 70%),
    linear-gradient(135deg, #1a1e27, #12151c);
  border: 1px solid var(--stroke);
  padding: 72px 48px; text-align:center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .sub { margin: 0 auto 36px; }
.cta-band.left { text-align:left; padding: 56px 48px; }
.cta-band.left h2 { margin: 14px 0 0; }
.cta-band.left .sub { margin: 16px 0 0; }
.cta-split { display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; }
@media (max-width: 880px){ .cta-split { grid-template-columns:1fr; gap:32px; } }
@media (max-width: 640px){ .cta-band.left { padding: 40px 28px; } }

/* AI Route Planner promo */
.ai-feature-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; margin: 40px 0 32px; text-align:left; }
@media (max-width: 880px){ .ai-feature-grid { grid-template-columns: 1fr; } }
.ai-feature .icon {
  width:46px; height:46px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb),.18), rgba(var(--accent-rgb),.18));
  border: 1px solid rgba(var(--accent-rgb),.35);
  margin-bottom: 14px;
}
.ai-feature .icon svg { width:20px; height:20px; stroke: var(--accent); }
.ai-feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.ai-feature p { color: var(--text-2); font-size: .92rem; }
.ai-price { display:flex; align-items:baseline; justify-content:center; gap:10px; margin: 4px 0 28px; }
.ai-price b { font-size: 1.9rem; font-weight: 800; letter-spacing:-.01em; }
.ai-price span { color: var(--text-2); font-size: .88rem; }

/* footer */
footer { border-top: 1px solid var(--stroke); padding: 48px 0 56px; }
.foot { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; align-items:center; }
.foot-links { display:flex; gap:24px; flex-wrap:wrap; font-size:.9rem; color:var(--text-2); }
.foot-links a:hover { color: var(--text-1); }
.foot small { color: var(--text-3); font-size:.85rem; }

/* apple badge (placeholder — swap for official artwork) */
.store-badge {
  display:inline-flex; align-items:center; gap:12px;
  background:#000; border:1px solid rgba(255,255,255,.25); border-radius:14px;
  padding: 12px 22px; transition: border-color .2s ease, transform .18s ease;
}
.store-badge:hover { border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.store-badge svg { width:26px; height:26px; fill:#fff; }
.store-badge .t { line-height:1.15; text-align:left; }
.store-badge .t small { display:block; font-size:.68rem; color:#bbb; }
.store-badge .t b { font-size:1.05rem; font-weight:600; }

/* ---- simple subpage hero (legal / contact / support / join) ---- */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin-top:14px; }
.page-hero .sub { margin-top:14px; }
.page-hero .meta { color: var(--text-3); font-size:.85rem; margin-top:18px; }

/* ---- legal prose ---- */
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.15rem; font-weight: 700; letter-spacing:-.01em;
  margin-top: 44px; margin-bottom: 12px; color: var(--text-1);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1rem; font-weight: 700; margin-top: 22px; margin-bottom: 8px; color: var(--text-1);
}
.legal-body p { color: var(--text-2); font-size: .98rem; margin-bottom: 14px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { color: var(--text-2); font-size: .98rem; margin: 10px 0 14px 1.3em; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--text-1); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--accent-2); }

.legal-body .note {
  background: var(--surface-el); border: 1px solid var(--stroke); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 10px; margin: 18px 0; color: var(--text-2); font-size: .94rem;
}
.legal-body .note strong { color: var(--text-1); }
.legal-body ul.credits { list-style: none; margin: 18px 0 0; padding: 0; }
.legal-body ul.credits li { border-top: 1px solid var(--stroke); padding: 14px 0; margin-bottom: 0; }
.legal-body ul.credits li:first-child { border-top: none; }
.legal-body .lic { display: block; margin-top: 4px; font-size: .88rem; color: var(--text-3); }
.legal-body .table-wrap { overflow-x: auto; margin: 14px 0; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-body th, .legal-body td {
  border: 1px solid var(--stroke); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--text-2);
}
.legal-body th { background: var(--surface-el); color: var(--text-1); font-weight: 600; }
.legal-body td:first-child { color: var(--text-1); }

.lang-switch {
  display:inline-flex; gap:2px; background: var(--surface); border:1px solid var(--stroke);
  border-radius: 999px; padding: 3px; margin-bottom: 8px;
}
.lang-switch a {
  padding: 6px 16px; border-radius: 999px; font-size:.85rem; font-weight:600; color: var(--text-2);
}
.lang-switch a.active { background: var(--surface-el); color: var(--text-1); }
.lang-switch a:hover:not(.active) { color: var(--text-1); }

/* ---- simple content page (contact / support / join) ---- */
.info-card {
  background: var(--surface); border:1px solid var(--stroke); border-radius: var(--radius-card);
  padding: 40px; max-width: 640px;
}
.info-card .row { display:flex; gap:14px; align-items:flex-start; padding: 16px 0; border-top: 1px solid var(--stroke); }
.info-card .row:first-of-type { border-top:none; padding-top:0; }
.info-card .row .fi {
  flex:none; width:38px; height:38px; border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  background: var(--surface-el); border:1px solid var(--stroke);
}
.info-card .row .fi svg { width:18px; height:18px; stroke: var(--accent); }
.info-card .row b { display:block; font-size:.95rem; }
.info-card .row p, .info-card .row a.val { color: var(--text-2); font-size:.92rem; margin-top:2px; }
.info-card .row a.val:hover { color: var(--text-1); }
