/* AI Visibility Lite product surface — extends clioos-tools.css */

.site-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.brand-product {
  font-weight: 650;
  color: var(--muted);
  margin-left: 2px;
}
.lite-pill { margin-left: 6px; font-size: 11px; padding: 1px 8px; }
.site-header nav a { white-space: nowrap; }

.hero {
  padding: 56px 0 24px;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(167, 139, 250, .22), transparent 70%),
    radial-gradient(700px 320px at 92% 0%, rgba(251, 191, 36, .12), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: var(--space-6);
  align-items: start;
}
.hero-copy { padding-top: 8px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 14px 0 0; }
.hero-card h2 { margin-bottom: 12px; }
.check-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 8px; font-size: 14px; }
.tick {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800;
}

.section { padding: 36px 0; }
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.section-head h2 { margin-bottom: 4px; }
.section-head p { margin: 0; }
.page-head { padding-bottom: 12px; }
.page-head h1 { margin-top: 10px; }
.narrow { max-width: 780px; }

.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: var(--space-5);
  align-items: start;
}
.form-card { padding: 24px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.field label { color: var(--ink); }
.hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.req { color: var(--no); }

.questions-block { margin-top: var(--space-5); }
.questions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.questions-head label { color: var(--ink); margin: 0; }
.questions { display: grid; gap: 8px; margin-bottom: 10px; }
.question-row { display: flex; gap: 8px; }
.question-row input { flex: 1; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.btn-icon {
  flex: 0 0 38px;
  width: 38px; min-height: 38px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}

.templates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.chip:hover { border-color: var(--accent-ring); color: var(--accent); }
.chip-static { cursor: default; background: var(--surface-2); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.form-foot p { margin: 0; }
.form-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--no-soft);
  color: var(--no);
  font-size: 14px;
  font-weight: 600;
}

.form-side h3 { margin-bottom: 10px; }
.steps { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.text-link { font-size: 14px; font-weight: 650; }

.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visibility-hero {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}
.visibility-ring {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  height: 168px;
}
.visibility-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.visibility-ring circle {
  fill: none;
  stroke-width: 10;
}
.ring-track { stroke: var(--line, #e4e2ef); }
.ring-progress {
  stroke: var(--accent-ring, #a78bfa);
  stroke-linecap: round;
  transition: stroke-dashoffset .5s ease;
}
.ring-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.visibility-ring svg { position: relative; z-index: 1; }
.ring-value {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.ring-label {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.visibility-meta { min-width: 0; }
.visibility-meta p { margin: 0 0 4px; }
.visibility-sample { font-weight: 650; }

.results-list { display: grid; gap: var(--space-4); }
.result-card { padding: 20px 22px; }
.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 14px;
}
.result-head h3 { margin: 0; font-size: 18px; }
.engine-row {
  border-top: 1px solid var(--line);
  padding: 14px 0 4px;
}
.engine-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.engine-head strong { font-size: 14px; }
.excerpt {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  color: var(--code-fg);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.competitors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.meta { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

.wall-card { border-color: var(--accent); }
.wall-card h2 { margin-top: 10px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.pricing-grid-compact { margin-top: var(--space-5); }
.price-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.price-card h3 { margin: 6px 0 0; }
.price {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0;
}
.price-card .btn { margin-top: auto; width: 100%; }
.feature-list { margin: 10px 0 16px; padding-left: 18px; font-size: 13px; color: var(--muted); }
.feature-list li { margin: 4px 0; }
.callout-wide { margin-top: var(--space-4); }
.tight { margin: 0; padding-left: 18px; }
.tight li { margin: 4px 0; }

.prose h2 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--ink); }
.prose code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}

.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.compare-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--surface-2);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr.highlight td { background: var(--accent-soft); font-weight: 650; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.footer-links a { text-decoration: none; font-weight: 600; }

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .hero { padding-top: 34px; }
  .hero-sub { font-size: 16px; }
  .field-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .visibility-hero { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .result-head { flex-direction: column; gap: 8px; }
  .form-card { padding: 18px; }
  .brand-product { display: none; }
}


/* Brand surface for shareable Visibility card */
.results-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 0% 0%, var(--accent-soft), transparent 55%),
    var(--surface);
}
.results-panel .visibility-sample { color: var(--ink); }
.results-panel .visibility-meta .muted { color: var(--muted); }
.lite-pill, .pill-gold {
  background: var(--gold-soft) !important;
  color: #7a5a00 !important;
  border: 1px solid #e8c96a;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
