:root {
  color-scheme: light;
  --ink: #102b35;
  --ink-soft: #29444a;
  --forest: #103d32;
  --forest-deep: #092a2e;
  --green: #137d45;
  --lime: #b7ec4b;
  --gold: #f5d34d;
  --paper: #f5f4ec;
  --paper-dark: #e9eee2;
  --muted: #5d716d;
  --line: rgba(16, 43, 53, .13);
  --shadow: 0 24px 70px rgba(6, 31, 35, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  padding-bottom: 60px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest-deep);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner {
  width: min(1320px, calc(100% - 56px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 280px; }
.brand img { width: 252px; height: 56px; object-fit: contain; object-position: left center; }
.header-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.header-nav > a:not(.button) { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 600; transition: color .18s ease; }
.header-nav > a:not(.button):hover { color: var(--lime); }
.language-switch { letter-spacing: .08em; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #153329; box-shadow: 0 8px 22px rgba(183,236,75,.18); }
.button-primary:hover { background: #c9f56d; box-shadow: 0 12px 28px rgba(183,236,75,.25); }
.button-secondary { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.04); }
.button-secondary:hover { background: rgba(255,255,255,.12); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(35, 117, 72, .5), transparent 38%),
    linear-gradient(130deg, #092a2e 0%, #104334 57%, #0d302e 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  top: -340px;
  right: 10%;
  border: 1px solid rgba(183,236,75,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(183,236,75,.025), 0 0 0 112px rgba(183,236,75,.02);
}
.hero-inner {
  width: min(1240px, calc(100% - 56px));
  min-height: 590px;
  padding: 76px 0 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(44px, 5.7vw, 76px);
  line-height: .99;
  font-weight: 760;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-proof li { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; }
.hero-proof li + li::before { content: "•"; color: var(--gold); margin-right: 20px; }
.hero-visual { position: relative; min-width: 0; }
.feature-frame {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: #16383a;
  box-shadow: var(--shadow);
}
.feature-frame img { width: 100%; height: auto; }
.hero-visual figcaption { margin: 18px 0 0; color: rgba(255,255,255,.65); font-size: 12px; text-align: right; }
.world-section { padding: 18px 0 0; }
.world-panel {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--forest-deep);
  color: #fff;
}
.world-copy .eyebrow { color: var(--gold); }
.world-copy h2 { max-width: 500px; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.world-copy > p:not(.eyebrow) { max-width: 440px; margin: 18px 0 0; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.65; }
.world-figure { min-width: 0; margin: 0; }
.world-figure img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; }
.world-figure figcaption { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 12px; text-align: right; }
.map-caption {
  position: absolute;
  right: -22px;
  bottom: 28px;
  z-index: 2;
  max-width: 205px;
  padding: 16px 19px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 14px;
  background: rgba(245,244,236,.95);
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(3,25,28,.2);
  transform: rotate(-1.1deg);
}
.map-caption span { display: block; margin-bottom: 4px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.map-caption strong { font-size: 15px; line-height: 1.25; }

.section { padding: 104px 0; }
.section-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-heading .eyebrow { color: var(--green); }
.section-heading h2, .map-copy h2, .download-copy h2, .contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-heading > p:last-child { max-width: 600px; margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mode-card {
  position: relative;
  min-height: 315px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16,43,53,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mode-card:hover { transform: translateY(-5px); border-color: rgba(19,125,69,.25); box-shadow: 0 20px 45px rgba(16,43,53,.1); }
.mode-card:nth-child(2) { background: #edf3e6; }
.mode-card:nth-child(3) { background: #eaf0ee; }
.mode-index { display: inline-block; margin-bottom: 44px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.mode-kicker { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mode-card h3 { margin: 0; font-size: 24px; line-height: 1.12; letter-spacing: -.025em; }
.mode-card > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.map-story { padding: 16px 0 104px; }
.map-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding: clamp(26px, 4vw, 54px);
  border-radius: 28px;
  background: var(--paper-dark);
}
.map-figure { position: relative; min-width: 0; margin: 0; }
.map-figure > img { width: 100%; height: auto; border: 1px solid rgba(16,43,53,.13); border-radius: 18px; box-shadow: 0 18px 48px rgba(16,43,53,.16); }
.map-story .map-caption { right: 16px; bottom: 16px; transform: none; }
.map-copy .eyebrow { color: var(--green); }
.map-copy > p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.map-copy .map-legend { margin-top: 18px; padding-left: 15px; border-left: 3px solid var(--green); font-size: 14px; }

.download-section { padding: 0 0 104px; }
.download-card {
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 26px;
  background: #102f34;
  color: #fff;
  text-align: center;
}
.download-copy { max-width: 760px; margin: 0 auto; padding: 16px clamp(4px, 2vw, 28px); }
.download-copy .eyebrow { color: var(--gold); }
.download-copy h2 { font-size: clamp(32px, 3.5vw, 44px); }
.download-copy > p:not(.eyebrow) { max-width: 560px; margin: 18px auto 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; }
.download-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.platform-note { padding: 0 0 104px; }
.platform-note-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #edf3e6;
}
.platform-note .eyebrow { color: var(--green); }
.platform-note h2 { max-width: 680px; margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.platform-note p:not(.eyebrow) { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.platform-note .button { flex: 0 0 auto; }

.contact { padding: 0 0 82px; background: transparent; }
.contact-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(16,43,53,.1);
  border-radius: 28px;
  background: linear-gradient(140deg, #f0f4e9 0%, #e4eee2 100%);
  box-shadow: 0 18px 48px rgba(16,43,53,.08);
}
.contact-heading { max-width: 700px; margin: 0 auto 30px; text-align: center; }
.contact-heading .eyebrow { margin-bottom: 12px; color: var(--green); }
.contact h2 { font-size: clamp(30px, 3.4vw, 42px); }
.contact-heading > p:last-child { max-width: 540px; margin: 14px auto 0; color: var(--muted); line-height: 1.6; }
.contact-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 920px; margin: 0 auto; }
.community-link {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.community-link:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,43,53,.1); }
.community-discord { border-color: rgba(88,101,242,.2); background: #f0f1ff; }
.community-telegram { border-color: rgba(34,158,217,.2); background: #eaf7fc; }
.community-email { border-color: rgba(209,132,42,.22); background: #fff5e8; }
.community-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 15px; color: #fff; }
.community-discord .community-icon { background: #5865f2; }
.community-telegram .community-icon { background: #229ed9; }
.community-email .community-icon { background: #d1842a; }
.community-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.community-icon circle { fill: currentColor; stroke: none; }
.community-copy { display: grid; gap: 4px; min-width: 0; }
.community-copy strong { font-size: 15px; }
.community-copy small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.community-arrow { margin-left: auto; color: var(--muted); font-size: 18px; }
.site-footer {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 60px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(9,42,46,.97);
  color: rgba(255,255,255,.68);
  font-size: 11px;
  backdrop-filter: blur(12px);
}
.footer-inner { display: flex; min-height: 60px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--lime); }
.copyright { margin: 0; }

@media (max-width: 960px) {
  .header-inner { width: min(100% - 40px, 760px); min-height: 74px; }
  .brand { flex-basis: 220px; }
  .brand img { width: 220px; height: 48px; }
  .header-nav { gap: 16px; }
  .header-nav > a:not(.button) { font-size: 13px; }
  .hero-inner { width: min(100% - 48px, 760px); min-height: 0; grid-template-columns: 1fr; gap: 48px; padding: 68px 0 78px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(100%, 630px); justify-self: center; }
  .world-panel { grid-template-columns: 1fr; gap: 26px; }
  .world-copy { max-width: 700px; }
  .world-copy > p:not(.eyebrow) { max-width: 620px; }
  .map-caption { right: -8px; }
  .section { padding: 84px 0; }
  .mode-grid { gap: 12px; }
  .mode-card { min-height: 320px; padding: 24px; }
  .mode-card h3 { font-size: 21px; }
  .map-story-inner { grid-template-columns: 1fr; gap: 38px; }
  .map-copy { max-width: 660px; }
  .download-copy { padding: 8px 12px 16px; }
  .platform-note-card { align-items: flex-start; flex-direction: column; }
  .contact-links { gap: 10px; }
}

@media (max-width: 660px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: min(100% - 36px, 520px); }
  .header-inner { width: calc(100% - 32px); min-height: 68px; gap: 12px; }
  .brand { flex: 0 1 176px; }
  .brand img { width: 176px; height: 40px; }
  .header-nav { gap: 10px; }
  .header-nav > a[href^="#"] { display: none; }
  .header-nav .language-switch { display: inline-flex; }
  .header-nav .button { min-height: 40px; padding: 0 13px; font-size: 12px; }
  .hero-inner { width: calc(100% - 36px); gap: 34px; padding: 54px 0 62px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { min-height: 46px; padding: 0 16px; }
  .hero-proof { gap: 8px 12px; margin-top: 22px; }
  .hero-proof li { font-size: 11px; }
  .hero-proof li + li::before { margin-right: 12px; }
  .feature-frame { border-radius: 17px; }
  .world-section { padding: 0 0 68px; }
  .world-panel { padding: 24px 16px 18px; gap: 22px; border-radius: 22px; }
  .world-copy { padding: 0 5px; }
  .world-copy h2 { font-size: 34px; }
  .world-copy > p:not(.eyebrow) { font-size: 14px; }
  .world-figure img { border-radius: 13px; }
  .map-figure > img { border-radius: 15px; }
  .map-caption { right: -5px; bottom: 14px; max-width: 160px; padding: 11px 13px; border-radius: 11px; }
  .map-caption strong { font-size: 13px; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading h2, .map-copy h2 { font-size: 38px; }
  .section-heading > p:last-child { margin: 14px 0 0; font-size: 15px; }
  .mode-grid { grid-template-columns: 1fr; gap: 12px; }
  .mode-card { min-height: 0; padding: 23px; }
  .mode-index { margin-bottom: 28px; }
  .mode-card h3 { font-size: 23px; }
  .mode-card > p:last-child { font-size: 14px; }
  .map-story { padding: 0 0 68px; }
  .map-story-inner { width: calc(100% - 24px); padding: 12px 12px 28px; gap: 30px; border-radius: 22px; }
  .map-copy { padding: 0 10px; }
  .map-copy h2 { font-size: 34px; }
  .map-copy > p:not(.eyebrow) { font-size: 15px; }
  .map-copy .button { margin-top: 20px; }
  .download-section { padding: 0 0 68px; }
  .platform-note { padding: 0 0 68px; }
  .download-card { width: calc(100% - 24px); gap: 20px; padding: 12px 12px 26px; border-radius: 22px; }
  .download-copy { padding: 4px 10px 0; }
  .download-copy h2 { font-size: 34px; }
  .download-copy > p:not(.eyebrow) { font-size: 15px; }
  .platform-note-card { width: calc(100% - 24px); padding: 24px 20px; border-radius: 22px; }
  .platform-note h2 { font-size: 30px; }
  .platform-note p:not(.eyebrow) { font-size: 14px; }
  .contact { padding: 0 0 68px; }
  .contact-card { width: calc(100% - 24px); padding: 26px 18px; border-radius: 22px; }
  .contact-heading { margin-bottom: 22px; }
  .contact-heading > p:last-child { font-size: 14px; }
  .contact-links { grid-template-columns: 1fr; gap: 10px; }
  .community-link { min-height: 74px; padding: 12px 14px; }
  .community-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .site-footer { min-height: 54px; font-size: 9px; }
  .footer-inner { min-height: 54px; flex-wrap: nowrap; gap: 8px; }
  .footer-links { gap: 10px; white-space: nowrap; }
  .copyright { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
