@font-face {
  font-family: Inter;
  src: url(inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f1f2f4;
  --panel: #fff;
  --sunken: #ecedef;
  --line: #e0e2e5;
  --ink: #17181a;
  --body: #3e4147;
  --muted: #63676e;
  --green: #1f6e43;
  --red: #b42323;
  --warn: #875900;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    16px / 1.6 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  font: inherit;
  cursor: pointer;
}
button {
  color: inherit;
}
:focus-visible {
  outline: 2px solid #2f5e8c;
  outline-offset: 4px;
}
.wrap {
  width: min(1220px, 91%);
  margin-inline: auto;
}
header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.nav,
footer > .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav {
  min-height: 60px;
  padding-block: 8px;
}
.brand {
  display: inline-flex;
  color: var(--ink);
}
.wordmark {
  width: 133px;
  height: auto;
  fill: currentColor;
}
.nav nav,
footer > .wrap > div,
.navend,
.actions,
.btn,
.secondary,
.doc,
.warning,
.eyebrow,
.section-head,
.steps {
  display: flex;
  align-items: center;
}
nav {
  gap: 4px;
  font-size: 14px;
}
nav a {
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--body);
  font-weight: 500;
}
nav a:hover {
  background: var(--sunken);
  color: var(--ink);
}
.navend {
  margin-left: auto;
  gap: 10px;
}
.btn,
.secondary {
  justify-content: center;
  width: fit-content;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s;
}
.btn {
  background: var(--ink);
  color: #fff;
}
.btn:hover {
  background: var(--body);
}
.nav .btn {
  min-height: 36px;
  padding-inline: 16px;
  font-size: 13px;
}
.secondary {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.secondary:hover {
  background: var(--sunken);
}
#menu,
#mobile-nav {
  display: none;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.secondary .icon,
.doc .icon {
  width: 16px;
  height: 16px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
p {
  color: var(--body);
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.market-field {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 420px;
  background: url(market-field.svg) center / cover no-repeat;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, #000, transparent 35% 65%, #000);
}
.hero-grid {
  padding-top: clamp(48px, 5.8vw, 92px);
  display: grid;
  justify-items: center;
  gap: 44px;
}
.hero-copy {
  text-align: center;
  max-width: 980px;
}
.eyebrow {
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.eyebrow i {
  display: none;
}
.hero .eyebrow {
  justify-content: center;
}
h1 {
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 16px 0 22px;
}
.hero-copy > p {
  max-width: 680px;
  margin: auto;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
}
.actions {
  justify-content: center;
  gap: 12px;
  margin: 26px 0 14px;
}
.warning {
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.warning .icon {
  color: var(--warn);
  width: 15px;
  height: 15px;
}
.terminal-shot {
  display: block;
  width: min(100%, 1120px);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 32px 70px -35px #17181a59;
}
.terminal-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.hero {
  padding-bottom: 54px;
}
.section {
  padding-block: clamp(48px, 6vw, 88px);
}
.section-head {
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 32px;
}
.eyebrow + h2 {
  margin-top: 12px;
}
.doc {
  gap: 8px;
  font-size: 14px;
  color: var(--body);
  width: fit-content;
}
.doc:hover,
footer a:hover,
footer button:hover {
  text-decoration: underline;
}
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fee {
  --accent: var(--green);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.loss {
  --accent: var(--red);
}
.liquid {
  --accent: var(--warn);
}
.visual {
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--sunken);
  height: 148px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.iconbox {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.visual .iconbox {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
}
.visual .iconbox .icon {
  width: 16px;
  height: 16px;
}
.spark {
  width: 57%;
  height: 88px;
}
.fee p,
.risks p,
.start p,
.intro {
  margin-top: 10px;
}
.band {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.intro {
  max-width: 780px;
}
.flow {
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding: 36px 6%;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.flow article {
  flex: 1;
  text-align: center;
}
.flow p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
}
.coin {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 var(--line);
}
.coin .mark {
  width: 26px;
  height: 28px;
}
.coin.red {
  color: var(--red);
}
.coin.blue {
  color: #2f5e8c;
  font-size: 26px;
}
.connector {
  width: 12%;
  height: 1px;
  background: #9599a0;
  align-self: flex-start;
  margin-top: 27px;
  position: relative;
}
.connector:after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.possible {
  background: repeating-linear-gradient(90deg, #9599a0 0 4px, transparent 4px 8px);
}
.risk-layout,
.start,
.faq {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
}
.risk-layout .doc {
  margin-top: 22px;
}
.risks {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
}
.risks article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
}
.risks article + article {
  border-top: 1px solid var(--line);
}
.risks .iconbox {
  flex: none;
  background: var(--page);
  color: var(--body);
}
.risks h3 {
  font-size: 20px;
}
.risks p {
  margin-top: 5px;
}
.start {
  align-items: center;
}
.start .btn {
  margin-top: 20px;
}
.steps {
  gap: 10px;
}
.steps > div {
  flex: 1;
  text-align: center;
  padding: 22px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
}
.steps .icon {
  display: block;
  margin: 0 auto 10px;
  width: 28px;
  height: 28px;
}
.steps strong {
  font-size: 14px;
  font-weight: 500;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
}
.faq summary {
  list-style: none;
  padding: 16px 42px 16px 18px;
  font-weight: 500;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary i:before,
summary i:after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
}
summary i:after {
  transform: rotate(90deg);
}
details[open] summary i:after {
  transform: none;
}
details p {
  margin: 0 18px 16px;
}
details p a {
  text-decoration: underline;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  background: var(--panel);
}
footer > .wrap {
  justify-content: space-between;
}
footer > .wrap > div {
  flex-wrap: wrap;
  gap: 18px;
}
footer button,
footer a {
  color: var(--body);
  font-size: 14px;
}
footer button,
#close,
#menu {
  background: none;
  border: 0;
  padding: 0;
}
dialog {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: min(440px, 92vw);
  padding: 32px;
}
dialog p {
  margin: 14px 0;
}
dialog::backdrop {
  background: #17181a52;
}
#close {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  .terminal-shot {
    animation: reveal 0.6s ease-out both;
  }
  .draw {
    stroke-dasharray: 210;
    animation: trace 2s ease-out both;
  }
  .connector:after {
    animation: flow 3s infinite;
  }
  .possible:after {
    animation-delay: 1.5s;
  }
  .steps .icon {
    animation: highlight 6s infinite;
  }
  .steps > div:nth-child(2) .icon {
    animation-delay: 2s;
  }
  .steps > div:nth-child(3) .icon {
    animation-delay: 4s;
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes trace {
  from {
    stroke-dashoffset: 210;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes flow {
  0%,
  10% {
    left: 0;
    opacity: 0;
  }
  30%,
  70% {
    opacity: 1;
  }
  95%,
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes highlight {
  20% {
    color: var(--green);
    transform: translateY(-2px);
  }
}
@media (max-width: 800px) {
  .nav nav {
    gap: 0;
  }
  .nav {
    gap: 10px;
  }
  .fee {
    padding: 16px;
  }
  .visual {
    height: 115px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .risk-layout,
  .start,
  .faq {
    gap: 28px;
  }
}
@media (max-width: 680px) {
  .nav nav {
    display: none;
  }
  #menu {
    display: block;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  #mobile-nav:not([hidden]) {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-copy > p {
    max-width: 45ch;
  }
  .fee-grid,
  .risk-layout,
  .start,
  .faq {
    grid-template-columns: 1fr;
  }
  .flow {
    flex-direction: column;
    gap: 10px;
    padding: 25px 12px;
  }
  .connector {
    width: 1px;
    height: 24px;
    align-self: center;
    margin: 0;
  }
  .connector:after {
    display: none;
  }
  .possible {
    background: repeating-linear-gradient(#9599a0 0 4px, transparent 4px 8px);
  }
  .risk-layout h2 br {
    display: none;
  }
  .steps {
    gap: 6px;
  }
  .visual {
    height: 140px;
  }
  footer > .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-bottom: 32px;
  }
  .hero-grid {
    padding-top: 42px;
  }
  .terminal-shot {
    width: min(77vw, 300px);
    border-radius: 30px;
    box-shadow:
      0 0 0 4px white,
      0 0 0 5px var(--line),
      0 20px 40px -20px #17181a59;
  }
  .actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .btn,
  .secondary {
    min-height: 44px;
    padding-inline: 14px;
  }
  .warning {
    align-items: flex-start;
  }
  .warning .icon {
    margin-top: 2px;
  }
  .market-field {
    opacity: 0.16;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Layout fixes for narrow screens */
.nav .btn {
  white-space: nowrap;
}
.steps {
  align-items: stretch;
}
.steps > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1200px) {
  .market-field {
    mask-image: linear-gradient(90deg, #000, transparent 14% 86%, #000);
  }
}
@media (max-width: 600px) {
  .warning {
    display: block;
    text-align: center;
    text-wrap: balance;
  }
  .warning .icon {
    display: inline-block;
    vertical-align: -3px;
    margin: 0 4px 0 0;
  }
}
@media (max-width: 380px) {
  .nav {
    gap: 8px;
  }
  .wordmark {
    width: 104px;
  }
  .navend {
    gap: 6px;
  }
  .nav .btn {
    padding-inline: 12px;
    font-size: 12px;
  }
  .steps strong {
    font-size: 13px;
  }
}
