:root {
  --bg:          #fbfaf7;
  --bg-2:        #f3f1ea;
  --bg-3:        #e9e6dc;
  --border:      #e4e0d5;
  --border-dark: #c9c4b6;
  --text:        #1a1a18;
  --text-2:      #4a4a46;
  --text-3:      #6f6f68;
  --text-4:      #9a9a91;
  --accent:      #e8470a;
  --accent-dark: #c23a07;
  --accent-btn:  #d6410a;
  --accent-pale: #fdf1ec;
  --blue:        #0098e4;
  --ink:         #0e1418;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Mono', monospace;
  --max-w:       1160px;
  --pad-x:       clamp(20px, 5vw, 64px);
  --edge:        max(var(--pad-x), calc((100% - var(--max-w)) / 2 + var(--pad-x)));
  --sec-py:      96px;
  --r:           14px;
  --shadow:      0 1px 2px rgba(14,20,24,.04), 0 14px 32px -18px rgba(14,20,24,.22);
}

*, *::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; }
::selection { background: var(--accent-pale); color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sw-shell { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.sw-internals, .sw-download, .sw-install { scroll-margin-top: 16px; }

#sw-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
#sw-topbar.is-scrolled, body.sw-subpage #sw-topbar {
  background: rgba(251,250,247,.9); backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--border); box-shadow: 0 8px 22px rgba(26,26,24,.04);
}
.sw-header-frame { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 14px var(--pad-x); }
.sw-brand { display: flex; align-items: center; gap: 10px; }
.sw-brand-mark { width: 37px; height: 37px; object-fit: cover; border-radius: 9px; }
.sw-brand-title { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.95); letter-spacing: -.01em; transition: color .2s; }
.sw-brand-note { display: none; }
nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
nav a { font-size: 14px; color: rgba(255,255,255,.78); padding: 7px 14px; border-radius: 99px; transition: color .15s, background .15s; }
nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
#sw-topbar.is-scrolled .sw-brand-title, body.sw-subpage .sw-brand-title { color: #11110f; }
#sw-topbar.is-scrolled nav a, body.sw-subpage nav a { color: var(--text-2); }
#sw-topbar.is-scrolled nav a:hover, body.sw-subpage nav a:hover,
body.sw-subpage nav a.is-active-page, #sw-topbar.is-scrolled nav a.is-active-page { color: var(--text); background: var(--bg-2); }
nav a.is-active-page { box-shadow: inset 0 -2px 0 var(--accent); }
.sw-nav-cta {
  font-size: 13px; font-weight: 600; color: #1a1a18 !important;
  background: rgba(255,255,255,.92); padding: 8px 18px; border-radius: 99px;
  justify-self: end; transition: background .15s, color .15s !important; box-shadow: none !important;
}
.sw-nav-cta:hover { background: var(--accent) !important; color: #fff !important; }
#sw-topbar.is-scrolled .sw-nav-cta, body.sw-subpage .sw-nav-cta { background: var(--text); color: var(--bg) !important; }
#sw-topbar.is-scrolled .sw-nav-cta:hover, body.sw-subpage .sw-nav-cta:hover { background: var(--accent) !important; color: #fff !important; }

.sw-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 12px 10px; margin: -8px -10px -8px 0; border-radius: 10px; }
.sw-menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
body:not(.sw-subpage) #sw-topbar:not(.is-scrolled) .sw-menu-toggle span { background: #fff; }
#sw-topbar:has(.sw-mobile-drawer.is-open) { background: var(--bg); border-color: var(--border); }
#sw-topbar:has(.is-open) .sw-brand-title { color: #11110f; }
#sw-topbar:has(.is-open) .sw-menu-toggle span { background: var(--text) !important; }
#sw-topbar:has(.is-open) .sw-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#sw-topbar:has(.is-open) .sw-menu-toggle span:nth-child(2) { opacity: 0; }
#sw-topbar:has(.is-open) .sw-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.sw-mobile-drawer { display: none; flex-direction: column; background: var(--bg); border-top: 1px solid var(--border); padding: 8px var(--pad-x) 18px; box-shadow: 0 18px 30px -12px rgba(14,20,24,.2); animation: sw-drop .18s ease-out; }
.sw-mobile-drawer a { font-size: 16px; font-weight: 500; color: var(--text-2); padding: 15px 0; border-bottom: 1px solid var(--border); }
.sw-mobile-drawer a:last-child { background: var(--accent-btn); color: #fff; text-align: center; border: 0; border-radius: 99px; margin-top: 16px; padding: 14px; }
.sw-mobile-drawer.is-open { display: flex; }
@keyframes sw-drop { from { opacity: 0; transform: translateY(-6px); } }

.sw-btn-primary {
  font-size: 14px; font-weight: 600; background: var(--accent-btn); color: #fff;
  padding: 13px 28px; border-radius: 99px; display: inline-block; letter-spacing: .01em;
  box-shadow: none; transition: background .15s;
}
.sw-btn-primary:hover { background: var(--accent-dark); }
.sw-btn-secondary {
  font-size: 14px; font-weight: 500; color: var(--text-2); border: 1px solid var(--border-dark);
  padding: 12px 28px; border-radius: 99px; display: inline-block; transition: color .15s, border-color .15s, background .15s;
}
.sw-btn-secondary:hover { color: var(--text); border-color: var(--text-2); }

.sw-hero {
  position: relative; min-height: 600px; padding: 86px var(--edge) 70px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left;
  background: var(--ink) url('../images/sparrow-wallet-desktop-hero.jpg') 70% center / cover no-repeat; overflow: hidden;
}
.sw-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,20,24,.9) 0%, rgba(14,20,24,.68) 40%, rgba(14,20,24,.12) 80%),
              linear-gradient(to top, rgba(14,20,24,.5), transparent 40%);
}
.sw-hero > * { position: relative; z-index: 1; }
.sw-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; color: #fff; line-height: .98; letter-spacing: -.045em; margin-bottom: 22px; }
.sw-hero-copy { font-size: 17px; color: rgba(255,255,255,.84); line-height: 1.65; margin: 0 0 36px; max-width: 460px; }
.sw-hero-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sw-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sw-hero-kicker { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.sw-hero .sw-btn-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.34); }
.sw-hero .sw-btn-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.sw-proof-line, .sw-proof-item, .sw-proof-dot { display: none; }

