/* Grant / perk detail — black ink only from hero through Ask CTA */

body.grant-page {
  background: #f7f1e6;
}

.grant-page .site-header {
  margin-bottom: 16px;
}

/* One black block: title → … → “Not sure which path” inclusive */
.grant-ink {
  background: #000;
  color: #f4f5f2;
  border-radius: 40px;
  margin: 0 0 16px;
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.grant-ink .grant-hero {
  border-radius: 0;
  margin: 0;
  background: transparent;
}

.grant-ink .facts-band.steps-band,
.grant-ink .ladder-band.steps-band,
.grant-ink .grant-cover.steps-band,
.grant-ink .process-band,
.grant-ink .contact-band.steps-band,
.grant-ink .section.steps-band {
  background: transparent !important;
  margin: 0;
  border-radius: 0;
}

.grant-ink .facts-band.steps-band {
  padding: 8px 16px clamp(28px, 4vw, 40px);
}

.grant-ink .facts-strip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.grant-ink .facts-strip__item {
  background: #0a0a0a;
}

.grant-ink .qualify-band {
  --q-dot: 64px;
  background: transparent;
  padding: clamp(24px, 4vw, 40px) 16px;
  margin: 0;
}

.grant-ink .traps-band {
  padding: clamp(24px, 4vw, 40px) 16px;
  margin: 0;
}

.grant-ink .contact-band.steps-band {
  padding: clamp(16px, 3vw, 28px) 16px 0;
}

.grant-ink .contact {
  background: transparent;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border: 1px solid rgba(224, 89, 42, 0.45);
  border-radius: 14px;
}

.grant-ink .process-band {
  padding: clamp(24px, 4vw, 40px) 16px;
}

.grant-ink .process {
  border-radius: 0;
  padding: 0;
  max-width: 960px;
  margin: 0 auto;
  background: transparent;
}

.grant-ink .process::before,
.grant-ink .process::after {
  display: none;
}

.grant-ink .process .step__body {
  justify-content: center;
  gap: 0;
}

.grant-ink .process .step__text {
  margin: 0;
  padding: 0;
  border-top: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--text-dark, #14161b);
  opacity: 1;
}

.grant-ink .process .step--accent .step__text {
  color: #4a4032;
}

.grant-ink .process .step:last-child .step__text {
  margin-bottom: 0;
}

/* —— Hero —— */
.grant-hero {
  position: relative;
  background: #000;
  color: #f4f5f2;
  padding: 72px 16px 56px;
  overflow: hidden;
  border-radius: 40px;
  margin-bottom: 16px;
}

.grant-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(224, 89, 42, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(224, 89, 42, 0.08), transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    );
  pointer-events: none;
}

.grant-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
  max-width: 960px;
  margin: 0 auto;
}

.grant-hero__eyebrow {
  display: inline-block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d8d96;
  margin-bottom: 22px;
}

.grant-hero__title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
}

.grant-hero__title em {
  font-style: normal;
  color: #e0592a;
}

.grant-hero__lead {
  max-width: 34rem;
  margin: 0 0 28px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #a3a6ad;
}

.grant-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.grant-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: #e0592a;
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease;
}

.grant-hero__btn:hover {
  background: #c94e24;
  color: #fff;
}

.grant-hero__btn--ghost {
  background: transparent;
  color: #f4f5f2;
  border-color: rgba(255, 255, 255, 0.28);
}

.grant-hero__btn--ghost:hover {
  border-color: #e0592a;
  color: #fff;
}

.grant-hero__ladder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}

.grant-hero__rung {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  animation: grant-rung-in 0.7s ease both;
}

.grant-hero__rung:nth-child(2) {
  animation-delay: 0.08s;
}

.grant-hero__rung:nth-child(3) {
  animation-delay: 0.16s;
}

.grant-hero__rung--hot {
  border-color: rgba(224, 89, 42, 0.55);
  box-shadow: inset 0 0 0 1px rgba(224, 89, 42, 0.2);
}

.grant-hero__rung-tag {
  font-family: "IBM Plex Mono", "IBM Plex Sans", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8d96;
}

.grant-hero__rung--hot .grant-hero__rung-tag {
  color: #e0592a;
}

.grant-hero__rung-name {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #f4f5f2;
}

.grant-hero__rung-val {
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #d5d8d0;
  white-space: nowrap;
}

.grant-hero__rung--hot .grant-hero__rung-val {
  color: #e0592a;
}

@keyframes grant-rung-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grant-hero__rung {
    animation: none;
  }
}

/* —— Facts —— */
.grant-page .facts-band.steps-band {
  background: transparent;
  padding: 32px 16px 8px;
  margin-bottom: 0;
  border-radius: 0;
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.facts-strip__item {
  background: #000;
  padding: 22px 20px;
  text-align: center;
}

.facts-strip__label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #8b8f96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.facts-strip__value {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: #f4f5f2;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.facts-strip__value em {
  font-style: normal;
  color: #e0592a;
}

