:root {
  color-scheme: dark;
  --bg: #07080d;
  --ink: #f6f4ee;
  --muted: #b7b2c9;
  --soft: rgba(246, 244, 238, 0.72);
  --line: rgba(246, 244, 238, 0.16);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --accent: #67e0c2;
  --accent-2: #7ea8ff;
  --danger: #ff8f70;
  --shadow: rgba(0, 0, 0, 0.48);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(126, 168, 255, 0.34), transparent 31rem),
    radial-gradient(circle at 86% 18%, rgba(103, 224, 194, 0.22), transparent 28rem),
    linear-gradient(120deg, #080911 0%, #0c1018 42%, #06070b 100%);
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 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, black, transparent 70%);
}

body::after {
  position: fixed;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 44rem;
  content: "";
  background: radial-gradient(ellipse, rgba(103, 224, 194, 0.14), transparent 66%);
  filter: blur(30px);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 13, 0.7);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

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

.brand__mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(103, 224, 194, 0.94), rgba(126, 168, 255, 0.76)),
    #111827;
  box-shadow: 0 18px 45px rgba(103, 224, 194, 0.18);
}

.brand__mark::before,
.brand__mark::after {
  display: block;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid #061018;
  border-radius: 50%;
}

.brand__mark::after {
  position: absolute;
  width: 6px;
  height: 6px;
  transform: translate(9px, -9px);
  background: #061018;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav a {
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lang-switch:hover {
  border-color: rgba(103, 224, 194, 0.46);
  background: rgba(103, 224, 194, 0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 72px 0 92px;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 54px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 9vw, 7.9rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: #061018;
  background: linear-gradient(135deg, var(--accent), #d8fff4);
  box-shadow: 0 18px 45px rgba(103, 224, 194, 0.22);
}

.button--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost:hover {
  border-color: rgba(126, 168, 255, 0.54);
  background: rgba(126, 168, 255, 0.12);
}

.mail-plane {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.mail-plane__card {
  position: absolute;
  inset: 20px 0 auto auto;
  width: min(100%, 430px);
  min-height: 470px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    rgba(11, 14, 22, 0.84);
  box-shadow: 0 42px 120px var(--shadow);
  transform: rotateY(-10deg) rotateX(7deg);
  transform-origin: center;
}

.mail-plane__card::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  pointer-events: none;
}

.mail-plane__orb {
  position: absolute;
  right: 24px;
  bottom: 46px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, #ffffff, transparent 24%),
    radial-gradient(circle at 62% 74%, rgba(126, 168, 255, 0.94), transparent 34%),
    var(--accent);
  filter: saturate(1.16);
  opacity: 0.88;
}

.mail-plane__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mail-address {
  margin: 26px 0 38px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.05em;
}

.mail-address span {
  color: var(--accent);
}

.wire-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wire-list li {
  display: grid;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wire-list strong {
  font-size: 0.96rem;
}

.wire-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section--line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section__head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 44px;
}

.section__head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--line);
}

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 30px;
  background: rgba(7, 8, 13, 0.82);
}

.step__num {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step h3 {
  margin-bottom: 9px;
  font-size: 1.3rem;
}

.step p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

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

.fact {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.fact strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.fact p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.notice {
  padding: 28px;
  border: 1px solid rgba(103, 224, 194, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(103, 224, 194, 0.13), transparent 56%),
    var(--panel);
}

.notice h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.notice p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding: 46px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--ink);
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .topbar__inner {
    min-height: 68px;
  }

  .nav a:not(.lang-switch) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 70px;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .mail-plane {
    min-height: 420px;
  }

  .mail-plane__card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 390px;
    transform: none;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand__text span {
    display: none;
  }

  .topbar__inner {
    gap: 10px;
  }

  .lang-switch {
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px;
  }

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

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