/* GradeMyBiz shelf page. Single static file, no build step, no dependencies
   beyond the two webfonts. Brand tokens lifted from the retired app's
   globals.css so the page still reads as the same product. */

:root {
  color-scheme: light;

  --brand-teal: #007D68;
  --brand-teal-dark: #00665A;
  --accent-gold: #E69500;

  --bg-main: #FCFCFC;
  --bg-alt: #F5F5F5;
  --surface: #F2EFE9;
  --text-main: #222222;
  --text-muted: #555555;
  --line: #E4E1DB;

  --wrap: 46rem;
}

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

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

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .wordmark {
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header */

.head {
  border-bottom: 1px solid var(--line);
  background: var(--bg-main);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1rem;
}

.mark { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; }

.wordmark { font-size: 1.2rem; font-weight: 700; }

.badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: #E6F2EF;
  border: 1px solid #C7E2DB;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

/* Hero */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 9vw, 5.5rem);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0 0 1.1rem;
}

.lede {
  font-size: clamp(1.0625rem, 2.4vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 1.4rem;
  max-width: 34rem;
}

.meta {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  font-weight: 500;
}

/* Body sections */

.band { padding-block: clamp(2.25rem, 6vw, 3.25rem); }

.band h2 {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  margin: 0 0 0.9rem;
}

.band p { margin: 0 0 1.05rem; }
.band p:last-child { margin-bottom: 0; }

.fine {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Grade distribution */

.scale {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin: 1.5rem 0 0.75rem;
  padding: 0;
}

.scale li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.scale .g {
  display: block;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-teal);
  line-height: 1;
}

.scale .n {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Figures */

figure {
  margin: 1.75rem 0 0;
}

figure img {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding-block: 1.75rem;
}

.foot p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 30rem) {
  .scale { grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
  .scale li { padding: 0.7rem 0.2rem; }
  .scale .g { font-size: 1.1rem; }
  .scale .n { font-size: 0.75rem; }
}
