/* Color scheme and base styles inherited from the reference file */
:root{
  --bg:#0b1220;
  --card:#121b2e;
  --text:#e9eefc;
  --muted:#a9b3d1;
  --border:rgba(255,255,255,.10);
  --accent: rgba(122,167,255,.65);
  --shadow: 0 16px 40px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html, body{ height:100%; margin:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(122,167,255,.16), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(125,255,167,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-banner{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18,27,46,.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.intro{
  text-align: center;
  padding: clamp(28px, 5vw, 56px) 0 8px;
}

.site-title{
  margin: 0 0 6px;
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section{
  margin: 22px 0 24px;
}

.card{
  background: rgba(18,27,46,.85);
  border: 1px solid var(--border);
  border-radius: 22px; /* rounded corner border */
  padding: clamp(22px, 4.5vw, 44px);
  box-shadow: var(--shadow);
}

h2{
  margin: 0 0 10px;
  font-size: clamp(20px, 4vw, 32px);
}

h3{
  margin: 0 0 8px;
  font-size: clamp(18px, 3.5vw, 24px);
  color: var(--text);
}

.subhead{
  margin: 18px 0 8px;
  font-size: clamp(16px, 3vw, 20px);
}

.meta{
  font-weight: normal;
  color: var(--muted);
  font-size: 0.9em;
}

p{
  color: var(--muted);
  margin: 0 0 8px 0;
}

/* Single-number sections via the OL; no numbers in headings */
.sections-grid{
  list-style: decimal;
  padding-left: 20px;
  margin: 18px 0 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.sections-grid > li{
  position: relative;
}

/* Responsive: place cards side-by-side on wider screens */
@media (min-width: 900px){
  .sections-grid{
    grid-template-columns: 1fr 1fr;
    padding-left: 20px;
  }
}

.site-footer{
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding: 18px 0 36px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/* Professional-styled resource links */
.resource-list{
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.resource-link{
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .08s ease, box-shadow .08s ease, border-color .12s ease;
  font-weight: 600;
  letter-spacing: .2px;
}

.resource-link:hover, .resource-link:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.30);
  border-color: var(--accent);
}

/* Accessibility: visible focus */
:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}
