/* ═══════════════════════════════════════════════════
   Opius — cmux-style radical minimalism
   Pure black, narrow column, no decoration, no cards
   ═══════════════════════════════════════════════════ */

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #090909;
  color: #e8e8e8;
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{display:block;max-width:100%}
svg{display:block}
::selection{background:#3b82f6;color:#fff}
:focus-visible{outline:1.5px solid #3b82f6;outline-offset:2px;border-radius:2px}

/* ── Container: narrow centered column ── */
.container{
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section label (used for Features, FAQ) ── */
.section-label{
  font-size: 13px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════ */
.nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: #090909;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left{
  flex-shrink: 0;
}
.nav-logo{
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #e8e8e8;
}
.nav-logo img{border-radius:3px}
.nav-center{
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link{
  font-size: 13px;
  font-weight: 500;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  transition: color 120ms ease, background 120ms ease;
}
.nav-link:hover{color:#e8e8e8;background:rgba(255,255,255,0.06)}
.nav-link-gh{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #666;
}
.nav-link-gh svg{opacity:0.7}
.nav-gh-count{font-size:12px;color:#888}
.nav-support-wrap{
  display: flex;
  align-items: center;
  gap: 2px;
}
@media(max-width:640px){
  .nav-support-wrap{gap:0}
}
.nav-download{
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: #e8e8e8;
  padding: 6px 16px;
  border-radius: 20px;
  margin-left: 8px;
  transition: opacity 120ms ease;
}
.nav-download:hover{opacity:0.85}
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}
.nav-overlay.open{
  opacity: 1;
  visibility: visible;
}
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  background: #888;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:640px){
  .nav-center{
    position:fixed;
    top:0;
    right:-100%;
    width:260px;
    height:100vh;
    background:#0a0a0a;
    flex-direction:column;
    align-items:stretch;
    padding:80px 20px 24px;
    gap:2px;
    transition:right 280ms ease;
    border-left:1px solid #1a1a1a;
    z-index:99;
  }
  .nav-center.open{right:0}
  .nav-link{padding:10px 14px;font-size:14px;border-radius:6px}
  .nav-link-gh{justify-content:flex-start}
  .nav-download{margin:8px 0 0 0;text-align:center;padding:10px 16px}
  .nav-toggle{display:flex;z-index:100}
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
}
.hero-brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  margin-bottom: 24px;
}
.hero-brand img{border-radius:3px}
.hero-title{
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #e8e8e8;
  margin-bottom: 20px;
}
.cursor{
  display: inline-block;
  font-weight: 300;
  color: #e8e8e8;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.hero-sub{
  font-size: 15px;
  line-height: 1.75;
  color: #888;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-ph{
  display: flex;
  align-items: center;
}
.hero-ph a{
  opacity: 0.7;
  transition: opacity 150ms ease;
  line-height: 0;
}
.hero-ph a:hover{
  opacity: 1;
}
.hero-ph img{
  display: block;
  width: 180px;
  height: auto;
}
@media(max-width:640px){
  .hero-ph img{
    width: 150px;
  }
}
@media(max-width:480px){
  .hero-ph{
    width: 100%;
  }
  .hero-ph img{
    width: 100%;
    max-width: 180px;
  }
}

/* ── OS-aware primary download wrapper ── */
.hero-actions-primary{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* ── Disabled button state ── */
.btn-disabled{
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: #333;
  color: #888;
  border-color: #333;
}

/* ── OS badge (e.g. "In Development" for macOS) ── */
.os-badge{
  display: none;
  font-size: 11px;
  font-weight: 500;
  color: #888;
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.os-badge.visible{
  display: inline-block;
}

/* ── Other Downloads section ── */
.other-downloads{
  margin-top: 24px;
}
.other-downloads-label{
  font-size: 12px;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.other-downloads-links{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.other-downloads-link{
  font-size: 13px;
  color: #888;
  transition: color 120ms ease;
  position: relative;
}
.other-downloads-link:hover{
  color: #e8e8e8;
}
.other-downloads-link-disabled{
  color: #555;
  cursor: default;
}
.other-downloads-link-disabled:hover{
  color: #555;
}

/* ── Buttons (pill-shaped) ── */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity 150ms ease, background 150ms ease, border-color 150ms ease;
}
.btn:active{transform:scale(0.97)}
.btn-primary{
  background: #e8e8e8;
  color: #000;
  border-color: #e8e8e8;
}
.btn-primary:hover{opacity:0.85}
.btn-secondary{
  background: transparent;
  color: #e8e8e8;
  border-color: #333;
}
.btn-secondary:hover{background:rgba(255,255,255,0.06);border-color:#555}

/* ═══════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════ */
.features{
  padding: 100px 0;
}
.feature-list{
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feature-list li{
  font-size: 14px;
  line-height: 1.7;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-dash{
  color: #555;
  flex-shrink: 0;
}
.feature-term{
  font-weight: 600;
  color: #e8e8e8;
  flex-shrink: 0;
}
.feature-desc{
  color: #888;
  flex-basis: 100%;
}

/* ═══════════════════════════════════════════════════
   SCREENSHOT
   ═══════════════════════════════════════════════════ */
.screenshot-section{
  padding: 40px 0 80px;
}
.screenshot-img{
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #1a1a1a;
  display: block;
}

/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.faq{
  padding: 100px 0;
}
.faq-list{
  display: flex;
  flex-direction: column;
}
.faq-item{
  border-top: 1px solid #1a1a1a;
}
.faq-item:last-child{
  border-bottom: 1px solid #1a1a1a;
}
.faq-q{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 18px 0;
  color: #e8e8e8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 120ms ease;
}
.faq-q:hover{color:#fff}
.faq-toggle{
  flex-shrink: 0;
  font-size: 16px;
  color: #555;
  font-weight: 400;
  width: 18px;
  text-align: center;
  transition: color 120ms ease;
}
.faq-q:hover .faq-toggle{color:#888}
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}
.faq-a p{
  font-size: 14px;
  line-height: 1.75;
  color: #888;
  padding: 0 0 20px;
}
.faq-a code{
  font-family: 'SF Mono', 'Cascadia Code', 'JetBrains Mono', monospace;
  font-size: 0.9em;
  color: #5a8ab5;
}
.faq-item.open .faq-a{max-height:300px}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer{
  border-top: 1px solid #1a1a1a;
  margin-top: 20px;
  padding: 40px 0 48px;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a{
  font-size: 13px;
  color: #555;
  transition: color 120ms ease;
}
.footer-links a:hover{color:#e8e8e8}
.footer-copy{
  font-size: 12px;
  color: #444;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media(max-width:480px){
  .container{padding:0 20px}
  .hero{padding:100px 0 60px}
  .hero-title{font-size:clamp(1.8rem,8vw,2.4rem)}
  .hero-sub{font-size:14px}
  .features,.faq{padding:60px 0}
  .btn{padding:9px 20px;font-size:13px}
}

/* ═══════════════════════════════════════════════════
   SUPPORT / KO-FI
   ═══════════════════════════════════════════════════ */

.footer-support{
  padding: 28px 0;
  border-top: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-support-text{
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 360px;
}

.btn-support{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #e8e8e8;
  background: transparent;
  border: 1.5px solid #333;
  border-radius: 20px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
  text-decoration: none;
  font-family: inherit;
}
.btn-support:hover{
  background: rgba(255,255,255,0.06);
  border-color: #555;
}
.btn-support:active{
  transform: scale(0.97);
}
.btn-support svg{
  flex-shrink: 0;
}

.nav-link-support{
  font-size: 12px;
  color: #555;
  padding: 6px 10px;
  border-radius: 20px;
}



/* ── Reduced motion ── */
@media(prefers-reduced-motion:reduce){
  .cursor{animation:none;opacity:1}
  html{scroll-behavior:auto}
  *{animation-duration:0.01ms!important;transition-duration:0.01ms!important}
}
