/* SHSATinfo.com, shared stylesheet.
   Bell Curves visual identity: Helvetica Neue, bc-blue lead color,
   4px max radius, flat cards, minimal motion. Real media queries,
   no JS-computed layout. */

:root {
  --bc-blue: #33769F;
  --deep-navy: #16324A;
  --orange: #F97316;
  --orange-hover: #D65E0A;
  --teal: #14B8A6;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --pale: #F1F5F9;
  --line: #E4E7E9;
  --line-strong: #CBD5E1;
  --slate: #64748B;
  --slate-light: #8A9499;
  --ink: #16324A;
  --ink-soft: #34474D;
  --body-text: #4B5459;
  --callout-bg: #EAF2F5;
  --fact-bad-bg: #FBE9E6;
  --fact-bad-fg: #B4483A;
  --fact-good-bg: #E4F3EC;
  --fact-good-fg: #237A57;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius-sm: 2px;
  --radius-md: 4px;
  --space: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--bc-blue); text-decoration: none; }
a:hover { color: var(--deep-navy); }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout helpers ---------- */

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.prose { max-width: 820px; margin: 0 auto; padding: 0 40px; }
.prose-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }

section { padding-top: 0; }

@media (max-width: 640px) {
  .container, .prose, .prose-narrow { padding: 0 20px; }
}

/* ---------- Header / Nav ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.wordmark span { color: var(--bc-blue); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-weight: 500; font-size: 15px; color: var(--ink); padding: 4px 2px; }
.nav-link:hover { color: var(--bc-blue); }
.nav-link.is-active { color: var(--bc-blue); border-bottom: 2px solid var(--bc-blue); }
.nav-link.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border-bottom: none;
  font-weight: 700;
  font-size: 13px;
}
.nav-link.nav-cta:hover,
.nav-link.nav-cta.is-active {
  background: var(--orange-hover);
  color: var(--white);
  border-bottom: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .nav-link { padding: 10px 0; font-size: 16px; }
.mobile-menu .nav-cta {
  display: inline-block;
  margin-top: 8px;
  text-align: center;
  padding: 8px 14px;
}
.mobile-menu.is-open { display: flex; }

@media (max-width: 899px) {
  .site-header { padding: 14px 20px; }
  .site-nav { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 40px 24px;
  max-width: 820px;
  margin: 0 auto;
}
.hero.is-article { padding: 56px 40px 16px; }
.hero.is-compact { padding: 56px 40px 12px; max-width: 760px; }

.hero h1 {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero.is-article h1 { font-size: 38px; line-height: 1.2; margin-bottom: 16px; }
.hero.is-compact h1 { font-size: 34px; line-height: 1.22; margin-bottom: 14px; }

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 18px;
  max-width: 65ch;
}

.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-light);
  flex-wrap: wrap;
  border-left: 3px solid var(--line-strong);
  padding-left: 12px;
}
.byline a { font-weight: 600; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); display: inline-block; }

@media (max-width: 640px) {
  .hero, .hero.is-article, .hero.is-compact { padding: 40px 20px 20px; }
  .hero h1 { font-size: 28px; }
  .hero.is-compact h1 { font-size: 26px; }
  .hero-lead { font-size: 16px; }
}

/* ---------- Section entrance (single, restrained) ---------- */

@keyframes bc-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.entrance { animation: bc-fade-up 500ms var(--ease-out) both; }
.entrance-1 { animation-delay: 40ms; }
.entrance-2 { animation-delay: 90ms; }

@media (prefers-reduced-motion: reduce) {
  .entrance, .entrance-1, .entrance-2 { animation: none; }
}

/* ---------- Callout (Quick answer / direct answer) ---------- */

.callout {
  background: var(--callout-bg);
  border-left: 4px solid var(--bc-blue);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.callout-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-blue);
  margin-bottom: 8px;
}
.callout p { font-size: 16px; line-height: 1.65; color: var(--ink); margin: 0; font-weight: 500; }

