:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-deep: #040a12;
  --panel: rgba(15, 28, 47, .78);
  --panel-strong: rgba(16, 31, 52, .94);
  --line: rgba(184, 209, 244, .16);
  --line-strong: rgba(184, 209, 244, .30);
  --text: #f4f7fb;
  --muted: #a8b5c7;
  --soft: #d3deec;
  --accent: #b8d1f4;
  --accent-strong: #d8e8ff;
  --available: #8fe0bc;
  --soon: #e9c88e;
  --shadow: 0 22px 70px rgba(0, 0, 0, .32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 14% 6%,
      rgba(92, 131, 185, .19),
      transparent 31rem
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(77, 119, 176, .12),
      transparent 29rem
    ),
    linear-gradient(
      180deg,
      var(--bg) 0%,
      var(--bg-deep) 100%
    );
  color: var(--text);
  font-family:
    "Montserrat",
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
}

.site-shell::before {
  width: 520px;
  height: 520px;
  top: 160px;
  left: -390px;
  border: 1px solid rgba(184, 209, 244, .10);
  box-shadow:
    0 0 0 74px rgba(184, 209, 244, .022),
    0 0 0 148px rgba(184, 209, 244, .014);
}

.site-shell::after {
  width: 420px;
  height: 420px;
  top: 520px;
  right: -320px;
  border: 1px solid rgba(184, 209, 244, .08);
  box-shadow:
    0 0 0 62px rgba(184, 209, 244, .018),
    0 0 0 124px rgba(184, 209, 244, .012);
}

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

.site-header {
  position: relative;
  z-index: 20;
  padding: 24px 0 0;
}

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

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand-byline {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.language-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(5, 12, 21, .52);
  backdrop-filter: blur(14px);
}

.language-link {
  min-width: 74px;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition:
    color .16s ease,
    background .16s ease,
    transform .16s ease;
}

.language-link:hover {
  color: var(--text);
  background: rgba(184, 209, 244, .09);
}

.language-link.active {
  color: #06101d;
  background: var(--accent);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 98px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(330px, .85fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .72;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 600;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
}

.hero-lead {
  max-width: 700px;
  margin: 27px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.62;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.meta-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(10, 20, 34, .54);
  font-size: 12px;
  font-weight: 500;
}

.language-suggestion {
  display: none;
  margin-top: 28px;
  max-width: 650px;
  border: 1px solid rgba(184, 209, 244, .20);
  border-radius: 15px;
  padding: 12px 14px;
  background: rgba(184, 209, 244, .065);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.language-suggestion.visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.language-suggestion a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: #07101d;
  background: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.globe-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      145deg,
      rgba(23, 43, 70, .84),
      rgba(7, 16, 29, .82)
    );
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.globe-panel::before {
  position: absolute;
  content: "";
  inset: 44px;
  border: 1px solid rgba(184, 209, 244, .18);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(184, 209, 244, .035),
    0 0 0 36px rgba(184, 209, 244, .026),
    0 0 0 72px rgba(184, 209, 244, .016);
}

.globe-panel::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 73%;
  top: 13%;
  left: 50%;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(184, 209, 244, .22),
      transparent
    );
  transform: rotate(28deg);
}

.orbit {
  position: absolute;
  inset: 86px 42px;
  border: 1px solid rgba(184, 209, 244, .12);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit::before,
.orbit::after {
  position: absolute;
  content: "";
  left: 50%;
  top: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 19px rgba(184, 209, 244, .8);
}

.orbit::after {
  top: auto;
  bottom: -5px;
  left: 28%;
  opacity: .56;
}

.market-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 118px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 11px 13px;
  background: rgba(6, 15, 27, .82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px);
}

.market-pin strong {
  font-size: 13px;
}

.market-pin span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pin-mx {
  left: 8%;
  top: 42%;
}

.pin-us {
  left: 36%;
  top: 16%;
}

.pin-au {
  right: 7%;
  bottom: 17%;
}

