/* ============================================================
   Expert Match AI — design system
   Palette: deep teal base, amber CTA, dark hero / light content
   ============================================================ */

:root {
  --teal-950: #07211F;
  --teal-900: #0A2E2B;
  --teal-800: #115E59;
  --teal-700: #0F766E;
  --teal-500: #14B8A6;
  --teal-300: #5EEAD4;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-100: #FEF3C7;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --bg: #F6F8FA;
  --panel: #FFFFFF;
  --panel-soft: #F8FAFC;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px rgba(7, 33, 31, 0.22);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 2px 4px rgba(15, 23, 42, 0.06), 0 14px 34px rgba(15, 23, 42, 0.10);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin-top: 0; }

/* ============ HERO (dark) ============ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(20, 184, 166, 0.28), transparent 60%),
    radial-gradient(800px 420px at 12% 8%, rgba(245, 158, 11, 0.10), transparent 55%),
    linear-gradient(175deg, var(--teal-900) 0%, var(--teal-950) 100%);
  color: #E8F4F2;
  padding-bottom: 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.brand-name {
  color: #F2FBF9;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--teal-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 8px;
  color: rgba(232, 244, 242, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 0;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.accent-text {
  white-space: nowrap;
  background: linear-gradient(92deg, var(--teal-300), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(232, 244, 242, 0.78);
  font-size: 1.06rem;
  line-height: 1.6;
}

/* ---- Match card ---- */

.match-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  text-align: left;
}

.dropzone {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 20px 26px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--ink-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: var(--teal-500);
  background: #F0FBF9;
  outline: none;
}

.dropzone.dragover {
  border-color: var(--teal-500);
  background: #E6FAF6;
  transform: scale(1.01);
}

.dropzone.busy {
  border-style: solid;
  border-color: var(--teal-500);
  background: #F0FBF9;
  cursor: progress;
}

.dropzone.done {
  border-style: solid;
  border-color: var(--teal-500);
  background: #ECFDF7;
}

.dz-icon {
  width: 34px;
  height: 34px;
  color: var(--teal-700);
  margin-bottom: 2px;
}

.dropzone strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dropzone span {
  color: var(--muted);
  font-size: 0.85rem;
}

.linkedin-hint {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: center;
}

.linkedin-hint svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  color: #0A66C2;
}

.linkedin-hint strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
  transition: border-color 130ms ease, box-shadow 130ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

textarea { resize: vertical; }

/* ---- Buttons ---- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 130ms ease, background 130ms ease, box-shadow 130ms ease, opacity 130ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: 0.65; transform: none; }

.button.cta {
  background: linear-gradient(180deg, var(--amber-500), var(--amber-600));
  color: #241303;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.cta:hover {
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.primary {
  background: var(--teal-700);
  color: #fff;
}

.button.primary:hover { background: var(--teal-800); }

.button.secondary {
  background: var(--panel);
  color: var(--ink-soft);
  border-color: var(--line-strong);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #E8F4F2;
  border-color: rgba(255, 255, 255, 0.18);
}

.button.full { width: 100%; margin-top: 12px; }

/* ---- Status + optional fields ---- */

.status-note {
  margin: 10px 0 0;
  min-height: 18px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.micro-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.optional-fields {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.optional-fields summary {
  padding: 11px 14px;
  color: var(--teal-700);
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  background: var(--panel-soft);
  user-select: none;
}

.optional-fields summary::-webkit-details-marker { display: none; }
.optional-fields summary::before { content: "+ "; }
.optional-fields[open] summary::before { content: "\2212 "; }
.optional-fields[open] summary { border-bottom: 1px solid var(--line); }

.optional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}

.optional-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 650;
}

.hero-stats {
  margin: 26px 0 0;
  color: rgba(232, 244, 242, 0.66);
  font-size: 0.9rem;
}

.hero-stats strong {
  color: var(--teal-300);
  font-weight: 750;
}

/* ============ HOW-IT-WORKS STRIP ============ */

.how-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: -34px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 3;
}

.how-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.how-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.how-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
}

.how-item span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ============ RESULTS (light) ============ */

.results-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 28px 48px;
}

