:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: #101623;
  --panel-2: #151f2f;
  --ink: #f7fbff;
  --muted: #9aa8bb;
  --line: rgba(255,255,255,.12);
  --acid: #8cffd2;
  --violet: #9d7cff;
  --amber: #ffd36e;
  --red: #ff7d8b;
  --white-panel: #f6f8fb;
  --white-ink: #111827;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(140,255,210,.16), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(157,124,255,.18), transparent 30rem),
    linear-gradient(180deg, #080b12 0%, #0d1220 44%, #f6f8fb 44%, #f6f8fb 100%);
  color: var(--ink);
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(8, 11, 18, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 950;
  font-size: 21px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: #d9e2ef;
  font-weight: 850;
  padding: 12px 13px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255,255,255,.08); color: var(--ink); }

.language-menu {
  position: relative;
  color: #d9e2ef;
  font-weight: 900;
}

.language-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.language-menu summary::-webkit-details-marker { display: none; }

.language-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0f18;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.language-list a {
  border-radius: 12px;
  padding: 10px 12px;
}

.language-list a[aria-current="page"] {
  background: rgba(140,255,210,.14);
  color: var(--acid);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 7vw, 110px) clamp(52px, 8vw, 96px);
}

.hero-copy h1 {
  max-width: 940px;
  margin: 14px 0 24px;
  font-size: clamp(54px, 7vw, 108px);
  line-height: .93;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  color: #c7d1de;
  font-size: clamp(20px, 2vw, 26px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 950;
}
.primary { background: var(--acid); color: #071018; }
.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.05); }

.lab-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 48px);
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,.4);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: #dbe7f3;
}
.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.panel-top span:nth-child(2) { background: var(--amber); }
.panel-top span:nth-child(3) { background: var(--acid); }
.panel-top strong { margin-left: auto; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.score-orbit {
  position: relative;
  display: grid;
  place-items: center;
  height: 310px;
}
.winner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  text-align: center;
  color: #071018;
  font-weight: 950;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, var(--acid) 62%, #58c7ff);
  box-shadow: 0 0 70px rgba(140,255,210,.55);
}
.winner b { font-size: 24px; }
.ring {
  position: absolute;
  border: 1px dashed rgba(140,255,210,.48);
  border-radius: 50%;
}
.r1 { width: 250px; height: 250px; }
.r2 { width: 350px; height: 350px; border-color: rgba(157,124,255,.45); }

.mini-ranks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 22px 22px;
}
.mini-ranks p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #d9e2ef;
  background: rgba(255,255,255,.05);
}
.mini-ranks b { color: var(--acid); }

.section {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 110px);
  color: var(--white-ink);
  background: var(--white-panel);
}
.section h2 {
  max-width: 920px;
  margin: 12px 0 20px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}
