.toolkit-page {
  background: #020609;
}

.toolkit-main {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.025) 0 1px, transparent 1px 52px),
    linear-gradient(180deg, #020609 0%, #071017 48%, #02070a 100%);
}

.toolkit-main *,
.toolkit-footer * {
  min-width: 0;
}

.toolkit-hero h1,
.toolkit-section-heading h2,
.toolkit-card h3,
.toolkit-cta h2 {
  overflow-wrap: anywhere;
}

.toolkit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  min-height: 610px;
  padding: 88px clamp(38px, 7vw, 92px);
  border-bottom: 1px solid rgba(255, 196, 0, 0.43);
}

.toolkit-eyebrow,
.toolkit-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.7px;
}

.toolkit-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(48px, 6.1vw, 76px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.toolkit-hero h1 span {
  color: var(--gold);
}

.toolkit-lead {
  max-width: 840px;
  margin: 30px 0 0;
  color: #d8dddf;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.7;
}

.toolkit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
}

.toolkit-actions .button {
  min-height: 50px;
}

.toolkit-stack {
  position: relative;
  padding: 36px 32px;
  border: 1px solid rgba(255, 196, 0, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), transparent 42%),
    rgba(1, 7, 10, 0.9);
  box-shadow: 22px 22px 0 rgba(255, 196, 0, 0.045);
}

.toolkit-stack::before,
.toolkit-stack::after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: "";
}

.toolkit-stack::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.toolkit-stack::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.toolkit-stack-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.toolkit-stack ol {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toolkit-stack;
}

.toolkit-stack li {
  position: relative;
  padding-left: 42px;
  color: #eff1f1;
  font-size: 16px;
  line-height: 1.45;
  counter-increment: toolkit-stack;
}

.toolkit-stack li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 196, 0, 0.72);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  content: counter(toolkit-stack, decimal-leading-zero);
}

.toolkit-overview,
.toolkit-gallery,
.toolkit-operations,
.toolkit-cta {
  padding: 82px clamp(38px, 7vw, 92px);
}

.toolkit-overview,
.toolkit-operations {
  background: rgba(1, 6, 9, 0.48);
}

.toolkit-section-heading {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1060px;
  margin-bottom: 43px;
}

.toolkit-section-number {
  margin: 8px 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.toolkit-section-heading h2,
.toolkit-cta h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.06;
}

.toolkit-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.toolkit-workflow-grid article,
.toolkit-operations-grid article {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 12, 17, 0.72);
}

.toolkit-workflow-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.4px;
}

.toolkit-workflow-grid h3,
.toolkit-operations-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.toolkit-workflow-grid p,
.toolkit-operations-grid p,
.toolkit-cta > div > p:last-child {
  margin: 0;
  color: #ced4d6;
  font-size: 16px;
  line-height: 1.75;
}

.toolkit-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.toolkit-card {
  display: grid;
  align-content: start;
  height: 100%;
  padding: 16px 16px 30px;
  border: 1px solid rgba(255, 196, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.055), transparent 28%),
    rgba(0, 6, 9, 0.8);
}

.toolkit-card-wide {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.075), transparent 38%),
    linear-gradient(160deg, rgba(0, 202, 255, 0.075), transparent 58%),
    rgba(0, 6, 9, 0.9);
}

.toolkit-card-wide .toolkit-product-number {
  display: flex;
}

.toolkit-card-wide .toolkit-product-body {
  grid-template-columns: minmax(0, 1fr) auto;
}

.toolkit-wide-summary,
.toolkit-wide-detail-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.toolkit-product-panel .toolkit-wide-summary p,
.toolkit-wide-detail-grid p {
  max-width: none;
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(255, 196, 0, 0.68);
  color: #eef3f3;
  background: rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.58;
}

.toolkit-wide-summary strong,
.toolkit-wide-detail-grid strong {
  color: var(--gold);
}

.toolkit-card-wide .toolkit-card-visual {
  display: block;
  border: 0;
  background: transparent;
}

.toolkit-card-wide .toolkit-product-panel {
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.toolkit-card-wide .toolkit-card-visual figcaption {
  display: none;
}

.toolkit-card-visual {
  display: block;
  margin: 0 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.055), transparent 42%),
    #02080c;
}

.toolkit-card:not(.toolkit-card-wide) .toolkit-product-panel {
  min-height: clamp(330px, 31vw, 390px);
}

.toolkit-product-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 15px;
  height: 100%;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(0, 202, 255, 0.13), transparent 55%),
    #030b10;
  isolation: isolate;
}

.toolkit-product-panel::before {
  position: absolute;
  z-index: -1;
  top: 54px;
  right: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(0, 202, 255, 0.035),
    0 0 0 72px rgba(255, 196, 0, 0.02);
  content: "";
}

