:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-2: #071139;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #aab7d7;
  --blue: #2436a5;
  --cyan: #12b8ea;
  --orange: #ff6a1a;
  --amber: #ffc65a;
  --green: #25d366;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(36, 54, 165, 0.42), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgba(255, 106, 26, 0.18), transparent 28rem),
    linear-gradient(180deg, #050816 0%, #061139 48%, #050816 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 999;
}

.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 8, 22, 0.84);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: right 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--text); }

.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.16);
  color: #dfffea;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta:hover { background: rgba(37, 211, 102, 0.24); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 140px 0 88px;
  overflow: hidden;
}

.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at center, black 0 40%, transparent 75%);
  opacity: 0.72;
}

.orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-blue { background: var(--cyan); top: 12%; left: -80px; }
.orb-orange { background: var(--orange); bottom: 12%; right: -100px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

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

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
  max-width: 880px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.24rem);
}

.hero-actions,
.coverage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff9345);
  color: #0b1025;
  box-shadow: 0 18px 46px rgba(255, 106, 26, 0.28);
}

.btn-ghost,
.btn-plan {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover,
.btn-plan:hover { background: rgba(255, 255, 255, 0.14); }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 740px;
}

.hero-proof div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 22px;
}

.hero-proof strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
    radial-gradient(circle at 70% 20%, rgba(18,184,234,0.25), transparent 24rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -15% -32% -15%;
  height: 46%;
  background: radial-gradient(ellipse at center, rgba(255, 106, 26, 0.2), transparent 70%);
}

.panel-header,
.panel-footer,
.signal-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.46);
  border-radius: 22px;
  padding: 14px 16px;
}

.panel-header {
  justify-content: flex-start;
  font-weight: 800;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
  margin-left: auto;
}

.signal-card {
  margin: 18px 0;
}

.signal-card span,
.panel-footer span { color: var(--muted); }
.signal-card strong,
.panel-footer strong { font-size: 1.2rem; }

.bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.bars i {
  display: block;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

.bars i:nth-child(1) { height: 9px; }
.bars i:nth-child(2) { height: 14px; }
.bars i:nth-child(3) { height: 19px; }
.bars i:nth-child(4) { height: 24px; }
.bars i:nth-child(5) { height: 28px; }

.network-map {
  position: relative;
  min-height: 260px;
  border-radius: 26px;
  background: radial-gradient(circle at center, rgba(18,184,234,0.08), transparent 60%);
  overflow: hidden;
}

.network-map svg,
.coverage-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-map path,
.coverage-visual path {
  fill: none;
  stroke: url(#none);
  stroke: rgba(255,255,255,0.2);
  stroke-width: 2;
  stroke-dasharray: 8 12;
  animation: dash 12s linear infinite;
}

.node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 30px var(--cyan);
}

.n1 { left: 14%; top: 30%; }
.n2 { left: 44%; top: 64%; background: var(--orange); box-shadow: 0 0 30px var(--orange); }
.n3 { left: 62%; top: 36%; }
.n4 { left: 80%; top: 58%; background: var(--amber); box-shadow: 0 0 30px var(--amber); }
.n5 { left: 28%; top: 72%; }

@keyframes dash { to { stroke-dashoffset: -220; } }

.section {
  padding: 106px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.section-heading p { color: var(--muted); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.plan-card,
.mini-card,
.step-card,
.contact-card,
.faq-item,
.coverage-card,
.terminal,
.cta-inner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.092), rgba(255,255,255,0.044));
  box-shadow: var(--shadow);
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(18,184,234,0.11);
}

.plan-card.featured {
  transform: translateY(-16px);
  border-color: rgba(255, 106, 26, 0.58);
  background:
    linear-gradient(180deg, rgba(255,106,26,0.16), rgba(255,255,255,0.055)),
    rgba(255,255,255,0.06);
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.13);
  color: #ffd0b7;
  border: 1px solid rgba(255, 106, 26, 0.26);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-card h3 {
  margin: 22px 0 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.plan-card p { color: var(--muted); }

.price {
  margin: 18px 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price span {
  font-size: 1.1rem;
  color: var(--orange);
  letter-spacing: 0;
  margin-right: 4px;
}

.price small {
  display: inline-block;
  font-size: 0.98rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.check-list {
  padding: 0;
  margin: 10px 0 26px;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #d8e1ff;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: var(--green);
  font-weight: 900;
  font-size: 0.8rem;
}

.plan-card .btn { margin-top: auto; }

.plans-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.two-columns,
.tech-layout,
.contact-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card,
.step-card,
.contact-card {
  border-radius: 24px;
  padding: 22px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(18,184,234,0.12);
  color: var(--cyan);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.mini-card h3,
.step-card h3 { margin-bottom: 8px; }
.mini-card p,
.step-card p,
.contact-card small { color: var(--muted); margin: 0; }

.technology {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent);
}

.terminal {
  border-radius: var(--radius);
  overflow: hidden;
  background: #070b16;
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.terminal-top span:nth-child(2) { background: var(--amber); }
.terminal-top span:nth-child(3) { background: var(--green); }

.terminal pre {
  margin: 0;
  padding: 26px;
  color: #b7f7ff;
  white-space: pre-wrap;
  font-size: clamp(0.92rem, 1.5vw, 1rem);
}

.tech-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tech-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.tech-list strong { color: var(--orange); }
.tech-list span { color: #dce6ff; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.step-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #071139;
  font-weight: 950;
  margin-bottom: 18px;
}

.coverage-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 38px;
  align-items: center;
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  position: relative;
}

.coverage-card address {
  margin-top: 24px;
  font-style: normal;
  color: #dce6ff;
}

.coverage-visual {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 58% 44%, rgba(255,106,26,0.22), transparent 13rem),
    rgba(5,8,22,0.55);
  overflow: hidden;
}

.city-block {
  position: absolute;
  bottom: 40px;
  width: 58px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--orange), rgba(255,106,26,0.32));
}

