@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0a0a0b;
  color: #f3f3f1;
  font-family: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.15rem 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f4f1ea;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg {
  display: block;
}

.bar nav {
  display: flex;
  flex: none;
  gap: 1.15rem;
  margin-left: auto;
  color: #f3f3f1;
  font-size: 0.95rem;
}

.bar nav a {
  text-decoration: none;
}

.bar nav a:hover,
.foot a:hover {
  color: #f3f3f1;
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem 1rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.mint {
  color: #5eeaa8;
}

.lead {
  margin: 1.1rem 0 0;
  color: #8c8c93;
  font-size: 1.2rem;
}

.shot {
  display: block;
  width: min(340px, 78vw);
  height: auto;
  margin: 2.4rem auto 0;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.4rem 2rem;
}

.page h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  text-align: left;
}

.page p,
.page li {
  color: #c8c8c4;
  font-size: 1.05rem;
  line-height: 1.55;
}

.page h2 {
  margin: 2.4rem 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mail {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.9rem 1.25rem;
  background: #f3f3f1;
  color: #0a0a0b;
  font-weight: 650;
  text-decoration: none;
  border-radius: 999px;
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.4rem 2.5rem;
  color: #8c8c93;
  font-size: 0.92rem;
}

.foot a {
  color: #8c8c93;
  text-decoration: none;
}

.foot span {
  margin: 0 0.35rem;
}

@media (max-width: 640px) {
  .bar {
    padding-inline: 1rem;
  }

  .bar nav {
    gap: 0.85rem;
    font-size: 0.92rem;
  }

  .hide-sm {
    display: none;
  }

  .shot {
    width: min(280px, 84vw);
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero {
    padding-top: 2.8rem;
  }
}

/* language switch */
.lang {
  padding: 0.3rem 0.65rem;
  border: 1px solid #2c2c30;
  border-radius: 999px;
  background: none;
  color: #8c8c93;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.lang:hover {
  color: #f3f3f1;
}

/* price button: Get Lifetime Access  $49  $19 */
.buy {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding: 0.5rem 0.55rem 0.5rem 1.3rem;
  border-radius: 999px;
  background: #f3f3f1;
  color: #0a0a0b;
  font-weight: 650;
  text-decoration: none;
}

.buy s {
  color: #8c8c93;
  font-weight: 500;
}

.buy b {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #0a0a0b;
  color: #f3f3f1;
  font-weight: 650;
}

.buy:hover b {
  background: #1c1c1f;
}

/* connection panel */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 1rem;
}

.wrap h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  text-align: left;
  letter-spacing: -0.04em;
}

.panel {
  margin-top: 1.6rem;
  border: 1px solid #232326;
  border-radius: 24px;
  background: #101012;
  overflow: hidden;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem;
  overflow-x: auto;
  border-bottom: 1px solid #232326;
  background: #141416;
}

.tab {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: #8c8c93;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tab i {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border-radius: 50%;
  background: #1c1c1f;
  font-size: 0.8rem;
  font-style: normal;
}

.tab[aria-selected="true"] {
  border-color: #2c2c30;
  background: #1f1f23;
  color: #f3f3f1;
}

.tab[aria-selected="true"] i {
  background: #5eeaa8;
  color: #0a0a0b;
}

.mode {
  display: flex;
  flex: none;
  margin-left: auto;
  padding: 0.25rem;
  border-radius: 999px;
  background: #1c1c1f;
}

.mode button {
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #8c8c93;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.mode button[aria-pressed="true"] {
  background: #f3f3f1;
  color: #0a0a0b;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.4rem 2rem;
  padding: 1.8rem 1.6rem;
  border-bottom: 1px solid #232326;
}

.step:last-child {
  border-bottom: 0;
}

.step .n {
  color: #8c8c93;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
}

.step h2 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: #8c8c93;
  line-height: 1.5;
}

.act .go {
  display: inline-block;
  padding: 0.85rem 1.3rem;
  border-radius: 14px;
  background: #f3f3f1;
  color: #0a0a0b;
  font-weight: 650;
  text-decoration: none;
}

.act .hint {
  margin: 0.9rem 0 0.7rem;
  font-size: 0.95rem;
}

.code {
  position: relative;
  margin: 0;
  padding: 1.05rem 3.4rem 1.05rem 1.1rem;
  border-radius: 14px;
  background: #050506;
  color: #f3f3f1;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code + .code {
  margin-top: 0.6rem;
}

.copy {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #1c1c1f;
  color: #c8c8c4;
  cursor: pointer;
}

.copy:hover {
  color: #f3f3f1;
}

.copy.ok {
  color: #5eeaa8;
}

@media (max-width: 760px) {
  .code {
    font-size: 0.8rem;
  }

  .step {
    grid-template-columns: 1fr;
    padding: 1.4rem 1.1rem;
  }

  .mode {
    margin-left: 0.5rem;
  }
}

/* the parts the browser draws, from the palette */
::selection {
  background: #5eeaa8;
  color: #0a0a0b;
}

input,
textarea {
  caret-color: #5eeaa8;
}

:focus-visible {
  outline: 2px solid #5eeaa8;
  outline-offset: 3px;
  border-radius: 6px;
}

.tabs {
  scrollbar-width: thin;
  scrollbar-color: #2c2c30 transparent;
}

h1,
h2 {
  text-wrap: balance;
}

.price b,
.buy b,
.buy s {
  font-variant-numeric: tabular-nums;
}

.arrow {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.35em;
  vertical-align: -0.05em;
}

/* short, exponential ease-out; press feedback on everything clickable */
.buy,
.go,
.tab,
.lang,
.copy,
.mode button,
button.go,
.link {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s cubic-bezier(0.16, 1, 0.3, 1), color 0.16s;
}

.buy:active,
.go:active,
.tab:active,
.copy:active,
button.go:active {
  transform: scale(0.97);
}

.go:hover {
  background: #ffffff;
}

.tab:hover {
  color: #f3f3f1;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(3px);
  }
}

#steps > .step {
  animation: settle 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#steps > .step:nth-child(2) {
  animation-delay: 0.05s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
