:root {
  --accent-sky: #08b0ff;
  --accent-blue: #087bff;
  --blocto-soft: #d6ebfe;
  --blocto-cloud: #f7fbff;
  --blocto-navy: #061a43;
  --blocto-ink: #102033;
  --blocto-muted: #587086;
  --blocto-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--blocto-ink);
  background: var(--blocto-white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.skybar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.skybar.glassed {
  border-bottom-color: rgba(8, 123, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.9), rgba(214, 235, 254, 0.86)),
    var(--blocto-soft);
  backdrop-filter: blur(16px);
}

.orbit-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blocto-white);
  font-size: 17px;
  font-weight: 800;
  transition: color 180ms ease;
}

.skybar.glassed .orbit-home {
  color: var(--blocto-navy);
}

.orbit-sigil {
  width: 38px;
  height: 38px;
}

.path-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.path-links a {
  border-radius: 8px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 900;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.path-links a:hover {
  color: var(--blocto-white);
  background: rgba(255, 255, 255, 0.14);
}

.skybar.glassed .path-links a {
  color: var(--blocto-muted);
}

.skybar.glassed .path-links a:hover {
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.52);
}

.lift-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--blocto-white);
  background: rgba(8, 123, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.skybar.glassed .lift-download {
  border-color: rgba(8, 123, 255, 0.2);
  background: var(--accent-blue);
}

main {
  overflow: hidden;
}

.canvas-band {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.opening-vista {
  display: grid;
  padding: 190px 0 132px;
  align-items: center;
  background-color: var(--blocto-navy);
  background-image:
    linear-gradient(90deg, rgba(6, 26, 67, 0.66), rgba(6, 26, 67, 0.32) 58%, rgba(6, 26, 67, 0.2)),
    url("./assets/desktop-wallet-hero.webp");
  background-position: center;
}

.vista-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
}

.wallet-pitch {
  max-width: 700px;
  color: var(--blocto-white);
}

.pitch-copy {
  max-width: 700px;
}

.orbit-wordmark-frame {
  position: absolute;
  top: 50%;
  right: calc((100vw - min(1180px, calc(100vw - 112px))) / -2);
  display: flex;
  width: clamp(380px, 38vw, 640px);
  align-items: center;
  justify-content: flex-start;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 16px 0px 16px 40px;
  background: var(--blocto-cloud);
  transform: translateY(-50%);
}

.orbit-wordmark {
  display: block;
  width: clamp(240px, 24vw, 340px);
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.28));
}

@media (max-width: 1240px) {
  .wallet-pitch {
    max-width: 620px;
  }

  .orbit-wordmark-frame {
    width: clamp(340px, 34vw, 460px);
  }

  .orbit-wordmark {
    width: clamp(220px, 22vw, 290px);
  }
}

@media (max-width: 1120px) {
  .wallet-pitch {
    max-width: 520px;
  }
}

@media (max-width: 980px) {
  .wallet-pitch {
    max-width: 700px;
  }

  .orbit-wordmark-frame {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + ((100vw - 100%) / 2));
    margin-top: 34px;
    margin-right: calc((100vw - 100%) / -2);
    padding: 24px 64px 24px 28px;
    transform: none;
  }

  .orbit-wordmark {
    width: min(260px, 56vw);
  }
}

.signal-kicker {
  margin: 0 0 18px;
  color: var(--accent-sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

.headline-note {
  max-width: 540px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.6;
}

.launch-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  border-radius: 8px;
  padding: 0 24px;
  color: var(--blocto-white);
  background: var(--accent-blue);
  font-size: 16px;
  font-weight: 900;
}

.proof-strip {
  min-height: 30vh;
  padding: 54px 56px;
  background-color: var(--blocto-soft);
}

.trust-ledger {
  display: grid;
  width: min(1020px, 100%);
  min-height: calc(30vh - 108px);
  margin: 0 auto;
  grid-template-columns: 0.9fr 0.8fr 1.3fr;
  align-items: center;
  gap: 24px;
}

.trust-readout {
  border-left: 4px solid var(--accent-blue);
  padding-left: 24px;
}

.trust-readout strong {
  display: block;
  color: var(--accent-blue);
  font-size: 44px;
  line-height: 1;
}

.readout-caption {
  display: block;
  margin-top: 10px;
  color: var(--blocto-muted);
  font-size: 15px;
  font-weight: 800;
}

.chainrail {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
}

.chain-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blocto-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.chain-crest {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
}

.crest-aptos {
  background-image: url("./assets/token-icons/aptos-apt-logo.svg");
}

.crest-solana {
  background-image: url("./assets/token-icons/solana.svg");
}

.crest-flow {
  background-image: url("./assets/token-icons/flow-flow-logo.svg");
}

.crest-polygon {
  background-image: url("./assets/token-icons/polygon-matic-logo.svg");
}

.readout-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  }

.readout-caption svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}

.calm-onboarding {
  display: grid;
  align-items: center;
  padding: 40px 0 34px;
  background-color: var(--blocto-cloud);
}

