:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d2038;
  --panel-soft: #12345a;
  --cyan: #55e7ff;
  --cyan-soft: rgba(85, 231, 255, 0.18);
  --gold: #ffd15b;
  --text: #f4f8ff;
  --muted: #b8c8df;
  --line: rgba(130, 226, 255, 0.32);
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(42, 178, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(255, 202, 74, 0.14), transparent 28rem),
    linear-gradient(180deg, #06101f 0%, #08172a 45%, #05101c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 70%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(85, 231, 255, 0.2);
  background: rgba(6, 16, 31, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(85, 231, 255, 0.26);
}

.brand span {
  display: block;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: #d8e8ff;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  min-height: 48px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(18, 52, 90, 0.7);
  box-shadow: 0 12px 28px var(--shadow);
  font-weight: 800;
}

.button.primary {
  border-color: rgba(255, 209, 91, 0.75);
  color: #241b02;
  background: linear-gradient(180deg, #ffe383, #ffb93e);
}

.note {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.95rem;
}

.phone-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(340px, 86vw);
  aspect-ratio: 720 / 1280;
  border: 1px solid rgba(85, 231, 255, 0.55);
  border-radius: 8px;
  overflow: hidden;
  background: #081426;
  box-shadow: 0 0 34px rgba(85, 231, 255, 0.24), 0 26px 70px rgba(0, 0, 0, 0.45);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sections {
  position: relative;
  z-index: 1;
}

.section {
  border-top: 1px solid rgba(85, 231, 255, 0.16);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 52, 90, 0.82), rgba(7, 17, 31, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1.15rem;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.showcase img {
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36);
}

.compliance-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.compliance-list li {
  padding: 18px;
  border: 1px solid rgba(85, 231, 255, 0.26);
  border-radius: 8px;
  background: rgba(8, 25, 45, 0.72);
  color: #d7e5f6;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
}

.legal-copy {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 24, 43, 0.78);
}

.legal-copy h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 1.4rem;
  color: var(--gold);
}

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

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

.side-links {
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(85, 231, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 25, 45, 0.72);
}

.side-links a {
  display: block;
  padding: 11px 0;
  color: var(--muted);
}

.side-links a:hover {
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid rgba(85, 231, 255, 0.18);
  background: rgba(3, 11, 20, 0.74);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.map-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 32, 56, 0.78), rgba(26, 16, 23, 0.7)),
    radial-gradient(circle at 18% 72%, rgba(255, 198, 56, 0.24), transparent 21rem),
    radial-gradient(circle at 52% 38%, rgba(69, 214, 255, 0.2), transparent 20rem),
    radial-gradient(circle at 76% 61%, rgba(255, 80, 98, 0.16), transparent 18rem),
    #09101b;
}

.map-shell {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.map-topbar {
  min-height: 76px;
  padding: 14px clamp(16px, 4vw, 42px);
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 13, 24, 0.78);
  backdrop-filter: blur(18px);
}

.map-back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
  line-height: 1;
}

.map-title {
  min-width: 0;
}

.map-title span {
  display: block;
  color: #9fdfff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-title strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.resource-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.resource-strip span {
  min-height: 36px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8e6f3;
  font-size: 0.84rem;
  white-space: nowrap;
}

.resource-strip b {
  color: #fff0a8;
}

.map-viewport {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  overflow: hidden;
}

.map-field {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 80px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 17% 69%, rgba(255, 198, 56, 0.28), transparent 12rem),
    radial-gradient(circle at 42% 43%, rgba(30, 144, 255, 0.26), transparent 13rem),
    radial-gradient(circle at 64% 60%, rgba(223, 48, 68, 0.24), transparent 12rem),
    radial-gradient(circle at 83% 28%, rgba(218, 244, 255, 0.2), transparent 10rem);
}

.map-field::before {
  content: "";
  position: absolute;
  inset: 8% 5% 5%;
  background:
    linear-gradient(145deg, rgba(44, 80, 64, 0.5), transparent 42%),
    linear-gradient(25deg, transparent 12%, rgba(102, 69, 38, 0.5) 12% 18%, transparent 18% 58%, rgba(73, 42, 52, 0.52) 58% 64%, transparent 64%),
    linear-gradient(160deg, transparent 20%, rgba(38, 84, 112, 0.44) 20% 34%, transparent 34%),
    rgba(9, 22, 35, 0.44);
  clip-path: polygon(6% 58%, 18% 35%, 34% 31%, 47% 13%, 62% 24%, 78% 12%, 91% 29%, 87% 62%, 72% 78%, 54% 72%, 37% 90%, 19% 82%);
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.3));
}