.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.results-toolbar h2 {
  margin-bottom: 2px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.search-input { width: min(250px, 32vw); }
.select-input { width: 140px; }

.filters {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.chip {
  border: 0;
  border-radius: 7px;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease;
}

.chip:hover { color: var(--ink); }

.chip.active {
  background: var(--teal-700);
  color: #fff;
}

/* ---- Opportunity cards ---- */

.opportunity-list {
  display: grid;
  gap: 14px;
}

.opportunity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.opportunity:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.opportunity h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 6px;
  padding: 0 9px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.tag.source {
  background: #E7F6F4;
  border-color: #C4E8E3;
  color: var(--teal-800);
  text-transform: capitalize;
}

.tag.pay {
  background: var(--amber-100);
  border-color: #FDE68A;
  color: #92400E;
}

.description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.assessment {
  margin: 10px 0 0;
  padding: 10px 13px;
  border-left: 3px solid var(--teal-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #F0FBF9;
  color: #134E4A;
  font-size: 0.88rem;
  line-height: 1.5;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 550;
}

.reasons li::before {
  content: "\2713";
  color: var(--teal-600, #0D9488);
  font-weight: 800;
}

/* ---- Score column ---- */

.score {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
  min-width: 108px;
}

.score-ring {
  --p: 50;
  --ring: var(--teal-500);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--panel) 76%, transparent 77% 100%),
    conic-gradient(var(--ring) calc(var(--p) * 1%), #E8EEF2 0);
}

.score-ring span {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.score-hint {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  max-width: 110px;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tier-top { background: #D7F5E8; color: #065F46; }
.tier-strong { background: #DDF3F0; color: #0F766E; }
.tier-good { background: #E3ECFD; color: #1D4ED8; }
.tier-possible { background: #FEF3C7; color: #92400E; }
.tier-low { background: #EEF2F6; color: #64748B; }

/* ---- Notices, progress, skeleton ---- */

.notice {
  margin-bottom: 14px;
  padding: 12px 15px;
  border: 1px solid #C4E8E3;
  border-radius: var(--radius-sm);
  background: #EFFBF8;
  color: #134E4A;
  font-size: 0.9rem;
  line-height: 1.5;
}

.progress-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #C4E8E3;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  background: #EFFBF8;
  color: #134E4A;
}

.progress-card strong,
.progress-card small { display: block; }

.progress-card small {
  margin-top: 2px;
  color: #5A8A83;
  font-size: 0.78rem;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(20, 184, 166, 0.22);
  border-top-color: var(--teal-500);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent),
    #EBF0F4;
  background-size: 220px 100%, 100% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
  from { background-position: -220px 0, 0 0; }
  to { background-position: calc(100% + 220px) 0, 0 0; }
}

/* ---- Subscribe card ---- */

.subscribe-card {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 200px at 90% -20%, rgba(20, 184, 166, 0.25), transparent 60%),
    linear-gradient(160deg, var(--teal-900), var(--teal-950));
  color: #E8F4F2;
}

.subscribe-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.subscribe-card p {
  margin: 0;
  color: rgba(232, 244, 242, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  flex: 1 1 240px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.subscribe-form input[type="email"]::placeholder { color: rgba(232, 244, 242, 0.5); }

.subscribe-form input[type="email"]:focus {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18);
}

.subscribe-card .micro-note {
  color: rgba(232, 244, 242, 0.6);
  text-align: left;
  margin: 0;
}

/* ---- Source health (admin) ---- */

.source-health {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.source-health h2 { font-size: 1rem; margin-bottom: 10px; }

.source-list { display: grid; gap: 8px; }

.source-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  font-size: 0.84rem;
}

.source-item strong { text-transform: capitalize; }
.source-item span { color: var(--muted); overflow-wrap: anywhere; }

/* ============ FOOTER (dark) ============ */

.site-footer {
  margin-top: 30px;
  padding: 40px 28px 34px;
  background: linear-gradient(180deg, var(--teal-950), #05100F);
  color: rgba(232, 244, 242, 0.75);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #F2FBF9;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.footer-brand-row img { border-radius: 7px; }
.footer-brand-row em { font-style: normal; color: var(--teal-300); }

.footer-brand {
  margin: 0 0 14px;
  color: rgba(232, 244, 242, 0.6);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--teal-300);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-disclosure {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(232, 244, 242, 0.45);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ============ STANDALONE PAGES (about/privacy/apply/landing) ============ */

.disclosure-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(20, 184, 166, 0.10), transparent 60%),
    var(--bg);
}

.disclosure {
  width: min(680px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-card-hover);
}

.disclosure h1 {
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.disclosure h2 {
  margin-top: 22px;
  font-size: 1.02rem;
  font-weight: 700;
}

.disclosure p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.disclosure .eyebrow {
  margin: 0 0 6px;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disclosure-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.disclosure .brand-name { color: var(--ink); }
.disclosure .brand-lockup { margin-bottom: 4px; }

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .how-strip { grid-template-columns: 1fr; margin-top: -20px; }
  .search-input { width: min(100%, 320px); }
}

@media (max-width: 640px) {
  .nav { padding: 14px 16px; gap: 10px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 7px; font-size: 0.8rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 0.95rem; }
  .hero-content { padding: 26px 16px 0; }
  .match-card { padding: 16px; }
  .optional-grid { grid-template-columns: 1fr; }
  .results-wrap { padding: 26px 16px 40px; }
  .results-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-controls { justify-content: stretch; }
  .toolbar-controls > * { width: 100%; }
  .filters { justify-content: space-between; }
  .chip { flex: 1; }
  .opportunity { grid-template-columns: 1fr; padding: 18px; }
  .score {
    grid-template-columns: auto auto 1fr;
    justify-items: start;
    align-items: center;
    min-width: 0;
    gap: 12px;
  }
  .score .button { justify-self: stretch; }
  .how-strip { padding: 0 16px; }
  .site-footer { padding: 32px 18px 28px; }
  .nav-links a[href="#how"] { display: none; }
}
