.startup-page {
  --startup-dark: #161d27;
  --startup-dark-alt: #212c3a;
  background: var(--startup-dark);
}

.startup-page .site-header {
  position: absolute;
  background: linear-gradient(rgba(16, 22, 30, .94), rgba(16, 22, 30, .72));
}

.startup-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(120px, 12.5vh, 158px) var(--page-x) 24px;
  display: grid;
  grid-template-rows: minmax(335px, 1fr) auto auto;
  gap: 38px;
  color: var(--bnx-text-inverse);
  background: var(--startup-dark);
}

.startup-hero__media {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("../startup-hero-v1.png") center 48% / cover no-repeat;
  transform: scale(1.01);
}

.startup-hero::before,
.startup-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.startup-hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, .93) 0%, rgba(8, 13, 19, .84) 31%, rgba(10, 15, 21, .29) 61%, rgba(8, 12, 17, .2) 100%),
    linear-gradient(180deg, rgba(5, 9, 13, .3) 0%, rgba(8, 13, 19, .08) 52%, rgba(8, 13, 19, .82) 86%, #161d27 100%);
}

.startup-hero::after {
  z-index: -1;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.startup-hero__wallmark {
  position: absolute;
  z-index: -1;
  top: clamp(142px, 16vh, 190px);
  left: 57%;
  width: 260px;
  color: rgba(232, 236, 240, .62);
}

.startup-hero__wallmark img {
  width: 230px;
  height: auto;
  opacity: .65;
  filter: grayscale(1);
}

.startup-hero__wallmark span {
  width: fit-content;
  margin: 18px 0 0 41px;
  padding-top: 16px;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .15em;
}

.startup-hero__copy {
  position: relative;
  z-index: 2;
  width: min(1100px, 67vw);
  align-self: center;
}

.startup-eyebrow,
.startup-section__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
}

.startup-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.startup-eyebrow span {
  width: 82px;
  height: 1px;
  display: block;
  background: rgba(255, 255, 255, .48);
}

