:root {
  --bg: #0b0b0b;
  --surface: #101010;
  --surface-2: #161616;
  --surface-3: #1b1b1b;
  --text: #ededeb;
  --muted: #8a8a86;
  --line: #343434;
  --accent: #65d46e;
  --accent-soft: rgba(101, 212, 110, 0.14);
  --focus: rgba(101, 212, 110, 0.34);
  --max: 1180px;
  --radius: 4px;
  --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 ui-monospace, "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: 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;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus);
}
.page-grid {
  position: fixed;
  inset: 0;
  background-image: url("assets/backgrounds/terminal-grid.svg");
  background-repeat: repeat;
  background-size: 28px 28px;
  opacity: .06;
  pointer-events: none;
  z-index: -1;
}
.section-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.status-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(11,11,11,.96);
}
.status-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.status-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(101, 212, 110, 0.08);
}
.status-inner .text-action { color: var(--accent); white-space: nowrap; }
.text-action {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}
.site-header.scrolled {
  background: rgba(11,11,11,.92);
  border-bottom: 1px solid rgba(52,52,52,.9);
  backdrop-filter: blur(10px);
}
.nav-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.brand span { font-weight: 700; }
.brand small { color: var(--muted); font-size: 12px; }
.nav-links {
  display: flex; gap: 24px; margin-left: auto; margin-right: 8px;
}
.nav-links button, .nav-links a, .footer-nav button, .footer-nav a {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s ease;
}
.nav-links button:hover, .nav-links a:hover, .footer-nav button:hover, .footer-nav a:hover, .community-links button:hover, .community-links a:hover, .status-inner .text-action:hover {
  color: var(--text);
}
.nav-download {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.menu-button {
  display: none;
  min-height: 38px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.mobile-nav {
  display: grid; gap: 8px; width: min(calc(100% - 32px), var(--max)); margin: 0 auto 14px;
  padding: 0 0 14px;
}
.mobile-nav button, .mobile-nav a {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line); background: var(--surface); padding: 12px 14px; color: var(--muted);
  cursor: pointer;
}
.hero {
  padding: 84px 0 76px;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero-lead {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
}
.hero-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.download-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 92px;
  padding: 14px 16px;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.download-card:hover, .download-tile:hover, .wallet-item:hover, .overview-list article:hover, .community-links button:hover, .community-links a:hover {
  border-color: rgba(101,212,110,.65);
  background: var(--surface-2);
}
.icon-wrap, .tile-icon {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 1px solid var(--line);
  background: #1d1d1d;
}
.icon-wrap img, .tile-icon img { width: 30px; height: 30px; }
.download-copy { text-align: left; }
.download-copy strong, .tile-copy strong {
  display: block; font-size: 18px; color: var(--text); font-weight: 700;
}
.download-copy small, .tile-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.hero-badges {
  margin-top: 22px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.hero-badges span, .kicker {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
}
.kicker { color: var(--accent); }
.centered-kicker { margin-bottom: 14px; }
.split-head, .downloads-grid, .community-grid, .security-grid, .overview-grid {
  display: grid; gap: 36px; grid-template-columns: 1fr 1fr;
}
.wallet-section, .overview-section, .security-section, .downloads-section, .community-section {
  padding: 60px 0;
}
.wallet-section, .security-section, .community-section, footer {
  border-top: 1px solid rgba(52,52,52,.55);
}
.wallet-section h2, .downloads-section h2, .community-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.08;
}
.split-copy p, .community-copy p, .downloads-copy p { color: var(--muted); max-width: 520px; }
.workflow-line {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--line); background: var(--surface); padding: 10px 12px;
  color: var(--muted); font-size: 14px;
}
.workflow-line span:first-child { color: var(--text); }
.wallet-panel, .overview-list, .security-cards, .download-list, .community-links {
  display: grid; gap: 14px;
}
.wallet-item, .overview-list article, .community-links button, .community-links a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
  align-items: start;
}
.wallet-icon, .overview-list article img, .community-links button img, .community-links a img {
  width: 40px; height: 40px;
}
.wallet-item h3, .overview-list h3, .community-links strong {
  margin: 0 0 6px; font-size: 17px;
}
.wallet-item p, .overview-list p, .community-links small { margin: 0; color: var(--muted); }
.overview-copybox, .security-copybox {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding-right: 24px;
}
.overview-copybox p, .security-copybox p {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.35;
  color: var(--text);
}
.security-cards {
  grid-template-columns: 1fr 1fr;
}
.security-cards article {
  display: flex; gap: 14px; align-items: center;
  border: 1px solid var(--line); background: var(--surface); padding: 18px 16px; min-height: 96px;
}
.security-cards img { width: 22px; height: 22px; flex: 0 0 auto; }
.security-cards strong { display: block; font-size: 15px; margin-bottom: 4px; }
.security-cards span { color: var(--muted); font-size: 13px; }
.release-note {
  margin-top: 18px; border: 1px solid var(--line); background: var(--surface); padding: 16px;
}
.release-note > span { display: inline-block; color: var(--accent); margin-bottom: 10px; font-size: 13px; }
.release-note strong { display: block; font-size: 19px; margin-bottom: 10px; }
.release-note ul { margin: 0; padding-left: 18px; color: var(--muted); }
.download-list {
  align-content: start;
}
.download-tile {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px; align-items: center;
  border: 1px solid var(--line); background: var(--surface); padding: 16px; min-height: 102px;
}
.download-tile .tile-icon { width: 74px; height: 74px; }
.download-tile .tile-icon img { width: 34px; height: 34px; }
.tile-action {
  color: var(--accent); border: 1px solid var(--line); min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
}
.community-links button, .community-links a {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  align-items: center;
}
.community-links button span, .community-links a span { display: block; }
footer {
  margin-top: 18px;
  padding: 28px 0 34px;
}
.footer-inner {
  display: grid; gap: 24px; align-items: center;
}
.footer-brand .brand { font-size: 15px; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 16px 22px;
  padding-top: 6px;
}
.footer-note {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .split-head, .downloads-grid, .community-grid, .security-grid, .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-copybox, .security-copybox { padding-right: 0; }
}
@media (max-width: 860px) {
  .nav-links, .nav-download { display: none; }
  .menu-button { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; }
  .hero { padding: 68px 0 58px; }
}
@media (max-width: 720px) {
  .status-inner { flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; }
  .hero-downloads, .security-cards { grid-template-columns: 1fr; }
  .download-tile { grid-template-columns: 64px 1fr; }
  .tile-action { grid-column: 1 / -1; }
  .hero-badges { justify-content: flex-start; }
  .hero-inner { text-align: left; }
}
@media (max-width: 560px) {
  .section-shell { width: min(calc(100% - 24px), var(--max)); }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 15px; }
  .download-card { grid-template-columns: 56px 1fr; min-height: 84px; padding: 12px; }
  .icon-wrap { width: 56px; height: 56px; }
  .icon-wrap img, .tile-icon img { width: 28px; height: 28px; }
  .download-copy strong, .tile-copy strong { font-size: 16px; }
  .overview-copybox p, .security-copybox p { font-size: 18px; }
  .wallet-section, .overview-section, .security-section, .downloads-section, .community-section { padding: 48px 0; }
  .wallet-section h2, .downloads-section h2, .community-section h2 { font-size: 28px; }
  .footer-nav { gap: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.mobile-nav[hidden] { display: none !important; }

.wallet-section,
.overview-section,
.security-section,
.downloads-section,
.community-section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.merged-wallet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.merged-wallet-grid .wallet-item {
  min-height: 154px;
}

.overview-centered {
  min-height: auto;
  justify-content: center;
  text-align: center;
  padding-right: 0;
}
.overview-centered p {
  max-width: 820px;
  margin-inline: auto;
}

.downloads-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.downloads-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.download-page-main {
  min-height: calc(100vh - 114px);
}

.secondary-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.secondary-page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(180deg, rgba(11, 11, 11, .78) 0%, rgba(11, 11, 11, .6) 48%, rgba(11, 11, 11, .86) 100%),
    linear-gradient(90deg, rgba(11, 11, 11, .74), rgba(11, 11, 11, .36) 50%, rgba(11, 11, 11, .74)),
    url("assets/backgrounds/desktop-wallet-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.downloads-section.download-page-section {
  padding-top: 104px;
  padding-bottom: 132px;
  border-top: 0;
}

.download-page-section h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.download-footer-scene {
  padding-inline: 32px;
}

.secondary-footer-scene {
  margin-top: auto;
  background-image:
    linear-gradient(180deg, rgba(11, 11, 11, .84), rgba(11, 11, 11, .94)),
    url("assets/backgrounds/desktop-wallet-background.webp");
}

.secondary-footer-scene footer {
  margin-top: 0;
}

.faq-page-section {
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.faq-page-head {
  text-align: center;
  margin-bottom: 30px;
}

.faq-page-head .centered-kicker {
  margin-inline: auto;
}

.faq-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.faq-page-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: rgba(16, 16, 16, .94);
  padding: 0 18px;
}

.faq-list summary {
  padding: 17px 28px 17px 0;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}
.downloads-head .centered-kicker {
  margin-inline: auto;
}
.simple-downloads {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}
.simple-downloads .download-tile {
  grid-template-columns: 64px 1fr;
  min-height: 94px;
  padding: 14px;
}
.simple-downloads .tile-icon {
  width: 64px;
  height: 64px;
}
.simple-downloads .tile-copy strong {
  font-size: 16px;
}
.simple-downloads .tile-copy small {
  margin-top: 5px;
}

.community-links button span, .community-links a span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.community-links button strong,
.community-links button small,
.community-links a strong,
.community-links a small {
  display: block;
  margin: 0;
}

footer {
  padding: 42px 0 46px;
}
.footer-inner {
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  min-height: 82px;
}
.footer-nav {
  justify-content: center;
  align-items: center;
  padding-top: 0;
  flex-wrap: nowrap;
}
.footer-note {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .merged-wallet-grid,
  .simple-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-note {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .merged-wallet-grid,
  .simple-downloads {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wallet-section,
  .overview-section,
  .security-section,
  .downloads-section,
  .community-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.hero {
  padding-top: 108px;
  padding-bottom: 96px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(11, 11, 11, .78) 0%, rgba(11, 11, 11, .6) 48%, rgba(11, 11, 11, .86) 100%),
    linear-gradient(90deg, rgba(11, 11, 11, .74), rgba(11, 11, 11, .36) 50%, rgba(11, 11, 11, .74)),
    url("assets/backgrounds/desktop-wallet-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 82vw);
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(101, 212, 110, .12) 0%, rgba(101, 212, 110, .055) 36%, rgba(101, 212, 110, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-downloads {
  gap: 10px;
  margin: 30px auto 0;
  max-width: 720px;
}

.download-card {
  grid-template-columns: 48px 1fr;
  min-height: 76px;
  padding: 10px 12px;
  gap: 11px;
}

.download-card .icon-wrap {
  width: 48px;
  height: 48px;
}

.download-card .icon-wrap img {
  width: 24px;
  height: 24px;
}

.download-card .download-copy strong {
  font-size: 15px;
}

.wallet-section,
.overview-section,
.security-section,
.downloads-section,
.community-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.security-section {
  padding-top: 98px;
  padding-bottom: 98px;
}

.downloads-section {
  padding-bottom: 116px;
  border-top: 1px solid rgba(52, 52, 52, .55);
}

.wallet-item {
  align-items: center;
}

.wallet-icon {
  display: grid;
  place-items: center;
  align-self: center;
}

.wallet-section h2,
.downloads-section h2,
.community-section h2 {
  font-size: clamp(25px, 3vw, 32px);
}

.overview-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.security-section,
.community-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.community-footer-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-inline: 32px;
  background-image:
    linear-gradient(180deg, rgba(11, 11, 11, .88) 0%, rgba(11, 11, 11, .91) 62%, rgba(11, 11, 11, .95) 100%),
    url("assets/backgrounds/community-footer-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.community-footer-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 11, .82) 3%, transparent 12%),
    linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 11, .82) 3%, transparent 12%, transparent 88%, rgba(11, 11, 11, .82) 97%, var(--bg) 100%);
}

.community-footer-scene > * {
  position: relative;
  z-index: 1;
}

.community-footer-scene > .community-section,
.community-footer-scene .footer-inner {
  width: 100%;
}

.community-footer-scene > .community-section {
  border-top: 0;
}

.overview-section > :not(.section-ambient),
.security-section > :not(.section-ambient),
.community-section > :not(.section-ambient) {
  position: relative;
  z-index: 1;
}

.section-ambient {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  filter: grayscale(1);
}

.section-ambient--screen {
  width: min(640px, 58vw);
  right: -190px;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  opacity: .055;
}

.section-ambient--pill {
  width: 220px;
  left: 18px;
  bottom: 12px;
  transform: rotate(9deg);
  opacity: .055;
}

.overview-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 82vw);
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(101, 212, 110, .12) 0%, rgba(101, 212, 110, .055) 36%, rgba(101, 212, 110, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.simple-downloads {
  max-width: 1120px;
  gap: 18px;
}

.simple-downloads .download-tile {
  grid-template-columns: 84px 1fr;
  min-height: 132px;
  padding: 20px;
  gap: 20px;
}

.simple-downloads .tile-icon {
  width: 84px;
  height: 84px;
}

.simple-downloads .tile-icon img {
  width: 38px;
  height: 38px;
}

.simple-downloads .tile-copy strong {
  font-size: 19px;
  line-height: 1.35;
}

footer {
  padding-top: 52px;
  padding-bottom: 54px;
}

.community-footer-scene footer {
  border-top: 1px solid rgba(52, 52, 52, .55);
}

.footer-inner {
  min-height: 92px;
  align-items: center;
}

.footer-brand,
.footer-nav,
.footer-note {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-nav {
  justify-content: center;
  align-self: center;
  padding: 0;
  line-height: 1;
}

.footer-note {
  justify-content: flex-end;
  align-self: center;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 74px;
  }
}

@media (max-width: 720px) {
  .download-card {
    min-height: 68px;
  }
  .simple-downloads .download-tile {
    min-height: 116px;
  }
}

@media (max-width: 560px) {
  .community-footer-scene {
    padding-inline: 16px;
  }
  .wallet-section,
  .overview-section,
  .security-section,
  .downloads-section,
  .community-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .wallet-section h2,
  .downloads-section h2,
  .community-section h2 {
    font-size: 25px;
  }
  .download-card {
    grid-template-columns: 44px 1fr;
    min-height: 64px;
    padding: 9px 10px;
  }
  .download-card .icon-wrap {
    width: 44px;
    height: 44px;
  }
  .simple-downloads .download-tile {
    grid-template-columns: 72px 1fr;
    min-height: 110px;
    padding: 16px;
  }
  .simple-downloads .tile-icon {
    width: 72px;
    height: 72px;
  }
}

.download-card img[src$="/linux.svg"],
.simple-downloads img[src$="/linux.svg"] {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.download-card img[src$="/linux.svg"] {
  width: 30px;
  height: 30px;
}

@media (max-width: 560px) {
  .download-card img[src$="/linux.svg"],
  .simple-downloads img[src$="/linux.svg"] {
    width: 38px;
    height: 38px;
  }
  .download-card img[src$="/linux.svg"] {
    width: 28px;
    height: 28px;
  }
  .section-ambient--screen { width: 620px; right: -430px; }
  .section-ambient--pill { width: 170px; left: 12px; bottom: 10px; }
}
