:root {
  color-scheme: dark;
  --bg: #080d14;
  --card: #101823;
  --card-soft: #151f2c;
  --line: #263447;
  --text: #f4f8fb;
  --muted: #93a4b7;
  --accent: #58a6ff;
  --accent-2: #7c5cff;
  --success: #5ee2a0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(88, 166, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(124, 92, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, #080d14 0%, #0b111a 48%, #070a10 100%);
  color: var(--text);
}

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

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

.nav,
.hero,
.grid,
.steps,
footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

.brand,
.langs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.langs {
  padding: 5px;
  border: 1px solid rgba(147, 164, 183, 0.18);
  border-radius: 999px;
  background: rgba(16, 24, 35, 0.72);
}

.langs a {
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.langs a[aria-current="page"] {
  color: #06111f;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.7fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 42px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
}

.primary {
  background: linear-gradient(135deg, var(--accent), #8ee8ff);
  color: #06111f;
  box-shadow: 0 24px 60px rgba(88, 166, 255, 0.22);
}

.secondary {
  border: 1px solid rgba(147, 164, 183, 0.22);
  background: rgba(16, 24, 35, 0.7);
  color: var(--text);
}

.product-card,
.grid article,
.steps,
.faq {
  border: 1px solid rgba(147, 164, 183, 0.18);
  background: linear-gradient(180deg, rgba(21, 31, 44, 0.82), rgba(16, 24, 35, 0.92));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
}

.product-card {
  min-height: 480px;
  padding: 18px;
  border-radius: 34px;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 8px 0 18px 6px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #405169;
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed rgba(142, 232, 255, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(rgba(88, 166, 255, 0.08), rgba(124, 92, 255, 0.06)),
    #0b1118;
  text-align: center;
}

.drop-zone strong {
  display: block;
  margin-top: 18px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.drop-zone small {
  margin-top: 5px;
  color: var(--muted);
}

.progress {
  height: 12px;
  margin: 24px 4px 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #0b1118;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.terminal {
  margin: 0 4px;
  padding: 18px;
  border: 1px solid rgba(147, 164, 183, 0.16);
  border-radius: 22px;
  background: #070b11;
  color: #d7e0ea;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.grid article {
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
}

.grid p,
.steps li,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 34px;
}

.steps ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.steps li > span {
  grid-column: 1;
}

.steps li > .step-copy {
  grid-column: 2;
  min-width: 0;
}

.steps a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(88, 166, 255, 0.55);
  text-underline-offset: 3px;
}

.steps code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent);
  font-weight: 900;
}


.faq {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 20px;
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 34px;
}

.faq details {
  grid-column: 2;
  border: 1px solid rgba(147, 164, 183, 0.14);
  border-radius: 18px;
  background: rgba(8, 13, 20, 0.42);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

code {
  color: #d8f7ff;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.source-note {
  margin: -18px 0 34px;
  padding: 18px 22px;
  border: 1px solid rgba(147, 164, 183, 0.14);
  border-radius: 22px;
  background: rgba(8, 13, 20, 0.58);
  color: var(--muted);
}

.source-note p {
  margin: 0;
  line-height: 1.55;
}

.source-note strong {
  color: var(--text);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(147, 164, 183, 0.14);
  padding-top: 24px;
  font-size: 14px;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .steps,
  .faq {
    grid-template-columns: 1fr;
  }

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

  .faq details {
    grid-column: 1;
  }

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .nav {
    margin-bottom: 48px;
  }

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

  .button {
    width: 100%;
  }
}


.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lang-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(147, 164, 183, 0.18);
  border-radius: 30px;
  margin-bottom: 34px;
  background: linear-gradient(180deg, rgba(21, 31, 44, 0.82), rgba(16, 24, 35, 0.92));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
}

.trust p,
.checksum-card p {
  color: var(--muted);
  line-height: 1.6;
}

.checksum-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.checksum-card pre {
  max-width: 100%;
  margin: 0 0 20px;
  overflow-x: auto;
  white-space: pre;
  padding: 14px;
  border: 1px solid rgba(147, 164, 183, 0.16);
  border-radius: 16px;
  background: #070b11;
}

h1,
h2,
.lead,
.button,
.langs a,
.faq summary,
.trust p,
.checksum-card p {
  overflow-wrap: break-word;
}

@media (max-width: 860px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 20px, 1120px);
  }

  .nav {
    gap: 14px;
    margin-bottom: 34px;
  }

  .brand span {
    font-size: 15px;
  }

  .language-switcher {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .langs {
    width: 100%;
    justify-content: space-between;
  }

  .langs a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
  }

  .hero {
    gap: 24px;
  }

  h1 {
    font-size: clamp(34px, 13vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.052em;
  }

  .lead {
    font-size: 16px;
  }

  .product-card,
  .steps,
  .faq,
  .trust {
    border-radius: 24px;
    padding: 20px;
  }

  .drop-zone {
    min-height: 210px;
    padding: 18px;
  }

  .steps li {
    grid-template-columns: 30px minmax(0, 1fr);
  }
}


.trust > *,
.checksum-card,
.checksum-card pre,
.checksum-card code {
  min-width: 0;
}

.checksum-card pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.checksum-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
