body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin: 0;
  background:
    radial-gradient(1200px 420px at 0% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(900px 360px at 100% -10%, rgba(14, 165, 233, 0.08), transparent 60%),
    #f5f7fb;
  color: #111827;
  line-height: 1.45;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #dbe2ef;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  max-width: 920px;
  margin: 2rem auto;
  padding: 0 1.2rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1px;
  text-decoration: none;
  color: #0f172a;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
}

.site-header nav {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.site-header nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}

.site-header nav a:hover {
  background: #eaf0fb;
  color: #1e3a8a;
}

.hero h1 {
  margin-bottom: 0.35rem;
  font-size: 2rem;
}

.hero {
  background: #fff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.search-form {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
}

.search-form input {
  flex: 1;
  padding: 0.78rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
}

.search-form button {
  padding: 0.78rem 1rem;
  border: none;
  border-radius: 10px;
  background: #0c62ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.badge {
  background: #e0e7ff;
  color: #1e3a8a;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: capitalize;
}

.results {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.result-card {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
}

.result-card.top-match {
  border-color: #93c5fd;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.2);
}

.result-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.result-sub {
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.result-name {
  font-weight: 650;
  text-decoration: none;
  color: #111827;
}

.result-name:hover {
  color: #1d4ed8;
}

.ticker {
  font-size: 0.9rem;
  color: #374151;
}

.trust-note {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: #475569;
}

.last-reviewed {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.ipo-source {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.muted {
  color: #6b7280;
}

.top-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.result-meta {
  color: #475569;
  margin-bottom: 0.2rem;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 0.62rem 0.95rem;
  border-radius: 10px;
}

.cta.secondary {
  background: #334155;
}

.cta.subtle {
  background: #475569;
}

.partner-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}

.partner-link:hover {
  color: #334155;
  border-color: #94a3b8;
}

.partner-note {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.86rem;
}

.company-page h1 {
  margin-bottom: 0.4rem;
}

.status-line {
  margin-top: 0;
  margin-bottom: 0;
}

.company-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.company-status-row .status-line {
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  align-self: center;
}

.interest-inline {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  position: relative;
  max-width: 22rem;
}

.interest-inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.65rem;
}

.interest-btn-modern {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 2px solid #4f46e5;
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 55%, #dbeafe 100%);
  color: #1e1b4b;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 6px rgba(79, 70, 229, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.08);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease,
    filter 0.15s ease;
}

/* Reads as “control / action”, not body text or a link */
.interest-btn-modern::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.interest-btn-modern:hover:not(:disabled) {
  border-color: #4338ca;
  filter: brightness(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 14px rgba(79, 70, 229, 0.28),
    0 2px 4px rgba(15, 23, 42, 0.08);
}

.interest-btn-modern:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}

.interest-btn-modern:focus {
  outline: none;
}

.interest-btn-modern:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 3px;
}

.interest-btn-modern:disabled {
  cursor: default;
  opacity: 1;
  filter: saturate(0.92);
}

.interest-btn-modern--done {
  border-color: #16a34a;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  color: #14532d;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 2px 6px rgba(22, 163, 74, 0.2);
}

.interest-btn-modern--done::before {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.interest-count-inline {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.interest-inline-note {
  font-size: 0.68rem;
  line-height: 1.35;
  color: #94a3b8;
  text-align: right;
  max-width: 16rem;
}

.interest-hp-field {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 560px) {
  .company-status-row {
    flex-direction: column;
    align-items: stretch;
  }

  .interest-inline {
    align-items: flex-start;
    max-width: none;
    text-align: left;
  }

  .interest-inline-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .interest-inline-note {
    text-align: left;
    max-width: none;
  }
}

.section-card {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0.75rem 0;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.section-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.related-list li:last-child {
  border-bottom: none;
}

.quick-answer {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.site-footer {
  max-width: 920px;
  margin: 0 auto 1.5rem;
  padding: 0 1.2rem;
}

.site-footer p {
  font-size: 0.88rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.site-footer a {
  color: #1d4ed8;
  text-decoration: none;
}

.legal-page h1 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.rank-table th,
.rank-table td {
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.rank-table th {
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #475569;
}

