/* ============================================
   PADEA LANDING PAGE — FUTURISTIC SPORTS THEME
   ============================================ */

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

:root {
  --bg: #06060e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #e4e4e7;
  --text-muted: #71717a;
  --text-dim: #52525b;
  --accent: #00ff88;
  --accent-2: #00d4ff;
  --accent-glow: rgba(0, 255, 136, 0.15);
  --accent-2-glow: rgba(0, 212, 255, 0.15);
  --wa-green: #25D366;
  --wa-dark: #0b141a;
  --wa-header: #1f2c34;
  --wa-bubble-out: #005c4b;
  --wa-bubble-in: #1f2c34;
  --wa-input: #1f2c34;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 14, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: block;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.logo--footer .logo-mark {
  width: 32px;
  height: 32px;
}

.logo-mark--wa {
  width: 22px;
  height: 22px;
}

.logo-wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.logo--footer .logo-wordmark {
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  border-radius: 50px;
}

.btn-primary:hover {
  background: #33ffaa;
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(0, 255, 136, 0.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.btn-nav {
  background: var(--bg-card);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 255, 136, 0.15);
}

.btn-nav:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--accent) !important;
}

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-glow--2 {
  width: 500px;
  height: 500px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-court-lines {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  border: 1px solid rgba(0, 255, 136, 0.04);
  border-bottom: none;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.hero-court-lines::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 255, 136, 0.04);
}

.hero-court-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 255, 136, 0.04);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px 6px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ---- PHONE MOCKUP ---- */

.hero-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 255, 136, 0.1) 0%, transparent 60%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: phone-glow-pulse 4s ease-in-out infinite;
}

@keyframes phone-glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: #000;
  border-radius: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 255, 136, 0.05);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 4px;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--wa-dark);
}

/* ---- WHATSAPP UI ---- */

.wa-header {
  background: var(--wa-header);
  padding: 38px 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-back {
  color: #aebac1;
  width: 16px;
  height: 16px;
}

.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.wa-header-info {
  display: flex;
  flex-direction: column;
}

.wa-name {
  color: #e9edef;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-status {
  color: #8696a0;
  font-size: 0.6rem;
}

.wa-header-actions {
  color: #aebac1;
}

.wa-chat {
  flex: 1;
  padding: 8px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.02) 0%, transparent 50%),
    var(--wa-dark);
}

.wa-chat::-webkit-scrollbar {
  display: none;
}

.wa-date-pill {
  align-self: center;
  background: rgba(31, 44, 52, 0.9);
  color: #8696a0;
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: 8px;
  margin: 4px 0 6px;
}

.wa-msg {
  max-width: 85%;
  padding: 5px 8px 2px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: msg-appear 0.35s ease forwards;
}

.wa-msg--out {
  align-self: flex-end;
  background: var(--wa-bubble-out);
  color: #e9edef;
  border-bottom-right-radius: 2px;
}

.wa-msg--in {
  align-self: flex-start;
  background: var(--wa-bubble-in);
  color: #e9edef;
  border-bottom-left-radius: 2px;
}

.wa-msg-sender {
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 1px;
  display: block;
}

.wa-msg-sender--padea {
  color: var(--accent);
}

.wa-msg-sender--user {
  color: #53bdeb;
}

.wa-msg-sender--marco {
  color: #ff9f43;
}

.wa-msg-time {
  float: right;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 8px;
  margin-top: 4px;
}

.wa-msg-check {
  color: #53bdeb;
  font-size: 0.55rem;
  margin-left: 2px;
}

.wa-booking-card {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 4px;
}

.wa-booking-card-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.wa-booking-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #8696a0;
  line-height: 1.6;
}

.wa-booking-card-row span:last-child {
  color: #e9edef;
  font-weight: 500;
}

.wa-typing {
  align-self: flex-start;
  background: var(--wa-bubble-in);
  padding: 10px 14px;
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  display: flex;
  gap: 4px;
  opacity: 0;
  animation: msg-appear 0.3s ease forwards;
}

.wa-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.wa-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes msg-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-input-bar {
  background: var(--wa-dark);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wa-input-field {
  flex: 1;
  background: var(--wa-input);
  border-radius: 20px;
  padding: 8px 14px;
  color: #8696a0;
  font-size: 0.7rem;
}

.wa-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ---- SECTIONS ---- */

.section {
  position: relative;
  padding: 120px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- HOW IT WORKS ---- */

.section--how {
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step::before {
  content: attr(data-step);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
  transition: all 0.3s;
}

.step:hover .step-icon {
  border-color: rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 30px var(--accent-glow);
  background: rgba(0, 255, 136, 0.05);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 56px;
  color: var(--text-dim);
}

/* ---- FEATURES ---- */

.section--features {
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.features-grid--clubs {
  max-width: 720px;
  margin: 0 auto;
}

.feature-card--clubs {
  grid-column: 1 / -1;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-card--highlight {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.04) 0%, rgba(0, 212, 255, 0.02) 100%);
  border-color: rgba(0, 255, 136, 0.1);
  padding: 36px 32px;
}

.feature-card--highlight:hover {
  border-color: rgba(0, 255, 136, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-icon--lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 0;
}

.feature-card--highlight .feature-title {
  font-size: 1.2rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CTA ---- */

.section--cta {
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
  filter: blur(80px);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.cta-form {
  max-width: 460px;
  margin: 0 auto;
}

.cta-input-wrap {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  transition: border-color 0.3s;
}

.cta-input-wrap:focus-within {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 20px var(--accent-glow);
}

.cta-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  min-width: 0;
}

.cta-input::placeholder {
  color: var(--text-dim);
}

.btn-submit {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 0.85rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.cta-note a {
  color: var(--accent-2);
  text-decoration: none;
}

.cta-note a:hover {
  text-decoration: underline;
}

/* ---- FOOTER ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left .logo {
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.footer-right p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal-entity {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 26rem;
}

.footer-legal-entity strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--highlight {
    flex-direction: column;
    text-align: center;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-wordmark {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .section {
    padding: 80px 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 36px;
    height: 1px;
  }

  .cta-input-wrap {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 12px;
  }

  .cta-input {
    text-align: center;
    padding: 8px;
  }

  .btn-submit {
    justify-content: center;
    border-radius: 50px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }

  .phone {
    width: 250px;
    height: 520px;
  }
}

/* ---- SCROLL REVEAL ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- LEGAL PAGES (privacy / terms) ---- */

.legal-main {
  padding: 96px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.legal-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-effective {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-section ul {
  margin: 0.5rem 0 0 1.25rem;
}

.legal-section li {
  margin-bottom: 0.35rem;
}

.legal-section a {
  color: var(--accent-2);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-card);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.legal-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-highlight strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .legal-main {
    padding-top: 88px;
  }
}