/* —— Ladder —— */
.grant-ink .ladder-band.steps-band {
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px);
}

.ladder-panel {
  max-width: 960px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid rgba(224, 89, 42, 0.45);
  border-radius: 22px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 28px) 8px;
}

.ladder-panel__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 28px;
}

.ladder-panel__label {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #8b8f96;
  margin-bottom: 10px;
}

.ladder-panel__title {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f4f5f2;
  line-height: 1.15;
}

.ladder-panel__sub {
  margin: 12px 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #8b8f96;
}

.ladder-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}

.ladder-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  min-width: 560px;
  background: transparent;
}

.ladder-table th,
.ladder-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
  color: #d5d8d0;
  background: transparent;
}

.ladder-table th {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  color: #f4f5f2;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.ladder-table th:first-child,
.ladder-table td:first-child {
  color: #8b8f96;
  font-weight: 500;
  width: 7rem;
}

/* Remaining width splits evenly across tier columns (pushes last col right) */
.ladder-table th:not(:first-child),
.ladder-table td:not(:first-child) {
  padding-left: 28px;
}

.ladder-table th .tier-accent {
  color: #e0592a;
}

.ladder-table tr:last-child td {
  border-bottom: none;
}

.ladder-table tbody tr:hover td {
  background: rgba(224, 89, 42, 0.06);
}

/* —— Cover / prose: plain title on top, text below (not side-by-side flex) —— */
.grant-ink .grant-cover.steps-band {
  display: block !important;
  align-items: stretch;
  justify-content: flex-start;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 16px;
}

.grant-cover__title {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: left;
  line-height: 1.15;
}

.grant-cover__title span {
  color: #e0592a;
}

.grant-cover__body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #d5d8d0;
  max-width: none;
  margin: 0;
}

.grant-cover__body p {
  margin: 0 0 14px;
}

.grant-cover__body p:last-child {
  margin-bottom: 0;
}

.cover-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.cover-list li {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #d5d8d0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.cover-list li strong {
  display: block;
  font-family: "Inter Tight", sans-serif;
  color: #f4f5f2;
  font-weight: 600;
  margin-bottom: 4px;
}

.cover-list li.cover-list--warn {
  border-color: rgba(224, 89, 42, 0.45);
}

.cover-list li.cover-list--warn strong {
  color: #e0592a;
}

.qualify {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  font-family: "IBM Plex Sans", sans-serif;
}

.qualify__title {
  margin: 0 0 48px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  max-width: 16ch;
}

.qualify__title span {
  color: #e0592a;
}

.qualify__steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qualify__step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.qualify__dot {
  flex-shrink: 0;
  width: var(--q-dot);
  height: var(--q-dot);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  background: #e0592a;
  border: 3px solid #e0592a;
  color: #fff;
  line-height: 1;
}

.qualify__body {
  padding-top: 8px;
  max-width: 36rem;
}

.qualify__name {
  margin: 0 0 8px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.qualify__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #a3a6ad;
}

.traps-band .why {
  background: transparent;
  border-radius: 0;
  max-width: 720px;
  padding: 0;
  margin: 0 auto;
}

.traps-band .why__head {
  margin-bottom: 36px;
}

.traps-band .why__title {
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.traps-band .why__title span {
  color: #e0592a;
}

.sell-bridge-band {
  padding: clamp(40px, 6vw, 72px) 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sell-bridge-band .why {
  background: transparent;
  border-radius: 0;
  max-width: 720px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.sell-bridge-band .why__title {
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.sell-bridge__body {
  margin: 14px auto 0;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.6;
  color: #a3a6ad;
}

.sell-bridge__cta {
  margin: 22px 0 0;
}

.sell-bridge__cta a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sell-bridge__cta a:hover {
  color: #e0592a;
}

/* After the ink block: cream page + orange related / FAQ as usual */
.grant-page .sell-band.steps-band {
  margin-bottom: 16px;
}

.grant-page #faq.section {
  background: #000;
  border-radius: 40px;
  margin-bottom: 16px;
  padding: clamp(48px, 6vw, 80px) 16px;
}

@media (max-width: 820px) {
  .facts-strip {
    grid-template-columns: 1fr;
  }

  .grant-hero {
    padding: 48px 16px 40px;
  }

  .grant-ink {
    border-radius: 28px;
  }

  .grant-ink .grant-hero {
    border-radius: 0;
  }

  .grant-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grant-page #faq.section {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .grant-ink {
    --q-dot: 52px;
  }

  .qualify__dot {
    font-size: 22px;
  }

  .qualify__steps {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .facts-strip {
    grid-template-columns: 1fr;
  }

  .grant-hero__rung {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .grant-hero__rung-val {
    white-space: normal;
  }
}
