:root {
  --bg: #0b1020;
  --panel: #111833;
  --panel-2: #182244;
  --line: rgba(255, 255, 255, 0.12);
  --text: #eff4ff;
  --muted: #aab6d3;
  --accent: #78a6ff;
  --accent-2: #9df3d5;
  --danger: #ffb4b4;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0a1022 0%, #0f1630 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.nav nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.logo,
.nav a {
  text-decoration: none;
}

.logo {
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  padding: 64px 0 24px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.tool-card,
.results-card,
.feature-strip > div,
.acceptance-card,
.faq details,
.landing-card {
  background: rgba(17, 24, 51, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card {
  padding: 28px;
}

.eyebrow,
.card-label,
.result-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent-2);
  margin: 0 0 10px;
}

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

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.lede {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-points,
.tool-meta,
.footer-grid,
.results-head,
.result-head {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-points span,
.tool-meta span,
.upload-inline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card ul {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.tool-section,
.feature-strip,
.acceptance-section,
.faq,
.seo-links {
  padding: 24px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.section-head {
  margin-bottom: 18px;
}

.tool-card,
.results-card,
.feature-strip > div,
.acceptance-card,
.faq details,
.landing-card {
  padding: 24px;
}

label,
legend {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

textarea,
input[type="file"] {
  width: 100%;
}

textarea {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 28, 0.95);
  color: var(--text);
  padding: 16px;
  resize: vertical;
  min-height: 160px;
  margin-bottom: 12px;
}

input[type="file"] {
  margin-top: 6px;
  color: var(--muted);
}

button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #5e83ff);
  color: #081121;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secondary-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.helper,
.feature-strip p,
.faq p,
.results-head p,
.result-body,
.landing-copy,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.results-list {
  display: grid;
  gap: 16px;
}

.result-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.result-body {
  white-space: normal;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.acceptance-head,
.check-card-head,
.snapshot-topline,
.snapshot-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.acceptance-copy,
.acceptance-status,
.check-card p,
.snapshot-meta {
  color: var(--muted);
  line-height: 1.7;
}

.snapshot-card {
  margin: 18px 0 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(120, 166, 255, 0.22);
  background: linear-gradient(180deg, rgba(120, 166, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.snapshot-card[data-state="success"] {
  border-color: rgba(157, 243, 213, 0.4);
  background: linear-gradient(180deg, rgba(157, 243, 213, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.snapshot-card[data-state="warning"] {
  border-color: rgba(255, 220, 140, 0.45);
  background: linear-gradient(180deg, rgba(255, 220, 140, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.snapshot-card[data-state="error"] {
  border-color: rgba(255, 180, 180, 0.45);
  background: linear-gradient(180deg, rgba(255, 180, 180, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.snapshot-card[data-state="running"] {
  border-color: rgba(120, 166, 255, 0.45);
}

.snapshot-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}

.snapshot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
}

.snapshot-badge[data-state="success"] {
  border-color: rgba(157, 243, 213, 0.4);
  color: #b5f7df;
}

.snapshot-badge[data-state="warning"] {
  border-color: rgba(255, 220, 140, 0.45);
  color: #ffe2a3;
}

.snapshot-badge[data-state="error"] {
  border-color: rgba(255, 180, 180, 0.45);
  color: #ffd0d0;
}

.snapshot-badge[data-state="running"] {
  border-color: rgba(120, 166, 255, 0.45);
  color: #bfd2ff;
}

.snapshot-headline {
  margin: 10px 0 6px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--text);
}

.snapshot-meta {
  margin: 0;
}

.snapshot-highlights {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.snapshot-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 14, 28, 0.42);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.92rem;
}

.acceptance-status {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.acceptance-status[data-state="running"] {
  border-color: rgba(120, 166, 255, 0.55);
  color: var(--text);
}

.acceptance-status[data-state="success"] {
  border-color: rgba(157, 243, 213, 0.45);
  color: var(--accent-2);
}

.acceptance-status[data-state="error"] {
  border-color: rgba(255, 180, 180, 0.45);
  color: var(--danger);
}

.acceptance-results {
  display: grid;
  gap: 14px;
}

.check-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.check-card[data-state="success"] {
  border-color: rgba(157, 243, 213, 0.3);
}

.check-card[data-state="error"] {
  border-color: rgba(255, 180, 180, 0.35);
}

.check-card-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

.check-card p:last-child {
  margin-bottom: 0;
}

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

.link-grid a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.faq details + details {
  margin-top: 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-grid {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.landing-main {
  padding: 56px 0;
}

.landing-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-top: 16px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero,
  .two-column,
  .feature-strip,
  .link-grid {
    grid-template-columns: 1fr;
  }

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