#insights {
  position: relative;
  background: #0b1019;
  color: #e8f4fd;
  padding: 7rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

html, body { overflow-x: hidden; }

/* The header wordmark is kept; the separate white icon is intentionally hidden. */
header img[alt*="Logo"] { display: none !important; }

.insights-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.insights-kicker {
  color: #c9a84c;
  font: 600 0.72rem/1 'DM Sans', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.insights-title {
  margin: 1rem 0 0.75rem;
  color: #f3e2b1;
  font: 600 clamp(2rem, 4vw, 3.5rem)/1.1 'Noto Serif SC', serif;
}

.insights-intro {
  max-width: 680px;
  color: #9eabbc;
  font: 400 1rem/1.8 'DM Sans', 'Noto Serif SC', sans-serif;
}

.insights-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0 1.25rem;
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.insights-filter {
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: #a89060;
  cursor: pointer;
  font: 500 0.78rem/1 'DM Sans', sans-serif;
  transition: all 160ms ease;
}

.insights-filter:hover,
.insights-filter.is-active {
  border-color: #c9a84c;
  background: #c9a84c;
  color: #0b1019;
}

.insights-count {
  color: #758296;
  font: 400 0.8rem/1.4 'DM Sans', sans-serif;
}

.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 1.25rem;
  align-items: start;
}

.insights-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 8px;
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(25, 34, 49, 0.9), rgba(11, 16, 25, 0.98));
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.insight-card:hover {
  border-color: rgba(201, 168, 76, 0.62);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.insight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.insight-category {
  color: #6ab7d9;
  font: 500 0.72rem/1.2 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
}

.insight-vip {
  border-radius: 4px;
  padding: 0.28rem 0.45rem;
  background: #e1a52e;
  color: #171009;
  font: 700 0.62rem/1 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
}

.insight-card h3 {
  margin: 1rem 0 0.55rem;
  color: #f3f5f8;
  font: 600 1.08rem/1.45 'Noto Serif SC', serif;
}

.insight-card p {
  margin: 0;
  color: #9eabbc;
  font: 400 0.84rem/1.7 'Noto Serif SC', sans-serif;
}

.insight-meta {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.1rem;
  color: #69778b;
  font: 400 0.72rem/1.2 'DM Sans', sans-serif;
}

.insights-aside {
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 8px;
  padding: 1.25rem;
  background: #131b2a;
}

.insights-aside h3 {
  margin: 0;
  color: #f3e2b1;
  font: 600 1.1rem/1.3 'Noto Serif SC', serif;
}

.insights-aside p {
  margin: 0.75rem 0 1.2rem;
  color: #9eabbc;
  font: 400 0.8rem/1.65 'Noto Serif SC', sans-serif;
}

.insights-vip-button,
.insights-login-button {
  width: 100%;
  border: 0;
  border-radius: 5px;
  padding: 0.8rem 1rem;
  background: #e1a52e;
  color: #171009;
  cursor: pointer;
  font: 700 0.82rem/1 'DM Sans', sans-serif;
  transition: filter 160ms ease, transform 160ms ease;
}

.insights-vip-button:hover,
.insights-login-button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.insights-benefits {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
}

.insights-benefit {
  display: flex;
  gap: 0.5rem;
  color: #aeb9c8;
  font: 400 0.76rem/1.5 'Noto Serif SC', sans-serif;
}

.insights-benefit::before {
  content: '✓';
  color: #c9a84c;
  font-family: 'DM Sans', sans-serif;
}

.insights-more {
  display: block;
  margin: 1.25rem auto 0;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 5px;
  padding: 0.7rem 1.1rem;
  background: transparent;
  color: #c9a84c;
  cursor: pointer;
  font: 500 0.8rem/1 'DM Sans', sans-serif;
}

.insights-more:hover { background: rgba(201, 168, 76, 0.1); }

.insights-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 7, 13, 0.78);
  backdrop-filter: blur(8px);
}

.insights-modal {
  position: relative;
  width: min(460px, 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  background: #131b2a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.insights-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #9eabbc;
  cursor: pointer;
  font-size: 1.35rem;
}

.insights-modal h2 { margin: 0; color: #f3e2b1; font: 600 1.45rem/1.3 'Noto Serif SC', serif; }
.insights-modal-subtitle { margin: 0.45rem 0 1.2rem; color: #9eabbc; font: 400 0.82rem/1.6 'Noto Serif SC', sans-serif; }

.insights-modal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 1rem; }
.insights-modal-tab { border: 1px solid rgba(201, 168, 76, 0.22); border-radius: 4px; padding: 0.6rem; background: transparent; color: #9eabbc; cursor: pointer; font: 500 0.8rem/1 'DM Sans', sans-serif; }
.insights-modal-tab.is-active { border-color: #c9a84c; background: rgba(201, 168, 76, 0.13); color: #f3e2b1; }
.insights-form { display: grid; gap: 0.75rem; }
.insights-form label { display: grid; gap: 0.35rem; color: #9eabbc; font: 500 0.74rem/1.2 'DM Sans', sans-serif; }
.insights-form input { width: 100%; border: 1px solid rgba(201, 168, 76, 0.22); border-radius: 4px; padding: 0.72rem 0.8rem; outline: none; background: #0b1019; color: #f3f5f8; font: 400 0.86rem/1.2 'DM Sans', sans-serif; }
.insights-form input:focus { border-color: #c9a84c; }
.insights-form button { margin-top: 0.25rem; }
.insights-demo-note { margin: 0.85rem 0 0; color: #718096; font: 400 0.7rem/1.5 'Noto Serif SC', sans-serif; }

@media (max-width: 860px) {
  .insights-layout { grid-template-columns: 1fr; }
  .insights-aside { order: -1; }
}

@media (max-width: 620px) {
  #insights { padding: 5rem 0; }
  .insights-shell { width: min(100% - 1.5rem, 520px); }
  .insights-list { grid-template-columns: 1fr; }
  .insights-toolbar { align-items: flex-start; flex-direction: column; }
  #root, #root .container { width: 100%; max-width: 100%; overflow-x: hidden; }
  #root p { overflow-wrap: anywhere; }
}
