:root {
  --cyan: #24abdc;
  --cyan-hover: #168fb9;
  --navy: #233140;
  --text: #2c3e50;
  --muted: #6a7b88;
  --pale: #f3f5f6;
  --border: #c9d1d6;
  --white: #ffffff;
  --header-h: 72px;
  color: var(--text);
  background: var(--white);
  font-family: Aptos, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 96px 0;
}

.section--pale {
  background: var(--pale);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.16;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.eyebrow--cyan {
  color: var(--cyan-hover);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(35, 49, 64, .1);
  box-shadow: 0 2px 14px rgba(35, 49, 64, .06);
  backdrop-filter: blur(8px);
}

.subpage .site-header {
  position: sticky;
}

.nav-shell {
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 23px;
  font-weight: 600;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--cyan);
}

.brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

body:not(.subpage) .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}

body:not(.subpage) .site-header .brand,
body:not(.subpage) .site-header .primary-nav a {
  color: var(--white);
}

body:not(.subpage) .site-header .brand-mark {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
}

body:not(.subpage) .site-header .menu-toggle span:not(.sr-only) {
  background: var(--white);
}

body:not(.subpage) .site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(35, 49, 64, .1);
  box-shadow: 0 2px 14px rgba(35, 49, 64, .06);
  backdrop-filter: blur(8px);
}

body:not(.subpage) .site-header.is-scrolled .brand,
body:not(.subpage) .site-header.is-scrolled .primary-nav a {
  color: var(--text);
}

body:not(.subpage) .site-header.is-scrolled .brand-mark {
  background: var(--cyan);
  border-color: transparent;
}

body:not(.subpage) .site-header.is-scrolled .primary-nav a:hover {
  color: var(--cyan);
}

body:not(.subpage) .site-header.is-scrolled .menu-toggle span:not(.sr-only) {
  background: var(--text);
}

.hero {
  min-height: clamp(680px, 88vh, 830px);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: url("assets/arcbit-reference/backgrounds/arcbit-hero-background.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 99, 125, .88) 0%, rgba(22, 143, 185, .78) 52%, rgba(20, 98, 119, .76) 100%);
}

.hero-grid {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(46px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 8vh, 76px) 0 clamp(50px, 7vh, 76px);
}

.hero-copy {
  max-width: 510px;
  color: var(--white);
}

.hero-copy h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
}

.hero-body {
  margin: 18px 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.button-primary {
  background: var(--white);
  color: var(--cyan-hover);
}

.button-primary:hover {
  background: #eefbff;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .07);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .14);
}

.hero-visual {
  min-width: 0;
}

.app-window {
  overflow: hidden;
  color: #232323;
  background: var(--white);
  border: 1px solid rgba(35, 49, 64, .18);
  border-radius: 7px;
  box-shadow: 0 22px 55px rgba(14, 48, 61, .28);
}

.app-window--hero {
  width: clamp(600px, 52vw, 740px);
  max-width: 100%;
  transform: perspective(1200px) rotateY(2deg);
  transform-origin: center;
}

.app-titlebar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--white);
  background: #2bafd3;
  font-size: 12px;
}

.app-brand {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
  font-size: 14px;
}

.app-brand img {
  width: 24px;
  height: 24px;
}

.app-nav {
  display: flex;
  gap: 20px;
  opacity: .96;
  white-space: nowrap;
}

.app-body {
  min-height: 320px;
  display: grid;
  grid-template-columns: 154px 1fr;
}

.app-sidebar {
  background: #d2d2d2;
  border-right: 1px solid #c3c3c3;
}

.sidebar-heading {
  height: 45px;
  padding: 13px 10px;
  color: var(--white);
  background: #2bafd3;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: var(--white);
  background: #29a9cc;
  font-size: 10px;
}

.account-row {
  padding: 12px 10px;
  border-bottom: 1px solid #bcbcbc;
  font-size: 12px;
}

.account-row.active {
  background: #f2f2f2;
}

.app-main {
  min-width: 0;
  background: var(--white);
}

.balance-strip {
  height: 45px;
  display: flex;
  align-items: stretch;
  background: #dedede;
  font-size: 13px;
}

.balance-strip > * {
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-right: 1px solid #c2c2c2;
}

.app-content {
  padding: 18px 18px 26px;
}

.app-tabs {
  display: flex;
  border-bottom: 1px solid #2bafd3;
}

.app-tabs span {
  padding: 10px 17px;
  color: var(--white);
  background: #2bafd3;
  font-size: 12px;
}

.app-tabs span.active {
  background: #2099bd;
}

.send-panel {
  width: min(390px, 84%);
  margin-top: 14px;
  padding: 22px 18px 24px;
  background: #d3d3d3;
  border-radius: 4px;
}

.send-panel label {
  display: block;
  margin: 0 0 5px;
  font-size: 12px;
}

.field-row {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #adb5ba;
  background: var(--white);
  font-size: 11px;
}

.field-row span {
  padding-left: 10px;
}

