/* #008 llms.txt tool — page-only styles. Shared tokens live in clioos-tools.css. */

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.brand-product {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.brand-product::before {
  content: "·";
  margin-right: 8px;
  color: var(--line);
}

.hero {
  padding: var(--space-8) 0 var(--space-5);
  max-width: 760px;
}

.hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 10px;
}

.hero .spec-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.at-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-6);
}

.tool-shell {
  padding: var(--space-5);
}

.panel {
  padding-top: var(--space-2);
}

.panel[hidden] {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.field-grid .wide {
  grid-column: 1 / -1;
}

.field-grid label {
  margin-bottom: 0;
}

.field-grid input,
.field-grid textarea {
  margin-top: 4px;
}

.field-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.field-grid textarea.tall {
  min-height: 180px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.checkbox-row input {
  width: auto;
  margin: 3px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.result {
  margin-top: var(--space-5);
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.result-file {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn-sm {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.status {
  margin-top: var(--space-3);
  font-size: 14px;
  color: var(--muted);
}

.status.ok {
  color: var(--ok);
  font-weight: 600;
}

.status.bad {
  color: var(--no);
  font-weight: 600;
}

.cta-card {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.cta-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink);
}

.cta-card p {
  margin: 0 0 var(--space-4);
  font-size: 14px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.step {
  padding: var(--space-4);
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.section-heading {
  margin-top: var(--space-7);
}

.section-heading h2 {
  margin-bottom: 6px;
}

.section-heading p {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 6px;
}

@media (max-width: 759px) {
  .brand-product {
    display: none;
  }

  .hero {
    padding-top: var(--space-6);
  }

  .hero h1 {
    font-size: 30px;
  }

  .tool-shell {
    padding: var(--space-4);
  }

  .field-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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