:root {
  --bg: #050606;
  --bg-soft: #0c1010;
  --surface: #101515;
  --surface-2: #121a19;
  --text: #edf8f1;
  --text-dim: #9db2a5;
  --primary: #000000;
  --secondary: #31d178;
  --secondary-soft: #1e9a59;
  --danger: #f14b4b;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: #020303;
  color: var(--text);
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #020303;
  opacity: 1;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(23, 33, 29, 0.88) 0%, rgba(2, 3, 3, 0.94) 55%);
  z-index: -1;
}


.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, #66ffa7 0.7px, transparent 0.7px);
  background-size: 3px 3px;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 3.8vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 3, 3, 0.92);
  border-bottom: 1px solid rgba(49, 209, 120, 0.12);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: lowercase;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img-full {
  display: block;
}

.logo-img-emblem {
  height: 32px;
  display: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(49, 209, 120, 0.4);
  color: var(--secondary);
  background: rgba(9, 18, 14, 0.7);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  color: #e8fff1;
  letter-spacing: 0.02em;
}

.main {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 2.6rem 0 3.2rem;
  display: grid;
  gap: 2rem;
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
  padding: 0;
  max-width: 720px;
  background: transparent;
  border: none;
}

.card {
  background: linear-gradient(135deg, rgba(14, 21, 20, 0.95), rgba(8, 12, 11, 0.95));
  border: 1px solid rgba(49, 209, 120, 0.14);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.link-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.55rem;
  padding: 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(49, 209, 120, 0.2);
  background: rgba(6, 10, 9, 0.6);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 209, 120, 0.5);
  background: rgba(8, 14, 12, 0.8);
}

.link-card-static {
  cursor: default;
}

.link-card-static:hover {
  transform: none;
  border-color: rgba(49, 209, 120, 0.2);
  background: rgba(6, 10, 9, 0.6);
}

.link-card h3 {
  margin: 0;
}

.link-card p {
  margin: 0;
  color: #b9d6c8;
}

.link-meta {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93cdb1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.85rem;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}

.btn-primary {
  border: 1px solid rgba(49, 209, 120, 0.55);
  background: linear-gradient(135deg, #2cd37a, #1d9f5c);
  color: #041008;
}

.btn-outline {
  border: 1px solid rgba(49, 209, 120, 0.35);
  background: rgba(4, 6, 6, 0.2);
  color: #c7f4db;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.faq-list details {
  border: 1px solid rgba(49, 209, 120, 0.2);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: rgba(5, 9, 8, 0.6);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: #d8f7e6;
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: #bfd7cc;
}

.hero-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  min-height: clamp(320px, 50vh, 520px);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #020303;
}

body[data-page="overview"] .hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.92;
  z-index: 0;
}

body[data-page="overview"] .hero-split::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 3, 3, 0.18) 0%, rgba(2, 3, 3, 0.68) 60%, rgba(2, 3, 3, 0.98) 100%);
  z-index: 1;
}