.direct-answer {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 18px;
  font-weight: 500;
  max-width: 65ch;
}

@media (max-width: 640px) {
  .callout { padding: 20px; }
  .callout p, .direct-answer { font-size: 16px; }
}

/* ---------- Section headings ---------- */

h2.section-h { font-weight: 700; font-size: 29px; margin: 0 0 10px; color: var(--ink); }
.section-sub { font-size: 15.5px; color: var(--slate); line-height: 1.6; margin: 0 0 28px; max-width: 65ch; }

.article-section { max-width: 820px; margin: 0 auto 52px; padding: 0 40px; }
.article-section h2 { font-weight: 700; font-size: 26px; margin: 0 0 12px; color: var(--ink); }
.article-section h3 { font-weight: 700; font-size: 17px; margin: 0 0 10px; color: var(--bc-blue); }

.body-p { font-size: 15px; color: var(--body-text); line-height: 1.6; margin: 0 0 20px; max-width: 65ch; }

@media (max-width: 640px) {
  h2.section-h { font-size: 24px; }
  .article-section { padding: 0 20px; }
  .article-section h2 { font-size: 22px; }
}

/* ---------- Journey / feature grid ---------- */

.journey-section { max-width: 1100px; margin: 0 auto; padding: 24px 40px 56px; }
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.journey-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 150ms var(--ease-out);
}
.journey-card:hover { border-color: var(--bc-blue); }
.journey-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 10px;
}
.journey-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--ink); line-height: 1.3; }
.journey-card p { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 0; }

@media (max-width: 959px) {
  .journey-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-section { padding: 16px 20px 48px; }
}

/* ---------- Stats strip ---------- */

