/* ============================================================
   TeamTipp — Marketing site styles
   Layers on top of tokens.css
   ============================================================ */

* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; min-height: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ---- Marketing display type scale ---- */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--fg-secondary);
  font-weight: 400;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---- Layout ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.3px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--fg-secondary); transition: color 120ms ease; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 13px; font-weight: 600; color: var(--fg-secondary); }
.nav-login:hover { color: var(--primary); }
.nav-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--fg);
  cursor: pointer;
}
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 0 16px; border-top: 1px solid var(--border); }
.mobile-menu a { padding: 12px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid color-mix(in oklab, var(--border) 50%, transparent); }
.mobile-menu a:last-child { border-bottom: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .mobile-menu.open { display: flex; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
  background: transparent;
  color: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--primary) 70%, transparent); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 88%, white); }
.btn-outline { border-color: var(--border); color: var(--fg); background: var(--bg-surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--fg-secondary); }
.btn-ghost:hover { color: var(--fg); background: var(--bg-card); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* ---- Store badges ---- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 16px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 140ms ease, box-shadow 140ms ease;
  min-width: 168px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0,0,0,0.5); }
.store-badge .icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .label-small { font-size: 10px; letter-spacing: 0.3px; opacity: 0.85; line-height: 1.1; }
.store-badge .label-large { font-size: 17px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.1; font-family: var(--font-display); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(80% 60% at 75% 10%, rgba(26, 86, 219, 0.22), transparent 65%),
    radial-gradient(60% 50% at 5% 90%, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(60% 50% at 80% 8%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(26, 86, 219, 0.30), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 800;
}
.hero h1 { margin-bottom: 20px; color: var(--fg); }
.hero h1 .accent { color: var(--primary); }
.hero .lead { margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--fg-secondary);
}
.hero-secondary:hover { color: var(--primary); }

/* ---- Phone mockup ---- */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1200px; }
.hero-trophy {
  position: absolute;
  right: -48px;
  bottom: -24px;
  width: 300px;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(26, 86, 219, 0.18));
  z-index: 0;
}
[data-theme="dark"] .hero-trophy {
  mix-blend-mode: luminosity;
  opacity: 0.55;
  filter: drop-shadow(0 24px 40px rgba(59, 130, 246, 0.3)) brightness(0.85);
}
@media (max-width: 980px) {
  .hero-trophy { width: 200px; right: -24px; bottom: -16px; }
}
.phone {
  width: 320px; height: 660px;
  background: #0a0f1e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 80px -30px rgba(15, 31, 61, 0.55),
    0 20px 30px -20px rgba(26, 86, 219, 0.35),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative;
  transform: rotateY(-6deg) rotateX(2deg);
}
[data-theme="dark"] .phone {
  box-shadow:
    0 50px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 60px -10px rgba(59, 130, 246, 0.35),
    inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone .screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0f1f3d 0%, #091529 100%);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  color: #f9fafb;
  display: flex; flex-direction: column;
}
.phone .notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #000; border-radius: 999px; z-index: 3; }
.phone .status-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 4px; font-size: 12px; font-weight: 600; color: #fff; z-index: 2; }
.phone .app-header { display: flex; align-items: center; gap: 10px; padding: 18px 20px 12px; }
.phone .app-header .logo { width: 32px; height: 32px; border-radius: 999px; background: #0f1f3d url("../../public/logo-circle.png") center/cover no-repeat; }
.phone .app-header .word { font-weight: 800; font-size: 18px; font-family: var(--font-display); letter-spacing: -0.3px; }
.phone .content { flex: 1; padding: 4px 16px 16px; overflow: hidden; }
.phone .section-label { font-size: 13px; color: #d1d5db; margin: 6px 0 10px; font-weight: 600; }
.phone .match-card { background: #142c65; border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 16px; padding: 16px; box-shadow: 0 4px 20px rgba(26, 86, 219, 0.25); display: flex; flex-direction: column; gap: 12px; }
.phone .row-top { display: flex; justify-content: space-between; align-items: center; }
.phone .pill { background: rgba(59,130,246,0.15); color: #93c5fd; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.phone .teams-row { display: flex; align-items: center; gap: 8px; }
.phone .team { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; }
.phone .team.right { justify-content: flex-end; }
.phone .team span:not(.flag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone .team .flag { font-size: 18px; flex-shrink: 0; }
.phone .vs { color: #9ca3af; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.phone .vs { color: #9ca3af; font-size: 14px; font-weight: 700; }
.phone .pred-divider { height: 1px; background: rgba(255,255,255,0.08); }
.phone .pred-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.phone .pred-row .label { font-size: 12px; color: #d1d5db; }
.phone .pred-row .score { font-size: 22px; font-weight: 800; color: #3b82f6; }
.phone .tip-pills { display: flex; gap: 8px; }
.phone .tip-pill { background: rgba(59,130,246,0.18); border: 1.5px solid rgba(59,130,246,0.4); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 15px; font-weight: 700; }
.phone .up-next { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.phone .up-row { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.phone .up-row .teams { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; }
.phone .up-row .meta { display: flex; justify-content: space-between; font-size: 11px; color: #9ca3af; }
.phone .tab-bar { height: 56px; background: #0f1f3d; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-around; font-size: 10px; color: #6b7280; padding-bottom: 12px; }
.phone .tab { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.phone .tab.active { color: #3b82f6; }
.phone .tab .dot { width: 5px; height: 5px; border-radius: 999px; background: #3b82f6; opacity: 0; }
.phone .tab.active .dot { opacity: 1; }
.screenshot-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bg); color: var(--fg-muted); border: 1px dashed var(--border); padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; z-index: 4; }

/* ---- Trust strip ---- */
.trust { padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-card); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fg-secondary); }
.trust-item .x { width: 22px; height: 22px; border-radius: 999px; background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
@media (max-width: 700px) { .trust-row { justify-content: flex-start; gap: 12px 20px; } }

/* ---- Section header ---- */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { color: var(--fg); }
.section-head .lead { font-size: 17px; max-width: 580px; }
.section-head.center { margin: 0 auto 48px; text-align: center; align-items: center; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px 24px; box-shadow: var(--shadow-card); position: relative; }
.step .num { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.step .num .dot { width: 28px; height: 28px; border-radius: 999px; background: color-mix(in oklab, var(--primary) 14%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { color: var(--fg-secondary); font-size: 15px; }
.step .visual { margin-bottom: 18px; height: 140px; border-radius: 12px; background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 10%, var(--bg-card)), var(--bg-card)); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }

/* ---- Feature grid ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-elev); border-color: color-mix(in oklab, var(--primary) 40%, var(--border)); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--primary) 14%, transparent); color: var(--primary); margin-bottom: 4px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--fg-secondary); font-size: 14.5px; line-height: 1.55; }

/* ---- Pro section ---- */
.pro-section {
  position: relative;
  background: radial-gradient(60% 60% at 100% 0%, color-mix(in oklab, var(--gold) 14%, transparent), transparent 60%), var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.pro-tag { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in oklab, var(--gold) 18%, transparent); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.4px; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); }
.pro-feature { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); position: relative; }
.pro-feature .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pro-feature .title-row { display: flex; align-items: center; gap: 10px; }
.pro-feature .trophy { font-size: 22px; filter: drop-shadow(0 2px 6px color-mix(in oklab, var(--gold) 35%, transparent)); }
.pro-feature h3 { font-size: 19px; }
.pro-feature p { color: var(--fg-secondary); font-size: 14.5px; line-height: 1.55; }
.pro-feature .available { font-size: 11px; font-weight: 700; color: color-mix(in oklab, var(--gold) 80%, var(--fg)); letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.pro-feature .available::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--gold); display: inline-block; }

/* ---- Screenshot strip ---- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .shots { grid-template-columns: 1fr; } }
.shot { border-radius: var(--radius-xl); background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 12%, var(--bg-card)) 0%, var(--bg-card) 100%); border: 1px solid var(--border); aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.shot .label { position: absolute; bottom: 16px; left: 16px; right: 16px; background: var(--bg-surface); border: 1px dashed var(--border); border-radius: 10px; padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--fg-muted); text-align: center; letter-spacing: 0.3px; }
.shot .placeholder-mark { color: var(--fg-muted); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-card); position: relative; }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.price-card.featured::before { content: "Beliebt"; position: absolute; top: -12px; right: 24px; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }
.price-card .plan-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--fg-secondary); }
.price-card .price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); margin: 4px 0 8px; }
.price-card .price .amount { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.price-card .price .unit { font-size: 14px; font-weight: 500; color: var(--fg-secondary); }
.price-card .desc { font-size: 14.5px; color: var(--fg-secondary); }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--fg); line-height: 1.45; }
.price-card li .check { width: 20px; height: 20px; border-radius: 999px; background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.price-card li.pro .check { background: color-mix(in oklab, var(--gold) 18%, transparent); color: var(--gold); }
.price-card .price-cta { margin-top: 4px; }
.price-card .pro-tag-li { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: color-mix(in oklab, var(--gold) 80%, var(--fg)); font-weight: 700; letter-spacing: 0.2px; margin-left: 30px; margin-top: -4px; }
.price-card .pro-tag-li::before { content: "🏆"; font-size: 11px; }

/* ---- Final CTA ---- */
.cta-section {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 64px 40px;
  background:
    linear-gradient(135deg, rgba(15, 31, 61, 0.92) 0%, rgba(26, 86, 219, 0.85) 100%),
    url("../../public/background.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-family: var(--font-display); letter-spacing: -0.8px; color: #fff; max-width: 700px; line-height: 1.1; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 560px; font-size: 17px; }
.cta-section .stores { justify-content: center; margin-top: 12px; }

/* ---- Footer ---- */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 56px 0 32px; color: var(--fg-secondary); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fg); margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; color: var(--fg-secondary); }
.footer-col a:hover { color: var(--primary); }
.footer-brand { max-width: 360px; color: var(--fg-secondary); line-height: 1.55; }
.footer-brand .brand { margin-bottom: 14px; color: var(--fg); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--fg-muted); }

/* ---- Legal page ---- */
.legal-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -1px; }
.legal-hero p.lead { max-width: 640px; }
.legal-body { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 48px 0 96px; }
@media (max-width: 880px) { .legal-body { grid-template-columns: 1fr; gap: 24px; } }
.legal-toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.legal-toc a { color: var(--fg-secondary); padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--fg); background: var(--bg-card); }
.legal-toc h5 { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 8px 10px; font-weight: 700; }
.legal-content { max-width: 720px; font-size: 15.5px; line-height: 1.65; color: var(--fg); }
.legal-content h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: 88px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-content p { margin: 0 0 14px; color: var(--fg-secondary); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 14px; color: var(--fg-secondary); }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--fg); font-weight: 700; }
.callout { background: color-mix(in oklab, var(--warning) 10%, var(--bg-card)); border: 1px solid color-mix(in oklab, var(--warning) 30%, var(--border)); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--fg); margin: 16px 0 24px; }
.callout strong { color: color-mix(in oklab, var(--warning) 65%, var(--fg)); }
.callout.info { background: color-mix(in oklab, var(--primary) 8%, var(--bg-card)); border-color: color-mix(in oklab, var(--primary) 30%, var(--border)); }
.callout.info strong { color: var(--primary); }

/* ---- Utilities ---- */
.gold { color: var(--gold); }
.muted { color: var(--fg-muted); }
.hr { height: 1px; background: var(--border); margin: 12px 0; border: 0; }
.spacer-12 { height: 12px; }
.spacer-24 { height: 24px; }
.text-center { text-align: center; }
.theme-toggle { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--fg-secondary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.pricing-note { margin-top: 32px; padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); font-size: 14px; color: var(--fg-secondary); text-align: center; }
.pricing-note strong { color: var(--fg); }
