.stack-page__main {
  min-height: 0;
  padding-top: 78px;
}

.stack-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
  width: min(calc(100% - 48px), 1260px);
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.stack-hero__copy {
  max-width: 690px;
}

.stack-hero__eyebrow {
  margin: 0 0 14px;
  color: #ffc400;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stack-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.stack-hero h1 span {
  color: #ffc400;
}

.stack-hero__copy > p:last-child {
  max-width: 610px;
  margin: 22px 0 0;
  color: #d7d7dc;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.stack-hero__art {
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 196, 0, 0.13), transparent 58%),
    linear-gradient(145deg, #101116, #07080b);
}

.stack-hero__art svg {
  display: block;
  width: min(92%, 460px);
  overflow: visible;
  filter: drop-shadow(0 20px 30px rgba(255, 196, 0, 0.18));
}

.stack-plane--main {
  fill: #ffc400;
}

.stack-plane-fold {
  fill: #fff0a3;
  opacity: 0.9;
}

.stack-plane--small {
  fill: #d99f00;
}

.stack-plane--small-top {
  opacity: 0.64;
}

.stack-plane-fold--small {
  fill: #ffe17a;
  opacity: 0.75;
}

.stack-comparison {
  padding: clamp(50px, 7vw, 88px) max(24px, calc((100vw - 1260px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.stack-comparison__heading {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.stack-comparison__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stack-comparison__intro {
  max-width: 780px;
  margin: 18px auto 30px;
  color: #bfc0c7;
  line-height: 1.65;
  text-align: center;
}

.stack-table-scroll {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 18px;
  background: #090a0f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  scrollbar-color: #b88800 #101116;
}

.stack-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #ececf0;
  font-size: 0.7rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.stack-table th,
.stack-table td {
  min-width: 0;
  padding: 11px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  vertical-align: top;
  text-align: left;
}

.stack-table th:first-child,
.stack-table td:first-child {
  width: 18%;
  min-width: 0;
  background: #101116;
  color: #fff;
  font-weight: 750;
}

.stack-table thead th {
  background: #15161c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  vertical-align: middle;
}

.stack-table thead th.stack-table__provider {
  height: 104px;
  padding: 9px 5px;
  text-align: center;
}

.stack-table__provider img {
  display: block;
  width: auto;
  max-width: 82px;
  height: 34px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.stack-table__provider span {
  display: block;
  color: inherit;
  font-size: 0.68rem;
  line-height: 1.25;
}

.stack-table__canary img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.stack-table thead th:first-child {
  z-index: 4;
  background: #1b1c22;
}

.stack-table .stack-table__canary {
  color: #ffd83d;
  background: #201b0b;
}

.stack-table tbody tr:not(.stack-table__section):nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.018);
}

.stack-table tbody tr:not(.stack-table__section):hover td {
  background-color: rgba(255, 196, 0, 0.055);
}

.stack-table .stack-table__section th {
  position: static;
  padding: 12px 16px;
  background: #201b0b;
  color: #ffd83d;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack-table__note {
  max-width: 1100px;
  margin: 18px auto 0;
  color: #8f9098;
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.stack-table__note a {
  color: #ffd83d;
}

@media (max-width: 760px) {
  .stack-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(calc(100% - 32px), 620px);
    padding: 64px 0 46px;
  }

  .stack-hero__art {
    min-height: 240px;
    border-radius: 22px;
  }

  .stack-comparison {
    padding-inline: 16px;
  }

  .stack-comparison__intro {
    text-align: left;
  }

  .stack-table-scroll { margin-inline: 0; border-radius: 12px; }
  .stack-table { font-size: 0.59rem; line-height: 1.32; }
  .stack-table th, .stack-table td { padding: 7px 4px; }
  .stack-table th:first-child, .stack-table td:first-child { width: 20%; }
  .stack-table thead th { font-size: 0.62rem; }
  .stack-table thead th.stack-table__provider { height: 84px; padding: 6px 3px; }
  .stack-table__provider img { max-width: 52px; height: 24px; margin-bottom: 5px; }
  .stack-table__provider span { font-size: 0.56rem; }

  .stack-table__note {
    text-align: left;
  }
}

.stack-status {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.stack-status--included {
  color: #62d995;
  background: rgba(65, 190, 119, 0.13);
}

.stack-status--excluded {
  color: #ff666f;
  background: rgba(239, 68, 78, 0.13);
}

.stack-table__canary-positive::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.45rem;
  color: #62d995;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: -0.04em;
}
