.landing-body {
  overflow-x: hidden;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.landing-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.landing-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.landing-logo img {
  height: 56px;
  width: auto;
}

.landing-logo .theme-logo-light,
.landing-logo .theme-logo-dark {

}

.landing-nav {
  display: flex;
  gap: 6px;
  margin-left: 8px;
  margin-right: auto;
}
.landing-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font);
}
.landing-nav a:hover { background: var(--bg-3); color: var(--text); }

.landing-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 38px;
}

.landing-actions > * {
  height: 38px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  flex-shrink: 0;
}

.btn-ghost, .btn-primary, .lang-toggle {
  font-family: var(--font);
  height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
  vertical-align: middle;
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--text-muted); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
  border: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(239,68,68,0.4); }

.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; border-radius: 14px; }

.hero {
  position: relative;
  min-height: min(70vh, 680px);
  padding: 52px 24px 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.hb-1 { width: 600px; height: 600px; background: #ef4444; top: -150px; left: -180px; animation: blob-float 20s ease-in-out infinite; }
.hb-2 { width: 500px; height: 500px; background: #3b82f6; top: 20%; right: -150px; animation: blob-float 24s ease-in-out infinite reverse; }
.hb-3 { width: 400px; height: 400px; background: #a855f7; bottom: -100px; left: 30%; animation: blob-float 28s ease-in-out infinite; }
@keyframes blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(80px,-50px) scale(1.1); }
  66% { transform: translate(-50px,60px) scale(0.95); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 24px;
  animation: fade-up 0.6s 0.1s backwards;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.hero-title-1, .hero-title-2 {
  display: block;
  animation: fade-up 0.6s backwards;
}
.hero-title-1 { animation-delay: 0.2s; }
.hero-title-2 { animation-delay: 0.3s; }
.hero-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
  0%,100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
  animation: fade-up 0.6s 0.4s backwards;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.5s backwards;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 50px;
  align-items: center;
  animation: fade-up 0.6s 0.7s backwards;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}
.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  height: 500px;
  animation: fade-up 0.8s 0.4s backwards;
}
.float-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .float-card {
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.fc-1 {
  top: 40px;
  left: 30px;
  animation: float-card-1 6s ease-in-out infinite;
}
.fc-2 {
  top: 30px;
  right: 0;
  width: 240px;
  animation: float-card-2 7s ease-in-out infinite;
}
.fc-3 {
  bottom: 80px;
  left: 0;
  animation: float-card-3 8s ease-in-out infinite;
}
.fc-4 {
  bottom: 30px;
  right: 60px;
  animation: float-card-4 9s ease-in-out infinite;
}

@keyframes float-card-1 {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes float-card-2 {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes float-card-3 {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes float-card-4 {
  0%,100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

.fc-img {
  width: 50px; height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.fc-info { min-width: 120px; }
.fc-name { font-weight: 700; font-size: 14px; }
.fc-rarity { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.fc-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.fc-progress { width: 100%; }
.fc-progress-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fc-progress-bar {
  height: 8px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.fc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #ef4444);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.fc-progress-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2s linear infinite;
}
.fc-progress-pct {
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  margin-top: 6px;
}

.fc-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  color: white;
  font-weight: 900;
  flex-shrink: 0;
}
.fc-badge.bronze {
  background: linear-gradient(135deg, #fb923c, #a16207);
  box-shadow: 0 0 24px rgba(251,146,60,0.5);
}

.fc-level {
  text-align: center;
}
.fc-level-num {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.fc-level-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

.section {
  padding: 100px 24px;
  position: relative;
}
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
}
.sets-future-note {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(168,85,247,0.08));
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon svg path { vector-effect: non-scaling-stroke; }
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #dc2626);
  color: white;
  font-size: 22px;
  font-weight: 900;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(239,68,68,0.3);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}
.step-arrow {
  font-size: 28px;
  color: var(--text-muted);
  font-weight: 300;
}

.sets-marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-pill {
  padding: 14px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-pill.marquee-special {
  background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(168,85,247,0.1));
  border-color: var(--accent);
  color: var(--accent);
}

.cta-section {
  padding: 100px 24px;
  background:
    radial-gradient(at 30% 50%, rgba(239,68,68,0.25) 0%, transparent 60%),
    radial-gradient(at 70% 50%, rgba(59,130,246,0.2) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.landing-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.landing-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 36px;
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-meta {
  max-width: 480px;
  text-align: right;
}
.footer-meta p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-meta p + p { margin-top: 8px; font-weight: 600; }

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .landing-nav { display: none; }
  .landing-actions .btn-ghost { display: none; }
  .hero { padding: 40px 20px 60px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 360px;
    order: 1;
    transform: scale(0.85);
  }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 24px; }
  .section { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .landing-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta { text-align: left; }
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.landing-logo span {
  line-height: 1;
}
@media (max-width: 760px) {
  .landing-logo span { display: none; }
}

.landing-header {
  z-index: 100;
}
.landing-header-inner {
  height: var(--header-h);
  padding: 0 20px;
  gap: 28px;
}
.landing-logo {
  gap: 10px;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  flex-shrink: 0;
}
.landing-logo img {
  height: 56px;
}
.landing-nav {
  margin-left: 8px;
  margin-right: auto;
  gap: 6px;
}
.landing-actions {
  margin-left: auto;
  align-items: center;
  gap: 8px;
  height: 38px;
}
.landing-actions .lang-toggle-sm {
  height: 38px !important;
  min-width: 38px;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
.landing-actions .icon-btn {
  width: 38px !important;
  height: 38px !important;
}
.hero {
  padding-bottom: 104px;
  margin-bottom: -56px;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--bg));
  z-index: 1;
}
[data-theme="dark"] .hero::after {
  background: linear-gradient(to bottom, rgba(15,23,42,0), var(--bg));
}
#features {
  padding-top: 140px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand-main strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .landing-header-inner {
    gap: 10px;
  }
  .landing-actions {
    gap: 6px;
  }
  .landing-actions .btn-primary {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .hero {
    padding-bottom: 90px;
    margin-bottom: -44px;
  }
  #features {
    padding-top: 110px;
  }
}

.landing-logo {
  font-weight: 900;
}
.landing-logo span {
  font-weight: 900;
}
.footer-logo.theme-logo-dark {
  display: none !important;
}
.footer-logo.theme-logo-light {
  display: block !important;
}
[data-theme="dark"] .footer-logo.theme-logo-dark {
  display: block !important;
}
[data-theme="dark"] .footer-logo.theme-logo-light {
  display: none !important;
}

.legal-page .landing-footer-inner,
.legal-page .footer-brand,
.legal-page .footer-brand-main,
.legal-page .footer-meta {
  align-items: center !important;
  text-align: center !important;
}

.legal-page .footer-brand-main {
  justify-content: center !important;
}

.legal-page .legal-links,
.profile-legal-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
}

.legal-page .legal-links a,
.profile-legal-links a {
  white-space: nowrap !important;
}

@media (max-width: 760px) {
        .legal-page .landing-footer-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .legal-page .footer-brand {
    align-items: center !important;
    width: 100% !important;
  }

  .legal-page .footer-meta {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .legal-page .legal-links,
  .profile-legal-links {
    gap: 18px !important;
    width: 100% !important;
  }
}

@media (min-width: 761px) {
  .legal-page .landing-footer-inner {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .legal-page .footer-brand {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .legal-page .footer-brand-main {
    justify-content: flex-start !important;
  }

  .legal-page .footer-meta {
    align-items: flex-end !important;
    text-align: right !important;
  }

  .legal-page .legal-links {
    justify-content: flex-end !important;
  }
}


@media (max-width: 760px) {
  .landing-body,
  .legal-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .landing-header-inner,
  .hero,
  .hero-inner,
  .section,
  .section-inner,
  .legal-main,
  .landing-footer-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
  }

  .landing-header-inner {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
  }

  .hero {
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }

  .section,
  .legal-main {
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }

  .landing-footer-inner {
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 760px) {
  .landing-header-inner,
  .hero,
  .section,
  .legal-main,
  .landing-footer-inner {
    width: calc(100dvw - max(32px, calc(env(safe-area-inset-left) + env(safe-area-inset-right) + 32px))) !important;
    max-width: calc(100dvw - max(32px, calc(env(safe-area-inset-left) + env(safe-area-inset-right) + 32px))) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero {
    padding-top: 52px !important;
    padding-bottom: 64px !important;
  }

  .section,
  .legal-main {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 760px) {
  .landing-header-inner,
  .section,
  .section-inner,
  .legal-main,
  .landing-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .landing-header-inner {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
  }

  .hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }

  .hero-inner,
  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 760px) {
  .landing-body,
  .legal-page {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }

  .landing-header-inner,
  .section,
  .section-inner,
  .legal-main,
  .landing-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .landing-header-inner {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
  }

  .section,
  .legal-main,
  .landing-footer-inner {
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 760px) {
  .landing-body {
    text-align: center !important;
  }

  .landing-header-inner {
    height: 72px !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    gap: 6px !important;
  }

  .landing-logo {
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .landing-logo img {
    height: 42px !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .landing-logo span {
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--text) !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .landing-actions {
    flex: 0 0 auto !important;
    gap: 5px !important;
    height: 36px !important;
  }

  .landing-actions > * {
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  .landing-actions .lang-toggle-sm,
  .landing-actions .icon-btn {
    width: 36px !important;
    min-width: 36px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .landing-actions .btn-ghost,
  .landing-actions .btn-primary {
    display: inline-flex !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 13px !important;
  }

  .hero {
    padding-top: 34px !important;
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
    padding-bottom: 72px !important;
    margin-bottom: -38px !important;
  }

  .hero-inner {
    gap: 28px !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-pill {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 58px) !important;
  }

  .hero-subtitle {
    max-width: 520px !important;
  }

  .hero-ctas {
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-ctas .btn-lg {
    width: min(100%, 170px) !important;
    height: 52px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center !important;
  }

  .hero-stats {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-visual {
    order: -1 !important;
    width: min(100%, 390px) !important;
    height: 320px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .float-card {
    box-sizing: border-box !important;
  }

  .fc-1 {
    top: 22px !important;
    left: 4px !important;
    width: 235px !important;
    z-index: 2 !important;
  }

  .fc-2 {
    top: 0 !important;
    right: 0 !important;
    width: 210px !important;
    z-index: 3 !important;
  }

  .fc-3 {
    left: 0 !important;
    bottom: 66px !important;
    width: 235px !important;
    z-index: 2 !important;
  }

  .fc-4 {
    right: 28px !important;
    bottom: 28px !important;
    width: 70px !important;
    justify-content: center !important;
    z-index: 4 !important;
  }

  .section-inner,
  .section-head,
  .section-sub,
  .sets-future-note,
  .cta-inner,
  .landing-footer-inner,
  .footer-meta {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .feature,
  .step {
    text-align: center !important;
  }

  .feature-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .landing-footer-inner,
  .footer-brand,
  .footer-brand-main,
  .footer-meta {
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 390px) {
  .landing-actions .btn-ghost {
    display: none !important;
  }

  .landing-logo span {
    font-size: 15px !important;
  }

  .hero-ctas .btn-lg {
    width: min(100%, 158px) !important;
  }
}

@media (max-width: 760px) {
  .landing-body {
    overflow-x: hidden !important;
    text-align: center !important;
  }

  .landing-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .landing-logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .landing-logo span {
    display: inline-block !important;
    color: var(--text) !important;
    font-size: clamp(16px, 4vw, 20px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .hero,
  .section,
  .landing-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero {
    padding: 34px max(18px, env(safe-area-inset-right)) 64px max(18px, env(safe-area-inset-left)) !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  .hero-inner,
  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-items: center !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .hero-content {
    order: 2 !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .hero-visual {
    order: 1 !important;
    position: relative !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    height: 310px !important;
    margin: 0 auto 8px !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .float-card {
    position: absolute !important;
    transform: none !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 20px) !important;
  }

  .fc-1 {
    top: 20px !important;
    left: 8px !important;
    width: 230px !important;
    z-index: 1 !important;
  }

  .fc-2 {
    top: 0 !important;
    right: 8px !important;
    width: 200px !important;
    z-index: 2 !important;
  }

  .fc-3 {
    left: 10px !important;
    bottom: 72px !important;
    width: 230px !important;
    z-index: 1 !important;
  }

  .fc-4 {
    right: 42px !important;
    bottom: 56px !important;
    width: 70px !important;
    z-index: 2 !important;
  }

  .hero-pill,
  .hero-title,
  .hero-subtitle,
  .hero-stats {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(42px, 12vw, 62px) !important;
    line-height: .98 !important;
    text-align: center !important;
  }

  .hero-subtitle {
    max-width: 560px !important;
    text-align: center !important;
  }

  .hero-ctas {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: min(100%, 520px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-ctas .btn-lg {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .section {
    padding-left: max(18px, env(safe-area-inset-left)) !important;
    padding-right: max(18px, env(safe-area-inset-right)) !important;
    overflow: hidden !important;
  }

  .section-head,
  .section-sub,
  .sets-future-note,
  .cta-inner,
  .feature,
  .step {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-h2 {
    max-width: 100% !important;
    font-size: clamp(34px, 9.5vw, 46px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  .feature-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 420px) {
  .landing-actions {
    gap: 4px !important;
  }

  .landing-actions .lang-toggle-sm,
  .landing-actions .icon-btn {
    width: 34px !important;
    min-width: 34px !important;
  }

  .landing-actions .btn-ghost,
  .landing-actions .btn-primary {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 12.5px !important;
  }

  .hero-visual {
    height: 286px !important;
  }

  .fc-1 {
    width: 214px !important;
  }

  .fc-2 {
    width: 188px !important;
  }

  .fc-3 {
    width: 218px !important;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 54px) !important;
  }
}

@media (max-width: 760px) {
  .hero-visual {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 10px !important;
    overflow: visible !important;
    padding: 0 12px !important;
  }

  .hero-visual .float-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    animation: none !important;
    box-sizing: border-box !important;
  }

  .hero-visual .fc-1,
  .hero-visual .fc-2,
  .hero-visual .fc-3,
  .hero-visual .fc-4 {
    z-index: auto !important;
  }

  .hero-visual .fc-2 {
    order: 2 !important;
  }

  .hero-visual .fc-1 {
    order: 1 !important;
  }

  .hero-visual .fc-3 {
    order: 3 !important;
  }

  .hero-visual .fc-4 {
    order: 4 !important;
    width: 92px !important;
    justify-self: center !important;
  }

  .hero-visual .fc-progress {
    min-width: 0 !important;
  }

  .hero-ctas {
    align-items: stretch !important;
  }

  .hero-ctas .btn-lg {
    height: 56px !important;
    min-height: 56px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    width: min(100%, 360px) !important;
    padding: 0 6px !important;
  }
}

@media (max-width: 760px) {
  .landing-footer .legal-links {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .landing-footer .footer-meta {
    text-align: center !important;
    width: 100% !important;
  }

  .hero {
    padding-top: 28px !important;
    padding-bottom: 72px !important;
    margin-bottom: 0 !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-visual {
    order: 1 !important;
    position: relative !important;
    display: block !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    height: 430px !important;
    min-height: 430px !important;
    margin: 0 auto 4px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  .hero-content {
    order: 2 !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .hero-visual .float-card {
    position: absolute !important;
    display: flex !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 !important;
  }

  .hero-visual .fc-1 {
    top: 18px !important;
    left: 6px !important;
    right: auto !important;
    bottom: auto !important;
    width: 238px !important;
    z-index: 2 !important;
    animation: float-card-1 6s ease-in-out infinite !important;
    transform: rotate(-2deg) !important;
  }

  .hero-visual .fc-2 {
    top: 96px !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;
    width: 214px !important;
    z-index: 3 !important;
    animation: float-card-2 7s ease-in-out infinite !important;
    transform: rotate(3deg) !important;
  }

  .hero-visual .fc-3 {
    top: 218px !important;
    left: 4px !important;
    right: auto !important;
    bottom: auto !important;
    width: 248px !important;
    z-index: 2 !important;
    animation: float-card-3 8s ease-in-out infinite !important;
    transform: rotate(-3deg) !important;
  }

  .hero-visual .fc-4 {
    top: 276px !important;
    right: 52px !important;
    left: auto !important;
    bottom: auto !important;
    width: 76px !important;
    min-width: 76px !important;
    justify-content: center !important;
    z-index: 4 !important;
    animation: float-card-4 9s ease-in-out infinite !important;
    transform: rotate(4deg) !important;
  }

  .hero-ctas {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: min(100%, 520px) !important;
    margin: 0 auto !important;
    align-items: stretch !important;
  }

  .hero-ctas .btn-lg {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    width: min(100%, 356px) !important;
    height: 406px !important;
    min-height: 406px !important;
  }

  .hero-visual .fc-1 {
    width: 226px !important;
  }

  .hero-visual .fc-2 {
    top: 94px !important;
    width: 198px !important;
  }

  .hero-visual .fc-3 {
    top: 212px !important;
    width: 230px !important;
  }

  .hero-visual .fc-4 {
    top: 270px !important;
    right: 44px !important;
  }
}

@media (max-width: 760px) {
  .hero-visual {
    height: 470px !important;
    min-height: 470px !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    margin-inline: auto !important;
    overflow: visible !important;
  }

  .hero-visual .float-card {
    position: absolute !important;
    transform-origin: center !important;
    will-change: transform !important;
  }

  .hero-visual .fc-1 {
    top: 20px !important;
    left: 6px !important;
    width: 242px !important;
    z-index: 3 !important;
    animation: hero-mobile-float-1 6s ease-in-out infinite !important;
  }

  .hero-visual .fc-2 {
    top: 120px !important;
    right: 2px !important;
    width: 220px !important;
    z-index: 2 !important;
    animation: hero-mobile-float-2 7s ease-in-out infinite !important;
  }

  .hero-visual .fc-3 {
    top: 244px !important;
    left: 4px !important;
    width: 252px !important;
    z-index: 3 !important;
    animation: hero-mobile-float-3 8s ease-in-out infinite !important;
  }

  .hero-visual .fc-4 {
    top: 314px !important;
    right: 50px !important;
    width: 78px !important;
    min-width: 78px !important;
    z-index: 4 !important;
    animation: hero-mobile-float-4 9s ease-in-out infinite !important;
  }

  .hero-visual .fc-check {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    height: 450px !important;
    min-height: 450px !important;
    width: min(100%, 356px) !important;
  }

  .hero-visual .fc-1 {
    top: 18px !important;
    width: 226px !important;
  }

  .hero-visual .fc-2 {
    top: 126px !important;
    right: 0 !important;
    width: 202px !important;
  }

  .hero-visual .fc-3 {
    top: 244px !important;
    width: 232px !important;
  }

  .hero-visual .fc-4 {
    top: 316px !important;
    right: 42px !important;
  }
}

@keyframes hero-mobile-float-1 {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-11px) rotate(-2deg); }
}

@keyframes hero-mobile-float-2 {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}

@keyframes hero-mobile-float-3 {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes hero-mobile-float-4 {
  0%,100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-15px) rotate(4deg); }
}

.hero-grid {
  display: none !important;
}

@media (max-width: 760px) {
  .landing-footer .footer-links,
  .landing-footer .legal-links,
  .landing-footer .footer-legal-links {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-visual {
    height: 500px !important;
    min-height: 500px !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    margin-inline: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  .hero-visual .float-card {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 12px) !important;
    margin: 0 !important;
    will-change: translate !important;
  }

  .hero-visual .fc-1 {
    top: 18px !important;
    left: 4px !important;
    width: 258px !important;
    z-index: 3 !important;
    transform: rotate(-2deg) !important;
    animation: hero-mobile-bob-1 6s ease-in-out infinite !important;
    padding-right: 16px !important;
  }

  .hero-visual .fc-2 {
    top: 146px !important;
    right: 0 !important;
    width: 218px !important;
    z-index: 2 !important;
    transform: rotate(3deg) !important;
    animation: hero-mobile-bob-2 7s ease-in-out infinite !important;
  }

  .hero-visual .fc-3 {
    top: 282px !important;
    left: 4px !important;
    width: 252px !important;
    z-index: 3 !important;
    transform: rotate(-3deg) !important;
    animation: hero-mobile-bob-3 8s ease-in-out infinite !important;
  }

  .hero-visual .fc-4 {
    top: 350px !important;
    right: 48px !important;
    width: 78px !important;
    min-width: 78px !important;
    justify-content: center !important;
    z-index: 4 !important;
    transform: rotate(4deg) !important;
    animation: hero-mobile-bob-4 9s ease-in-out infinite !important;
  }

  .hero-visual .fc-1 .fc-info {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .hero-visual .fc-1 .fc-check {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    margin-left: auto !important;
    margin-right: 2px !important;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    height: 488px !important;
    min-height: 488px !important;
    width: min(100%, 356px) !important;
  }

  .hero-visual .fc-1 {
    top: 16px !important;
    width: 246px !important;
  }

  .hero-visual .fc-2 {
    top: 154px !important;
    right: 0 !important;
    width: 204px !important;
  }

  .hero-visual .fc-3 {
    top: 286px !important;
    width: 232px !important;
  }

  .hero-visual .fc-4 {
    top: 354px !important;
    right: 42px !important;
  }
}

@keyframes hero-mobile-bob-1 {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes hero-mobile-bob-2 {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes hero-mobile-bob-3 {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes hero-mobile-bob-4 {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -15px; }
}

@media (max-width: 768px) {
  .hero-visual { order: 1 !important; }
  .hero-content { order: -1 !important; }
}

@media (max-width: 768px) {
  .hero { padding-bottom: 20px !important; margin-bottom: 0 !important; }
  .section { padding-top: 40px !important; }
  .section:first-of-type { margin-top: 0 !important; }
}

@media (max-width: 768px) {
  .hero { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .hero + .section,
  .hero ~ .section:first-of-type,
  .section { padding-top: 20px !important; }
}

/* ── Header páginas legales: idéntico a la landing ── */
@media (max-width: 768px) {
      /* span del logo: visible igual que en la landing */
    /* nav: oculto igual que en la landing */
    /* btn-ghost: oculto igual que en la landing; btn-primary: visible */
    .legal-page .landing-actions .btn-primary { display: inline-flex !important; }
    }
