:root {
  --slate-900: #1E2A2A;
  --slate-800: #2D3F3F;
  --sage-600: #4A7C6F;
  --sage-400: #7EB8A4;
  --mist: #E8EDE9;
  --mist-dim: rgba(232, 237, 233, 0.55);
  --mist-faint: rgba(232, 237, 233, 0.32);
  --line: #2D3F3F;
  --warn: #D9A96A;
  --fail: #C97B6A;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
  scroll-behavior: smooth;
}

input, button, select {
  letter-spacing: 1px;
}

.wrap,
.wrap * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrap {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0px;
  background: var(--mist);
  color: var(--slate-900);
  font-family: "ClashGrotesk-Regular", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap > * {
  position: relative;
  z-index: 1;
}

#page-header {
  background: var(--background);
  padding-top: 180px;
}
#page-header .page-header__heading {
  color: var(--light);
}
#page-header .page-header__content {
  color: var(--light);
}
#page-header .page-header__eyebrow {
  color: #4a7c6f !important;
}

#footer {
  font-family: "ClashGrotesk-Regular", sans-serif;
}
#footer a {
  text-decoration: none;
}

#cta {
  background: var(--slate-900);
  padding: var(--ym) var(--xm);
}
#cta .cta__heading {
  font-size: 4rem;
  margin-bottom: 30px;
  color: var(--light);
}
#cta .cta__heading em {
  color: var(--sage);
}
#cta .cta__content {
  color: #c6d2cb;
  font-size: 1.1875rem;
  margin-bottom: 50px;
}

.page-section {
  padding: var(--ym) var(--xm);
  width: 100%;
}

.page-section-inner {
  max-width: 600px;
}

.page-section-header {
  max-width: 800px;
}
.page-section-header h2, .page-section-header h3, .page-section-header h4 {
  color: var(--dark);
  margin-bottom: 26px;
}
.page-section-header p {
  margin-bottom: 20px;
}

.intro {
  max-width: 620px;
  margin-bottom: 40px;
}
.intro h1 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--background);
}
.intro h1 em {
  font-style: italic;
}
.intro p {
  font-size: 16px;
  line-height: 1.6;
}

.url-form {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 0;
  text-align: center;
}

.url-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 16px;
  transition: border-color 180ms ease;
}
.url-field:focus-within {
  border-color: rgba(126, 184, 164, 0.5);
}
.url-field .proto {
  color: var(--background);
  font-size: 15px;
  padding-right: 2px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.url-field input {
  flex: 1;
  background: none !important;
  border: none !important;
  outline: none !important;
  color: var(--background) !important;
  font-family: inherit;
  font-size: 15px !important;
  padding: 15px 0 !important;
  min-width: 0;
}
.url-field input::-moz-placeholder {
  color: rgba(30, 42, 42, 0.4) !important;
}
.url-field input::placeholder {
  color: rgba(30, 42, 42, 0.4) !important;
}

.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--sage-400);
  border: none;
  border-radius: 10px;
  padding: 15px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: #8fc5b2;
  }
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.fine-print {
  font-size: 12.5px;
  line-height: 120%;
  color: var(--sage-600);
  margin-top: 26px;
}

#audit-section {
  padding: 0px var(--xm);
}

.audit {
  display: none;
  grid-template-columns: 400px 1fr;
  gap: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out);
}
.audit.visible {
  display: grid;
}
.audit.shown {
  opacity: 1;
  transform: translateY(0);
}

.panel {
  background: var(--slate-800);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.score-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--slate-800);
}

.dial {
  position: relative;
  width: 218px;
  height: 218px;
  margin: 6px 0 4px;
}
.dial svg {
  transform: rotate(-90deg);
}
.dial .track {
  stroke: rgba(232, 237, 233, 0.07);
}
.dial .fill {
  stroke: url(#dialGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 550ms var(--ease-in-out);
}

.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dial-score {
  font-family: "DM Serif Display", serif;
  font-size: 74px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.dial-max {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--mist-faint);
  margin-top: 4px;
}

.audit-status {
  font-size: 13.5px;
  color: var(--mist-dim);
  text-align: center;
  min-height: 20px;
  font-variant-numeric: tabular-nums;
}
.audit-status.done {
  color: var(--sage-400);
  font-weight: 500;
}

.audited-url {
  font-size: 12.5px;
  color: var(--mist-faint);
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cats {
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cat-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-head {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}

.cat-name {
  color: var(--mist-dim);
  font-weight: 500;
}

.cat-pts {
  color: var(--mist-faint);
  font-variant-numeric: tabular-nums;
}

.cat-bar {
  height: 5px;
  background: rgba(232, 237, 233, 0.07);
  border-radius: 100px;
  overflow: hidden;
}

.cat-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage-600), var(--sage-400));
  border-radius: 100px;
  transition: width 550ms var(--ease-in-out);
}