.toolkit-product-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #aeb7bb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.3px;
}

.toolkit-product-topline span:first-child {
  color: var(--gold);
}

.toolkit-product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.toolkit-product-category {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.4px;
}

.toolkit-product-panel h4 {
  max-width: 490px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.06;
}

.toolkit-product-panel p:not(.toolkit-product-category) {
  max-width: 520px;
  margin: 16px 0 0;
  color: #d2dadd;
  font-size: 15px;
  line-height: 1.65;
}

.toolkit-product-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 196, 0, 0.52);
  color: var(--gold);
  background: rgba(1, 7, 10, 0.68);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.toolkit-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolkit-product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  color: #f3f3ef;
  background: rgba(0, 0, 0, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.toolkit-product-preview {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.toolkit-product-preview span {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 84px;
  padding: 13px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.24);
  color: #f5f5f0;
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.1), rgba(0, 0, 0, 0.18)),
    rgba(0, 8, 12, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.toolkit-product-preview span::before {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 196, 0, 0.6);
  content: "";
  transform: rotate(45deg);
}

.toolkit-product-preview span::after {
  position: absolute;
  top: 23px;
  right: -18px;
  width: 88px;
  height: 1px;
  background: rgba(0, 202, 255, 0.35);
  content: "";
  transform: rotate(-24deg);
}

.toolkit-card:not(.toolkit-card-wide) .toolkit-card-visual figcaption {
  display: none;
}

.toolkit-card-visual figcaption span:first-child {
  color: var(--gold);
}

.toolkit-card-number {
  display: none;
}

.toolkit-card h3 {
  grid-column: auto;
  margin: 0 12px 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(32px, 3.7vw, 46px);
  font-weight: 400;
  line-height: 1.04;
}

.toolkit-card-pitch {
  grid-column: auto;
  margin: 0 12px 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.toolkit-card > p:not(.toolkit-card-number):not(.toolkit-card-pitch) {
  grid-column: auto;
  margin: 0 12px;
  color: #cdd4d6;
  font-size: 16px;
  line-height: 1.78;
}

.toolkit-wide-copy {
  display: grid;
  align-content: start;
  gap: 13px;
}

.toolkit-wide-copy > p:not(.toolkit-card-number):not(.toolkit-card-pitch) {
  margin: 0 12px;
  color: #cdd4d6;
  font-size: 16px;
  line-height: 1.78;
}

.toolkit-wide-detail-grid {
  margin: 6px 12px 0;
}

.toolkit-card ul {
  grid-column: auto;
  display: grid;
  gap: 10px;
  margin: 22px 12px 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 961px) {
  .toolkit-card:not(.toolkit-card-wide) {
    grid-template-rows:
      clamp(400px, 34vw, 460px)
      auto
      auto
      auto
      auto;
    row-gap: 14px;
  }

  .toolkit-card:not(.toolkit-card-wide) .toolkit-card-visual {
    height: 100%;
    margin: 0;
  }

  .toolkit-card:not(.toolkit-card-wide) .toolkit-product-panel {
    min-height: 0;
    height: 100%;
  }

  .toolkit-card-visual {
    align-self: start;
  }

  .toolkit-card-number,
  .toolkit-card h3,
  .toolkit-card-pitch,
  .toolkit-card > p:not(.toolkit-card-number):not(.toolkit-card-pitch),
  .toolkit-card ul {
    align-self: start;
  }

  .toolkit-card-number {
    margin-bottom: 0;
  }

  .toolkit-card:not(.toolkit-card-wide) h3 {
    margin: 0 12px;
  }

  .toolkit-card:not(.toolkit-card-wide) .toolkit-card-pitch {
    margin: 0 12px;
  }

  .toolkit-card:not(.toolkit-card-wide) > p:not(.toolkit-card-number):not(.toolkit-card-pitch) {
    margin: 0 12px;
  }

  .toolkit-card:not(.toolkit-card-wide) ul {
    margin: 4px 12px 0;
  }

  .toolkit-card-wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 12px clamp(34px, 4vw, 58px);
    align-items: start;
  }

  .toolkit-card-wide .toolkit-card-visual {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    margin-bottom: 0;
  }

  .toolkit-wide-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .toolkit-card-wide .toolkit-product-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 4px 6px 0;
  }

  .toolkit-card-wide .toolkit-product-panel h4 {
    max-width: none;
    font-size: clamp(27px, 2.2vw, 32px);
    line-height: 1.15;
  }

  .toolkit-card-wide .toolkit-product-panel p:not(.toolkit-product-category) {
    max-width: none;
  }

  .toolkit-card-wide .toolkit-wide-summary {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .toolkit-card-wide h3 {
    font-size: clamp(30px, 2.45vw, 36px);
  }

  .toolkit-wide-copy .toolkit-card-number,
  .toolkit-wide-copy h3,
  .toolkit-wide-copy .toolkit-card-pitch {
    margin-bottom: 0;
  }

  .toolkit-wide-copy .toolkit-card-pitch {
    margin-top: 0;
  }

  .toolkit-card-wide ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .toolkit-card-wide .toolkit-card-number,
  .toolkit-card-wide h3,
  .toolkit-card-wide .toolkit-card-pitch,
  .toolkit-card-wide .toolkit-wide-copy > p:not(.toolkit-card-number):not(.toolkit-card-pitch),
  .toolkit-card-wide .toolkit-wide-detail-grid,
  .toolkit-card-wide ul {
    grid-column: 1;
  }

  .toolkit-card-wide .toolkit-wide-header,
  .toolkit-card-wide .toolkit-wide-balanced {
    grid-column: 1 / -1;
  }
}