.hero-split > * {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a5f2ca;
  border: 1px solid rgba(49, 209, 120, 0.28);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.hero-title {
  max-width: 20ch;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 52ch;
}

.accent {
  color: var(--secondary);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #b7d5c8;
  font-size: 0.88rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #062010;
  background: linear-gradient(140deg, #4df79b, #1fae5c);
  border: 2px solid #050606;
  margin-left: -8px;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.cycler {
  color: #96ffc5;
  text-shadow: 0 0 24px rgba(49, 209, 120, 0.45);
  display: inline-block;
  min-width: 12ch;
  white-space: nowrap;
  transition: transform 220ms ease, opacity 220ms ease;
}

.title-cycler {
  text-align: left;
}

.cycler.flip-out {
  transform: translateY(-8px);
  opacity: 0;
}

.cycler.flip-in {
  animation: flick 240ms ease;
}

@keyframes flick {
  0% {
    transform: translateY(8px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.analyzer-input-wrap {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.55rem;
}

.analyzer-input-wrap label {
  text-transform: none;
  font-size: 0.9rem;
  color: #c6eed8;
}

.input-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border: 1px solid rgba(49, 209, 120, 0.36);
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.44);
}

input[type="url"] {
  flex: 1;
  min-width: 220px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

input[type="url"]::placeholder {
  color: #7e9188;
}

.status-pill {
  align-self: center;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  font-size: 0.84rem;
  background: rgba(49, 209, 120, 0.16);
  border: 1px solid rgba(49, 209, 120, 0.35);
  color: #b5ffd7;
}

.status-pill.error {
  color: #ffc0c0;
  border-color: rgba(241, 75, 75, 0.5);
  background: rgba(241, 75, 75, 0.14);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-inline {
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  color: #c6e7d6;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(4, 6, 6, 0.2);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #e9fff3;
  border-color: rgba(49, 209, 120, 0.4);
  background: rgba(49, 209, 120, 0.12);
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  border: 1px solid rgba(49, 209, 120, 0.24);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #a7f0cb;
  background: rgba(4, 6, 6, 0.35);
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.analysis-panel {
  display: grid;
  gap: 1rem;
}

.audit-panel {
  padding: 1.4rem;
  border-color: rgba(49, 209, 120, 0.22);
  background: linear-gradient(135deg, rgba(10, 15, 14, 0.92), rgba(6, 9, 9, 0.92));
}

.audit-panel .analysis-header {
  align-items: flex-start;
}

.audit-panel .analysis-header h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.audit-panel p {
  margin: 0;
  color: #c4dccf;
  font-size: 0.96rem;
  line-height: 1.55;
}

.audit-panel .analyzer-input-wrap label {
  font-size: 0.85rem;
}

.audit-panel .header-meta .badge {
  font-size: 0.74rem;
}

.test-results {
  display: grid;
  gap: 1rem;
}

.metric-note {
  margin: 0;
  color: #b7d5c8;
  font-size: 0.95rem;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metric-card {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(49, 209, 120, 0.18);
  background: rgba(6, 10, 9, 0.6);
  display: grid;
  gap: 0.35rem;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93cdb1;
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8fff1;
}

.metric-unit {
  font-size: 0.75rem;
  color: #9db2a5;
  margin-left: 0.2rem;
}

.metric-detail {
  font-size: 0.78rem;
  color: #9db2a5;
}

.metric-empty {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed rgba(49, 209, 120, 0.25);
  color: #9db2a5;
}

.analysis-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.page-header > div,
.analysis-header > div {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.page-header h2,
.analysis-header h2 {
  line-height: 1.15;
}

.header-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(49, 209, 120, 0.3);
  background: rgba(49, 209, 120, 0.14);
  color: #bafad8;
}

.badge-outline {
  background: transparent;
  border-color: rgba(49, 209, 120, 0.4);
}

.badge[data-tone="warn"] {
  border-color: rgba(255, 189, 83, 0.45);
  color: #ffd591;
  background: rgba(255, 189, 83, 0.12);
}

.badge[data-tone="bad"] {
  border-color: rgba(241, 75, 75, 0.6);
  color: #ffc0c0;
  background: rgba(241, 75, 75, 0.12);
}

.results-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.score-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.signal-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
  color: #cfe5d8;
}

.score-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.score-label {
  color: #d5efe1;
  font-size: 0.92rem;
}

.score-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #1a2320;
  overflow: hidden;
}

.score-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f8e53, #39df87);
  width: 0;
  transition: width 620ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.score-value {
  font-weight: 700;
  color: #b0ffd3;
  min-width: 40px;
  text-align: right;
}

.findings,
.reorder-plan {
  margin: 0.9rem 0 0;
  padding-left: 1.12rem;
  display: grid;
  gap: 0.65rem;
  color: #d5e6dd;
}

.grid-two {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.state-stack {
  display: grid;
  gap: 1rem;
}

.state-card {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(49, 209, 120, 0.2);
  background: rgba(6, 10, 9, 0.55);
  display: none;
}

.state-stack[data-state="ready"] .state-card {
  display: none;
}

.state-stack[data-state="idle"] [data-view="idle"],
.state-stack[data-state="loading"] [data-view="loading"],
.state-stack[data-state="error"] [data-view="error"],
.state-stack[data-state="stale"] [data-view="stale"] {
  display: block;
}

.loading-bars {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.loading-bars span {
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(49, 209, 120, 0.6);
  animation: pulse 0.9s ease-in-out infinite;
}

.loading-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.loading-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-bars span:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.detail-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-score {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 2.1rem;
  font-weight: 700;
}

.detail-score span {
  font-size: 2.2rem;
}

.detail-score small {
  font-size: 1rem;
}

.prompt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.prompt-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.static-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(49, 209, 120, 0.3);
  background: rgba(49, 209, 120, 0.12);
  color: #bafad8;
  font-weight: 600;
}

.prompt-reveal {
  margin-top: 0.9rem;
}

.prompt-reveal:not(.is-hidden),
.report-block:not(.is-hidden),
.code-wrap:not(.is-hidden) {
  animation: panelIn 420ms ease both;
}

.report-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.report-block {
  position: relative;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(49, 209, 120, 0.18);
  background: rgba(6, 10, 9, 0.55);
  overflow: hidden;
}

.report-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(49, 209, 120, 0.12), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.report-block > * {
  position: relative;
  z-index: 1;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.report-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.report-note {
  margin: 0.4rem 0 0;
  color: #cfe5d8;
}

.report-steps {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: #cfe5d8;
}

.report-actions-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: #e0f5ea;
}

.report-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.report-pill {
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  border: 1px solid rgba(49, 209, 120, 0.35);
  color: #bafad8;
  background: rgba(49, 209, 120, 0.12);
}

.code-wrap textarea {
  margin-top: 0.6rem;
}

.btn-ghost {
  border: 1px solid rgba(49, 209, 120, 0.4);
  background: rgba(4, 6, 6, 0.2);
  color: #dff7ea;
}

.sitemap-viz {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.8rem;
}

.sitemap-root {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(49, 209, 120, 0.3);
  background: rgba(6, 10, 9, 0.55);
  font-weight: 600;
}

.sitemap-root span {
  color: #e6fff2;
}

.sitemap-root small {
  color: #a8c8b8;
  font-size: 0.78rem;
  font-weight: 500;
}

.sitemap-group {
  border-radius: 12px;
  border: 1px solid rgba(49, 209, 120, 0.18);
  background: rgba(5, 9, 8, 0.5);
  overflow: hidden;
}

.sitemap-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: none;
  color: #dff7ea;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sitemap-group-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 320ms ease;
}

.sitemap-group.is-open .sitemap-group-body {
  max-height: 600px;
  opacity: 1;
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.9rem 0.8rem;
  display: grid;
  gap: 0.45rem;
}

.sitemap-node {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.6rem;
  border-left: 2px solid rgba(49, 209, 120, 0.2);
}

.sitemap-node span {
  font-weight: 600;
  color: #e6fff2;
}

.sitemap-node small {
  color: #a8c8b8;
}

.report-block {
  display: grid;
  gap: 0.6rem;
}

.report-block h4 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 80ms;
}

.reveal.delay-2 {
  transition-delay: 160ms;
}

.reveal.delay-3 {
  transition-delay: 240ms;
}

button {
  border: 1px solid rgba(49, 209, 120, 0.55);
  background: linear-gradient(135deg, #2cd37a, #1d9f5c);
  color: #041008;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  padding: 0.58rem 0.85rem;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 200ms ease;
  box-shadow: 0 0 0 rgba(49, 209, 120, 0);
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 30px rgba(49, 209, 120, 0.2);
}

button:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.98);
}

button.is-active,
.btn-ghost.is-active {
  box-shadow: 0 0 18px rgba(49, 209, 120, 0.35);
}

.btn-pulse {
  animation: buttonPulse 420ms ease;
}

textarea {
  margin-top: 0.9rem;
  width: 100%;
  min-height: 220px;
  border-radius: 14px;
  border: 1px solid rgba(49, 209, 120, 0.33);
  background: rgba(0, 0, 0, 0.42);
  color: #e9f7ef;
  padding: 0.9rem;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.45;
}

small {
  color: #8aa194;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 rgba(49, 209, 120, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(49, 209, 120, 0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(49, 209, 120, 0);
  }
}

@keyframes reportSweep {
  0% {
    transform: translateX(-40%);
  }
  50% {
    transform: translateX(40%);
  }
  100% {
    transform: translateX(-40%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .report-block::after,
  .cycler.flip-in,
  .cycler.flip-out {
    animation: none;
  }

  button,
  .btn-pulse {
    transition: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .main {
    width: min(94vw, 1200px);
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .grid-two,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .score-item {
    grid-template-columns: 95px 1fr auto;
  }

  .page-header,
  .analysis-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .card {
    padding: 1rem;
  }

  .prompt-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .logo-img-full {
    display: none;
  }

  .logo-img-emblem {
    display: block;
  }
}