.sw-bitcoin-band-wrap { background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px), var(--blue); }
.sw-bitcoin-band { padding: 48px 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.sw-bitcoin-band-copy { min-width: 0; }
.sw-bitcoin-band-title { font-size: clamp(30px, 4vw, 48px); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 14px; }
.sw-bitcoin-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.sw-bitcoin-band-title em { font-style: italic; font-weight: 300; opacity: .75; }
.sw-bitcoin-band-note { font-size: 17px; color: rgba(255,255,255,.9); }
.sw-bitcoin-band-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sw-band-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; padding: 10px 20px; transition: background .15s, color .15s; }
.sw-band-link svg { flex-shrink: 0; }
.sw-band-link:hover { background: #fff; color: #0078b4; }

.sw-overview { padding: var(--sec-py) 0; }
.sw-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; }
.sw-overview-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
.sw-overview-mark { grid-column: 1; grid-row: 1 / 4; align-self: center; justify-self: center; width: min(220px, 68%); }
.sw-overview-mark img { width: 100%; border: 1px solid var(--border); border-radius: 28px; }
.sw-overview-copy p, .sw-overview-copy .sw-text-link { grid-column: 2; }
.sw-overview-copy p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.sw-overview-copy p:last-of-type { margin-bottom: 24px; }
.sw-text-link { font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; justify-self: start; transition: color .15s; }
.sw-text-link:hover { color: var(--accent-dark); }
.sw-capability-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sw-capability-list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 20px; background: #fff; border-radius: var(--r);
  font-size: 14px; color: var(--text-2); line-height: 1.55; transition: border-color .15s, background .15s;
}
.sw-check-mark { width: 24px; height: 24px; border-radius: 8px; background: var(--accent-pale); border: 1px solid #f3b99e; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sw-check-mark::after { content: ''; width: 8px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translateY(-1px); }

.sw-principle { position: relative; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--border); padding: var(--sec-py) 0; }
.sw-principle-grid { display: grid; grid-template-columns: minmax(0, 560px); }
.sw-principle-kicker { display: none; }
.sw-principle-copy { position: relative; z-index: 2; }
.sw-principle-copy h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 20px; }
.sw-principle-copy p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.sw-principle-copy p:last-child { margin-bottom: 0; }
.sw-principle-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 1; }
.sw-principle-frame { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.sw-principle-frame img { width: 100%; height: 100%; object-fit: cover; }

.sw-internals { position: relative; padding: var(--sec-py) 0; }
.sw-internals::before {
  content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: url('../images/bitcoin-node-privacy-background.jpg') center / cover; opacity: .1; filter: grayscale(1);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 80%); mask-image: linear-gradient(to left, #000, transparent 80%);
}
.sw-internals > .sw-shell { position: relative; }
.sw-feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 44px 0; position: relative; }
.sw-feature-row + .sw-feature-row::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--border) 10%, var(--border) 90%, transparent); }
.sw-feature-row.is-reversed { direction: rtl; }
.sw-feature-row.is-reversed > * { direction: ltr; }
.sw-feature-row.sw-feature-split { align-items: stretch; gap: 24px; padding: 44px 0 8px; }
.sw-feature-split { display: grid; }
.sw-feature-divider { display: none; }
.sw-feature-half { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 28px 28px 30px; box-shadow: var(--shadow); }
.sw-feature-half:last-child { border-top-color: var(--blue); }
.sw-feature-half h3, .sw-feature-copy h3 { font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.22; color: var(--text); margin-bottom: 14px; }
.sw-feature-half p, .sw-feature-copy p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.sw-feature-half p:last-child, .sw-feature-copy p:last-child { margin-bottom: 0; }
.sw-feature-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px 20px; min-height: 164px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
.sw-utxo-list { display: flex; flex-direction: column; gap: 11px; }
.sw-utxo-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; }
.sw-utxo-row:has(.is-spent) { opacity: .6; }
.sw-utxo-address { color: var(--text-3); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-utxo-amount { font-weight: 600; color: var(--text); white-space: nowrap; }
.sw-utxo-dot {
  width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--utxo-icon) center / contain no-repeat; mask: var(--utxo-icon) center / contain no-repeat;
}
.sw-utxo-dot.is-unspent {
  color: var(--accent);
  --utxo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E");
}
.sw-utxo-dot.is-spent {
  color: var(--border-dark);
  --utxo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}
