:root{
  --color-santa-red:#be123c;
  --color-consul-teal:#0d9488;
  --bg-app:#f8fafc;
  --bg-card:#ffffff;
  --border-subtle:rgba(15,23,42,0.08);
  --text-primary:#0f172a;
  --text-muted:#64748b
}
[data-theme='dark']{
  --bg-app:#0a0f1a;
  --bg-card:#1e293b;
  --border-subtle:rgba(255,255,255,0.1);
  --text-primary:#f1f5f9;
  --text-muted:#94a3b8
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  background:var(--bg-app);
  color:var(--text-primary)
}
a{text-decoration:none}
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  background:var(--bg-card);
  border-bottom:1px solid var(--border-subtle)
}
.brand{display:flex;gap:12px;align-items:center}
.brand-logo{width:48px;height:48px}
.brand-text{display:flex;flex-direction:column}
.brand-title{font-weight:700;font-size:20px}
.brand-subtitle{font-size:12px;color:var(--text-muted)}
.header-actions{display:flex;gap:8px}
.main{max-width:980px;margin:0 auto;padding:32px 20px}
.hero{display:flex;flex-direction:column;gap:16px;align-items:flex-start;margin-bottom:24px}
.hero-title{font-size:32px;line-height:1.2;margin:0}
.gradient-text{color:var(--color-santa-red)}
.hero-desc{color:var(--text-muted);max-width:720px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 12px;border-radius:8px;border:1px solid var(--border-subtle);
  font-weight:600;transition:transform .06s ease,opacity .1s ease
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--color-santa-red);color:#fff;border:0}
.btn.primary:hover{opacity:.92}
.btn.secondary{background:var(--bg-card);color:var(--color-santa-red);border:1px solid var(--color-santa-red)}
.btn.secondary:hover{opacity:.92}
.btn.secondary:visited{color:var(--color-santa-red);background:var(--bg-card)}
.btn.link{color:var(--color-santa-red);background:transparent;border-color:var(--color-santa-red)}
.btn.ghost{background:transparent;color:var(--text-muted)}
.features{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;margin:24px 0
}
.feature-card{
  background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:12px;
  padding:16px;display:flex;flex-direction:column;gap:8px
}
.feature-icon{font-size:22px}
.feature-title{font-weight:700}
.feature-desc{color:var(--text-muted)}
.section-title{font-size:20px;margin:20px 0 8px}
.section-desc{color:var(--text-muted);margin-bottom:12px}
.availability{margin:28px 0}
.open-source{margin:28px 0}
.footer{
  margin-top:32px;padding:16px 20px;border-top:1px solid var(--border-subtle);
  background:var(--bg-card)
}
.footer-content{max-width:980px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}
.site-link{color:var(--color-consul-teal)}

@media (max-width: 980px){
  .main{padding:24px 16px}
  .features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-logo{width:40px;height:40px}
  .hero-title{font-size:28px}
  .header{padding:12px 16px}
}
@media (max-width: 640px){
  .features{grid-template-columns:repeat(1,minmax(0,1fr))}
  .cta-row{flex-direction:column}
  .cta-row .btn{width:100%}
  .footer-content{flex-direction:column;gap:8px}
  .hero-title{font-size:24px}
  .brand-title{font-size:18px}
}
@media (max-width: 480px){
  .btn{padding:7px 10px;border-radius:6px;font-size:13px}
  .feature-card{padding:12px}
  .brand-logo{width:34px;height:34px}
  .header{padding:10px 12px}
  .hero{gap:12px}
}
@media (max-width: 400px){
  .btn{padding:6px 10px;border-radius:6px;font-size:12px}
  .hero-title{font-size:22px}
}