.globe-caption {
  position: absolute;
  z-index: 4;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.globe-caption strong {
  font-size: 15px;
}

.globe-caption span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  position: relative;
  z-index: 2;
  padding: 50px 0 96px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1.06;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.market-card {
  position: relative;
  display: flex;
  min-height: 345px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background:
    linear-gradient(
      155deg,
      rgba(20, 38, 63, .78),
      rgba(8, 18, 32, .87)
    );
  overflow: hidden;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.market-card::after {
  position: absolute;
  content: "";
  width: 180px;
  height: 180px;
  right: -95px;
  bottom: -105px;
  border: 1px solid rgba(184, 209, 244, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(184, 209, 244, .018);
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.market-card.available {
  border-color: rgba(143, 224, 188, .25);
}

.market-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.country-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(184, 209, 244, .065);
  font-size: 27px;
}

.status {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.status.available {
  color: var(--available);
  background: rgba(143, 224, 188, .09);
  border: 1px solid rgba(143, 224, 188, .20);
}

.status.soon {
  color: var(--soon);
  background: rgba(233, 200, 142, .08);
  border: 1px solid rgba(233, 200, 142, .17);
}

.market-card h3 {
  margin: 25px 0 7px;
  font-size: 26px;
  letter-spacing: -.025em;
}

.market-locale {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.market-description {
  margin: 18px 0 25px;
  color: var(--muted);
  line-height: 1.62;
  font-size: 14px;
}

.market-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(184, 209, 244, .055);
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .16s ease;
}

.market-action:hover {
  border-color: rgba(184, 209, 244, .42);
  background: rgba(184, 209, 244, .12);
  transform: translateY(-1px);
}

.market-action.primary {
  color: #07101d;
  background: var(--accent);
  border-color: var(--accent);
}

.market-action.primary:hover {
  background: var(--accent-strong);
}

.market-action span:last-child {
  font-size: 18px;
  line-height: 1;
}

.product-strip {
  display: grid;
  grid-template-columns:
    minmax(220px, .7fr)
    repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.product-intro,
.product-feature {
  min-height: 185px;
  padding: 24px;
  background: rgba(8, 18, 32, .96);
}

.product-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-intro strong {
  font-size: 21px;
  letter-spacing: -.025em;
}

.product-intro span {
  color: var(--muted);
  font-size: 12px;
}

.product-feature {
  display: grid;
  align-content: center;
  gap: 12px;
}

.feature-number {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.product-feature h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.015em;
}

.product-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  background: rgba(4, 10, 18, .38);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

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

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(2, 7, 13, .74);
  backdrop-filter: blur(10px);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(100%, 480px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 27px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(184, 209, 244, .07);
  font-size: 25px;
}

.modal-card h2 {
  margin: 22px 0 10px;
  font-size: 27px;
  letter-spacing: -.03em;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 25px;
}

.modal-close {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--text);
  background: rgba(184, 209, 244, .08);
  cursor: pointer;
  font-weight: 500;
}

.modal-close:hover {
  background: rgba(184, 209, 244, .14);
}

.privacy-page {
  min-height: calc(100vh - 120px);
  padding: 80px 0 100px;
}

.privacy-panel {
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(25px, 5vw, 50px);
  background: rgba(12, 24, 41, .76);
  box-shadow: var(--shadow);
}

.privacy-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -.045em;
}

.privacy-panel .updated {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.privacy-panel h2 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.privacy-panel p,
.privacy-panel li {
  color: var(--muted);
  line-height: 1.72;
}

.privacy-panel ul {
  padding-left: 20px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .globe-panel {
    min-height: 390px;
  }

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

  .market-card {
    min-height: 300px;
  }

  .product-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(
      calc(100% - 28px),
      var(--max)
    );
  }

  .site-header {
    padding-top: 16px;
  }

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

  .brand-byline {
    display: none;
  }

  .language-nav {
    gap: 2px;
  }

  .language-link {
    min-width: auto;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    padding: 66px 0 36px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .globe-panel {
    min-height: 360px;
  }

  .globe-panel::before {
    inset: 53px 24px;
  }

  .market-pin {
    min-width: 102px;
    padding: 9px 10px;
  }

  .pin-mx {
    left: 5%;
    top: 40%;
  }

  .pin-us {
    left: 30%;
    top: 15%;
  }

  .pin-au {
    right: 3%;
  }

  .section {
    padding-bottom: 76px;
  }

  .section-heading {
    display: grid;
    gap: 14px;
  }

  .product-strip {
    grid-template-columns: 1fr;
  }

  .product-intro,
  .product-feature {
    min-height: 150px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .language-suggestion.visible {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Tipografía global Random Expenses · Montserrat */
.brand-name {
  font-weight: 600;
  letter-spacing: -.025em;
}

.brand-byline,
.eyebrow,
.status,
.feature-number,
.privacy-panel .updated {
  font-weight: 500;
}

.hero h1 {
  font-weight: 600;
  letter-spacing: -.046em;
}

.hero-lead,
.section-heading p,
.market-description,
.product-feature p,
.privacy-panel p,
.privacy-panel li {
  font-weight: 400;
}

.section-heading h2,
.market-card h3,
.product-intro strong,
.product-feature h3,
.modal-card h2,
.privacy-panel h1,
.privacy-panel h2 {
  font-weight: 600;
}

.language-link,
.market-action,
.modal-close,
.back-link {
  font-weight: 500;
}