.startup-hero h1 {
  max-width: 1100px;
  margin: 25px 0 0;
  font-size: clamp(49px, 3.75vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.startup-hero h1 span { display: block; }
.startup-hero h1 span:not(:last-child) { color: #c6cbd2; }
.startup-hero h1 span:last-child { color: #fff; white-space: nowrap; }

.startup-hero__lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 400;
  line-height: 1.52;
}

.startup-button {
  min-height: 54px;
  margin-top: 26px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--bnx-text);
  border: 1px solid #fff;
  border-radius: 7px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.startup-button svg { width: 21px; height: 21px; }
.startup-button:hover,
.startup-button:focus-visible { color: #fff; background: transparent; transform: translateY(-2px); }

.startup-path {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.startup-path__card {
  position: relative;
  isolation: isolate;
  min-height: clamp(220px, 19vw, 300px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background-position: center;
  background-size: cover;
}

.startup-path__card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 8, 12, .05) 30%, rgba(5, 8, 12, .9) 100%);
}

.startup-path__card--idea { background-image: url("../management-card-v2.jpg"); background-position: 68% center; }
.startup-path__card--team { background-image: url("../bnxcloud-office-hero-v2.jpg"); background-position: center 52%; }
.startup-path__card--product { background-image: url("../management-scene.jpg"); background-position: 68% center; }

.startup-path__text { padding: 25px 22px; }
.startup-path__text h2 {
  margin: 0;
  color: #fff;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.startup-path__text p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.4;
}

.startup-section {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 10vw, 150px) var(--page-x);
}

.startup-section--light,
.startup-cta {
  --foreground: var(--bnx-text-inverse);
  --accent: var(--bnx-accent);
  --muted: var(--bnx-text-inverse-secondary);
  --line: var(--bnx-border-dark);
  color: var(--foreground);
  background: var(--startup-dark-alt);
}

.startup-section--dark {
  --foreground: var(--bnx-text-inverse);
  --accent: var(--bnx-accent);
  --muted: var(--bnx-text-inverse-secondary);
  --line: var(--bnx-border-dark);
  color: var(--foreground);
  background: var(--startup-dark);
}

.startup-section__intro { max-width: 1010px; }

.startup-section__intro h2,
.startup-cta h2 {
  margin: 22px 0 0;
  color: var(--foreground);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.startup-section__intro > p:last-child {
  max-width: 850px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.startup-services {
  margin-top: clamp(58px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.startup-services article {
  min-height: 300px;
  padding: clamp(30px, 3vw, 48px);
}

.startup-services article + article { border-left: 1px solid var(--line); }
.startup-services article > span,
.startup-process > li > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}

.startup-services h3,
.startup-process h3,
.startup-fit h3 {
  margin: 42px 0 0;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.startup-services p,
.startup-process p,
.startup-fit p,
.startup-fit li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.startup-services p { margin: 20px 0 0; }

.startup-process {
  margin: clamp(58px, 7vw, 94px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.startup-process li {
  min-height: 290px;
  padding: clamp(28px, 2.6vw, 42px);
}

.startup-process li + li { border-left: 1px solid var(--line); }
.startup-process h3 { margin-top: 46px; font-size: clamp(21px, 1.7vw, 28px); }
.startup-process p { margin: 17px 0 0; }

.startup-fit__grid {
  margin-top: clamp(58px, 7vw, 94px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 130px);
}

.startup-fit__grid article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.startup-fit h3 { margin: 0; }
.startup-fit ul { margin: 26px 0 0; padding: 0; list-style: none; }
.startup-fit li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); }
.startup-fit li::before {
  position: absolute;
  top: 24px;
  left: 1px;
  width: 6px;
  height: 6px;
  content: "";
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.startup-fit p { margin: 24px 0 0; }
.startup-fit p + p { font-size: 14px; color: var(--bnx-text-muted); }

.startup-faq__list {
  margin-top: clamp(58px, 7vw, 94px);
  border-top: 1px solid var(--line);
}

.startup-faq details { border-bottom: 1px solid var(--line); }
.startup-faq summary {
  position: relative;
  padding: 27px 58px 27px 0;
  color: var(--foreground);
  font-family: "Space Grotesk", Georgia, serif;
  font-size: clamp(20px, 1.65vw, 27px);
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.startup-faq summary::-webkit-details-marker { display: none; }
.startup-faq summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  content: "+";
  color: var(--accent);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
}
.startup-faq details[open] summary::after { content: "−"; }
.startup-faq details p {
  max-width: 820px;
  margin: -5px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.startup-cta {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: clamp(96px, 12vw, 180px) var(--page-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.startup-cta h2 { max-width: 900px; }
.startup-cta > p:not(.startup-section__eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.startup-button--dark {
  margin-top: 36px;
  color: var(--bnx-text);
  border-color: var(--bnx-button-light);
  background: var(--bnx-button-light);
  box-shadow: none;
}
.startup-button--dark:hover,
.startup-button--dark:focus-visible { color: #fff; border-color: #fff; background: transparent; transform: none; }

@media (max-width: 1240px) {
  .startup-hero { padding-top: 132px; grid-template-rows: minmax(320px, 1fr) auto auto; }
  .startup-hero__copy { width: min(720px, 68vw); }
  .startup-hero__wallmark { left: auto; right: 5%; opacity: .7; }
  .startup-path__card { min-height: 250px; }
  .startup-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .startup-process li:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .startup-process li:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .js .startup-page .site-header { position: fixed; }

  .startup-hero {
    min-height: auto;
    padding-top: 112px;
    gap: 30px;
  }
  .startup-hero__media { background-position: 61% center; }
  .startup-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 9, 13, .93), rgba(8, 13, 19, .55)),
      linear-gradient(180deg, rgba(5, 9, 13, .18), #161d27 68%);
  }
  .startup-hero__wallmark { display: none; }
  .startup-hero__copy { width: 100%; min-height: 490px; display: flex; flex-direction: column; justify-content: center; }
  .startup-hero h1 { font-size: clamp(43px, 11vw, 66px); }
  .startup-hero h1 span:last-child { white-space: normal; }
  .startup-path { grid-template-columns: 1fr; }
  .startup-path__card { min-height: 270px; }
  .startup-services { grid-template-columns: 1fr; }
  .startup-services article { min-height: 0; }
  .startup-services article + article { border-top: 1px solid var(--line); border-left: 0; }
  .startup-fit__grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 560px) {
  .startup-hero {
    padding-top: 96px;
    padding-bottom: 20px;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .startup-hero__copy { min-height: 0; }
  .startup-eyebrow { font-size: 11px; }
  .startup-eyebrow span { width: 46px; }
  .startup-hero h1 { margin-top: 20px; font-size: clamp(36px, 11vw, 43px); line-height: 1.04; }
  .startup-hero__lead { margin-top: 18px; font-size: 16px; }
  .startup-button { min-height: 50px; margin-top: 22px; }
  .startup-button { width: 100%; padding-inline: 20px; justify-content: space-between; }
  .startup-path__card { min-height: 200px; }
  .startup-section { padding-top: 60px; padding-bottom: 60px; }
  .startup-section__intro h2,
  .startup-cta h2 { margin-top: 16px; font-size: clamp(32px, 9vw, 36px); }
  .startup-section__intro > p:last-child { margin-top: 22px; font-size: 16px; }
  .startup-services { margin-top: 40px; }
  .startup-services article { padding: 24px 0; }
  .startup-services h3 { margin-top: 22px; font-size: 22px; }
  .startup-process { grid-template-columns: 1fr; }
  .startup-process { margin-top: 40px; }
  .startup-process li { min-height: 0; padding: 24px 0; }
  .startup-process li + li { border-top: 1px solid var(--line); border-left: 0; }
  .startup-process h3 { margin-top: 20px; font-size: 22px; }
  .startup-fit__grid { margin-top: 40px; gap: 32px; }
  .startup-fit__grid article { padding-top: 20px; }
  .startup-faq__list { margin-top: 40px; }
  .startup-cta { min-height: 0; }
}

/* Mobile completion: responsive containment and touch-friendly controls. */
@media (max-width: 800px) {
  .startup-hero__copy,
  .startup-path,
  .startup-path__card,
  .startup-services,
  .startup-services article,
  .startup-process,
  .startup-process li,
  .startup-fit__grid,
  .startup-fit__grid article,
  .startup-faq__list {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .startup-hero__lead,
  .startup-path__text,
  .startup-services article,
  .startup-process li,
  .startup-fit__grid,
  .startup-faq details {
    overflow-wrap: anywhere;
  }

  .startup-path { gap: 16px; }
  .startup-path__text { padding: 20px 18px; }
  .startup-faq summary {
    min-height: 58px;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-right: 44px;
    display: flex;
    align-items: center;
    font-size: 19px;
  }
  .startup-cta { padding-top: 72px; padding-bottom: 72px; }
}
