@font-face {
  font-family: "NABD Montreal";
  src: url("./revamp/montreal-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "NABD OpenSauce";
  src: url("./revamp/open-sauce-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "NABD Montreal";
  src: url("./revamp/montreal-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #101010;
  --text: #f6f3f2;
  --lime: #bdee63;
  --gradient: linear-gradient(105deg, #85d851, #d4e66c);
  --body-font: "NABD Montreal", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--body-font); font-size: 18px; -webkit-font-smoothing: antialiased; }
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: #101010; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 18px; background: var(--lime); color: #101010; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1280px, calc(100% - 96px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 5; font-family: Arial, Helvetica, sans-serif; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 5px 38px 5px 9px; border: 2px solid #020202; border-radius: 100px; font-size: 18px; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 3px; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 100px; font-size: 13px; color: #999; transition: color .2s, background .2s; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a[aria-current] { color: #fff; background: #242424; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 56px; padding: 13px 35px; border: 1px solid transparent; border-radius: 100px; background: var(--gradient); color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.3; text-align: center; transition: filter .2s, border-color .2s, background-color .2s; }
a.button:hover { filter: brightness(1.08); }
.header-testnet { min-height: 38px; padding: 9px 20px; font-size: 14px; white-space: nowrap; }
.button-secondary { background: #242424; border-color: #595959; color: #eee; }
a.button-secondary:hover { background: #303030; border-color: #888; }
.mobile-menu { display: none; }

.hero { position: relative; isolation: isolate; width: min(1440px, calc(100% - 48px)); margin: 0 auto; aspect-ratio: 975.214844 / 502.324219; overflow: hidden; border-radius: 20px; background: #030a08; }
.hero-art { position: absolute; z-index: -2; top: -5.05%; left: 0; width: 100%; height: 109.44%; object-fit: fill; }
.hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-mobile-motif { display: none; }
.hero h1 { font-family: Arial, Helvetica, sans-serif; font-weight: 400; }
.hero-name { position: absolute; top: 36.9%; left: 50%; transform: translateX(-50%); font-size: clamp(32px, 4.1vw, 60px); font-weight: 400; line-height: 1.1; letter-spacing: -.06em; text-transform: uppercase; white-space: nowrap; }
.hero-positioning { position: absolute; top: 5.8%; right: 3.8%; font-size: clamp(22px, 2.65vw, 39px); letter-spacing: -.045em; line-height: 1.15; }
.hero-bottom { position: absolute; left: 4%; right: 5.3%; bottom: 6.2%; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-bottom p { font-family: Arial, Helvetica, sans-serif; font-size: clamp(16px, 2.2vw, 31px); line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.hero-bottom .button { min-height: 48px; padding: 12px 25px; font-size: clamp(14px, 1.65vw, 21px); white-space: nowrap; }

.section-shell { width: min(1240px, calc(100% - 112px)); margin: 0 auto; }
.display-heading { font-family: "NABD Montreal", Arial, sans-serif; font-weight: 300; font-size: clamp(42px, 6.9vw, 96px); line-height: 1.04; letter-spacing: 0; text-align: center; text-wrap: balance; }
mark { color: #101010; background: #f9f2f1; padding: 0 .025em .025em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.foundation { position: relative; padding-top: 76px; padding-bottom: 104px; }
.foundation-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 11%; row-gap: 48px; margin: 55px auto 30px; padding: 0 25px; }
.principle h3 { margin-bottom: 17px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(17px, 1.7vw, 23px); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; text-transform: uppercase; }
.principle h3 span { display: inline; padding: 8px 14px; box-decoration-break: clone; -webkit-box-decoration-break: clone; background: var(--gradient); color: #0c0e09; }
.principle p { color: #dedede; font-family: "NABD OpenSauce", Arial, sans-serif; font-size: clamp(20px, 2vw, 27px); line-height: 1.4; max-width: 490px; }
.audit { display: flex; justify-content: center; margin-top: 40px; }
.audit a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: Arial, sans-serif; font-size: 12px; color: #929292; }
.audit img { flex: 0 0 118px; width: 118px; max-width: 118px; height: auto; opacity: .8; }
.audit a:hover { color: #fff; }
.audit a:hover img { opacity: 1; }
.external-arrow { font-size: 14px; }

.testnet { position: relative; isolation: isolate; padding: 38px 0 170px; text-align: center; overflow: clip; }
.testnet-sculpture { position: absolute; z-index: -1; width: 85%; max-width: 1050px; height: auto; left: 5%; top: 10%; opacity: .025; transform: rotate(67deg); pointer-events: none; mask-image: linear-gradient(transparent, #000 20%, #000 70%, transparent); }
.linked-blocks { width: 290px; height: auto; margin: 65px auto 43px; }
.testnet-description { font-size: clamp(21px, 2.6vw, 34px); line-height: 1.4; }
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; margin-top: 42px; }
.actions .button { min-width: 265px; }

.ecosystem { width: min(1376px, calc(100% - 48px)); padding-top: 20px; padding-bottom: 135px; text-align: center; }
.ecosystem-description { margin-top: 18px; font-size: clamp(18px, 2.25vw, 29px); line-height: 1.35; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 64px; }
.venture { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.venture h3 { height: 130px; width: 100%; display: flex; align-items: center; justify-content: center; }
.venture h3 img { width: min(100%, 235px); max-height: 130px; height: auto; object-fit: contain; }
.venture p { margin: 24px -5px 35px; min-height: 70px; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.35; }
.venture .button { margin-top: auto; width: 100%; min-height: 60px; }
.coming-soon { cursor: default; }

.launch { width: min(1340px, calc(100% - 64px)); padding-top: 24px; padding-bottom: 140px; }
.launch .display-heading { font-size: clamp(42px, 6.7vw, 94px); }
.launch-description { max-width: 1110px; margin: 55px auto 0; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.4; color: #d9d9d9; }
.bloqs-signature { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 57px; }
.bloqs-signature img { width: 245px; height: auto; }
.bloqs-signature p { font-size: clamp(20px, 2.45vw, 32px); line-height: 1.3; }
.bloqs-signature p span { color: #a4d54c; }
.launch .actions { margin-top: 55px; }
.site-footer { width: min(1240px, calc(100% - 96px)); margin: 0 auto; border-top: 1px solid #292929; padding: 28px 0 32px; display: flex; justify-content: space-between; gap: 20px; font: 13px/1.5 Arial, sans-serif; color: #858585; }
.site-footer a:hover { color: #fff; }

@media (min-width: 1500px) {
  .hero-bottom p { font-size: 31px; }
  .hero-name { font-size: 60px; }
}
@media (max-width: 1100px) {
  .site-header { width: calc(100% - 64px); gap: 15px; }
  .brand { padding-right: 22px; font-size: 16px; }
  .desktop-nav a { font-size: 12px; padding: 0 9px; }
  .hero-bottom { gap: 15px; }
  .hero-bottom p { font-size: 2.05vw; }
  .hero-bottom .button { min-height: 40px; padding: 10px 20px; }
  .section-shell { width: calc(100% - 80px); }
  .foundation-grid { padding: 0; column-gap: 9%; row-gap: 40px; }
  .principle h3 span { padding: 7px 10px; }
  .linked-blocks { width: 240px; }
  .ecosystem-grid { gap: 24px; }
  .venture h3 { height: 105px; }
  .venture h3 img { max-height: 105px; }
  .venture .button { padding: 13px 15px; font-size: 16px; min-height: 52px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 80px; width: calc(100% - 40px); }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid #444; border-radius: 50%; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 17px; height: 1px; background: #eee; transition: transform .2s; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; right: 0; top: calc(100% - 3px); width: min(310px, calc(100vw - 40px)); border: 1px solid #424242; border-radius: 15px; padding: 12px; background: #181818; box-shadow: 0 20px 60px #0008; }
  .mobile-menu nav a { display: block; padding: 13px 14px; font-size: 16px; border-radius: 8px; }
  .mobile-menu nav a[aria-current], .mobile-menu nav a:hover { background: #292929; }
  .hero { width: calc(100% - 32px); }
  .hero-positioning { font-size: 22px; }
  .hero-name { font-size: 34px; }
  .hero-bottom { gap: 12px; left: 4%; right: 4%; }
  .hero-bottom p { font-size: 16px; white-space: normal; }
  .hero-bottom p:nth-child(2) { max-width: 230px; }
  .hero-bottom .button { padding: 10px 15px; font-size: 13px; }
  .section-shell { width: calc(100% - 48px); }
  .display-heading { font-size: clamp(44px, 7.7vw, 62px); line-height: 1.08; }
  .heading-line { display: inline-block; }
  .foundation { padding-top: 60px; padding-bottom: 70px; }
  .foundation-grid { column-gap: 30px; margin-top: 42px; }
  .principle h3 { font-size: clamp(14px, 2vw, 16px); line-height: 1.4; margin-bottom: 12px; }
  .principle h3 span { display: inline-block; max-width: 100%; }
  .principle p { font-size: 21px; }
  .wide-break { display: none; }
  .testnet { padding: 20px 0 95px; }
  .linked-blocks { margin-top: 42px; margin-bottom: 30px; width: 210px; }
  .actions { gap: 20px; margin-top: 30px; }
  .actions .button { min-width: 230px; font-size: 17px; }
  .ecosystem { padding-bottom: 90px; }
  .ecosystem-description { max-width: 570px; margin: 20px auto 0; font-size: 22px; }
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 32px; margin-top: 45px; }
  .venture h3 { height: 115px; }
  .venture h3 img { width: 215px; max-height: 115px; }
  .venture p { margin-top: 20px; margin-bottom: 22px; font-size: 21px; min-height: 57px; }
  .venture .button { max-width: 270px; }
  .launch { padding: 10px 0 90px; }
  .launch .display-heading { font-size: clamp(44px, 7.7vw, 62px); }
  .launch-description { margin-top: 35px; font-size: 25px; }
  .bloqs-signature { flex-direction: column; gap: 22px; text-align: center; margin-top: 35px; }
  .bloqs-signature img { width: 200px; }
  .bloqs-signature p { font-size: 23px; }
  .launch .actions { margin-top: 35px; }
}
@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); min-height: 74px; }
  .brand { gap: 7px; padding: 4px 20px 4px 6px; font-size: 15px; }
  .brand img { width: 29px; height: 29px; }
  .header-actions { gap: 9px; }
  .header-testnet { font-size: 13px; padding: 9px 14px; min-height: 44px; }
  .hero { width: calc(100% - 24px); aspect-ratio: auto; min-height: clamp(500px, 145vw, 590px); border: 7px solid #fff; border-radius: 16px; }
  .hero-art { top: 0; height: 100%; object-fit: cover; object-position: 42% center; }
  .hero-frame { display: none; }
  .hero-mobile-motif { display: block; position: absolute; top: 45%; right: -1px; width: 53%; height: auto; }
  .hero-name { top: 30%; width: 100%; text-align: center; font-size: clamp(28px, 8.9vw, 45px); letter-spacing: -.065em; }
  .hero-positioning { top: 25px; right: 18px; left: 18px; text-align: right; font-size: clamp(18px, 5.35vw, 26px); }
  .hero-bottom { bottom: 22px; left: 20px; right: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
  .hero-bottom p { font-size: 19px; line-height: 1.3; }
  .hero-bottom p:nth-child(2) { max-width: 260px; }
  .hero-bottom .button { margin-top: 7px; min-height: 44px; padding: 12px 25px; font-size: 15px; }
  .section-shell { width: calc(100% - 40px); }
  .display-heading, .launch .display-heading { font-size: clamp(32px, 9vw, 54px); line-height: 1.2; }
  .heading-line { display: block; }
  .foundation { padding-top: 52px; padding-bottom: 60px; }
  .foundation-grid { grid-template-columns: 1fr; gap: 33px; margin-top: 36px; }
  .principle h3 { font-size: clamp(14px, 4vw, 17px); margin-bottom: 12px; }
  .principle p { font-size: 21px; line-height: 1.45; }
  .audit { margin-top: 33px; }
  .testnet { padding: 15px 0 70px; }
  .testnet-sculpture { width: 130%; max-width: 130%; left: -15%; top: 15%; }
  .linked-blocks { width: 190px; margin: 35px auto 28px; }
  .testnet-description { font-size: 23px; max-width: 350px; margin: 0 auto; }
  .actions { gap: 15px; margin-top: 27px; flex-direction: column; }
  .actions .button { width: min(100%, 310px); min-width: 0; min-height: 52px; font-size: 17px; }
  .ecosystem { padding-top: 10px; padding-bottom: 76px; }
  .ecosystem-description { font-size: 21px; line-height: 1.4; }
  .ecosystem-grid { gap: 35px 17px; margin-top: 35px; }
  .venture h3 { height: 91px; }
  .venture h3 img { max-height: 91px; }
  .venture p { font-size: 18px; line-height: 1.4; min-height: 76px; margin: 17px 0 16px; }
  .venture .button { min-height: 46px; padding: 11px 9px; font-size: 14px; }
  .launch { padding-bottom: 65px; }
  .launch-description { font-size: 23px; line-height: 1.4; margin-top: 30px; }
  .bloqs-signature img { width: 180px; }
  .bloqs-signature p { font-size: 23px; max-width: 300px; }
  .site-footer { width: calc(100% - 40px); padding: 24px 0; font-size: 11px; gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