.field-row b {
  min-width: 54px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: var(--white);
  background: #3fb3d5;
  font-weight: 500;
}

.send-panel button {
  width: 100%;
  height: 36px;
  margin-top: 10px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: #3fb3d5;
  font-size: 12px;
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  object-fit: contain;
  filter: invert(61%) sepia(77%) saturate(1025%) hue-rotate(155deg) brightness(88%) contrast(92%);
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: end;
  gap: 90px;
}

.section-heading--split > p:last-child {
  margin: 0;
}

.security,
.faq {
  background-image: linear-gradient(rgba(243, 245, 246, .58), rgba(243, 245, 246, .58)), url("assets/arcbit-reference/backgrounds/arcbit-section-texture.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.security .section-heading--split > p:last-child,
.security .control-row h3,
.security .control-row p {
  color: #41515e;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 52px;
  border-top: 1px solid var(--border);
}

.control-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.control-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: none;
}

.control-row h3 {
  margin: 0 0 5px;
  font-size: 21px;
  font-weight: 600;
}

.control-row p {
  margin: 0;
  color: var(--muted);
}

.wallet {
  overflow: hidden;
}

.wallet-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.wallet-stage {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 12px 72px 50px;
}

.app-window--large {
  position: relative;
  z-index: 2;
  width: 100%;
  box-shadow: 0 18px 48px rgba(35, 49, 64, .16);
}

.app-window--large .app-titlebar {
  height: 60px;
}

.app-window--large .app-body {
  min-height: 390px;
  grid-template-columns: 190px 1fr;
}

.app-window--large .app-content {
  padding: 26px;
}

.app-window--large .send-panel {
  width: min(480px, 75%);
}

.annotation {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.annotation::after {
  content: "";
  position: absolute;
  background: var(--border);
}

.annotation--accounts {
  left: 0;
  top: 184px;
}

.annotation--accounts::after {
  width: 48px;
  height: 2px;
  left: 100%;
  top: 50%;
}

.annotation--history {
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
}

.annotation--history::after {
  width: 2px;
  height: 34px;
  left: 50%;
  bottom: 100%;
}

.annotation--balance {
  right: 0;
  top: 92px;
}

.annotation--balance::after {
  width: 48px;
  height: 2px;
  right: 100%;
  top: 50%;
}

.downloads {
  background: var(--white);
  border-top: 1px solid var(--cyan);
}

.download-grid {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 auto;
}

.download-card {
  min-height: 292px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto minmax(52px, 1fr);
  align-items: start;
  justify-items: center;
  padding: 34px 28px 0;
  text-align: center;
  background: var(--pale);
}

.download-platform-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
}

.download-platform-icon--linux {
  filter: grayscale(1) sepia(1) saturate(260%) hue-rotate(145deg) brightness(.95) contrast(1.05);
}

.download-card h3 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
}

.download-card button {
  width: 100%;
  max-width: 240px;
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: var(--cyan);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  opacity: 1;
}

.download-card button:hover {
  background: var(--cyan-hover);
}

.download-checksum {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease;
}

.download-checksum:hover,
.download-checksum:focus-visible {
  color: var(--cyan-hover);
}

.download-checksum:focus-visible {
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  border-bottom: 5px solid var(--cyan);
}

.faq-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.faq-heading {
  margin-bottom: 0;
}

.faq-heading > p {
  color: var(--muted);
}

.faq-list {
  border-top: 0;
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  position: relative;
  padding: 22px 34px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--cyan-hover);
  font-size: 25px;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: -5px 44px 23px 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--cyan-hover);
  font-weight: 700;
}

.text-link:hover {
  color: var(--navy);
}

