/* Blog index modules. Shared tokens / chrome live in layout.css. */

.sec-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.blog-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.blog-crumb a:hover {
  color: var(--lime);
}

.blog-crumb-now {
  color: #f2f2f2;
}

.blog-hero {
  padding: calc(var(--nav-h) + 48px) var(--pad) 72px;
}

.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.blog-intro h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.blog-intro h1 em {
  font-style: normal;
  color: var(--lime);
}

.blog-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.trust span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.trust span::before {
  content: "◆";
  color: var(--lime);
  margin-right: 8px;
  font-size: 8px;
}

.blog-split {
  padding: 88px var(--pad);
}

.blog-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.22);
}

.split-card {
  padding: 32px 28px 36px;
  background: var(--lime);
}

.split-card h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.split-card p,
.split-card li {
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

.split-card ul {
  margin-top: 16px;
}

.split-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.split-card li::before {
  content: "–";
  position: absolute;
  left: 0;
}

.split-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.blog-feed {
  padding: 96px var(--pad) 72px;
}

.feed-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.feed-head h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.feed-head h2 em {
  font-style: normal;
  color: var(--lime);
}

.feed-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.article-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.article-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.article-cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.article-card time {
  font-size: 13px;
  color: var(--gray);
}

.article-card h3 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.article-card h3 a:hover {
  color: var(--lime);
}

.article-card p {
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.article-go {
  width: 42px;
  height: 42px;
  margin-top: 4px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: .25s;
}

.article-card:hover .article-go {
  background: var(--lime);
  color: #000;
}

.feed-empty {
  padding: 36px 28px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
}

.feed-empty strong {
  display: block;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.feed-empty p {
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.blog-checks {
  padding: 100px var(--pad);
}

.checks-head {
  margin-bottom: 40px;
}

.checks-head h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.check-card {
  padding: 8px 36px 8px 0;
  border-right: 1px solid #1f2a12;
}

.check-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.check-idx {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 16px;
}

.check-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.check-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
}

.blog-topics {
  padding: 100px var(--pad) 80px;
}

.topics-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}

.topics-head h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.topics-head h2 em {
  font-style: normal;
  color: var(--lime);
}

.topics-head p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--panel-line);
  background: var(--panel-line);
}

.topic-card {
  padding: 32px 28px 36px;
  background: var(--panel);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.topic-card h3 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.topic-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  flex: 1;
}

.topic-card code,
.feed-empty code,
.check-card code,
.faq-a code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--lime);
}

.topic-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.topic-card a:hover {
  color: #e8ff4d;
}

.faq {
  padding: 40px var(--pad) 80px;
}

.faq h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 10px 0 48px;
}

.faq h2 em {
  font-style: normal;
  color: var(--lime);
}

.faq-item {
  border-top: 1px solid #1f1f1f;
}

.faq-item:last-child {
  border-bottom: 1px solid #1f1f1f;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-q:hover {
  color: var(--lime);
}

.plus {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.plus::before {
  top: 13px;
  left: 5px;
  right: 5px;
  height: 1px;
}

.plus::after {
  left: 13px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  transition: transform .25s;
}

.faq-item.open .plus::after {
  transform: scaleY(0);
}

.faq-a {
  display: none;
  padding: 0 80px 26px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 820px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  padding: 80px var(--pad) 110px;
  border-top: 1px solid var(--line);
}

.cta-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.cta-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.86;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-title .g {
  color: var(--lime);
}

.cta-title .arrow {
  font-weight: 400;
  font-size: 0.72em;
}

.cta-row {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.cta-row p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.on-lime .sec-kicker,
.on-lime .cta-kicker,
.on-lime .faq h2 em,
.on-lime .cta-title .w,
.on-lime .cta-title .g,
.on-lime .cta-title .arrow {
  color: #111;
}

@media (max-width: 1100px) {
  .blog-intro,
  .feed-head,
  .check-grid,
  .topics-head {
    grid-template-columns: 1fr;
  }

  .check-card {
    border-right: 0;
    border-bottom: 1px solid #1f2a12;
    padding: 0 0 28px;
    margin-bottom: 28px;
  }

  .check-card:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .article-card {
    grid-template-columns: 1fr auto;
  }

  .article-card-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .blog-split-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-card {
    grid-template-columns: 1fr;
  }
}
