:root {
  --ink: #050505;
  --muted: #565656;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #d8d8d8;
  --leaf: #111111;
  --leaf-soft: #f2f2f2;
  --rose: #222222;
  --rose-soft: #f5f5f5;
  --plum: #000000;
  --gold: #e6e6e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-height: 66px;
  margin: 0;
  padding: 0 clamp(22px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  font-size: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--plum);
  color: var(--panel);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 9px;
  color: #222;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}
.nav a:hover { background: var(--leaf-soft); color: var(--ink); }
.nav a.nav-cta {
  margin-left: 8px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  padding: 0 14px;
}
.nav a.nav-cta:hover {
  background: #222;
  color: #fff;
}

.hero {
  width: min(980px, calc(100% - 40px));
  min-height: calc(78vh - 78px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 74px 0 90px;
  text-align: center;
  content-visibility: visible;
}
.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 6px 12px;
  color: var(--leaf);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 950;
}
.eyebrow.dark { background: #f2f2f2; }
h1, h2, h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}
h1 { max-width: 880px; font-size: clamp(58px, 8vw, 116px); }
h2 { font-size: clamp(40px, 6vw, 78px); }
h3 { font-size: 28px; }
.lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 27px);
}
.micro {
  max-width: 760px;
  margin: 18px auto 0;
  color: #5d5d5d;
  font-size: 16px;
}
.updated {
  margin-top: 14px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.breadcrumbs {
  width: min(980px, calc(100% - 40px));
  margin: 28px auto -18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #999;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.primary, .secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
}
.primary { background: var(--plum); color: var(--panel); }
.secondary { border: 1px solid var(--line); background: var(--panel); color: var(--ink); }

section {
  padding: 90px 0;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}
.section-head {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 36px;
  text-align: center;
}
.section-head p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
}

