/* HERO */
.obs-hero {
  padding: 9rem 2rem 4rem;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.obs-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.obs-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.obs-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.obs-hero-sub {
  font-size: 1.05rem;
  color: var(--ink3);
  max-width: 580px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.obs-hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.obs-hero-meta-dot {
  width: 4px;
  height: 4px;
  background: var(--border2);
  border-radius: 50%;
}

/* LOADING */
.obs-loading {
  text-align: center;
  padding: 5rem 2rem;
}

.obs-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--blue-dark);
  border-radius: 50%;
  animation: obsSpin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes obsSpin { to { transform: rotate(360deg); } }

.obs-loading p {
  color: var(--muted);
  font-size: 0.9rem;
}

.obs-error {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--danger);
  font-size: 0.95rem;
}

/* SUMMARY STATS */
.obs-stats-section {
  padding: 3rem 2rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.obs-stats-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.obs-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.obs-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.obs-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--ink);
}

.obs-stat-num.blue { color: var(--blue-dark); }
.obs-stat-num.green { color: #16a34a; }
.obs-stat-num.red { color: #dc2626; }
.obs-stat-num.yellow { color: #d97706; }

.obs-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.35rem;
}

.obs-stat-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--blue-mid);
  margin-top: 0.2rem;
}

/* INDUSTRY BREAKDOWN */
.obs-industry-section {
  padding: 3rem 2rem;
  background: var(--bg);
}

.obs-industry-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.obs-industry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.obs-industry-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
}

.obs-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.obs-ind-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.obs-ind-card:hover,
.obs-ind-card.active {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-lg);
}

.obs-ind-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.obs-ind-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.obs-ind-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
}

.obs-ind-bars {
  display: flex;
  gap: 3px;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.obs-ind-bar {
  border-radius: 3px;
  min-width: 2px;
  transition: width 0.4s ease;
}

.obs-ind-bar.green { background: #16a34a; }
.obs-ind-bar.yellow { background: #d97706; }
.obs-ind-bar.red { background: #dc2626; }

.obs-ind-detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.obs-ind-detail span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.obs-ind-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.obs-ind-dot.green { background: #16a34a; }
.obs-ind-dot.yellow { background: #d97706; }
.obs-ind-dot.red { background: #dc2626; }

/* DOMAIN TABLE */
.obs-table-section {
  padding: 3rem 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.obs-table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.obs-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.obs-table-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
}

.obs-table-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.obs-search {
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  width: 180px;
  transition: border-color 0.2s;
}

.obs-search:focus { border-color: var(--ink); }
.obs-search::placeholder { color: var(--muted); }

.obs-filter-select {
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.obs-table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.obs-table {
  width: 100%;
  border-collapse: collapse;
}

.obs-table thead th {
  background: var(--surface2);
  padding: 0.8rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.obs-table thead th:hover {
  color: var(--ink);
}

.obs-table tbody td {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.obs-table tbody tr:last-child td { border-bottom: none; }
.obs-table tbody tr:hover { background: var(--bg2); }

.obs-domain-name {
  font-weight: 600;
  color: var(--ink);
}

.obs-domain-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}

/* Pills reuse */
.obs-pill {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
}

.obs-pill.yes {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.obs-pill.no {
  background: var(--bg2);
  color: var(--muted);
}

.obs-pill.na {
  background: var(--bg2);
  color: var(--muted);
  font-style: italic;
}

.obs-pill.allows {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.obs-pill.blocks-some {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.obs-pill.blocks-all {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.obs-table-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* llms.txt highlight section */
.obs-highlight-section {
  padding: 3rem 2rem 0;
  background: var(--bg);
}

.obs-highlight-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.obs-highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.obs-highlight-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.obs-highlight-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.obs-highlight-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink3);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.obs-highlight-tag:hover {
  border-color: var(--blue-mid);
  color: var(--blue-dark);
}

/* METHODOLOGY */
.obs-method-section {
  padding: 3rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.obs-method-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align:center;
}

.obs-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.obs-method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.obs-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.obs-method-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue-dark);
}

.obs-method-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.obs-method-desc {
  font-size: 0.8rem;
  color: var(--ink3);
  line-height: 1.55;
}

/* FAQ - reuse ct-faq pattern */
.obs-faq-section {
  padding: 4rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.obs-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.obs-faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.obs-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.obs-faq-item.open {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.obs-faq-question {
  display: block;
  width: 100%;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  position: relative;
  user-select: none;
  line-height: 1.5;
  transition: background 0.15s;
}

.obs-faq-question:hover { background: var(--surface2); }

.obs-faq-question::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--blue-dark);
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.obs-faq-item.open .obs-faq-question::after {
  content: "\2212";
}

.obs-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.obs-faq-item.open .obs-faq-answer {
  max-height: 400px;
}

.obs-faq-answer-inner {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink3);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .obs-hero { padding: 7rem 1.25rem 3rem; }
  .obs-stats-section { padding: 2rem 1.25rem; }
  .obs-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .obs-industry-section { padding: 2rem 1.25rem; }
  .obs-industry-grid { grid-template-columns: 1fr; }
  .obs-table-section { padding: 2rem 1.25rem; }
  .obs-table-header { flex-direction: column; align-items: flex-start; }
  .obs-table-controls { width: 100%; }
  .obs-search { flex: 1; width: auto; }
  .obs-method-grid { grid-template-columns: 1fr; }
  .obs-faq-section { padding: 3rem 1.25rem; }
  .obs-highlight-section { padding: 2rem 1.25rem 0; }
  .obs-method-section { padding: 2rem 1.25rem; }

  .obs-table thead th,
  .obs-table tbody td {
    padding: 0.6rem 0.5rem;
    font-size: 0.78rem;
  }

  /* Hide less important columns on mobile */
  .obs-table th.obs-col-bots,
  .obs-table td.obs-col-bots,
  .obs-table th.obs-col-schema,
  .obs-table td.obs-col-schema {
    display: none;
  }

  .obs-faq-question {
    font-size: 0.92rem;
    padding: 1rem 2.5rem 1rem 1.1rem;
  }
  .obs-faq-question::after { right: 1.1rem; }
  .obs-faq-answer-inner { padding: 0 1.1rem 1rem; font-size: 0.88rem; }
}

@media (max-width: 480px) {
  .obs-stats-grid { grid-template-columns: 1fr 1fr; }
}
