:root{
  --bg:#0b1220;        /* header/footer background */
  --ink:#0f172a;       /* dark text */
  --ink-muted:#475569; /* muted text */
  --paper:#ffffff;     /* page background */
  --brand:#2563eb;     /* primary */
  --brand-ink:#e2e8f0; /* on-primary */
  --section:#f8fafc;   /* alt section */
  --radius:12px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  line-height:1.6;
  color:var(--ink);
  background:var(--paper);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;background:#fff;padding:8px 12px;border-radius:6px}

.container{max-width:1240px;margin:0 auto;padding:0 20px}
.site-header{background:var(--bg);color:#fff;position:sticky;top:0}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.site-header{background:var(--bg);color:#fff;position:sticky;top:0}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
main{flex:1}
/* Desktop layout: push Contact to bottom above footer */
@media (min-width: 801px){
  main{display:flex;flex-direction:column}
  #contact{margin-top:auto}
  /* Let products section occupy remaining space on desktop */
  #products{flex:1 0 auto;display:flex;align-items:center}
  /* Make cards a bit larger on desktop */
  .card{padding:28px;min-height:240px}
  .card h3{font-size:1.25rem}
  .card p{font-size:1.0625rem}
  .badge{font-size:13px;padding:5px 10px}
}
.brand{color:#fff;text-decoration:none;font-weight:600;letter-spacing:0.2px;display:inline-flex;align-items:center;gap:10px}
.brand .logo{display:block;height:24px;width:auto;border-radius:6px}
.nav a{color:#cbd5e1;text-decoration:none;margin-left:20px}
.nav a:hover{color:#fff}

.hero{padding:64px 0;background:#f1f5f9;color:var(--ink);text-align:center}
.hero-logo{height:80px;width:auto;margin-bottom:16px;border-radius:10px}
.hero h1{margin:0 0 12px;font-size:2.2rem;line-height:1.2}
.tagline{margin:0 auto 16px;max-width:720px;color:var(--ink-muted);font-size:1.05rem}
.hero .intro{margin:0 auto 24px;max-width:800px;color:var(--ink)}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;border:1px solid #334155;color:#e2e8f0;text-decoration:none}
.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.btn:hover{filter:brightness(1.05)}
.hero .btn{color:var(--ink);border-color:#cbd5e1}

.section{padding:48px 0}
.section.alt{background:var(--section)}
.section h2{margin-top:0}

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.grid.grid-2{grid-template-columns:repeat(2,minmax(380px,580px));justify-content:center}
@media (max-width: 800px){.grid{grid-template-columns:1fr}}
@media (max-width: 800px){.grid.grid-2{grid-template-columns:1fr}}

/* Two-card row centered with fixed max column width */

.card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px rgba(0,0,0,0.04);transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease}
.card h3{margin-top:0;margin-bottom:8px}
.card p{margin:0}
.card:not(.muted):hover,.card:not(.muted):focus-within{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,0.08);border-color:#dbe2ea}
.card.full{grid-column:1 / -1;justify-self:center;max-width:clamp(720px,90vw,1120px);width:100%;}

.card.muted{opacity:0.9;filter:grayscale(0.25);border-color:#eceff3}
.card.muted h3{color:#475569}
.card.muted p{color:#64748b}
.card.muted{cursor:default}
.card.muted.extra{
  opacity:0.65;
  filter:grayscale(0.5) saturate(0.9) brightness(0.98);
  border-color:#f1f5f9;
  background:#ffffff;
}
.card.muted.extra h3{color:#64748b}
.card.muted.extra p{color:#94a3b8}
.card.muted:hover,
.card.muted:focus-within{
  opacity:0.75;
  filter:grayscale(0.5) saturate(0.9) brightness(0.98);
  border-color:#f1f5f9;
  box-shadow:none;
  transform:none;
}
.card.muted.extra:hover,
.card.muted.extra:focus-within{
  opacity:0.6;
  filter:grayscale(0.6) saturate(0.85) brightness(0.97);
}

/* Badges */
.badge{display:inline-block;font-size:12px;font-weight:600;line-height:1;padding:4px 8px;border-radius:999px;border:1px solid #cbd5e1;margin-bottom:8px;background:#eef2ff;color:#3730a3}
.badge.soon{background:#fef3c7;color:#92400e;border-color:#f59e0b}
.badge.available{background:#dcfce7;color:#166534;border-color:#86efac}

.contact-list{list-style:none;padding:0;margin:0}
.contact-list li+li{margin-top:6px}
.contact-list a{color:var(--brand)}

.site-footer{background:var(--bg);color:#94a3b8;padding:20px 0;margin-top:24px}
.site-footer p{margin:0}

/* Desktop-only: tighten contact section vertical spacing further */
@media (min-width: 801px){
  #contact.section{padding-top:8px;padding-bottom:12px}
  #contact h2{margin:0 0 8px}
  .contact-list{margin:0}
  .contact-list li+li{margin-top:2px}
}