.site-footer.legacy-footer {
  width: 100%;
  padding: 0;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.legacy-footer__inner {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 150px 80px;
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.legacy-footer__nav {
  width: min(980px, 100%);
  max-width: 980px;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  justify-self: center;
  gap: 13px 30px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.legacy-footer__nav a {
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}

.legacy-footer__nav a:hover,
.legacy-footer__nav a:focus-visible {
  color: var(--cyan);
}

.legacy-footer__bottom {
  min-height: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-top: 2px solid rgba(255, 255, 255, .13);
}

.legacy-footer__bottom-mark {
  justify-self: start;
  display: inline-flex;
  color: var(--white);
  text-decoration: none;
}

.legacy-footer__copyright {
  justify-self: center;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.legacy-footer__privacy {
  justify-self: end;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: color .16s ease;
}

.legacy-footer__privacy:hover,
.legacy-footer__privacy:focus-visible {
  color: var(--cyan);
}

.page-hero {
  padding: 68px 0 46px;
  color: var(--white);
  background: linear-gradient(rgba(28, 137, 173, .88), rgba(24, 130, 166, .9)), url("assets/arcbit-reference/backgrounds/arcbit-hero-background.jpg") center 43% / cover no-repeat;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.page-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.55;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.content-section {
  padding: 76px 0;
}

.content-section--pale {
  background: var(--pale);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 84px;
  align-items: start;
}

.content-single {
  max-width: 780px;
}

.prose h2 {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.22;
}

.prose h3 {
  margin: 38px 0 10px;
  font-size: 22px;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.prose p.lead {
  color: var(--text);
  font-size: 20px;
  line-height: 1.6;
}

.prose ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.prose li {
  margin: 8px 0;
}

.side-note {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.side-note h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.side-note a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #e4e9ec;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.side-note a:last-child {
  border-bottom: 0;
}

.side-note a:hover {
  color: var(--cyan-hover);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.info-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  filter: invert(61%) sepia(77%) saturate(1025%) hue-rotate(155deg) brightness(88%) contrast(92%);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.callout {
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 3px solid var(--cyan);
  color: var(--muted);
  background: var(--pale);
}

.page-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.page-link-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: var(--white);
  text-decoration: none;
}

.page-link-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.page-link-card span {
  color: var(--muted);
  font-size: 14px;
}

.page-link-card:hover {
  border-color: var(--cyan);
}

@media (max-width: 1050px) {
  .hero {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(34px, 5vw, 46px);
    padding-top: clamp(52px, 7vh, 78px);
    padding-bottom: clamp(52px, 7vh, 78px);
  }

  .hero-copy {
    order: -1;
    max-width: 720px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .app-window--hero {
    width: min(800px, 100%);
  }

  .wallet-stage {
    padding-right: 0;
    padding-left: 0;
  }

  .annotation {
    display: none;
  }
}

@media (max-width: 900px) {
  body:not(.subpage) .site-header .primary-nav {
    background: rgba(255, 255, 255, .98);
  }

  body:not(.subpage) .site-header .primary-nav a {
    color: var(--text);
  }

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

  .download-card {
    min-height: 210px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .side-note {
    position: static;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
  }

  .page-shell,
  .nav-shell {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(35, 49, 64, .1);
    box-shadow: 0 10px 24px rgba(35, 49, 64, .08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 4px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 610px;
    margin: 0 auto;
  }

  .section-heading--split,
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .app-nav {
    gap: 12px;
  }

  .app-nav span:nth-child(3),
  .app-nav span:nth-child(5),
  .app-nav span:nth-child(6) {
    display: none;
  }
}

@media (max-width: 720px) {
  .legacy-footer__inner {
    width: min(100% - 32px, 1180px);
    min-height: 214px;
    grid-template-rows: 142px 72px;
  }

  .legacy-footer__nav {
    width: min(500px, 100%);
    gap: 11px 22px;
  }

  .legacy-footer__nav a {
    font-size: 14px;
  }

  .legacy-footer__bottom {
    min-height: 72px;
    gap: 12px;
  }

  .legacy-footer__copyright {
    font-size: 12.5px;
  }

  .legacy-footer__privacy {
    font-size: 13.5px;
  }
}

@media (max-width: 620px) {
  .page-shell,
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .hero-grid {
    gap: 34px;
    padding-top: clamp(42px, 7vh, 56px);
    padding-bottom: clamp(44px, 7vh, 56px);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-body {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .app-window--hero {
    transform: none;
  }

  .app-titlebar {
    height: 48px;
    padding: 0 10px;
  }

  .app-nav {
    display: none;
  }

  .app-body,
  .app-window--large .app-body {
    min-height: 260px;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sidebar-heading {
    height: 40px;
    padding: 12px 7px;
    font-size: 9px;
  }

  .sidebar-subhead {
    padding: 7px;
    font-size: 8px;
  }

  .account-row {
    padding: 10px 7px;
    font-size: 9px;
  }

  .balance-strip {
    height: 40px;
    font-size: 9px;
  }

  .balance-strip > * {
    padding: 0 8px;
  }

  .app-content,
  .app-window--large .app-content {
    padding: 10px;
  }

  .app-tabs span {
    padding: 8px 10px;
    font-size: 9px;
  }

  .send-panel,
  .app-window--large .send-panel {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
  }

  .send-panel label {
    font-size: 9px;
  }

  .field-row {
    height: 30px;
    margin-bottom: 7px;
    font-size: 8px;
  }

  .field-row b {
    min-width: 42px;
  }

  .send-panel button {
    height: 31px;
    font-size: 9px;
  }

  .wallet-stage {
    padding: 0;
  }

  .download-grid {
    width: 100%;
    gap: 16px;
  }

  .download-card {
    min-height: 272px;
    padding: 30px 24px 0;
  }

  .download-card h3 {
    margin-bottom: 26px;
    font-size: 27px;
  }

  .page-hero {
    padding: 52px 0 38px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero p:last-child {
    font-size: 16px;
  }

  .content-section {
    padding: 62px 0;
  }

  .prose h2 {
    font-size: 25px;
  }

  .page-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .legacy-footer__bottom {
    grid-template-columns: auto 1fr auto;
  }

  .legacy-footer__copyright {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