.b1 { height: 130px; left: 52px; }
.b2 { height: 92px; left: 128px; background: linear-gradient(180deg, var(--cyan), rgba(18,184,234,0.28)); }
.b3 { height: 164px; left: 206px; }

.pin {
  position: absolute;
  right: 64px;
  top: 58px;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  box-shadow: 0 0 30px var(--orange);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.hours-card {
  margin-top: 26px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
}

.hours-card h3 { margin-bottom: 12px; }
.hours-card p { margin-bottom: 6px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255,106,26,0.42);
  background: rgba(255,255,255,0.09);
}

.contact-card span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-band {
  padding: 70px 0 104px;
}

.cta-inner {
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(28px, 5vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(18,184,234,0.18), transparent 22rem),
    linear-gradient(135deg, rgba(255,106,26,0.14), rgba(255,255,255,0.055));
}

.cta-inner h2 { margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.26);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  margin-bottom: 8px;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 22px;
  font-size: 0.86rem;
  color: var(--muted);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green);
  color: #072511;
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.36);
  font-size: 0;
  font-weight: 950;
}

.floating-whatsapp::before {
  content: "☏";
  font-size: 2rem;
  transform: rotate(8deg);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .hero-inner,
  .two-columns,
  .tech-layout,
  .contact-layout,
  .faq-layout,
  .coverage-card { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 72px; }
  .brand img { width: 168px; }

  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(5, 8, 22, 0.96);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 12px; border-radius: 14px; }
  .main-nav a:hover { background: rgba(255,255,255,0.06); }
  .main-nav a::after { display: none; }

  .hero { padding-top: 116px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-panel { padding: 18px; }
  .network-map { min-height: 220px; }
  .section { padding: 78px 0; }
  .benefit-grid,
  .contact-grid,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .cta-inner .btn { width: 100%; }
  .coverage-visual { min-height: 260px; }
  .floating-whatsapp { width: 58px; height: 58px; }
}

/* Legal / Privacy page */
.legal-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 54, 165, 0.36), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 106, 26, 0.14), transparent 24rem);
}

.legal-hero {
  position: relative;
  padding: 150px 0 72px;
  overflow: hidden;
}

.legal-hero-inner {
  position: relative;
  max-width: 920px;
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
}

.legal-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}

.legal-content-section {
  padding-top: 40px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-toc,
.legal-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.092), rgba(255,255,255,0.044));
  box-shadow: var(--shadow);
}

.legal-toc {
  position: sticky;
  top: 108px;
  border-radius: 24px;
  padding: 20px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1rem;
}

.legal-toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.075);
  font-weight: 700;
  font-size: 0.92rem;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--text);
}

.legal-card {
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 52px);
}

.legal-card section {
  scroll-margin-top: 112px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-card section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.legal-card p,
.legal-card li,
.legal-card td,
.legal-card th {
  color: var(--muted);
}

.legal-card strong,
.legal-card h2,
.legal-card th {
  color: var(--text);
}

.legal-card a {
  color: #dff6ff;
  text-decoration: underline;
  text-decoration-color: rgba(18, 184, 234, 0.55);
  text-underline-offset: 4px;
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-list li {
  margin-bottom: 10px;
}

.info-box,
.legal-warning {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5, 8, 22, 0.45);
  border-radius: 20px;
  padding: 18px;
}

.legal-warning {
  border-color: rgba(255, 106, 26, 0.35);
  background: rgba(255, 106, 26, 0.09);
  color: var(--muted);
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  vertical-align: top;
}

.legal-table th {
  background: rgba(255,255,255,0.08);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1020px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 760px) {
  .legal-hero { padding: 118px 0 52px; }
  .legal-meta { align-items: stretch; flex-direction: column; }
  .legal-meta span { border-radius: 18px; }
  .legal-card { padding: 22px; }
}
