:root {
  --bg:          #ffffff;
  --bg-2:        #f0f2f4;
  --bg-3:        #e6e9ec;
  --border:      #dde0e4;
  --border-dark: #b8bec4;
  --text:        #1a1a18;
  --text-2:      #4a4a46;
  --text-3:      #7a7a74;
  --text-4:      #a8a8a0;
  --accent:      #e8470a;
  --accent-dark: #c23a07;
  --accent-pale: #fdf1ec;
  --blue:        #0098e4;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Mono', monospace;
  --max-w:       1160px;
  --pad-x:       clamp(20px, 5vw, 64px);
  --sec-py:      80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, backdrop-filter 0.2s;
}
#header.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(26,26,24,0.05);
}
body.subpage #header {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(26,26,24,0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 15px var(--pad-x);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-bird { width: 37px; height: 37px; object-fit: cover; border-radius: 3px; }
.logo-text { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.92); letter-spacing: -0.01em; transition: color 0.2s; }
.logo-sub { color: rgba(255,255,255,0.5); font-weight: 400; transition: color 0.2s; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { font-size: 14px; color: rgba(255,255,255,0.7); padding: 6px 12px; border-radius: 5px; transition: color 0.15s, background 0.15s; }
nav a:hover { color: rgba(255,255,255,0.95); background: rgba(255,255,255,0.1); }
#header.scrolled .logo-text { color: #11110f; }
#header.scrolled .logo-sub { color: #4d4d48; }
#header.scrolled nav a { color: var(--text-2); }
#header.scrolled nav a:hover { color: var(--text); background: var(--bg-2); }
body.subpage .logo-text { color: #11110f; }
body.subpage .logo-sub { color: #4d4d48; }
body.subpage nav a { color: var(--text-2); }
body.subpage nav a:hover,
body.subpage nav a.active-link,
#header.scrolled nav a.active-link {
  color: var(--text);
  background: var(--bg-2);
}
.btn-nav {
  font-size: 13px; font-weight: 600; color: #1a1a18 !important;
  background: rgba(255,255,255,0.88); padding: 7px 16px; border-radius: 5px;
  transition: background 0.15s, color 0.15s !important; margin-left: 6px;
}
.btn-nav:hover { background: var(--accent) !important; color: #fff !important; }
#header.scrolled .btn-nav { background: var(--text); color: var(--bg) !important; }
#header.scrolled .btn-nav:hover { background: var(--accent) !important; }
body.subpage .btn-nav { background: var(--text); color: var(--bg) !important; }
body.subpage .btn-nav:hover { background: var(--accent) !important; color: #fff !important; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text); }
.mobile-nav { display: none; flex-direction: column; background: rgba(255,255,255,0.96); border-top: 1px solid var(--border); padding: 12px var(--pad-x); }
.mobile-nav a { font-size: 15px; color: var(--text-2); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav.open { display: flex; }

.hero {
  position: relative;
  min-height: 580px;
  padding: 118px var(--pad-x) 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background-image: url('../images/37582.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,20,26,0.55) 0%,
    rgba(14,20,26,0.38) 45%,
    rgba(14,20,26,0.62) 100%
  );
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 700; color: #ffffff;
  line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 18px;
  text-shadow: 0 1px 24px rgba(14,20,26,0.3);
}
.hero-tagline {
  font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.65;
  margin: 0 auto 34px; max-width: 480px; text-align: center;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.btn-primary {
  font-size: 14px; font-weight: 500; background: var(--accent); color: #fff;
  padding: 11px 28px; border-radius: 2px; display: inline-block;
  letter-spacing: 0.01em; transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  font-size: 14px; font-weight: 400; color: var(--text-2);
  border: 1px solid var(--border-dark);
  padding: 10px 28px; border-radius: 2px;
  display: inline-block; transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-2); }
.hero .btn-ghost {
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.32);
  font-weight: 400;
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.8); }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.45); }

.band-wrap {
  background: var(--blue);
  padding: 0;
}
.band {
  
  padding: 64px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  text-align: center;
}
.band-text { min-width: 0; }
.band-manifesto {
  font-size: clamp(32px, 4.1vw, 52px); font-weight: 700;
  color: #fff; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
}
.band-btc-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.band-manifesto em { font-style: italic; font-weight: 300; opacity: 0.75; }
.band-sub { font-size: 17px; color: rgba(255,255,255,0.66); }
.band-actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.band-link {
  font-size: 14px; font-weight: 700; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.72);
  padding-bottom: 3px;
  transition: border-color 0.15s, opacity 0.15s;
}
.band-link:hover { border-color: #fff; opacity: 0.82; }

.about { padding: var(--sec-py) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.about-text h2 {
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.18; margin-bottom: 18px;
}
.about-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.about-text p:last-of-type { margin-bottom: 26px; }
.about-link {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border-dark); padding-bottom: 2px;
  display: inline-block; transition: color 0.15s, border-color 0.15s;
}
.about-link:hover { color: var(--text); border-color: var(--text); }
.about-checklist { list-style: none; }
.about-checklist li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-2); line-height: 1.5;
}
.about-checklist li:last-child { border-bottom: none; }
.check-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-pale); border: 1px solid #f5b89a;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-mark::after {
  content: ''; width: 5px; height: 3px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}

