.thoughts-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #121027 0, #121027 360px, #fbf8f1 360px),
    #fbf8f1;
}

.thoughts-header {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(18, 16, 39, 0.92);
  color: #fff;
  box-shadow: 0 20px 60px rgba(10, 8, 28, 0.24);
  backdrop-filter: blur(18px);
}

.thoughts-header .brand {
  color: #fff;
}

.thoughts-hero,
.thoughts-list,
.thought-article {
  width: min(900px, calc(100% - 36px));
  margin-inline: auto;
}

.thoughts-hero {
  margin-top: 74px;
  margin-bottom: 36px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(65, 216, 210, 0.16), rgba(244, 199, 111, 0.08)),
    linear-gradient(135deg, #121027 0%, #27194c 54%, #123b45 100%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(10, 8, 28, 0.24);
}

.thoughts-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.thoughts-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.thoughts-list {
  display: grid;
  gap: 18px;
  padding-bottom: 88px;
}

.thought-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(17, 19, 41, 0.08);
}

.thought-card span,
.thought-article .kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thought-card h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.thought-card p {
  max-width: 680px;
  color: var(--muted);
}

.thought-article {
  margin-top: 74px;
  margin-bottom: 92px;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 22px 70px rgba(17, 19, 41, 0.12);
}

.thought-article h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.thought-article .lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.2rem;
}

.article-body {
  margin-top: 34px;
  color: #25283a;
  font-size: 1.16rem;
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

@media (max-width: 720px) {
  .thoughts-page {
    background:
      linear-gradient(180deg, #121027 0, #121027 320px, #fbf8f1 320px),
      #fbf8f1;
  }

  .thoughts-header {
    width: calc(100% - 18px);
    min-height: 64px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 24px;
  }

  .thoughts-header .header-cta {
    display: none;
  }

  .thoughts-hero {
    width: calc(100% - 24px);
    margin-top: 46px;
    padding: 26px;
  }

  .thoughts-hero h1,
  .thought-article h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .thought-card,
  .thought-article {
    padding: 22px;
  }
}
/* Performance: the article list can wait until the visitor reaches it. */
.thoughts-list {
  content-visibility: auto;
  contain-intrinsic-size: auto 780px;
}
