:root {
  --black: #020304;
  --ink: #0b0d0f;
  --panel: #101214;
  --panel-2: #17191c;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.12);
  --text: #f7f7f7;
  --muted: #a6a8ab;
  --muted-2: #696d72;
  --white: #ffffff;
  --soft: #f4f4f2;
  --radius: 8px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(22px, 4vw, 64px);
  color: var(--white);
  background: rgba(2, 3, 4, 0.66);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 3, 4, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #0a0b0c;
  background: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a:hover,
.text-button:hover,
.text-link:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.language-switcher i {
  color: var(--muted);
  font-size: 17px;
}

.language-switcher select {
  max-width: 104px;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
  font-weight: 700;
}

.language-switcher option {
  color: #090a0b;
  background: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.text-button,
.text-link {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.light {
  color: #090a0b;
  background: #f7f7f7;
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button.full {
  width: 100%;
}

.section-dark {
  background: var(--black);
}

.section-light {
  color: #08090a;
  background: #f5f5f3;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  padding: 188px clamp(22px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.hero::after,
.license-stage::before,
.otc-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 3, 4, 0.98) 0%, rgba(2, 3, 4, 0.86) 35%, rgba(2, 3, 4, 0.1) 72%),
    linear-gradient(180deg, rgba(2, 3, 4, 0) 66%, #020304 100%);
}

.hero-globe {
  position: absolute;
  top: 88px;
  right: -88px;
  width: min(72vw, 1180px);
  opacity: 0.92;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.22;
}

.hero-lede,
.section-copy p,
.license-detail p,
.process-steps p,
.security-grid p,
.contact-form .form-note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.map-label {
  position: absolute;
  z-index: 3;
  width: 160px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(15, 16, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.map-label strong,
.map-label span {
  display: block;
}

.map-label strong {
  margin-bottom: 4px;
  font-size: 13px;
}

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

.label-czech {
  top: 190px;
  right: 520px;
}

.label-mongolia {
  top: 338px;
  right: 650px;
}

.label-kazakhstan {
  top: 520px;
  right: 430px;
}

.label-us {
  top: 410px;
  right: 80px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max);
  margin: 138px auto 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon value" "icon label";
  gap: 4px 16px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip i {
  grid-area: icon;
  color: var(--muted);
  font-size: 34px;
}

.trust-strip strong {
  grid-area: value;
  font-size: 28px;
}

.trust-strip span {
  grid-area: label;
  color: var(--muted);
  font-size: 14px;
}

.license-stage,
.otc-section,
.process,
.contact,
.security {
  position: relative;
  overflow: hidden;
  padding: 104px clamp(22px, 6vw, 96px);
}

.license-stage {
  background: linear-gradient(180deg, #101214 0%, #020304 100%);
}

.license-stage::before,
.otc-section::before {
  opacity: 0.28;
}

.section-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.section-grid.reverse {
  grid-template-columns: minmax(440px, 1.08fr) minmax(0, 0.92fr);
}

.section-copy {
  max-width: 520px;
}

.license-visual {
  margin: 0;
}

.license-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.license-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 56px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.license-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 78px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font-weight: 750;
}

.license-tab:last-child {
  border-right: 0;
}

.license-tab i {
  font-size: 24px;
}

.license-tab.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.license-detail {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.license-detail h3 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 38px);
}

.license-detail p {
  max-width: 650px;
  margin-bottom: 0;
}

.license-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 34px auto 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
}

.license-grid article {
  min-height: 238px;
  padding: 30px;
  background: #08090a;
}

.license-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.license-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.license-grid button {
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e7e7e7;
}

.feature-list i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 22px;
}

.quote-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 16, 18, 0.86);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.quote-panel {
  padding: 28px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top p,
.panel-top span {
  margin: 0;
}

.panel-top p {
  font-size: 18px;
  font-weight: 800;
}

.panel-top span {
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #d7d7d7;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
}

.quote-field {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.quote-field + .quote-field {
  margin-top: 16px;
}

.quote-field div {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.quote-field select,
.quote-field input {
  min-width: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
}

.quote-field select {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.quote-field input {
  padding: 0 22px;
  text-align: right;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

.swap-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 14px auto;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #101214;
}

.quote-meta {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.quote-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.quote-meta dt {
  color: var(--muted);
}

.quote-meta dd {
  margin: 0;
  color: var(--white);
  text-align: right;
  font-weight: 650;
}

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

.section-heading {
  max-width: var(--max);
  margin: 0 auto 52px;
}

.process-steps,
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--line);
}

.process-steps article,
.security-grid article {
  padding: 34px;
  background: #08090a;
}

.process-steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 24px;
}

.process-steps i,
.security-grid i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  font-size: 25px;
}

.security .section-heading {
  color: #090a0b;
}

.security .section-heading .eyebrow {
  color: var(--muted-2);
}

.security-grid {
  grid-template-columns: repeat(3, 1fr);
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.security-grid article {
  color: #090a0b;
  background: #ffffff;
}

.security-grid p {
  color: #5f6368;
}

.security-grid i {
  color: #090a0b;
  border-color: rgba(0, 0, 0, 0.14);
}

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

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  padding: 14px 16px;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 6vw, 96px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #020304;
}

.site-footer p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.site-footer span {
  max-width: 720px;
  text-align: right;
  line-height: 1.6;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  color: #090a0b;
  background: #f7f7f7;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.66);
}

.modal-panel .eyebrow {
  color: #5f6368;
}

.modal-panel img {
  width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #090a0b;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    place-items: center;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 18px;
  }

  .site-header.nav-open .site-nav {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .header-actions {
    align-items: stretch;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(2, 3, 4, 0.76) 0%, rgba(2, 3, 4, 0.92) 54%, #020304 100%);
  }

  .hero-globe {
    top: 82px;
    right: -330px;
    width: 1200px;
    opacity: 0.62;
  }

  .map-label {
    display: none;
  }

  .trust-strip,
  .license-tabs,
  .license-grid,
  .process-steps,
  .security-grid,
  .section-grid,
  .section-grid.reverse {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 90px;
  }

  .trust-strip div,
  .license-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child,
  .license-tab:last-child {
    border-bottom: 0;
  }

  .section-grid,
  .section-grid.reverse {
    gap: 46px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .hero,
  .license-stage,
  .otc-section,
  .process,
  .contact,
  .security {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 122px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quote-field div {
    grid-template-columns: 1fr;
  }

  .quote-field select {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-field input {
    min-height: 70px;
    text-align: left;
    font-size: 30px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer span {
    text-align: left;
  }
}
