:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #5d6b66;
  --line: #dce5df;
  --paper: #f6f8f3;
  --panel: #ffffff;
  --green: #15b86a;
  --teal: #087f8c;
  --amber: #f2a619;
  --red: #d84f45;
  --navy: #14213d;
  --shadow: 0 20px 55px rgba(21, 32, 29, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(21, 32, 29, 0.08);
  background: rgba(246, 248, 243, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(320px, 48vw);
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a,
.tab {
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 700;
}

nav a:hover,
.tab:hover {
  background: #eaf0eb;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 58px) 36px;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}

.audit-form,
.live-panel,
.dashboard,
.module-grid article,
.plans article,
.assistant-box,
.gap-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.audit-form {
  max-width: 850px;
  margin-top: 30px;
  padding: 16px;
}

.audit-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.input-row,
.prompt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.advanced-form {
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(150px, auto) 80px 90px 210px minmax(220px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.check-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.check-option input {
  width: auto;
}

input {
  min-width: 0;
  width: 100%;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.15);
}

button {
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.form-note,
.muted {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.secondary-button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-actions a {
  color: var(--teal);
  font-weight: 850;
}

.loading button {
  opacity: 0.65;
  pointer-events: none;
}

.live-panel {
  padding: 24px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  margin-bottom: 22px;
  border: 14px solid #cfeade;
  border-top-color: var(--green);
  border-right-color: var(--teal);
  border-radius: 50%;
}

.score-ring span {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.score-ring small {
  color: var(--muted);
  font-weight: 800;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.mini-grid span {
  border-radius: 8px;
  background: #f0f5f0;
  padding: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.report-shell,
.modules,
.pricing,
.costs,
.roadmap {
  padding: 46px clamp(18px, 4vw, 58px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.dashboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: #f9fbf8;
}

.tab {
  border: 0;
  background: transparent;
  text-align: left;
}

.tab.active {
  background: var(--ink);
  color: #fff;
}

.tab-panel {
  display: none;
  padding: clamp(18px, 3vw, 30px);
}

.tab-panel.active {
  display: block;
}

.score-cards,
.module-grid,
.cost-grid,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.score-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfa;
}

.score-card span {
  color: var(--muted);
  font-weight: 800;
}

.score-card strong {
  display: block;
  margin: 6px 0;
  font-size: 1.8rem;
}

.score-card p,
.module-grid p,
.plans p,
.gap-box p {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: 20px;
}

.api-cost {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5fff9;
  padding: 14px 16px;
}

.api-cost span {
  color: var(--muted);
}

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

.crawl-summary article,
.page-row,
.duplicate-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.crawl-summary strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
}

.crawl-summary span,
.page-row p,
.page-row span,
.duplicate-item span,
.duplicate-item p {
  color: var(--muted);
}

.pages-list,
.duplicate-list {
  display: grid;
  gap: 10px;
}

.page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.55fr);
  gap: 12px;
}

.page-row strong,
.duplicate-item strong {
  overflow-wrap: anywhere;
}

.page-row p,
.duplicate-item p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.page-row span {
  font-size: 0.9rem;
  font-weight: 800;
}

.duplicate-item span {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
}

.two-col article {
  min-width: 0;
}

.issue-list {
  display: grid;
  gap: 10px;
}

.issue {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
}

.issue span,
.timeline span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #edf4ef;
  font-weight: 900;
}

.issue.fail span {
  background: #fde8e5;
  color: var(--red);
}

.issue.warn span {
  background: #fff1cf;
  color: #9b6500;
}

.issue p,
.check-row p {
  margin: 3px 0 0;
  color: var(--muted);
}

.snapshot {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.checks-list {
  display: grid;
  gap: 18px;
}

.check-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.check-group h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7faf6;
}

.check-row {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2ee;
}

.check-row:last-child {
  border-bottom: 0;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.pass {
  background: var(--green);
}

.warn {
  background: var(--amber);
}

.fail {
  background: var(--red);
}

.check-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

th,
td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef5ef;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.gap-box,
.assistant-box {
  padding: 18px;
}

.gap-box strong {
  font-size: 2rem;
}

.gap-box span {
  color: var(--teal);
  font-weight: 800;
}

.keyword-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.keyword-lists article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.keyword-list {
  display: grid;
  gap: 8px;
}

.keyword-list.compact {
  margin-top: 12px;
}

.keyword-chip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  background: #f2f6f2;
  padding: 9px 10px;
}

.keyword-chip strong,
.keyword-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.keyword-chip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.screenshots {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.6fr);
  gap: 12px;
}

.screenshots figure {
  margin: 0;
}

.screenshots img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.screenshots figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.quality-list {
  display: grid;
  gap: 10px;
}

.quality-row,
.score-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.quality-row span,
.score-inline span {
  color: var(--muted);
  font-weight: 800;
}

.score-inline {
  margin-bottom: 14px;
  background: #f5fff9;
}

.score-inline strong {
  color: var(--teal);
  font-size: 2rem;
}

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

.timeline div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.chat-line {
  max-width: 760px;
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 13px 14px;
}

.chat-line.user {
  margin-left: auto;
  background: #e9f2ed;
}

.chat-line.bot {
  background: #f7f0df;
}

.module-grid article,
.cost-grid article,
.plans article,
.architecture article {
  padding: 20px;
}

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

.cost-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cost-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 1.75rem;
}

.cost-grid p {
  color: var(--muted);
}

.cost-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.plans .featured {
  border-color: rgba(21, 184, 106, 0.65);
  background: #f5fff9;
}

.plans strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
}

.architecture {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 10px;
}

.architecture article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.architecture strong {
  display: block;
  margin-bottom: 8px;
}

.architecture span {
  color: var(--muted);
}

@media print {
  .topbar,
  .audit-form,
  .hero-actions,
  .sidebar,
  .modules,
  .pricing,
  .roadmap {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero,
  .report-shell {
    display: block;
    padding: 20px;
  }

  .dashboard,
  .audit-form,
  .live-panel,
  .module-grid article,
  .plans article,
  .assistant-box,
  .gap-box {
    box-shadow: none;
  }

  .tab-panel {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero,
  .dashboard,
  .two-col,
  .timeline {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .score-cards,
  .module-grid,
  .cost-grid,
  .plans,
  .keyword-lists,
  .architecture {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advanced-form {
    grid-template-columns: 1fr;
  }

  .crawl-summary,
  .page-row {
    grid-template-columns: 1fr;
  }
}

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

  h1 {
    font-size: 2.6rem;
  }

  .input-row,
  .prompt-row,
  .score-cards,
  .module-grid,
  .cost-grid,
  .plans,
  .keyword-lists,
  .architecture,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  button {
    min-height: 48px;
  }

  .snapshot,
  .check-row,
  .screenshots {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Template refresh inspired by clean SEO-audit report tools. */
body {
  background: #ffffff;
}

.topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #ecefec;
  box-shadow: 0 2px 18px rgba(18, 25, 22, 0.04);
}

.brand {
  font-size: 1.08rem;
}

.brand-logo {
  height: 52px;
  max-width: min(360px, 54vw);
}

.brand strong {
  color: #18d978;
}

.brand-mark {
  width: auto;
  min-width: 42px;
  height: 36px;
  padding: 0 8px;
  background: #101412;
  color: #18d978;
  font-size: 1.15rem;
  letter-spacing: 0;
}

nav a {
  font-size: 0.94rem;
}

.hero {
  grid-template-columns: 1fr;
  place-items: center;
  padding-top: clamp(44px, 7vw, 88px);
  border-bottom: 1px solid #eef1ee;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 72%, #f7faf8 100%);
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.hero .eyebrow {
  color: #151817;
  font-size: clamp(1.75rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: none;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 16px;
  color: #121715;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.lead {
  max-width: 720px;
  color: #58635e;
  font-size: 1.08rem;
}

.audit-form {
  width: min(900px, 100%);
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audit-form > label:first-child {
  margin-bottom: 12px;
  color: #303936;
  font-size: 1.03rem;
}

.input-row {
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 12px;
}

input {
  border-color: #d6ddd8;
  background: #fff;
}

.input-row input {
  min-height: 58px;
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(23, 31, 27, 0.07);
  font-size: 1.05rem;
}

button {
  border-radius: 7px;
  background: #101412;
}

.input-row button {
  min-height: 58px;
  font-size: 1.05rem;
}

.main-consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin: 13px auto 0;
  color: #59635f;
  font-size: 0.92rem;
}

.main-consent input {
  width: auto;
  margin-top: 4px;
}

.advanced-form {
  margin-top: 15px;
  border: 1px solid #e3e9e4;
  border-radius: 8px;
  background: #fafcfb;
  padding: 12px;
  text-align: left;
}

.advanced-form summary {
  cursor: pointer;
  color: #303936;
  font-weight: 850;
  text-align: center;
}

.advanced-grid {
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(150px, auto) 80px 90px 210px minmax(220px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

details.advanced-form {
  display: block;
}

.form-note {
  text-align: center;
}

.hero-actions {
  justify-content: center;
}

.benefit-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(900px, 100%);
  margin-top: 28px;
  text-align: left;
}

.benefit-board > div {
  border: 1px solid #e8eee9;
  border-radius: 8px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 16px 36px rgba(21, 32, 29, 0.07);
}

.benefit-board strong {
  display: block;
  margin-bottom: 10px;
}

.benefit-board ul {
  margin: 0;
  padding-left: 20px;
  color: #57645f;
}

.live-panel {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 260px;
  align-items: center;
  margin-top: 22px;
  box-shadow: 0 16px 44px rgba(21, 32, 29, 0.08);
  text-align: left;
}

.score-ring {
  margin-bottom: 0;
}

.report-shell {
  background: #f7f8f7;
}

.section-heading {
  margin-inline: auto;
  text-align: center;
}

.dashboard {
  max-width: 1120px;
  margin: 0 auto;
  border-color: #e2e6e2;
  box-shadow: 0 16px 45px rgba(21, 32, 29, 0.08);
}

.sidebar {
  background: #fff;
}

.tab.active {
  background: #111513;
}

.score-card {
  background: #fff;
}

.score-card strong {
  color: #111513;
}

.issue,
.check-group,
.snapshot,
.crawl-summary article,
.page-row,
.duplicate-item,
.keyword-lists article,
.timeline div,
.gap-box,
.assistant-box {
  box-shadow: none;
}

.unlock-box {
  margin-top: 22px;
  border: 1px solid #ebe5d8;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 236, 0.96));
  padding: 24px;
  text-align: center;
}

.unlock-box h3 {
  font-size: 1.35rem;
}

.unlock-box p {
  max-width: 720px;
  margin-inline: auto;
  color: #606963;
}

.unlock-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-top: 16px;
}

.modules,
.costs,
.pricing,
.roadmap,
.faq {
  background: #fff;
}

.faq {
  padding: 46px clamp(18px, 4vw, 58px);
}

.faq details {
  max-width: 900px;
  margin: 0 auto 10px;
  border: 1px solid #e4eae5;
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

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

.faq p {
  margin: 10px 0 0;
  color: #5d6b66;
}

@media (max-width: 980px) {
  .live-panel,
  .unlock-form {
    grid-template-columns: 1fr;
  }

  .live-panel {
    text-align: center;
  }

  .score-ring {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .benefit-board {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .hero .eyebrow {
    font-size: 1.9rem;
  }
}

@media (max-width: 980px) {
  .advanced-grid {
    grid-template-columns: 1fr;
  }
}
