/* ============================================================
   MUSIC2FOLLOW — Styles spécifiques aux pages
   ============================================================ */

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.logo .num { font-style: italic; font-weight: 400; color: var(--accent-2); margin: 0 2px; }
.logo .accent { color: var(--accent); }
.logo .light { font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-link.active { color: var(--text); background: var(--bg-card); }

.nav-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .nav-link.hide-mobile { display: none; }
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Grosse barre verticale décorative */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 8%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding: 60px 0; }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-2);
}
.hero-title .pop {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* Visual : empilement de "tickets" simulant un fil d'alertes */
.hero-visual {
  position: relative;
  height: 480px;
}

.ticket {
  position: absolute;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform .3s cubic-bezier(.4,.6,.3,1.2);
}
.ticket:hover { transform: translateY(-8px) scale(1.02); }

.ticket-1 { top: 0; left: 20px; transform: rotate(-3deg); }
.ticket-2 { top: 130px; right: 0; transform: rotate(2deg); }
.ticket-3 { top: 280px; left: 40px; transform: rotate(-1.5deg); }

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ticket-art {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, #ff2e63, #ffb400);
}
.ticket-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 6px 0 4px;
  color: var(--text);
}
.ticket-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Marquee section */
.marquee-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 60px 0;
  overflow: hidden;
}

/* Sections */
.section { padding: 100px 0; }
.section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
.section-head h2 { margin: 12px 0 16px; }
.section-head p { color: var(--text-2); font-size: 18px; line-height: 1.6; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  background: var(--grad);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 22px; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); line-height: 1.6; }

/* Pricing section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,46,99,.06), rgba(255,180,0,.03));
}
.pricing-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pricing-tagline {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.pricing-amount .currency { font-size: 28px; font-weight: 500; vertical-align: top; margin-right: 4px; }
.pricing-amount .period { font-size: 16px; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.pricing-features {
  list-style: none;
  margin: 28px 0;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  color: var(--text-2);
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features .check {
  color: var(--accent-3);
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 700;
}
.pricing-features .cross { color: var(--text-4); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
}

.auth-side {
  background: linear-gradient(135deg, #1a0a14, #0a0a0f);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.auth-side::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--grad);
  filter: blur(120px);
  opacity: 0.3;
}
.auth-side-content { position: relative; z-index: 2; }
.auth-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 80px;
}
.auth-quote::before {
  content: '"';
  font-size: 80px;
  color: var(--accent);
  display: block;
  line-height: 0.3;
  margin-bottom: 20px;
}
.auth-quote-author {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
}

.auth-side-marquee {
  position: absolute;
  bottom: -10px;
  left: -200px;
  right: -200px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 7vw;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .auth-side { display: none; }
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  z-index: 2;
}
.auth-form {
  width: 100%;
  max-width: 400px;
}
.auth-form h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.auth-form .subtitle {
  color: var(--text-3);
  margin-bottom: 36px;
}
.auth-form .divider {
  text-align: center;
  margin: 24px 0;
  color: var(--text-3);
  font-size: 13px;
  position: relative;
}
.auth-form .divider::before,
.auth-form .divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 30px);
  height: 1px;
  background: var(--line);
}
.auth-form .divider::before { left: 0; }
.auth-form .divider::after  { right: 0; }
.auth-form .switch-link {
  text-align: center;
  margin-top: 24px;
  color: var(--text-3);
  font-size: 14px;
}
.auth-form .switch-link a { color: var(--text); font-weight: 600; }

.error-banner {
  background: rgba(255, 46, 99, 0.1);
  border: 1px solid rgba(255, 46, 99, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffabbc;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard {
  padding: 32px 0 80px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
}
@media (max-width: 1000px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}
@media (max-width: 1000px) {
  .sidebar { position: static; }
}

.sidebar-section {
  margin-bottom: 32px;
}
.sidebar-section h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 12px;
  font-weight: 600;
}

.filter-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
}
.filter-list button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
  text-align: left;
}
.filter-list button:hover { background: rgba(255,255,255,.04); color: var(--text); }
.filter-list button.active {
  background: var(--bg-card);
  color: var(--text);
}
.filter-list .count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-elev);
  padding: 2px 8px;
  border-radius: 99px;
  color: var(--text-3);
}

/* Searchbox in sidebar */
.search-wrap { position: relative; }
.search-wrap .input { padding-left: 40px; }
.search-wrap::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  border: 2px solid var(--text-3);
  border-radius: 50%;
}
.search-wrap::after {
  content: '';
  position: absolute;
  left: 26px; top: 24px;
  width: 6px; height: 2px;
  background: var(--text-3);
  transform: rotate(45deg);
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  max-height: 380px;
  overflow-y: auto;
  z-index: 50;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background .12s;
  border-bottom: 1px solid var(--line);
}
.search-result:hover { background: rgba(255,255,255,.03); }
.search-result:last-child { border-bottom: 0; }
.search-result img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line);
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-info .name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-info .meta {
  font-size: 12px;
  color: var(--text-3);
}
.search-result button {
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.search-result button.followed {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text-3);
  cursor: default;
}