.section h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.1; }
.section p { color: #5b6678; }
.section .eyebrow { color: #4858ff; }
.section-head { max-width: 880px; margin: 0 auto 34px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.dark-section {
  background: #0b0f18;
  color: var(--ink);
}
.dark-section p { color: #aeb8c8; }
.dark-section .section-kicker { color: var(--acid); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.category-grid article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.category-grid span {
  color: var(--acid);
  font-weight: 950;
}
.category-grid h3 { margin-top: 28px; color: var(--ink); font-size: 22px; }

.scoreboard {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}
.ranking-list {
  display: grid;
  gap: 14px;
}
.ranking-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid #dde4ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17,24,39,.06);
}
.rank {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #111827;
  color: var(--acid);
  font-size: 28px;
  font-weight: 950;
}
.ranking-list strong { color: #4858ff; }

.split-feature {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 34px;
  align-items: start;
}
.sticky-note {
  position: sticky;
  top: 110px;
  padding: 32px;
  border: 1px solid #dde4ef;
  border-radius: 28px;
  background: #111827;
  color: var(--ink);
}
.sticky-note p { color: #c5cfdd; }
.sticky-note h2 { color: var(--ink); }
.flow-list {
  display: grid;
  gap: 14px;
}
.flow-list article,
.cards-four article {
  padding: 26px;
  border: 1px solid #dde4ef;
  border-radius: 22px;
  background: #fff;
}
.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #e8fff8;
  color: #0a8f6d;
  font-weight: 950;
}

.tool-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tool-table a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid #dde4ef;
  border-radius: 22px;
  background: #fff;
  min-height: 176px;
}
.tool-table strong { font-size: 22px; }
.tool-table small { color: #97a1b0; font-weight: 850; }
.tool-table span { color: #5b6678; line-height: 1.5; }

.gptzero-section {
  background:
    linear-gradient(135deg, rgba(72,88,255,.08), transparent 38%),
    #f6f8fb;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.definition-grid article,
.failure-grid article,
.consequence-list article,
.mechanics-stack article,
.detector-grid a {
  border: 1px solid #dde4ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17,24,39,.05);
}

.definition-grid article {
  min-height: 250px;
  padding: 24px;
}

.definition-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #111827;
  color: var(--acid);
  font-weight: 950;
}

.detector-mechanics {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: start;
  background: #0b0f18;
  color: var(--ink);
}

.detector-mechanics h2,
.detector-mechanics h3 { color: var(--ink); }
.detector-mechanics p { color: #b7c2d1; }
.detector-mechanics .eyebrow { color: var(--acid); }

.mechanics-copy {
  position: sticky;
  top: 110px;
}

.mechanics-stack {
  display: grid;
  gap: 14px;
}

.mechanics-stack article {
  padding: 26px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.failure-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 34px;
  align-items: start;
}

.failure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.failure-grid article {
  padding: 24px;
}

.detector-users {
  background: #eef4ff;
}

.users-consequences {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 22px;
}

.user-list {
  padding: 28px;
  border-radius: 24px;
  background: #111827;
  color: var(--ink);
}

.user-list h3 { color: var(--ink); }
.user-list ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #d7e0ec;
  line-height: 1.55;
  font-size: 18px;
  font-weight: 750;
}

.consequence-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.consequence-list article {
  padding: 22px;
}

.detector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.detector-grid a {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 20px;
}

.detector-grid strong { font-size: 21px; }
.detector-grid small { color: #97a1b0; font-weight: 850; }
.detector-grid span { color: #5b6678; line-height: 1.48; }

.ethics-band {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 30px;
  align-items: center;
  background: #111827;
  color: var(--ink);
}
.ethics-band p { color: #c5cfdd; }
.ethics-band h2 { color: var(--ink); }
.ethics-band ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ethics-band li {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  color: #edf4ff;
  font-weight: 800;
}

.comparison-matrix .matrix {
  overflow-x: auto;
  border: 1px solid #dde4ef;
  border-radius: 22px;
  background: #fff;
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid #e8edf5; vertical-align: top; }
th { color: #111827; background: #eef4ff; }
td { color: #5b6678; }
td:first-child { color: #111827; font-weight: 950; }

.cards-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-list details {
  border: 1px solid #dde4ef;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 21px;
  font-weight: 950;
}
.faq-list details p { padding: 0 24px 22px; }

.footer {
  padding: 64px clamp(20px, 7vw, 110px) 32px;
  background: #080b12;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer h2,
.footer h3 { margin: 0 0 14px; }
.footer a {
  display: block;
  color: #c7d1de;
  font-weight: 750;
  margin: 9px 0;
}
.smallprint {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .hero,
  .scoreboard,
  .split-feature,
  .ethics-band,
  .detector-mechanics,
  .failure-section,
  .users-consequences { grid-template-columns: 1fr; }
  .lab-panel { min-height: 440px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-table,
  .cards-four,
  .definition-grid,
  .detector-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-note { position: static; }
  .mechanics-copy { position: static; }
}

@media (max-width: 760px) {
  .topbar { min-height: 72px; padding-inline: 16px; }
  .brand { font-size: 18px; }
  .menu-button { display: block; }
  .nav {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0b0f18;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
  }
  .topbar.nav-open .nav { display: flex; }
  .nav a { padding: 14px; }
  .language-menu summary { border-radius: 12px; }
  .language-list {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }
  .hero { padding-top: 46px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 62px); }
  .lead { font-size: 19px; }
  .hero-actions a { width: 100%; }
  .category-grid,
  .tool-table,
  .cards-four,
  .definition-grid,
  .failure-grid,
  .consequence-list,
  .detector-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .ranking-list article { grid-template-columns: 1fr; }
  .section h2 { font-size: clamp(34px, 10vw, 48px); }
}

.footer-submit {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
  gap: 28px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.footer-submit h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

.submit-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.submit-form label {
  display: grid;
  gap: 8px;
  color: #dfe7f7;
  font-weight: 800;
}

.submit-form label:has(textarea) {
  grid-column: 1 / -1;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #0b0f18;
  color: #f8fbff;
  font: inherit;
}

.submit-form button {
  justify-self: start;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: var(--mint);
  color: #081018;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.submit-message {
  align-self: center;
  margin: 0;
  color: var(--mint);
  font-weight: 900;
}

@media (max-width: 760px) {
  .footer-submit,
  .submit-form {
    grid-template-columns: 1fr;
  }

  .submit-form label:has(textarea) {
    grid-column: auto;
  }
}