.map-route {
  position: absolute;
  left: 18%;
  top: 31%;
  width: 62%;
  height: 38%;
  border-top: 5px dashed rgba(255, 239, 168, 0.42);
  border-right: 5px dashed rgba(255, 239, 168, 0.32);
  border-radius: 8px 48% 8px 36%;
  transform: rotate(-8deg);
}

.map-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(270px, 28vw);
  min-width: 205px;
  min-height: 128px;
  padding: 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 16, 29, 0.84);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.map-node.locked {
  color: rgba(244, 248, 255, 0.72);
  filter: saturate(0.58);
}

.map-node.vip {
  border-color: rgba(224, 244, 255, 0.44);
}

.node-marker,
.resource-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #120d08;
  font-weight: 900;
}

.node-gold .node-marker,
.resource-icon.gold {
  background: linear-gradient(160deg, #fff1a6, #ffb72d);
}

.node-sapphire .node-marker,
.resource-icon.sapphire {
  color: #eaf8ff;
  background: linear-gradient(160deg, #7ee9ff, #1e78ff);
}

.node-ruby .node-marker,
.resource-icon.ruby {
  color: #fff4f4;
  background: linear-gradient(160deg, #ff9ba8, #c51534);
}

.node-diamond .node-marker,
.resource-icon.diamond {
  background: linear-gradient(160deg, #ffffff, #8eeaff);
}

.map-node h1,
.map-node h2 {
  margin: 4px 0 5px;
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  line-height: 1.1;
}

.map-node p {
  margin: 0;
  color: #c5d4e4;
  font-size: 0.82rem;
  line-height: 1.38;
}

.state {
  display: inline-flex;
  min-height: 22px;
  padding: 3px 7px;
  align-items: center;
  border-radius: 6px;
  background: rgba(96, 255, 188, 0.16);
  color: #8dffc7;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.locked .state {
  background: rgba(255, 255, 255, 0.12);
  color: #d2d8df;
}

.map-panel {
  min-height: 0;
  padding: clamp(16px, 2vw, 24px);
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 14, 25, 0.86);
  backdrop-filter: blur(18px);
}

.panel-header h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.resource-card {
  min-height: 105px;
  padding: 13px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.resource-card.is-locked {
  opacity: 0.72;
}

.resource-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.resource-head h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.resource-head span {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf2fb;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.resource-card.is-open .resource-head span {
  background: rgba(96, 255, 188, 0.15);
  color: #8dffc7;
}

.resource-card p {
  margin: 7px 0 11px;
  color: #bdcad9;
  font-size: 0.86rem;
  line-height: 1.35;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67ffc1, #ffe06d);
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .phone-stage {
    min-height: auto;
  }

  .feature-grid,
  .showcase,
  .compliance-list,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-copy {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .map-page {
    overflow: auto;
  }

  .map-shell {
    min-height: 100svh;
  }

  .map-topbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .resource-strip {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .map-viewport {
    grid-template-columns: 1fr;
  }

  .map-field {
    min-height: 680px;
  }

  .map-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .map-node {
    width: min(260px, 44vw);
    min-width: 190px;
  }
}

@media (max-width: 520px) {
  .brand span {
    white-space: normal;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero,
  .section-inner {
    width: min(100% - 24px, 1120px);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .map-topbar {
    padding-inline: 12px;
  }

  .resource-strip span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .map-field {
    min-height: 720px;
  }

  .map-node {
    width: 210px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .node-marker,
  .resource-icon {
    width: 42px;
    height: 42px;
  }

  .node-gold {
    --x: 28% !important;
    --y: 72% !important;
  }

  .node-sapphire {
    --x: 62% !important;
    --y: 49% !important;
  }

  .node-ruby {
    --x: 37% !important;
    --y: 31% !important;
  }

  .node-diamond {
    --x: 70% !important;
    --y: 15% !important;
  }

  .resource-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}
