@font-face {
  font-family: Public Sans;
  src: url("/assets/public-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #111318;
  --paper: #f4f5f7;
  --muted: #596575;
  --line: #c0c7d1;
  --yellow: #f0b90b;
  --white: #fff;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Public Sans,
    Arial,
    sans-serif;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--muted);
  outline-offset: 5px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin: auto;
}
header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 180px;
  height: 50px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.button,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 25px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.secondary {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: inherit;
}
.hero {
  padding: 62px 0 70px;
}
.hero h1 {
  font-size: clamp(56px, 7.3vw, 106px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  font-weight: 600;
  margin: 0;
  max-width: 1080px;
}
.hero .intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 40px;
}
.hero p {
  font-size: 22px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}
.reserve {
  margin-top: 65px;
  border-radius: 30px;
  padding: 38px 42px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  min-height: 210px;
  position: relative;
  overflow: hidden;
}
.reserve h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 20px;
}
.reserve strong {
  font-size: 32px;
  font-weight: 550;
}
.reserve .center {
  text-align: center;
  border: 2px solid var(--yellow);
  border-radius: 20px;
  padding: 25px;
}
.reserve .right {
  text-align: right;
}
.reserve .flow {
  position: absolute;
  bottom: 0;
  height: 4px;
  width: 18%;
  background: var(--yellow);
  animation: flow 8s linear infinite;
}
.reserve:hover .flow,
.reserve:focus-within .flow,
.paused .flow {
  animation-play-state: paused;
}
@keyframes flow {
  from {
    transform: translateX(-150%);
  }
  to {
    transform: translateX(700%);
  }
}
.market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 75px 0 100px;
  align-items: center;
}
.market h2,
.mechanism h2,
.cta h2 {
  font-size: clamp(36px, 4.3vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: 550;
  margin: 0 0 24px;
}
.market p,
.mechanism p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
}
.market-data {
  background: white;
  border-radius: 24px;
  padding: 34px;
}
.market-data .asset {
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 30px;
}
.data-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-size: 18px;
}
.data-row span:first-child {
  color: var(--muted);
}
.data-row strong {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.market-data .source {
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0 20px;
  color: var(--muted);
}
.mechanism {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 0;
}
.mechanism .layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.mechanism p {
  color: var(--line);
}
.mechanism article {
  padding: 0 0 38px;
}
.mechanism h3 {
  font-size: 28px;
  font-weight: 550;
  margin: 0 0 10px;
}
.cta {
  padding: 95px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta h2 {
  max-width: 700px;
  margin: 0;
}
footer {
  background: #dfe3e9;
  padding: 45px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
footer .links {
  display: flex;
  gap: 25px;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 20px;
  top: -60px;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 20px;
  z-index: 10;
}
.docs {
  max-width: 800px;
  padding: 55px 0 100px;
}
.docs h1,
.app-title h1 {
  font-size: 56px;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin: 0 0 32px;
}
.docs h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 45px 0 18px;
}
.docs p,
.docs li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.docs a {
  text-decoration: underline;
}
.address {
  overflow-wrap: anywhere;
}
.app-title {
  padding: 40px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.app-title h1 {
  margin: 0;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 35px;
  padding: 30px 0 80px;
}
.account,
.operation {
  background: white;
  border-radius: 24px;
  padding: 35px;
}
.account h2,
.operation h2 {
  font-size: 25px;
  font-weight: 550;
  margin: 0 0 26px;
}
.account-value {
  font-size: 50px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin: 22px 0 8px;
}
.account .unit {
  color: var(--muted);
  margin-bottom: 28px;
}
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}
.tabs button {
  background: var(--paper);
  border: 0;
  padding: 14px 22px;
  border-radius: 10px;
  min-height: 48px;
}
.tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.operation label {
  display: block;
  margin: 24px 0 12px;
}
.input-row {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  gap: 12px;
}
.input-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline-offset: 10px;
  font-size: 30px;
  background: transparent;
}
.input-row button {
  border: 0;
  background: var(--paper);
  border-radius: 8px;
  padding: 0 15px;
}
.operation .primary {
  width: 100%;
  margin-top: 28px;
}
.notice {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
}
.status {
  font-size: 16px;
  line-height: 1.6;
  min-height: 26px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.error {
  color: #9a342a;
}
.account-link {
  display: block;
  width: fit-content;
  margin-top: 20px;
  text-decoration: underline;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: 24px;
  padding: 36px;
  width: min(540px, calc(100% - 32px));
  color: var(--ink);
  background: white;
}
dialog::backdrop {
  background: #11131880;
}
dialog h2 {
  margin-top: 0;
}
dialog .actions {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}
.review-line {
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  header {
    height: 90px;
  }
  .brand img {
    width: 135px;
    height: 42px;
  }
  nav {
    gap: 16px;
    font-size: 14px;
  }
  nav .button {
    padding: 12px;
    min-height: 44px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero .intro {
    display: block;
  }
  .hero p {
    font-size: 18px;
  }
  .hero .intro .button {
    margin-top: 28px;
  }
  .reserve {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 42px;
  }
  .reserve .right,
  .reserve .center {
    text-align: left;
  }
  .reserve strong {
    font-size: 27px;
  }
  .reserve h2 {
    margin-bottom: 10px;
  }
  .market,
  .mechanism .layout,
  .app-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .market {
    padding: 35px 0 65px;
  }
  .mechanism {
    padding: 60px 0;
  }
  .mechanism .layout {
    gap: 20px;
  }
  .cta {
    display: block;
    padding: 65px 0;
  }
  .cta .button {
    margin-top: 30px;
  }
  footer .wrap {
    display: block;
  }
  footer .links {
    margin-top: 25px;
  }
  .app-title {
    display: block;
  }
  .app-title button {
    margin-top: 25px;
  }
  .app-title h1,
  .docs h1 {
    font-size: 43px;
  }
  .account,
  .operation {
    padding: 25px;
  }
  .app-grid {
    padding-top: 20px;
  }
  .data-row {
    font-size: 16px;
  }
  .account-value {
    font-size: 43px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
button#max {
  min-height: 44px;
}