/* ===== Stats top card ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ===== Alerts feed ===== */
.feed {
  display: flex; flex-direction: column;
  gap: 12px;
}
.alert-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.alert-item:hover { border-color: var(--line-2); }
.alert-item.unread { border-left: 3px solid var(--accent); padding-left: 18px; }

.alert-thumb {
  width: 80px; height: 80px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-elev);
}
.alert-body { min-width: 0; }
.alert-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.alert-artist { color: var(--text); font-weight: 600; font-size: 13px; }
.alert-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.alert-desc {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.alert-actions {
  display: flex; align-items: center; gap: 8px;
  align-self: center;
}

@media (max-width: 700px) {
  .alert-item { grid-template-columns: 1fr; }
  .alert-thumb { width: 100%; height: 180px; }
  .alert-actions { width: 100%; justify-content: flex-end; }
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--line-2);
  border-radius: 16px;
}
.empty-state .icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--text-3);
  margin-bottom: 24px;
}

/* ===== Artist chip (pour la liste) ===== */
.artist-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
}
.artist-chip:hover { border-color: var(--line-2); }
.artist-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.artist-chip .remove {
  margin-left: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-3);
  line-height: 0;
}
.artist-chip .remove:hover { color: var(--accent); }

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.artist-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  position: relative;
}
.artist-card img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  background: var(--bg-elev);
  border: 2px solid var(--line);
}
.artist-card .name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artist-card .genres {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 14px;
}
.artist-card .toggles {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 12px;
}
.artist-toggle {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
  opacity: 0.4;
  transition: opacity .15s, background .15s;
}
.artist-toggle.on { opacity: 1; }
.artist-toggle.spotify.on { background: var(--spotify); color: #000; border-color: var(--spotify); }
.artist-toggle.youtube.on { background: var(--youtube); color: #fff; border-color: var(--youtube); }
.artist-toggle.news.on    { background: var(--accent-2); color: #000; border-color: var(--accent-2); }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-grid a {
  display: block;
  padding: 4px 0;
  color: var(--text-2);
  font-size: 14px;
}
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-section {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 18px;
}
.account-section h3 {
  font-size: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pref-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pref-row:last-child { border-bottom: 0; }
.pref-row-label .title { font-weight: 500; font-size: 15px; }
.pref-row-label .desc  { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* Premium hint */
.upgrade-banner {
  background: linear-gradient(110deg, rgba(255,46,99,.08), rgba(255,180,0,.04));
  border: 1px solid rgba(255, 46, 99, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.upgrade-banner h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}
.upgrade-banner p { color: var(--text-2); font-size: 14px; }

@media (max-width: 700px) {
  .upgrade-banner { flex-direction: column; align-items: flex-start; }
}

/* ======================================================
 * Pages légales (CGV, mentions, privacy)
 * ====================================================== */
.legal-doc {
  padding: 40px 0 80px;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-2);
}
.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-doc p {
  margin: 12px 0;
  font-size: 15px;
}
.legal-doc ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.legal-doc ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}
.legal-doc ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
}
.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc a:hover {
  color: var(--accent-2);
}
.legal-doc code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent-3);
}
.legal-doc strong {
  color: var(--text-1);
  font-weight: 600;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
  font-style: italic;
}
.legal-intro {
  font-size: 17px !important;
  color: var(--text-1) !important;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 24px 0 32px !important;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table thead {
  background: var(--bg-card);
}
.legal-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-1);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-back {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ======================================================
 * Page 404
 * ====================================================== */
.error-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.error-page-content {
  max-width: 540px;
}
.error-page .code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 200;
  line-height: 1;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-1);
}
.error-page p {
  font-size: 16px;
  color: var(--text-3);
  margin-bottom: 32px;
  line-height: 1.6;
}
.error-page .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