.onboard-panel {
  display: grid;
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
  grid-template-columns: minmax(320px, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 42px;
}

.wallet-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.wallet-showcase img {
  display: block;
  width: min(740px, 108%);
  height: auto;
}

.onboarding-copy {
  max-width: 430px;
  padding: 18px 0 28px;
}

.onboarding-copy h2 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.1;
}

.onboarding-note {
  max-width: 400px;
  margin-bottom: 0;
  color: var(--blocto-muted);
  font-size: 16px;
  line-height: 1.65;
}

.wallet-essentials {
  padding: 72px 56px 76px;
  background-color: var(--blocto-soft);
}

.toolkit-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.essentials-head {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 28px;
}

.essentials-head h2,
.essentials-head p {
  margin-bottom: 0;
}

.essentials-head p {
  max-width: 560px;
  color: var(--blocto-muted);
  font-size: 17px;
  line-height: 1.55;
}

.capability-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.capability-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px 22px;
  background: var(--accent-blue);
  border: 1px solid rgba(8, 176, 255, 0.3);
}

.capability-tile::before {
  display: none;
}

.tile-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile-glyph {
  display: flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--blocto-white);
}

.tile-glyph svg {
  width: 20px;
  height: 20px;
}

.capability-tile strong {
  display: block;
  margin-bottom: 0;
  color: var(--blocto-white);
  font-size: 17px;
  line-height: 1.1;
}

.capability-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
  max-width: 50ch;
}

.tile-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 4px;
  border-radius: 20px;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--blocto-white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .wallet-essentials {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .essentials-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }
}

.desktop-pier {
  min-height: 62vh;
  padding: 78px 56px;
  background-color: var(--blocto-white);
}

.download-dock {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.download-dock h2 {
  margin-right: auto;
  margin-left: auto;
}

.installer-stack {
  display: grid;
  max-width: 620px;
  margin: 34px auto 0;
  gap: 16px;
}

.installer-row {
  display: grid;
  min-height: 88px;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--blocto-ink);
  background: #e6f7ff;
  text-align: left;
  font-size: 19px;
  font-weight: 900;
}

.installer-row:hover {
  color: var(--blocto-white);
  background: var(--accent-sky);
}

.os-glyph {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--blocto-white);
  background: var(--accent-blue);
}

.os-glyph::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.os-windows::before {
  mask-image: url("./assets/icons/windows.svg");
  -webkit-mask-image: url("./assets/icons/windows.svg");
}

.os-macos::before {
  mask-image: url("./assets/icons/macos.svg");
  -webkit-mask-image: url("./assets/icons/macos.svg");
}

.os-linux::before {
  mask-image: url("./assets/icons/linux.svg");
  -webkit-mask-image: url("./assets/icons/linux.svg");
}

.installer-row:hover .os-glyph {
  color: var(--accent-blue);
  background: var(--blocto-white);
}

.installer-title {
  line-height: 1.25;
}

.package-label {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--accent-blue);
  background: var(--blocto-white);
  font-size: 12px;
  font-weight: 900;
}

.hash-links {
  display: flex;
  margin-top: 22px;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hash-links a {
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 900;
}

.hash-links a:hover {
  color: var(--accent-sky);
}

.ecosystem-lounge {
  min-height: 58vh;
  padding: 78px 56px;
  background-color: var(--blocto-soft);
  background-image:
    linear-gradient(rgba(214, 235, 254, 0.7), rgba(214, 235, 254, 0.8)),
    url("./assets/blocto-network-field.webp");
  background-position: center;
  background-size: cover;
}

.paper-hero {
  padding: 148px 56px 72px;
  color: var(--blocto-white);
  background-color: var(--blocto-navy);
  background-image:
    linear-gradient(90deg, rgba(6, 26, 67, 0.82), rgba(6, 26, 67, 0.52)),
    url("./assets/blue-network-footer.webp");
  background-position: center;
  background-size: cover;
}

.paper-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 72px);
}

.paper-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.policy-sheet {
  padding: 72px 56px 82px;
  background: var(--blocto-white);
}

.plain-river {
  width: min(860px, 100%);
  margin: 0 auto;
}

.plain-river h2 {
  margin: 0 0 14px;
  color: var(--blocto-navy);
  font-size: 26px;
  line-height: 1.18;
}

.plain-river p,
.plain-river li {
  color: var(--blocto-muted);
  font-size: 16px;
  line-height: 1.72;
}

.plain-river p {
  margin-bottom: 0;
}

.plain-river ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.clause-stack {
  display: grid;
  gap: 34px;
}

.fine-print {
  margin-top: 44px;
  border-top: 1px solid rgba(8, 123, 255, 0.14);
  padding-top: 22px;
}

.fine-print p {
  color: var(--blocto-muted);
  font-size: 14px;
}

.return-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--accent-blue);
  font-weight: 900;
}

.return-link:hover {
  color: var(--accent-sky);
}

.agora-layout {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1fr);
  align-items: start;
  gap: 72px;
}

.social-tiles {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
}

.social-tiles a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(8, 123, 255, 0.12);
  border-radius: 8px;
  padding: 22px;
  color: var(--blocto-navy);
  background: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 900;
}