.toolkit-wide-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.toolkit-card-wide .toolkit-card-number {
  display: block;
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.toolkit-wide-header h3 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.1vw, 44px);
}

.toolkit-wide-header .toolkit-card-pitch {
  margin: 0;
}

.toolkit-wide-balanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
}

.toolkit-wide-column {
  display: grid;
  gap: 13px;
  align-content: start;
}

.toolkit-wide-column p {
  max-width: none;
  margin: 0;
  padding: 13px 14px;
  color: #eef3f3;
  background: rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.58;
}

.toolkit-wide-column strong {
  color: var(--gold);
}

.toolkit-card li {
  position: relative;
  padding-left: 22px;
  color: #f0f3f3;
  font-size: 14px;
  line-height: 1.55;
}

.toolkit-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

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

.toolkit-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  border-top: 1px solid rgba(255, 196, 0, 0.35);
  background:
    linear-gradient(90deg, rgba(255, 196, 0, 0.08), transparent 42%),
    #010405;
}

.toolkit-cta > div {
  max-width: 850px;
}

.toolkit-cta h2 {
  margin-bottom: 22px;
}

.toolkit-cta .button {
  min-width: 245px;
  min-height: 54px;
}

.toolkit-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 27px 30px;
  border-top: 1px solid rgba(255, 196, 0, 0.34);
  color: #aeb6b9;
  background: #010405;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

.toolkit-footer > span:first-child,
.toolkit-footer a {
  color: var(--gold);
}

.toolkit-footer a:hover,
.toolkit-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 1080px) {
  .toolkit-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .toolkit-hero,
  .toolkit-cta {
    grid-template-columns: 1fr;
  }

  .toolkit-stack {
    width: min(100%, 620px);
  }

  .toolkit-card-grid,
  .toolkit-operations-grid {
    grid-template-columns: 1fr;
  }

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

  .toolkit-card-visual,
  .toolkit-card-number,
  .toolkit-card h3,
  .toolkit-card-pitch,
  .toolkit-card > p:not(.toolkit-card-number):not(.toolkit-card-pitch),
  .toolkit-card ul {
    grid-column: 1;
  }

  .toolkit-card-visual {
    grid-row: auto;
    margin-bottom: 28px;
  }
}

@media (max-width: 760px) {
  .toolkit-hero,
  .toolkit-overview,
  .toolkit-gallery,
  .toolkit-operations,
  .toolkit-cta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .toolkit-hero {
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .toolkit-hero h1 {
    font-size: clamp(31px, 8.8vw, 42px);
  }

  .toolkit-lead {
    font-size: 17px;
  }

  .toolkit-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .toolkit-actions .button {
    width: min(100%, 360px);
  }

  .toolkit-section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .toolkit-section-heading h2,
  .toolkit-cta h2 {
    font-size: clamp(34px, 10vw, 40px);
  }

  .toolkit-workflow-grid {
    grid-template-columns: 1fr;
  }

  .toolkit-card {
    padding: 14px 14px 28px;
  }

  .toolkit-card-visual {
    grid-template-rows: minmax(0, auto) 44px;
  }

  .toolkit-product-panel {
    grid-template-rows: auto auto auto;
    gap: 13px;
    min-height: 0;
    padding: 16px;
  }

  .toolkit-product-body {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .toolkit-product-number {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .toolkit-product-panel h4 {
    font-size: clamp(25px, 7vw, 32px);
  }

  .toolkit-card h3 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .toolkit-card-number,
  .toolkit-card h3,
  .toolkit-card-pitch,
  .toolkit-card > p:not(.toolkit-card-number):not(.toolkit-card-pitch),
  .toolkit-card ul {
    margin-right: 8px;
    margin-left: 8px;
  }

  .toolkit-cta .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .toolkit-hero h1 {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .toolkit-stack {
    padding-right: 25px;
    padding-left: 25px;
  }
}