.bitcoin-section {
  background: var(--bg-2);
  padding: var(--sec-py) 0;
}
.bitcoin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.bitcoin-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 14px;
}
.bitcoin-text h2 {
  font-size: clamp(20px, 2.4vw, 32px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.18; margin-bottom: 18px;
}
.bitcoin-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.bitcoin-text p:last-child { margin-bottom: 0; }
.bitcoin-placeholder {
  aspect-ratio: 4/3; min-height: 220px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.bitcoin-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.features {
  padding: var(--sec-py) 0;
  background:
    linear-gradient(rgba(255,255,255,0.56), rgba(255,255,255,0.56)),
    url('../images/6147.jpg') center / min(720px, 82vw) auto no-repeat;
}
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; padding: 42px 0; position: relative;
}
.feature-row + .feature-row::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border) 10%, var(--border) 90%, transparent 100%);
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row-split {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: start; padding: 52px 0;
}
.feature-split-divider {
  width: 1px; margin: 0 56px; align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--border) 12%, var(--border) 88%, transparent);
}
.feature-half h3 {
  font-size: clamp(18px, 1.9vw, 23px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.22; color: var(--text); margin-bottom: 14px;
}
.feature-half p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.feature-half p:last-child { margin-bottom: 0; }
.feature-copy h3 {
  font-size: clamp(18px, 1.9vw, 24px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.22; color: var(--text); margin-bottom: 14px;
}
.feature-copy p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.feature-copy p:last-child { margin-bottom: 0; }
.feature-panel {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px; min-height: 164px; display: flex; flex-direction: column; justify-content: center;
}
.utxo-vis { display: flex; flex-direction: column; gap: 9px; }
.utxo-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; }
.utxo-addr { color: var(--text-3); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utxo-amt { font-weight: 600; color: var(--text); white-space: nowrap; }
.utxo-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.utxo-dot.spent { background: var(--border-dark); }
.utxo-dot.unspent { background: var(--accent); }
.utxo-label { font-size: 11px; font-family: var(--mono); padding: 2px 6px; border-radius: 2px; flex-shrink: 0; }
.utxo-label.unspent { background: var(--accent-pale); color: var(--accent); }
.utxo-label.spent { background: var(--bg-3); color: var(--text-4); }
.hw-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.hw-badge { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-size: 12.5px; font-weight: 500; line-height: 1.2; padding: 4px 7px; border-radius: 3px; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); }
.hw-badge.usb::before { content: 'USB'; color: var(--text-4); font-weight: 400; }
.hw-badge.qr::before  { content: 'QR';  color: var(--text-4); font-weight: 400; }

.download {
  background: var(--bg-2);
  padding: var(--sec-py) 0;
}
.download-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 68px; align-items: center;
  padding-left: clamp(24px, 5vw, 76px);
}
.download-bird { width: 210px; }
.download-bird img { width: 100%; filter: drop-shadow(0 2px 14px rgba(0,0,0,0.07)); }
.download-text h2 {
  font-size: clamp(30px, 3.8vw, 52px); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 8px; color: var(--text);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.linux-title-wrap { display: inline-flex; align-items: center; gap: 6px; }
.linux-tux { width: 0.96em; height: 0.96em; color: var(--text-3); flex-shrink: 0; position: relative; top: -1px; }
.download-text > p { font-size: 17px; color: var(--text-3); margin-bottom: 28px; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.download .btn-ghost {
  background: #fff;
  border-color: var(--border-dark);
  color: var(--text-2);
  font-weight: 400;
}
.download .btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.download-sub { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; }
.download-sub a,
.checksum-details summary {
  font-size: 14px; font-weight: 400; color: var(--text-3);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 1px; line-height: 1.2; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.download-sub a:hover,
.checksum-details summary:hover {
  color: var(--text); border-color: var(--text-2);
}
.checksum-details { position: relative; }
.checksum-details summary { list-style: none; }
.checksum-details summary::-webkit-details-marker { display: none; }
.checksum-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 5;
  width: min(340px, calc(100vw - 40px));
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.checksum-panel p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

.install { padding: var(--sec-py) 0; }
.install-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.install-text h2 { font-size: clamp(19px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.install-text p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
code.ic { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2); padding: 2px 5px; border-radius: 2px; color: var(--text); border: 1px solid var(--border); }
.install-link {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border-dark); padding-bottom: 2px;
  display: inline-block; margin-top: 8px; transition: color 0.15s, border-color 0.15s;
}
.install-link:hover { color: var(--text); border-color: var(--text); }
.code-block { background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.code-header { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--border); background: var(--bg-3); }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #ff5f56; } .code-dot.y { background: #ffbd2e; } .code-dot.g { background: #27c93f; }
.code-fname { font-family: var(--mono); font-size: 11px; color: var(--text-4); margin-left: 8px; }
pre { padding: 20px 22px; overflow-x: auto; }
code { font-family: var(--mono); font-size: 13px; color: var(--text-2); line-height: 2; }
.c-comment { color: var(--text-4); }
.c-cmd { color: var(--accent-dark); font-weight: 500; }

footer {
  position: relative;
  background: #1e2226;
  padding: 56px 0 36px;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/374109.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
}
footer::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(12,16,19,0.72);
}
footer > .container { position: relative; z-index: 1; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid #262c31;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-bird { width: 30px; height: 30px; object-fit: cover; border-radius: 3px; }
.footer-name { font-size: 14px; font-weight: 600; color: #dde4e8; }
.footer-tagline { font-size: 12px; color: #4e5a62; margin-top: 3px; }
.footer-social { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #7a8590; background: #252b30;
  border: 1px solid #2c3338; padding: 7px 13px; border-radius: 4px;
  transition: color 0.15s;
}
.social-link:hover { color: #e8edf0; }
.social-link svg { flex-shrink: 0; }
.footer-mid {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px 2px; margin-bottom: 32px;
}
.footer-mid a {
  font-size: 13px; color: #5a6570;
  padding: 6px 14px; border-radius: 4px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.footer-mid a:hover { color: #e8edf0; background: #252b30; }
.footer-sep { display: none; }
.footer-bottom { border-top: 1px solid #262c31; padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #3e4850; }

@media (max-width: 1100px) {
  .about-grid, .bitcoin-grid, .install-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse { direction: ltr; }
  .feature-row-split { grid-template-columns: 1fr; }
  .feature-split-divider { display: none; }
  .feature-half + .feature-half { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border); }
  .download-inner { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .download-bird { width: 132px; }
}
@media (max-width: 768px) {
  :root { --sec-py: 52px; }
  nav { display: none; }
  .burger { display: flex; }
  .hero { min-height: 500px; padding: 96px 24px 58px; background-position: 58% bottom; }
  .band { padding: 34px 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-mid { justify-content: flex-start; }
  .footer-bottom { text-align: left; }
}
