/* ==========================================================================
   Midwest Cyber — custom static site
   Palette drawn from the Midwest Cyber badge: deep navy, prairie gold,
   green-to-teal field, circuit-trace motif.
   ========================================================================== */

:root {
  --navy-950: #081525;
  --navy-900: #0a1d33;
  --navy-800: #0f2a47;
  --navy-700: #153a5f;
  --navy-100: #dce6f1;
  --gold: #e8a33d;
  --gold-600: #c9871f;
  --gold-100: #fdf3e3;
  --teal: #1c7a9e;
  --teal-700: #16617e;
  --green: #2e9e62;
  --green-700: #1f7a49;
  --ink: #1f2a36;
  --muted: #55677a;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e3e9f0;
  --danger: #c0392b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(10, 29, 51, 0.08), 0 8px 24px rgba(10, 29, 51, 0.07);
  --shadow-lg: 0 4px 12px rgba(10, 29, 51, 0.1), 0 16px 40px rgba(10, 29, 51, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-900); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); }
a:hover { color: var(--navy-800); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

/* --- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Top bar ------------------------------------------------------------ */
.topbar { background: var(--navy-950); color: #cfdcea; font-size: 0.875rem; }
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem;
  justify-content: center; padding-top: 0.45rem; padding-bottom: 0.45rem;
}
.topbar a { color: #cfdcea; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar span { white-space: nowrap; }
@media (min-width: 720px) { .topbar .container { justify-content: flex-start; } .topbar .top-addr { margin-left: auto; } }

/* --- Header / navigation ------------------------------------------------ */
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-weight: 800; font-size: 1.22rem; color: var(--navy-900); letter-spacing: 0.01em; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--gold-600); letter-spacing: 0.14em; text-transform: uppercase; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem; cursor: pointer; color: var(--navy-900);
}
.nav-toggle svg { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .nav-drop-btn {
  display: block; padding: 0.55rem 0.8rem; text-decoration: none;
  color: var(--navy-800); font-weight: 600; font-size: 0.98rem;
  background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: var(--radius-sm);
}
.site-nav a:hover, .site-nav .nav-drop-btn:hover { color: var(--teal-700); background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--teal-700); }
.nav-drop-btn::after {
  content: ""; display: inline-block; margin-left: 0.4rem; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.site-nav ul.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 0.4rem; margin: 0;
  display: none; flex-direction: column; gap: 0;
}
.site-nav li.open > ul.dropdown { display: flex; }
.dropdown a { padding: 0.5rem 0.75rem; font-weight: 500; }
.btn-nav { margin-left: 0.5rem; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; }
  .site-nav ul.dropdown { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .btn-nav { margin: 0.5rem 0 0; text-align: center; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; padding: 0.7rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-600); color: var(--navy-950); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.08rem; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  color: #eaf1f8; position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(46, 158, 98, 0.28), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(28, 122, 158, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%238fb8d8' stroke-width='1'%3E%3Cpath d='M10 10h40v30h30v40M60 110V80h30M110 60H80'/%3E%3Ccircle cx='10' cy='10' r='3'/%3E%3Ccircle cx='80' cy='80' r='3'/%3E%3Ccircle cx='110' cy='60' r='3'/%3E%3Ccircle cx='60' cy='110' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; max-width: 21ch; }
.hero .lead { font-size: 1.15rem; max-width: 62ch; color: #c9d8e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.hero-badges span {
  border: 1px solid rgba(207, 220, 234, 0.35); color: #dbe7f2;
  padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}

/* Page hero (interior pages) */
.page-hero { text-align: left; }
.page-hero .crumbs { font-size: 0.9rem; color: #9fb6ca; margin-bottom: 0.75rem; }
.page-hero .crumbs a { color: #c9d8e6; text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero h1 { max-width: none; }
.page-hero .lead { margin-bottom: 0; }

/* --- Sections ----------------------------------------------------------- */
.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #d7e3ee; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.25rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.5rem;
}
.section-navy .eyebrow { color: var(--gold); }

/* --- Grids & cards ------------------------------------------------------ */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; font-size: 1.5rem;
  background: linear-gradient(150deg, var(--green), var(--teal)); color: #fff;
}
.card .icon svg { width: 26px; height: 26px; }
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after { content: " \2192"; }

.stat-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 2rem 0 0; }
.stat { text-align: center; padding: 1.1rem 0.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(207, 220, 234, 0.22); }
.stat b { display: block; font-size: 1.9rem; color: var(--gold); font-weight: 800; }
.stat span { font-size: 0.9rem; color: #c9d8e6; }

.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { padding: 0.35rem 0 0.35rem 1.9rem; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.62rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Split (two-column text/media) */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.7rem; height: 2.7rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--gold), var(--gold-600)); color: var(--navy-950);
  font-weight: 800; font-size: 1.2rem;
}

/* --- Pricing ------------------------------------------------------------ */
.price-card { display: flex; flex-direction: column; text-align: center; }
.price-card.featured { border: 2px solid var(--gold); position: relative; }
.price-card.featured::before {
  content: "Most Popular"; position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-950); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.9rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.price { font-size: 2.3rem; font-weight: 800; color: var(--navy-900); margin: 0.2rem 0 0; }
