:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: #061321;
  color: #f7fbff;
  --background: #061321;
  --surface: #0d2030;
  --surface-strong: #132a3d;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(196, 208, 219, 0.15);
  --text: #f7fbff;
  --muted: #adbdca;
  --quiet: #71879a;
  --cyan: #35d9e7;
  --green: #39d98a;
  --pink: #ff5d82;
  --yellow: #f5d83f;
  --purple: #a9a5ff;
  --page: 72rem;
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 5%, rgba(53, 217, 231, 0.12), transparent 28rem),
    radial-gradient(circle at 10% 28%, rgba(84, 112, 255, 0.09), transparent 30rem),
    var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

p,
li {
  color: var(--muted);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--cyan);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.page-shell {
  width: min(calc(100% - 3rem), var(--page));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--page));
  margin-inline: auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.site-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(53, 217, 231, 0.35);
  border-radius: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.brand-logo.small {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--text);
}

.site-nav .nav-download {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(53, 217, 231, 0.35);
  border-radius: 999px;
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  min-height: 42rem;
  padding: 6rem 0 7rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 39rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: #04131c;
  box-shadow: 0 0.8rem 2.4rem rgba(53, 217, 231, 0.16);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(53, 217, 231, 0.42);
}

.metric-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(6, 19, 33, 0.74);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.metric-panel::before {
  position: absolute;
  z-index: -1;
  inset: -2rem;
  border-radius: 50%;
  background: rgba(53, 217, 231, 0.12);
  content: "";
  filter: blur(3.5rem);
}

.metric-card {
  position: relative;
  min-height: 9.2rem;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(28, 54, 74, 0.94), rgba(15, 35, 51, 0.94));
}

.metric-card::after {
  position: absolute;
  right: 1.1rem;
  bottom: 0.85rem;
  left: 1.1rem;
  height: 0.22rem;
  border-radius: 99px;
  background: var(--cyan);
  content: "";
}

.metric-card span,
.metric-card small {
  display: block;
  color: #91a5b6;
  font-size: 0.75rem;
  font-weight: 650;
}

.metric-card strong {
  display: inline-block;
  margin: 0.25rem 0;
  font-size: 2.25rem;
  letter-spacing: -0.06em;
}

.metric-wide {
  grid-column: span 2;
}

.metric-wide strong {
  font-size: 3.2rem;
}

.accent-green::after { background: var(--green); }
.accent-pink::after { background: var(--pink); }
.accent-yellow::after { background: var(--yellow); }

.section {
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-heading > p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card,
.verified-device,
.notice {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.feature-card p,
.verified-device p,
.notice p {
  margin-bottom: 0;
}

.feature-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 2.6rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(53, 217, 231, 0.1);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 740;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
}

.step-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-list li > span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-list h3,
.step-list p {
  margin-bottom: 0;
}

.compatibility-callout,
.watch-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 6.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(53, 217, 231, 0.2);
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(25, 66, 86, 0.54), rgba(12, 30, 45, 0.64));
}

.compatibility-callout h2,
.watch-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.compatibility-callout p {
  max-width: 48rem;
}

.fine-print {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 0.86rem;
}

.watch-section {
  grid-template-columns: auto 1fr;
  border-color: rgba(169, 165, 255, 0.23);
  background: linear-gradient(135deg, rgba(72, 62, 120, 0.3), rgba(12, 30, 45, 0.64));
}

.watch-section p:last-child {
  margin-bottom: 0;
}

.watch-orbit {
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 0.55rem solid rgba(169, 165, 255, 0.28);
  border-radius: 2.2rem;
  background: #101f31;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1rem 3rem rgba(0, 0, 0, 0.25);
  font-size: 2rem;
}

.final-cta {
  max-width: 64rem;
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 4rem;
}

.contact-strip h2 {
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

.contact-strip p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer > p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.8rem;
  text-align: right;
}

/* Guide */
.guide-hero {
  max-width: var(--page);
  padding: 7rem 0 5rem;
}

.guide-hero h1 {
  max-width: 54rem;
  font-size: clamp(3.5rem, 9vw, 7rem);
}

.guide-hero .lead {
  max-width: 50rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.anchor-nav a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.anchor-nav a:hover {
  border-color: rgba(53, 217, 231, 0.4);
  color: var(--text);
}

.guide-section {
  scroll-margin-top: 2rem;
}

.detailed-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
}

.detailed-steps li:nth-child(2) {
  padding-top: 0;
  border-top: 0;
}