.sw-utxo-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-family: var(--mono); padding: 2px 8px 2px 6px; border-radius: 99px; flex-shrink: 0; }
.sw-utxo-tag::before {
  content: ''; width: 12px; height: 12px; background: currentColor; flex-shrink: 0;
  -webkit-mask: var(--utxo-icon) center / contain no-repeat; mask: var(--utxo-icon) center / contain no-repeat;
}
.sw-utxo-tag.is-unspent {
  background: var(--accent-pale); color: var(--accent-dark);
  --utxo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.sw-utxo-tag.is-spent {
  background: var(--bg-3); color: var(--text-3);
  --utxo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.sw-device-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-device-chip { --chip-icon-color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; font-weight: 500; line-height: 1.2; padding: 7px 12px 7px 9px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-2); }
.sw-device-chip::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; background: var(--chip-icon-color);
  -webkit-mask: var(--chip-icon) center / contain no-repeat; mask: var(--chip-icon) center / contain no-repeat;
}
.sw-device-chip.is-usb {
  --chip-icon-color: var(--accent-dark);
  --chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v8'/%3E%3Cpath d='m16 6-4-4-4 4'/%3E%3Cpath d='M12 10v4'/%3E%3Cpath d='M12 14H8a2 2 0 0 1-2-2v-1'/%3E%3Cpath d='M6 11H4'/%3E%3Cpath d='M12 14h4a2 2 0 0 0 2-2v-1'/%3E%3Cpath d='M18 11h2'/%3E%3Cpath d='M4 9v4'/%3E%3Cpath d='M20 9v4'/%3E%3C/svg%3E");
}
.sw-device-chip.is-qr {
  --chip-icon-color: #0a78b5;
  background: #eef8fd;
  border-color: #cfe8f6;
  --chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='5' height='5' x='3' y='3' rx='1'/%3E%3Crect width='5' height='5' x='16' y='3' rx='1'/%3E%3Crect width='5' height='5' x='3' y='16' rx='1'/%3E%3Cpath d='M21 16h-3a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M21 21v.01'/%3E%3Cpath d='M12 7v3a2 2 0 0 1-2 2H7'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M12 3h.01'/%3E%3Cpath d='M12 16v.01'/%3E%3Cpath d='M16 12h1'/%3E%3Cpath d='M21 12v.01'/%3E%3Cpath d='M12 21v-1'/%3E%3C/svg%3E");
}