.stats-strip { background: var(--deep-navy); padding: 48px 40px; }
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num { font-weight: 700; font-size: 30px; color: var(--white); }
.stat-caption { font-size: 12.5px; color: #9BB4C2; margin-top: 8px; line-height: 1.5; }

@media (max-width: 639px) {
  .stats-strip { padding: 36px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Myth / fact cards ---------- */

.myth-block { max-width: 820px; margin: 0 auto 64px; padding: 0 40px; }
.myth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}
.myth-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.myth-row:last-child { margin-bottom: 0; }
.myth-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  margin-top: 2px;
}
.myth-tag.bad { color: var(--fact-bad-fg); background: var(--fact-bad-bg); }
.myth-tag.good { color: var(--fact-good-fg); background: var(--fact-good-bg); }
.myth-row p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

@media (max-width: 640px) {
  .myth-block { padding: 0 20px; }
  .myth-card { padding: 18px; }
}

/* ---------- Help / CTA band ---------- */

.help-band { padding: 64px 40px; }
.help-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bc-blue);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}
.help-box h2 { font-weight: 700; font-size: 26px; color: var(--white); margin: 0 0 12px; }
.help-box p { font-size: 15.5px; color: #DCEAF0; line-height: 1.65; margin: 0 0 24px; }

.btn {
  display: inline-block;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-orange { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--white); }
.btn-outline-on-blue { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
.btn-outline-on-blue:hover { background: var(--white); color: var(--deep-navy); border-color: var(--white); }
.btn-download { background: var(--orange); color: var(--white); font-size: 14.5px; padding: 12px 22px; }
.btn-download:hover { background: var(--orange-hover); color: var(--white); }

@media (max-width: 640px) {
  .help-band { padding: 48px 20px; }
  .help-box { padding: 28px; }
  .help-box h2 { font-size: 22px; }
}

/* ---------- Related links ---------- */

.related { max-width: 820px; margin: 0 auto 8px; padding: 0 40px; }
.related.is-narrow { max-width: 760px; }
.related-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.related-row { display: flex; gap: 20px; flex-wrap: wrap; }
.related-row a { font-size: 14.5px; font-weight: 600; color: var(--bc-blue); }

@media (max-width: 640px) { .related, .related.is-narrow { padding: 0 20px; } }

/* ---------- Footer ---------- */

.site-footer { padding: 44px 40px; background: var(--deep-navy); }
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: #7FB4C9; }
.footer-desc { font-size: 13px; color: #8B9499; max-width: 320px; line-height: 1.6; margin: 0 0 10px; }
.footer-updated { font-size: 12px; color: #66727A; margin: 0; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #7FB4C9; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: #C4CBCE; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid #24445E;
  font-size: 12px;
  color: #6E8896;
}

@media (max-width: 639px) { .site-footer { padding: 36px 20px; } }

/* ---------- Tables ---------- */

.table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 20px;
}
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 11px 14px; font-size: 14px; }
th { background: #F6F8F9; font-weight: 700; }
tr + tr td { border-top: 1px solid var(--line); }

/* ---------- Format cards (two-column) ---------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  transition: border-color 150ms var(--ease-out);
}
.format-card:hover { border-color: var(--bc-blue); }
.format-card ul { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0; padding-left: 18px; }

@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Glossary ---------- */

.glossary-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.glossary-card h3 { font-weight: 700; font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bc-blue); }
.glossary-card dl { margin: 0; display: grid; gap: 12px; }
.glossary-card dt { font-weight: 700; font-size: 14px; color: var(--ink); display: inline; }
.glossary-card dd { display: inline; margin: 0; font-size: 14px; color: var(--body-text); }

/* ---------- Bar chart ---------- */

.chart-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 26px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chart-label { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 6px; }
.chart-row { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 10px; }
.chart-name { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.chart-track { background: var(--callout-bg); border-radius: 3px; height: 10px; overflow: hidden; }
.chart-fill { background: var(--bc-blue); height: 100%; border-radius: 3px; }
.chart-val { font-size: 12.5px; color: var(--ink); font-weight: 700; text-align: right; }

@media (max-width: 640px) {
  .chart-card { padding: 18px; }
  .chart-row { grid-template-columns: 90px 1fr 34px; }
}

/* ---------- Download card ---------- */

.download-card {
  background: var(--callout-bg);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.download-card h2 { font-weight: 700; font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.download-card p { font-size: 14px; color: #3B4A54; margin: 0; line-height: 1.5; }

@media (max-width: 640px) {
  .download-card { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* ---------- Anchor tab nav (guide page) ---------- */

.tab-nav-wrap { max-width: 820px; margin: 0 auto 44px; padding: 0 40px; }
.tab-nav-row { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.tab-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.tab-link:hover { border-color: var(--bc-blue); color: var(--bc-blue); }

@media (max-width: 640px) { .tab-nav-wrap { padding: 0 20px; } }

/* ---------- Checklist ---------- */

.checklist-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.checkbox { width: 18px; height: 18px; border: 2px solid var(--bc-blue); border-radius: 3px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 640px) { .checklist-card { padding: 20px; } }

/* ---------- FAQ list ---------- */

.faq-list { max-width: 760px; margin: 24px auto 56px; padding: 0 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 26px; }
.faq-item h2 { font-weight: 700; font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.faq-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

@media (max-width: 640px) {
  .faq-list { padding: 0 20px; }
  .faq-item { padding: 18px 20px; }
}

/* ---------- Contact card (about page) ---------- */

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; }
.contact-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin: 0; }

/* ---------- Utility lists ---------- */

.ul-body { font-size: 15px; color: var(--body-text); line-height: 1.75; margin: 0; padding-left: 20px; }

/* ---------- Seat request form (free course beta) ---------- */

.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: grid;
  gap: 16px;
}
.request-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.request-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--white);
}
.request-field textarea { min-height: 90px; resize: vertical; }
.request-note { font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0; }
.request-form .btn { justify-self: start; }
.request-form .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { font-size: 14px; line-height: 1.55; margin: 0; }
.form-status.is-error { color: var(--fact-bad-fg); }
.form-status.is-ok { color: var(--fact-good-fg); font-weight: 600; }

@media (max-width: 640px) {
  .request-form { padding: 20px; }
  .request-row { grid-template-columns: 1fr; }
}