.verified-device {
  margin-bottom: 1.5rem;
  border-color: rgba(57, 217, 138, 0.25);
  background: linear-gradient(135deg, rgba(57, 217, 138, 0.09), rgba(255, 255, 255, 0.025));
}

.verified-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(57, 217, 138, 0.13);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compatibility-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-row {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.8fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  padding: 1.15rem 1.25rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.table-row > div:first-child {
  border-left: 0;
}

.table-row strong,
.table-row small {
  display: block;
}

.table-row strong {
  color: var(--text);
}

.table-row small {
  margin-top: 0.2rem;
  color: var(--quiet);
}

.table-head {
  background: rgba(255, 255, 255, 0.04);
}

.table-head > div {
  color: var(--quiet);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice {
  margin-top: 1.5rem;
  border-color: rgba(245, 216, 63, 0.22);
  background: rgba(245, 216, 63, 0.04);
}

.notice ul {
  margin: 0;
  padding-left: 1.2rem;
}

.notice li + li {
  margin-top: 0.55rem;
}

.watch-features .feature-card {
  min-height: 11rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  cursor: pointer;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1.35rem;
  right: 0.2rem;
  color: var(--cyan);
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

/* Roadmap */
.roadmap-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(169, 165, 255, 0.24);
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(72, 62, 120, 0.28), rgba(12, 30, 45, 0.58));
}

.roadmap-preview h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.roadmap-preview p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
}

.roadmap-hero {
  padding-bottom: 4.5rem;
}

.roadmap-note {
  display: flex;
  max-width: 54rem;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(169, 165, 255, 0.22);
  border-radius: 1.2rem;
  background: rgba(169, 165, 255, 0.05);
}

.roadmap-note p {
  margin: 0;
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(169, 165, 255, 0.12);
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.roadmap-card,
.suggestion-card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.roadmap-number {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.roadmap-card p {
  margin-bottom: 0;
}

.roadmap-card .roadmap-detail,
.suggestion-card .roadmap-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.84rem;
}

.suggestion-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.suggestion-section > div:first-child p:last-child {
  margin-bottom: 0;
}

.suggestion-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.suggestion-card li + li {
  margin-top: 0.5rem;
}

/* Legal */
.legal-page {
  width: min(calc(100% - 3rem), 50rem);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--cyan);
  font-weight: 720;
  text-decoration: none;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.updated {
  margin-bottom: 3rem;
  color: var(--quiet);
  font-size: 0.88rem;
}

.legal-page section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.legal-page section p:last-child,
.legal-page section ul:last-child {
  margin-bottom: 0;
}

.legal-page a {
  color: var(--cyan);
}

@media (max-width: 58rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 5rem;
  }

  .metric-panel {
    width: min(100%, 36rem);
  }

  .feature-grid,
  .detailed-steps,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .detailed-steps li:nth-child(2) {
    padding-top: 1.65rem;
    border-top: 1px solid var(--line);
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .compatibility-callout {
    grid-template-columns: 1fr;
  }

  .roadmap-preview,
  .suggestion-section {
    grid-template-columns: 1fr;
  }

  .compatibility-callout .button {
    width: fit-content;
  }

  .table-head {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr;
    padding: 0.45rem 0;
  }

  .table-row > div {
    padding: 0.55rem 1.2rem;
    border-left: 0;
  }

  .table-row > div:nth-child(2)::before,
  .table-row > div:nth-child(3)::before {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--quiet);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .table-row > div:nth-child(2)::before { content: "Uso"; }
  .table-row > div:nth-child(3)::before { content: "Datos posibles"; }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > p {
    text-align: left;
  }
}

@media (max-width: 42rem) {
  .page-shell,
  .site-header,
  .legal-page {
    width: min(calc(100% - 2rem), var(--page));
  }

  .site-header {
    align-items: flex-start;
  }

  .site-brand > span:last-child {
    display: none;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .site-nav .nav-download {
    padding: 0.45rem 0.65rem;
  }

  .site-nav .nav-privacy {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 4.3rem 0 5rem;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.35rem);
  }

  .hero-copy,
  .metric-panel {
    min-width: 0;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .metric-card {
    min-height: 7.8rem;
    padding: 1rem;
  }

  .metric-card strong {
    font-size: 1.8rem;
  }

  .metric-wide strong {
    font-size: 2.6rem;
  }

  .section {
    padding: 4.6rem 0;
  }

  .compatibility-callout,
  .watch-section,
  .roadmap-preview {
    margin-bottom: 4.6rem;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .roadmap-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .watch-section {
    grid-template-columns: 1fr;
  }

  .watch-orbit {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.7rem;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .guide-hero {
    padding: 4.5rem 0 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