.sw-download { position: relative; overflow: hidden; padding: calc(var(--sec-py) * 1.1) 0; background: var(--ink) url('../images/sparrow-wallet-download-background.jpg') center / cover no-repeat; }
.sw-download::before { content: ''; position: absolute; inset: 0; background: rgba(14,20,24,.78); }
.sw-download > .sw-shell { position: relative; }
.sw-download-grid { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; align-items: center; text-align: center; }
.sw-download-copy { display: flex; flex-direction: column; align-items: center; }
.sw-download-copy h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sw-download-title { display: inline-flex; align-items: center; gap: 6px; }
.sw-download-copy > p { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.sw-download-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.sw-download .sw-btn-secondary { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); color: #fff; }
.sw-download .sw-btn-secondary:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.sw-download-links { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; position: relative; }
.sw-download-links a, .sw-checksum summary { font-size: 14px; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; line-height: 1.2; cursor: pointer; transition: color .15s, border-color .15s; }
.sw-download-links a:hover, .sw-checksum summary:hover { color: #fff; border-color: #fff; }
.sw-checksum { position: relative; }
.sw-checksum summary { list-style: none; }
.sw-checksum summary::-webkit-details-marker { display: none; }
.sw-checksum-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 5; width: min(340px, calc(100vw - 40px)); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.sw-checksum-panel p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

.sw-install { padding: var(--sec-py) 0; }
.sw-install-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.sw-install-copy { order: 2; }
.sw-install-copy h2 { font-size: clamp(20px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 16px; }
.sw-install-copy p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
code.sw-inline-code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; color: var(--text); border: 1px solid var(--border); }
.sw-install-link { font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; display: inline-block; margin-top: 8px; transition: color .15s; }
.sw-install-link:hover { color: var(--accent-dark); }
.sw-terminal-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.sw-terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.sw-terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.sw-terminal-dot.is-red { background: #ff5f56; } .sw-terminal-dot.is-yellow { background: #ffbd2e; } .sw-terminal-dot.is-green { background: #27c93f; }
.sw-terminal-title { 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; }
.sw-code-muted { color: var(--text-4); }
.sw-code-command { color: var(--accent-dark); font-weight: 500; }
.sw-terminal-card .sw-code-command::before { content: '$ '; color: var(--text-4); font-weight: 400; }

footer { position: relative; background: var(--ink); border-top: 3px solid; border-image: linear-gradient(90deg, var(--accent), var(--blue)) 1; padding: 72px 0 28px; overflow: hidden; }
footer > .sw-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
.sw-footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.sw-footer-brand { display: flex; align-items: center; gap: 14px; }
.sw-footer-mark { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.sw-footer-name { font-size: 20px; font-weight: 700; color: #e8edf0; }
.sw-footer-nav { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
.sw-footer-nav a { font-size: 13.5px; color: #aab5bf; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .15s; }
.sw-footer-nav a:hover { color: #fff; }
.sw-footer-nav a[target]::after { content: ' \2197'; color: #6f7b86; }
.sw-footer-sep { display: none; }
.sw-footer-bottom { grid-column: 1 / -1; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.09); padding-top: 24px; }
.sw-footer-bottom p { font-size: 12px; color: #7d8995; text-align: center; }

@media (max-width: 1100px) {
  .sw-overview-copy { grid-template-columns: minmax(0, 1fr); }
  .sw-overview-mark { grid-row: auto; margin-bottom: 18px; width: 150px; }
  .sw-overview-copy p, .sw-overview-copy .sw-text-link { grid-column: 1; }
  .sw-capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-principle-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sw-principle-media { position: static; width: auto; }
  .sw-principle-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; -webkit-mask-image: none; mask-image: none; }
  .sw-feature-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sw-feature-row.is-reversed { direction: ltr; }
  .sw-feature-split { grid-template-columns: minmax(0, 1fr); }
  .sw-download-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-install-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sw-install-copy { order: 0; }
  .sw-internals::before { width: 100%; }
}
@media (max-width: 768px) {
  :root { --sec-py: 60px; }
  nav { display: none; }
  .sw-header-frame { display: flex; justify-content: space-between; }
  .sw-header-frame > .sw-nav-cta { display: none; }
  .sw-menu-toggle { display: flex; }
  .sw-hero { min-height: 600px; padding: 88px 20px 72px; background-position: 68% center; }
  .sw-hero::before { background: linear-gradient(to bottom, rgba(14,20,24,.7), rgba(14,20,24,.55) 40%, rgba(14,20,24,.92)); }
  .sw-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .sw-hero-meta { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .sw-hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .sw-hero-actions a, .sw-download-actions a { text-align: center; }
  .sw-capability-list { grid-template-columns: minmax(0, 1fr); }
  .sw-capability-list li { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; }
  .sw-feature-half { padding: 24px; }
  .sw-feature-panel { padding: 18px 16px; }
  .sw-download-actions { flex-direction: column; }
  .sw-download-links { gap: 20px; }
  .sw-bitcoin-band { padding: 40px 0; }
  pre { padding: 16px; }
  footer { padding: 56px 0 24px; }
  footer > .sw-shell { grid-template-columns: minmax(0, 1fr); }
  .sw-footer-nav { grid-column: 1; grid-row: auto; margin-top: 36px; }
  .sw-footer-bottom { margin-top: 36px; }
}