.price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.price-features { list-style: none; margin: 1.25rem 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); text-align: left; flex: 1; }
.price-features li { padding: 0.3rem 0 0.3rem 1.8rem; position: relative; font-size: 0.97rem; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.price-features li.excluded { color: #9aa9b8; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-features li.excluded::before {
  background: #c3ced9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* --- Testimonials ------------------------------------------------------- */
.quote-card { position: relative; padding-top: 2.4rem; }
.quote-card::before {
  content: "\201C"; position: absolute; top: 0.4rem; left: 1.4rem;
  font-size: 4rem; line-height: 1; color: var(--gold); font-family: Georgia, serif;
}
.quote-card blockquote { margin: 0 0 1.2rem; font-size: 1.12rem; color: var(--navy-800); }
.quote-card cite { font-style: normal; }
.quote-card cite b { display: block; color: var(--navy-900); }
.quote-card cite span { color: var(--muted); font-size: 0.92rem; }

/* --- Tables ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.spec { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.spec th, table.spec td { padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; }
table.spec th { background: var(--navy-800); color: #fff; font-weight: 700; width: 34%; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec td { font-family: var(--mono); font-size: 0.95rem; }

/* --- Forms -------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--navy-900); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid #c3ced9; border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(28, 122, 158, 0.35); border-color: var(--teal);
}
.field-check { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--teal); }
fieldset.form-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 0; background: #fff; }
fieldset.form-section legend { font-weight: 800; color: var(--navy-900); padding: 0 0.5rem; font-size: 1.05rem; }
.form-note { background: var(--gold-100); border: 1px solid #eeddba; border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; font-size: 0.95rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 0.75rem; }

/* --- Contact cards ------------------------------------------------------ */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 0.45rem 0; display: flex; gap: 0.7rem; align-items: baseline; }
.contact-list b { color: var(--navy-900); min-width: 5.2rem; }

/* --- Phone / SMS mockup (C.H.A.P.) -------------------------------------- */
.phone-mock {
  max-width: 360px; margin: 0 auto; background: var(--navy-950); border-radius: 28px;
  padding: 0.9rem; box-shadow: var(--shadow-lg);
}
.phone-mock .screen { background: #eef2f6; border-radius: 20px; padding: 1.1rem; font-size: 0.95rem; }
.phone-mock .bubble {
  background: #fff; border-radius: 14px 14px 14px 4px; padding: 0.9rem 1rem;
  box-shadow: var(--shadow); white-space: pre-line;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #b9c9d9; font-size: 0.96rem; }
.site-footer a { color: #d5e1ec; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-main { display: grid; gap: 2.25rem; padding: 3rem 0 2.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-brand img { width: 84px; height: 84px; margin-bottom: 0.75rem; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 0.22rem 0; }
.footer-bottom { border-top: 1px solid rgba(207, 220, 234, 0.18); padding: 1.1rem 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; }
.footer-bottom ul { display: flex; gap: 1.25rem; }

/* --- Prose (legal pages) ------------------------------------------------ */
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.4rem; }
.prose li { margin: 0.3rem 0; }
.updated { color: var(--muted); font-style: italic; }

/* ==========================================================================
   Public Checker widget
   ========================================================================== */
.checker { max-width: 880px; margin: 0 auto; }
.checker-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.checker-input-row { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
@media (min-width: 640px) { .checker-input-row { flex-direction: row; } }
.checker-input-row input {
  flex: 1; padding: 0.8rem 1rem; font: inherit; border: 1px solid #c3ced9;
  border-radius: var(--radius-sm); background: var(--bg);
}
.checker-input-row input:focus { outline: 3px solid rgba(28, 122, 158, 0.35); border-color: var(--teal); }
#checkButton { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: var(--radius-sm); }
#checkButton:disabled { opacity: 0.7; cursor: not-allowed; }
.check-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; margin-bottom: 1.1rem; }
.check-item h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; margin: 0; }
.check-item h3 .h-icon { color: var(--teal); display: inline-flex; }
.check-item h3 .status { margin-left: auto; display: inline-flex; }
.check-body { margin-top: 0.8rem; font-family: var(--mono); font-size: 0.9rem; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.check-note { font-size: 0.8rem; color: #8797a7; font-style: italic; margin-top: 0.7rem; }
.checker-error { color: var(--danger); background: #fdecea; border: 1px solid #f5c6c0; border-radius: var(--radius-sm); padding: 0.8rem 1rem; text-align: center; margin-bottom: 1.25rem; }
.checker-footer { text-align: center; margin-top: 1.25rem; font-size: 0.88rem; color: #8797a7; }
.warn-box { background: #fdf6e3; color: #8a6d1a; border: 1px solid #eeddba; padding: 0.75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 600; font-size: 0.95rem; font-family: var(--font); }
.text-ok { color: var(--green-700); } .text-bad { color: var(--danger); }
.text-warn { color: #b58a1b; } .text-alert { color: #d3641e; }
.hidden { display: none !important; }
.t-center { text-align: center; }
.loader-container { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.loader {
  width: 1.6rem; height: 1.6rem; border: 4px solid var(--line); border-top-color: var(--teal);
  border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.grade-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 5.4rem; height: 5.4rem; border-radius: 50%; font-size: 2.2rem; font-weight: 800;
  color: #fff; font-family: var(--font); margin: 0.5rem auto;
}
.grade-a { background: var(--green); } .grade-b { background: #7aa63c; }
.grade-c { background: #d1a02a; } .grade-d { background: #d3641e; }
.grade-e, .grade-f { background: var(--danger); } .grade-t, .grade-m { background: #6b7a89; }
.stack-center { display: flex; flex-direction: column; align-items: center; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; }
.link-list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1rem; }
