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

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-700);
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink-900); font-weight: 600; }
h1.serif, h2.serif, h3.serif { font-family: var(--font-serif); letter-spacing: -0.01em; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

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

/* ---- shared components ---- */

.steward-wordmark {
  display: inline-flex; align-items: center;
}
.steward-wordmark img { height: 32px; width: auto; }

.pill {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; line-height: 1;
}
.pill--ready  { background: var(--green-100); color: var(--green-700); }
.pill--review { background: var(--amber-100); color: var(--amber-600); }
.pill--soon   { background: var(--ink-100);   color: var(--ink-700);   }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; }
.dot--complete   { background: var(--green-500); }
.dot--review     { background: var(--amber-600); }
.dot--notstarted { background: var(--ink-300);   }

.icon-tile {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green-700);
  border-radius: var(--r-tile);
  flex: 0 0 40px;
}
.icon-tile svg { width: 20px; height: 20px; stroke-width: 1.75; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 18px;
  border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn--primary { background: var(--green-950); color: var(--white); }
.btn--primary:hover { background: #0a2117; color: #fff; }
.btn--secondary { background: var(--white); color: var(--ink-900); border-color: var(--ink-300); }
.btn--secondary:hover { background: var(--ink-50); }
.btn--block { width: 100%; }

.input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--ink-300); border-radius: var(--r-input);
  background: var(--white); color: var(--ink-900);
  font: 400 15px/20px var(--font-sans);
}
.input::placeholder { color: var(--ink-500); }
.input:focus { outline: none; border-color: var(--green-700); box-shadow: var(--focus-ring); }

/* focus ring for interactive elements */
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-btn); }

.label { display: block; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--ink-700); margin-bottom: 6px; }

.divider-or {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-500); font-size: 12px; font-weight: 500;
  margin: 24px 0;
}
.divider-or::before, .divider-or::after {
  content: ""; flex: 1; height: 1px; background: var(--ink-300);
}
