@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/CormorantGaramond-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

:root {
  --display: "Cormorant Garamond", Georgia, serif;
}
html {
  scroll-padding-top: 24px;
}
.skip-link {
  z-index: 100;
}
.masthead {
  position: absolute;
  z-index: 10;
  top: 20px;
  inset-inline: max(24px, calc((100% - 1536px) / 2));
  color: white;
}
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 13px 10px 21px;
  min-height: 58px;
  gap: 20px;
  background: rgb(17 50 78 / 25%);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
}
.masthead .brand {
  width: fit-content;
}
.masthead .brand img {
  width: 115px;
}
.masthead-nav,
.masthead-actions {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.masthead-nav {
  gap: clamp(16px, 2.15vw, 36px);
  font-size: 13px;
}
.masthead-nav a:hover,
.demo-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.masthead-actions {
  justify-content: end;
  gap: 20px;
}
.masthead .language-switcher {
  display: inline-flex;
  align-items: baseline;
  padding: 0;
  border: 0;
  gap: 6px;
  background: transparent;
}
.masthead .language-switcher button {
  font: 500 11px/18px var(--mono);
  color: #fff;
  padding: 4px 2px;
}
.masthead .language-switcher button[aria-pressed="true"] {
  color: white;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.masthead .header-cta,
.start-button {
  background: #fff;
  color: #111316;
  border: 0;
}
.masthead .header-cta:hover,
.start-button:hover {
  background: #e5edf2;
}
.header-cta .icon,
.start-button .icon {
  width: 16px;
  height: 16px;
}
.masthead .header-cta {
  min-height: 39px;
  line-height: 19px;
  padding: 10px 14px;
  gap: 12px;
}
.mobile-nav {
  margin-top: 5px;
  background: #172c3e;
  padding: 10px 18px;
  border-radius: 12px;
}
.cover {
  color: #fff;
  min-height: clamp(600px, 78svh, 840px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  background-color: #3e82b6;
  background-image:
    linear-gradient(
      to bottom,
      rgb(12 47 77 / 9%) 0%,
      rgb(14 43 67 / 24%) 29%,
      rgb(22 50 69 / 44%) 53%,
      rgb(13 29 40 / 74%) 79%,
      #0f1011 100%
    ),
    url("assets/daylight-clouds.webp");
  background-size: cover;
  background-position: center center;
}
.cover-copy {
  width: min(1280px, calc(100% - 64px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: auto;
  padding-block: 127px 56px;
}
.protocol {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: 500 11px/16px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  padding: 5px 11px;
  border: 1px solid rgb(255 255 255 / 46%);
  background: rgb(13 57 91 / 34%);
  border-radius: 6px;
}
.protocol img {
  width: 14px;
  height: 15px;
}
.cover h1 {
  font: 500 clamp(65px, 7.1vw, 112px) / 0.95 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 20px 0 0;
}
.cover-description {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.48;
  letter-spacing: -0.015em;
  margin-top: 22px;
  text-shadow: 0 1px 6px #0f304887;
}
.cover-description span {
  display: block;
}
.cover-actions {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 24px;
  font-size: 13px;
}
.start-button {
  min-height: 46px;
  font-weight: 550;
  font-size: inherit;
  line-height: 20px;
  padding: 13px 17px;
  border-radius: 8px;
  gap: 15px;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  padding-block: 8px;
  font-weight: 500;
}
.demo-link svg {
  width: 18px;
  height: 18px;
}
.chain-strip {
  text-align: center;
  padding: 0 20px 34px;
  color: #e8eaed;
}
.chain-strip p {
  color: #c4cbd1;
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.chain-strip ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
}
.chain-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.045em;
}
.eth-mark,
.arb-mark {
  filter: grayscale(1) brightness(1.9);
}
.base-mark {
  filter: brightness(0) invert(1);
}
.rh-lockup {
  width: 129px;
  height: 18px;
}
.features.section {
  padding-block: clamp(42px, 4.6vw, 72px) 0;
}
.features .section-intro {
  margin-bottom: clamp(22px, 2.3vw, 34px);
}
.market-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(35px, 7vw, 112px);
}
.market-demo-copy h2 {
  font: 500 clamp(42px, 5vw, 76px) / 0.98 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.market-demo-copy p {
  margin-block: 20px;
  max-width: 410px;
  font-size: 15px;
  color: var(--muted);
}
.swap-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
@media (max-width: 1040px) {
  .masthead-inner {
    grid-template-columns: auto 1fr auto;
  }
  .masthead-nav {
    justify-content: center;
    gap: 16px;
  }
  .masthead-actions {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .masthead {
    top: 12px;
    inset-inline: 12px;
  }
  .masthead-inner {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    min-height: 53px;
    padding: 6px 9px 6px 13px;
  }
  .masthead-nav {
    display: none;
  }
  .masthead .brand img {
    width: clamp(80px, 21vw, 111px);
  }
  .masthead-actions {
    gap: 10px;
    align-items: center;
  }
  .masthead .header-cta {
    min-height: 33px;
    padding: 7px 9px;
    gap: 5px;
  }
  .masthead .menu-button {
    height: 34px;
    width: 25px;
  }
  .masthead .wide-label {
    display: none;
  }
  .masthead .short-label {
    display: inline;
  }
  .cover {
    min-height: clamp(560px, 83svh, 730px);
    background-position: 55% center;
  }
  .cover-copy {
    width: calc(100% - 32px);
    padding-block: 100px 42px;
  }
  .cover h1 {
    font-size: clamp(53px, 11vw, 78px);
    max-width: 620px;
  }
  .cover-description {
    font-size: 15px;
    max-width: 355px;
    line-height: 1.45;
    margin-top: 19px;
  }
  .cover-actions {
    margin-top: 24px;
    gap: 10px 17px;
  }
  .chain-strip {
    padding: 0 15px 28px;
  }
  .chain-strip ul {
    gap: 8px 20px;
  }
  .chain-strip li {
    font-size: 16px;
  }
  .market-demo {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
@media (max-width: 540px) {
  .chain-strip ul {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px 30px;
  }
  .chain-strip li {
    justify-content: start;
  }
  .chain-strip .rh-lockup {
    width: 118px;
  }
}
@media (max-width: 360px) {
  .masthead-actions {
    gap: 5px;
  }
  .cover-actions {
    gap: 5px 12px;
    font-size: 12px;
  }
  .start-button {
    padding-inline: 12px;
    gap: 7px;
  }
}