.collaboration, .workflow, .free-humanizers, .model-rewrite, .intent-map, .how-it-works, .prompt-section, .detector-context, .content-types, .guides, .sources, .faq { background: #f7f7f7; }
.team-grid, .steps, .example-grid, .related-grid, .free-grid, .model-card, .content-grid, .prompt-grid, .guide-grid {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.steps, .example-grid, .related-grid, .free-grid, .content-grid, .prompt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid article, .steps article, .example-grid article, .related-grid a, .free-grid article, .model-card article, .content-grid article, .prompt-grid article, .guide-grid a {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 22px;
}
.team-grid span, .steps span, .related-grid span, .free-grid span, .model-card span, .content-grid span, .guide-grid span {
  color: var(--rose);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.team-grid p, .steps p, .example-grid p, .related-grid p, .free-grid p, .model-card p, .content-grid p, .prompt-grid p, .guide-grid p {
  margin-top: 12px;
  color: var(--muted);
}
.model-card .highlight {
  background: #f0f0f0;
  border-color: #bdbdbd;
}
.model-card .primary {
  margin-top: 18px;
}
.guide-grid b {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.05;
}
.process-list {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.process-list article {
  display: grid;
  grid-template-columns: 52px 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 18px;
}
.process-list b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.process-list p { color: var(--muted); }
.center-action {
  width: min(1280px, calc(100% - 40px));
  margin: 28px auto 0;
  text-align: center;
}
.split-info {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.split-info article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 28px;
}
.split-info p { margin-top: 12px; color: var(--muted); }
.source-list {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.source-list a {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 16px 18px;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}
.reveal-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.free-grid h3 { margin-top: 8px; }
.tool-url {
  display: block;
  margin-top: 8px;
  color: #666;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 750;
  word-break: break-word;
}
.humanizer-table { margin-top: 26px; }
.yes { color: #000; font-weight: 950; }
.limited { color: #444; font-weight: 950; }
.no { color: #777; font-weight: 950; }

.projects {
  background: #f7f7f7;
  color: var(--ink);
}
.project-card {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 32px;
  align-items: center;
}
.project-card p:not(.eyebrow) {
  margin-top: 22px;
  color: #565656;
  font-size: 20px;
}
.project-card .primary {
  margin-top: 28px;
  background: var(--plum);
  color: var(--panel);
}
.style-stack {
  display: grid;
  gap: 12px;
}
.style-stack div {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
}
.style-stack b { display: block; color: #111; }
.style-stack span { display: block; margin-top: 6px; color: var(--muted); }

.comparison {
  background: var(--panel);
}
.table-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}
th {
  padding: 18px;
  background: #f1f1f1;
  color: #222;
  text-align: left;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
td {
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
  font-weight: 650;
}
tr.winner td { background: var(--leaf-soft); }

.related {
  background: #f7f7f7;
  color: var(--ink);
}
.related .section-head p:not(.eyebrow) { color: var(--muted); }
.related-grid a {
  border-color: var(--line);
  background: var(--panel);
}
.related-grid b { display: block; margin-top: 10px; font-size: 22px; }
.related-grid p { color: var(--muted); }

.faq-list {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 0;
}
summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 19px;
  font-weight: 900;
}
details p {
  padding: 0 20px 20px;
  color: var(--muted);
}
.footer {
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  color: #5d5d5d;
  text-align: center;
  font-size: 14px;
}
.footer p { max-width: 980px; margin: 0 auto; }

@media (max-width: 1100px) {
  .topbar { padding: 0 18px; }
  .nav a { font-size: 13px; padding: 0 7px; }
  .nav a.nav-cta { padding: 0 12px; }
  .project-card { grid-template-columns: 1fr; }
  .team-grid, .steps, .example-grid, .related-grid, .free-grid, .model-card, .content-grid, .prompt-grid, .guide-grid, .split-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list article { grid-template-columns: 52px minmax(0, 1fr); }
  .process-list p { grid-column: 2; }
}
@media (max-width: 640px) {
  h1 { font-size: 50px; }
  h2 { font-size: 38px; }
  section { padding: 64px 0; }
  .team-grid, .steps, .example-grid, .related-grid, .free-grid, .model-card, .content-grid, .prompt-grid, .guide-grid, .split-info { grid-template-columns: 1fr; }
  .process-list article { grid-template-columns: 1fr; }
  .process-list p { grid-column: auto; }
  .primary, .secondary { width: 100%; }
}

/* Mobile navbar */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line, #d8d8d8);
  border-radius: 8px;
  background: var(--panel, var(--paper, #fff));
  color: var(--ink, #111);
  cursor: pointer;
}
.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-nav-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
.mobile-nav-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .topbar {
    position: sticky;
    top: 0;
    min-height: 66px;
    width: 100%;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    padding: 10px 18px;
  }
  .topbar .brand {
    min-width: 0;
    overflow: hidden;
  }
  .topbar .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(56vw, 300px);
  }
  .topbar nav {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line, #d8d8d8);
    border-radius: 14px;
    background: var(--panel, var(--paper, #fff));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
  }
  .topbar.mobile-nav-open nav { display: flex !important; }
  .topbar nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 10px 12px;
    white-space: normal;
  }
  .topbar nav a.nav-cta {
    justify-content: center;
    margin-left: 0;
  }
  .topbar nav a:hover { background: rgba(0, 0, 0, .06); }
  .topbar .mobile-nav-toggle,
  .nav-inner .mobile-nav-toggle { display: inline-flex; }
  .topbar .mobile-nav-toggle {
    border-color: #000;
    background: #000;
    color: #fff;
  }
  .nav-inner { position: relative; }
  .nav-inner .links { display: none; }
  .nav.mobile-nav-open .links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line, #d8d8d8);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
  }
  .nav.mobile-nav-open .links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 10px 12px;
  }
  .nav.mobile-nav-open .links a:hover { background: rgba(0, 0, 0, .06); }
}