.social-tiles a:hover {
  color: var(--accent-blue);
  background: rgba(8, 123, 255, 0.12);
}

.social-glyph {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.social-glyph::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.glyph-x::before {
  mask-image: url("./assets/icons/x-twitter.svg");
  -webkit-mask-image: url("./assets/icons/x-twitter.svg");
}

.glyph-discord::before {
  mask-image: url("./assets/icons/discord.svg");
  -webkit-mask-image: url("./assets/icons/discord.svg");
}

.glyph-telegram::before {
  mask-image: url("./assets/icons/telegram.svg");
  -webkit-mask-image: url("./assets/icons/telegram.svg");
}

.glyph-hub::before {
  mask-image: url("./assets/icons/community-hub.svg");
  -webkit-mask-image: url("./assets/icons/community-hub.svg");
}

.clarity-stack {
  display: grid;
  gap: 10px;
}

.clarity-item {
  border: 1px solid rgba(8, 123, 255, 0.12);
  border-radius: 8px;
  color: var(--blocto-navy);
  background: rgba(255, 255, 255, 0.78);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.clarity-item.unfolded {
  border-color: rgba(8, 123, 255, 0.24);
  background: rgba(255, 255, 255, 0.94);
}

.clarity-trigger {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 16px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.clarity-trigger::after {
  content: "+";
  color: var(--accent-blue);
  flex: 0 0 auto;
  margin-left: 14px;
  font-size: 20px;
  line-height: 1;
}

.clarity-trigger[aria-expanded="true"]::after {
  content: "-";
}

.clarity-answer {
  padding: 0 16px 16px;
}

.clarity-answer p {
  max-width: 560px;
  margin: 0;
  color: var(--blocto-muted);
  font-size: 14px;
  line-height: 1.55;
}

.night-footer {
  display: grid;
  align-items: center;
  padding: 56px 20px;
  color: var(--blocto-white);
  background-color: var(--blocto-navy);
  background-image: url("./assets/blue-network-footer.webp");
}

.basecamp-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 34px;
  text-align: center;
}

.closing-mark {
  display: flex;
  flex-direction: column;
  max-width: 360px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.closing-sigil {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.closing-mark strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 22px;
}

.closing-mark p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.harbor-routes {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 50px;
}

.harbor-routes h3 {
  margin: 0 0 28px;
  color: var(--blocto-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.harbor-routes a {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  font-weight: 800;
}

.harbor-routes a:hover {
  color: var(--blocto-white);
}

.support-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.55;
}

.support-line p,
.support-line address {
  margin: 0;
  font-style: normal;
  font-weight: 800;
}

.support-line a {
  color: inherit;
  transition: color 180ms ease;
}

.support-line a:hover {
  color: rgba(255, 255, 255, 0.86);
}

.basecamp-grid > p {
  margin: 0;
  line-height: 1.4;
  font-weight: 900;
}

.wordmark-floor {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  background: var(--blocto-soft);
}

.wordmark-floor img {
  display: block;
  width: min(220px, 56vw);
  height: auto;
}

@media (max-width: 860px) {
  .skybar {
    min-height: 68px;
    padding: 0 24px;
  }

  .orbit-home span,
  .path-links,
  .lift-download {
    display: none;
  }

  .orbit-sigil {
    width: 30px;
    height: 30px;
  }

  .opening-vista {
    padding: 138px 0 92px;
  }

  .vista-shell,
  .onboard-panel {
    width: calc(100% - 48px);
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .headline-note {
    font-size: 17px;
  }

  .orbit-wordmark {
    width: min(220px, 62vw);
  }

  .proof-strip,
  .wallet-essentials,
  .desktop-pier,
  .ecosystem-lounge,
  .paper-hero,
  .policy-sheet {
    padding-right: 24px;
    padding-left: 24px;
  }

  .trust-ledger {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .chainrail {
    flex-wrap: wrap;
  }

  .calm-onboarding {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .wallet-essentials {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .onboard-panel,
  .essentials-head,
  .basecamp-grid,
  .agora-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wallet-showcase img {
    width: min(620px, 114%);
  }

  .onboarding-copy {
    padding: 0 0 36px;
  }

  .onboarding-copy h2 {
    font-size: 29px;
  }

  .capability-grid,
  .social-tiles {
    grid-template-columns: 1fr;
  }

  .capability-grid li {
    min-height: 0;
  }

  .installer-row {
    min-height: 82px;
    grid-template-columns: 52px 1fr;
  }

  .package-label {
    grid-column: 2;
    width: max-content;
  }

  .os-glyph {
    width: 52px;
    height: 52px;
  }

  .night-footer {
    min-height: 30vh;
    padding: 36px 24px;
  }

  .harbor-routes {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 28px 18px;
  }

  .support-line {
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
  }

  .wordmark-floor {
    min-height: 96px;
  }

  .paper-hero {
    padding-top: 128px;
    padding-bottom: 54px;
  }

  .policy-sheet {
    padding-top: 52px;
    padding-bottom: 60px;
  }
}