.panel--light {
  --light: var(--slate-900);
  --mist-dim: rgba(30, 42, 42, 0.9);
  --mist-faint: rgba(30, 42, 42, 0.7);
  --line: rgba(30, 42, 42, 0.12);
  background: var(--mist);
  color: var(--slate-900);
  padding: 18px 0 8px;
  overflow: hidden;
  border: none;
}
.panel--light .check {
  display: flex;
  align-items: center;
}
.panel--light .check-icon {
  font-family: "Font Awesome 5 Pro";
  font-size: 30px;
  width: 40px;
  height: 40px;
}
.panel--light .check.pass {
  border-left: 4px solid #2E6F52;
  background: #DDEDE5;
}
.panel--light .check.pass .check-icon {
  background: transparent;
  color: #2E6F52;
}
.panel--light .check.warn {
  border-left: 4px solid #be8e16;
  background: #F3EBD4;
}
.panel--light .check.warn .check-icon {
  background: transparent;
  color: #be8e16;
}
.panel--light .check.fail {
  border-left: 4px solid #A33F3F;
  background: #F3DDDD;
}
.panel--light .check.fail .check-icon {
  background: transparent;
  color: #A33F3F;
}
.panel--light .check-name {
  color: var(--slate-900);
  letter-spacing: 0px;
}

.feed-panel {
  padding: 0px 40px;
}

.feed-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist-faint);
  padding: 0 26px 14px;
  display: none;
  justify-content: space-between;
}

.feed-count {
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.feed {
  list-style: none;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  opacity: 0;
  transform: translateY(8px);
  animation: checkIn 320ms var(--ease-out) forwards;
}
.check:last-child {
  border-bottom: none;
}
.check.pass .check-icon {
  background: rgba(126, 184, 164, 0.16);
  color: var(--sage-400);
  background: var(--sage-600);
  color: var(--mist);
}
.check.warn .check-icon {
  background: rgba(217, 169, 106, 0.14);
  color: var(--warn);
}
.check.fail .check-icon {
  background: rgba(201, 123, 106, 0.14);
  color: var(--fail);
}
.check.pending-row {
  animation: none;
  opacity: 1;
  transform: none;
  color: var(--mist-faint);
}

@keyframes checkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.check-icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.check-body {
  flex: 1;
  min-width: 0;
}

.check-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--light);
  font-family: "DM Serif", serif;
  margin-bottom: 6px;
}

.check-detail {
  font-size: 16px;
  color: var(--mist-dim);
  margin-top: 2px;
  line-height: 1.45;
}

.check-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-900);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 124, 111, 0.3);
  padding-bottom: 1px;
  transition: border-color 160ms ease, color 160ms ease;
}
.check-link:hover {
  color: var(--slate-900);
  border-bottom-color: var(--sage-600);
}

.broken-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.broken-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.broken-link a {
  color: var(--sage-900);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px solid rgba(74, 124, 111, 0.25);
}
.broken-link a:hover {
  color: var(--slate-900);
  border-bottom-color: var(--sage-600);
}

.broken-status {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 600;
  color: #b23b3b;
  background: rgba(178, 59, 59, 0.1);
  border-radius: 4px;
  padding: 1px 6px;
}

.check-issues {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.issue-group .issue-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 3px;
}
.issue-group .issue-pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.issue-group .issue-pages li {
  font-size: 13px;
  line-height: 1.4;
}
.issue-group .issue-pages a {
  color: var(--sage-900);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px solid rgba(74, 124, 111, 0.25);
}
.issue-group .issue-pages a:hover {
  color: var(--slate-900);
  border-bottom-color: var(--sage-600);
}

.check-time {
  font-size: 13px;
  color: var(--sage-900);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-top: 3px;
}

