:root{
  --bg:#0b1220;        /* dark background */
  --panel:#0e172a;     /* panel cards */
  --text:#e5e7eb;      /* main text */
  --muted:#9ca3af;     /* secondary text */
  --brand:#60a5fa;     /* accent (links/buttons) */
  --ring: currentColor;
}

@media (prefers-color-scheme: light){
  :root{
    --bg:#ffffff;
    --panel:#ffffff;
    --text:#111827;
    --muted:#6b7280;
    --brand:#2563eb;
  }
}

* { box-sizing:border-box; }
html, body { height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  line-height:1.6;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:24px;
}

.site-header{
  padding-top:32px;
  padding-bottom:12px;
  text-align:center;
}
.title{ font-size:clamp(28px, 4vw, 40px); margin:8px 0 0; line-height:1.15; }
.subtitle{ color:var(--muted); margin:0 0 8px; }
.tagline{ margin:10px auto 20px; max-width:760px; color:var(--text); }

.avatar{
  width:96px; height:96px; border-radius:50%;
  display:block; margin:0 auto 8px; background:#fff1;
}

.cta-row{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:14px;
}
.btn{
  display:inline-block; padding:10px 14px; border-radius:8px;
  background:transparent; color:var(--brand); border:1px solid currentColor; text-decoration:none; font-weight:600;
}
.btn:hover, .btn:focus-visible{ outline:2px solid var(--ring); outline-offset:2px; }

.panel{
  background:var(--panel);
  border-radius:16px;
  margin:18px 24px;
  padding:8px 0;
  box-shadow:0 8px 30px rgb(0 0 0 / 0.25);
}

.section{ padding:8px 16px 8px; margin:8px 0; }
.section h2{ font-size:18px; margin:8px 0 4px; }
.section p{ margin:8px 0; }

.bullets{ margin:8px 0; padding-left:18px; }
.bullets li{ margin:6px 0; }

.metrics{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  list-style:none; padding:0; margin:8px 0 6px;
}
@media (min-width:640px){ .metrics{ grid-template-columns:repeat(4, minmax(0,1fr)); } }
.metric{ font-weight:800; font-size:20px; line-height:1.2; display:block; }
.label{ color:var(--muted); font-size:12px; }

.muted{ color:var(--muted); }
.small{ font-size:12px; }

.contact{ list-style:none; padding:0; margin:8px 0; display:flex; flex-wrap:wrap; gap:14px; }
.contact a{ color:var(--brand); text-decoration:none; border-bottom:1px dotted transparent; }
.contact a:hover{ border-bottom-color: currentColor; }

.site-footer{ text-align:center; color:var(--muted); padding:16px 0 40px; }

a:focus-visible, button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:8px 10px;
  background:var(--panel); border-radius:8px; z-index:9999;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print (aim for 1 page) */
@media print{
  :root{ --bg:#ffffff; --panel:#ffffff; --text:#111827; --muted:#6b7280; }
  body{ color:var(--text); }
  .panel{ box-shadow:none; border:0; padding:0; margin:10px 0; }
  .btn, .cta-row, .avatar { display:none !important; }
  .wrap{ max-width:780px; }
  a{ color:#111827; text-decoration:none; }
}

/* Visually hidden but accessible */
.visually-hidden{
  position:absolute !important;
  height:1px; width:1px; overflow:hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border:0; padding:0; margin:-1px;
}