.spinner {
  width: 15px;
  height: 15px;
  margin: 3px;
  border: 2px solid rgba(126, 184, 164, 0.2);
  border-top-color: var(--sage-400);
  border-radius: 50%;
  animation: spin 550ms linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pending-label {
  font-size: 13.5px;
  padding-top: 2px;
}

#results-section {
  padding: 0px var(--xm) var(--ym) var(--xm);
}

.results {
  display: none;
  padding-top: var(--ym);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.results.visible {
  display: block;
}
.results.shown {
  opacity: 1;
  transform: translateY(0);
}
.results h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  margin-bottom: 16px;
  color: #1e2a2a;
}
.results .sub {
  color: #1e2a2a;
  margin-bottom: 26px;
}

.recs-shell {
  position: relative;
}

.recs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: filter 450ms ease;
}
.recs.locked {
  filter: blur(7px);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.rec {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 17px 20px;
}

.rec-num {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  color: var(--sage-400);
  min-width: 26px;
  line-height: 1.3;
}

.rec-title {
  font-weight: 600;
  color: var(--slate-900);
  font-size: 22px;
  font-family: "DM Serif", serif;
  margin-bottom: 6px;
  letter-spacing: 0px;
}

.rec-why {
  font-size: 16px;
  color: rgba(30, 42, 42, 0.9);
  margin-top: 2px;
  line-height: 1.45;
}

.rec-impact {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 11px;
  margin-top: 2px;
}

.rec-impact.impact-high {
  border: 1px solid #2E6F52;
  color: #2E6F52;
}

.rec-impact.impact-med {
  border: 1px solid #be8e16;
  color: #be8e16;
}

.rec-impact.impact-low {
  border: 1px solid #8a8f98;
  color: #8a8f98;
}

.rec.impact-high {
  color: var(--sage-400);
  border-left: 4px solid #2E6F52;
  background: #DDEDE5;
}

.rec.impact-med {
  color: var(--warn);
  border-left: 4px solid #be8e16;
  background: #F3EBD4;
}

.rec.impact-low {
  border-left: 4px solid #8a8f98;
  background: #f2f3f5;
}

.rec-num {
  display: none;
}

.gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}
.gate.hiding .gate-card {
  opacity: 0;
  transform: scale(0.95);
  transition-duration: 200ms;
}

.gate-card {
  background: var(--slate-900);
  border: 1px solid rgba(126, 184, 164, 0.3);
  border-radius: 16px;
  padding: 34px 34px 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.gate-card.shown {
  opacity: 1;
  transform: scale(1);
}
.gate-card h3 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}
.gate-card p {
  font-size: 14px;
  color: var(--mist-dim);
  line-height: 1.55;
  margin-bottom: 20px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-form input {
  background: var(--slate-800);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--mist);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 180ms ease;
}
.gate-form input:focus {
  border-color: rgba(126, 184, 164, 0.5);
}
.gate-form input::-moz-placeholder {
  color: var(--mist-faint);
}
.gate-form input::placeholder {
  color: var(--mist-faint);
}

.gate-note {
  font-size: 12px;
  color: var(--mist-faint);
  margin-top: 12px;
}

.tiers {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
}
.tiers.visible {
  display: grid;
}

.tier {
  background: var(--slate-800);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.tier.featured {
  border-color: rgba(126, 184, 164, 0.4);
}
.tier h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 8px;
}
.tier p {
  font-size: 13.5px;
  color: var(--mist-dim);
  line-height: 1.55;
  margin-bottom: 20px;
}

.tier-price {
  font-family: "DM Serif Display", serif;
  font-size: 38px;
  color: var(--sage-400);
}

@media (max-width: 860px) {
  :root {
    --xm: 20px;
  }
  body {
    font-size: 17px;
  }
  .audit {
    grid-template-columns: 1fr;
  }
  .url-form {
    flex-direction: column;
    max-width: 100%;
  }
  .btn {
    padding: 15px 22px;
  }
  .tiers {
    grid-template-columns: 1fr;
  }
  .rec-impact {
    display: none;
  }
  .feed-panel {
    padding: 0px 0px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .check {
    animation-duration: 1ms;
    transform: none;
  }
  .audit,
  .results {
    transform: none;
    transition-duration: 1ms;
  }
  .dial .fill,
  .cat-fill {
    transition-duration: 1ms;
  }
  .spinner {
    animation-duration: 1.4s;
  }
}