.proposal-studio-page .primary-nav a.nav-current {
  color: #fff;
  font-weight: 750;
}

.proposal-studio-page .proposal-hero {
  padding-bottom: 80px;
  background: linear-gradient(130deg, #17151c,#292137 58%,#5f41b0);
}

.proposal-studio-page .proposal-hero .hero-content.wrap {
  min-height: 460px;
  grid-template-columns: 1fr 1fr;
}

.proposal-hero .hero-copy {
  max-width: min(600px, calc(50vw - 104px));
}

.proposal-hero .hero-intro {
  max-width: 550px;
  width: 100%;
  font-size: 15px;
  line-height: 1.7;
}

.proposal-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  max-width: 680px;
  margin: 0 0 20px;
  color: #e7def3;
  font-size: 12px;
  line-height: 1.55;
}

.proposal-status-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #c9baff;
  color: #241b37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.proposal-hero-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  justify-self: end;
  margin-bottom: 210px;
}

.proposal-hero-screenshot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 22px 50px #0b071b66;
  object-fit: cover;
}

.proposal-hero-card {
  position: absolute;
  z-index: 2;
  bottom: -210px;
  left: -90px;
  display: flex;
  width: min(540px, 100%);
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-radius: 18px;
  background: linear-gradient(145deg, #282039, #18171e 78%);
  box-shadow: 0 24px 60px #0b071b66;
}

.proposal-hero-card .card-icon {
  width: 50px;
  height: 50px;
  font-size: 22px;
}

.proposal-hero-card-label {
  color: #c9baff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.proposal-hero-card > strong {
  font-size: 28px;
  letter-spacing: -.035em;
}

.proposal-hero-flow {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: #ddd2f3;
  font-size: 11px;
  font-weight: 700;
}

.proposal-hero-flow span {
  padding: 7px 10px;
  border-radius: 7px;
  background: #312641;
}

.proposal-hero-flow b {
  color: #a992d5;
}

.proposal-hero-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  color: #c9c2d1;
  font-size: 11px;
}

.proposal-hero-check span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #315440;
  color: #9fe4b8;
  font-size: 12px;
}

.proposal-studio-page .proposal-workflow-grid .card,
.proposal-studio-page .proposal-feature-grid .card {
  transition: box-shadow .3s ease 0s;
}

.proposal-studio-page .proposal-workflow-grid .card:hover,
.proposal-studio-page .proposal-workflow-grid .card:focus-within,
.proposal-studio-page .proposal-feature-grid .card:hover,
.proposal-studio-page .proposal-feature-grid .card:focus-within {
  box-shadow: 0 0 0 2px #c9baff;
}

.proposal-history-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.proposal-history-table {
  min-width: 1050px;
}

.proposal-history-status {
  color: #cfc3eb;
}

.proposal-history-status > span {
  display: block;
}

.proposal-history-status .proposal-history-coming-soon {
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #3a2d50;
  color: #e2d7ff;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.35;
}

.proposal-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 16px;
}

.proposal-intro-grid .card {
  padding: 27px 30px;
}

.proposal-intro-main h2,
.proposal-intro-side h2,
.proposal-details-card h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.proposal-intro-main > p:last-child,
.proposal-intro-side p,
.proposal-details-card > p:not(.kicker) {
  margin: 13px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
}

.proposal-intro-side .card-icon {
  margin-bottom: 15px;
}

.proposal-workflow-grid,
.proposal-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proposal-workflow-grid .card,
.proposal-feature-grid .card {
  min-width: 0;
  padding: 23px;
}

.proposal-step-number {
  display: inline-grid;
  width: 33px;
  height: 33px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 9px;
  background: #2b233b;
  color: #c9baff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.proposal-workflow-grid h3,
.proposal-feature-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.proposal-workflow-grid p,
.proposal-feature-grid p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
}

.proposal-note {
  margin: 14px 0 0;
  padding: 14px 17px;
  border-radius: 11px;
  background: #211b2d;
  color: #d4cddd;
  font-size: 12px;
  line-height: 1.7;
}

.proposal-note strong {
  color: #f6f2fb;
}

.proposal-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proposal-feature-grid .card-icon {
  margin-bottom: 14px;
}

.proposal-gallery-section .screenshot-group {
  margin-top: 0;
}

.proposal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.proposal-details-card {
  padding: 27px 30px;
}

.proposal-requirements {
  margin-top: 18px;
}

.proposal-requirements > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid #393342;
  font-size: 12px;
}

.proposal-requirements strong {
  flex: 0 0 125px;
  color: #eee8f7;
}

.proposal-requirements span {
  color: var(--text);
  text-align: right;
}

.proposal-data-card {
  background: linear-gradient(145deg, #211b2d, #18181d 80%);
}

.proposal-data-card .proposal-small-note {
  margin-top: 19px;
  color: #a9a3b0;
  font-size: 11px;
}

.proposal-abilities-table-wrap {
  overflow-x: auto;
  border-radius: 13px;
  background: #18181d;
  scrollbar-color: #6d5790 #25212c;
}

.proposal-abilities-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  color: #d6d1dc;
  font-size: 12px;
  line-height: 1.6;
}

.proposal-abilities-table th,
.proposal-abilities-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #393342;
  text-align: left;
  vertical-align: top;
}

.proposal-abilities-table th {
  background: #282232;
  color: #f1edf7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.proposal-abilities-table tbody tr:last-child td {
  border-bottom: 0;
}

.proposal-abilities-table td:first-child {
  width: 140px;
  color: #c5bbd2;
  font-weight: 650;
}

.proposal-abilities-table td:nth-child(2) {
  width: 250px;
}

.proposal-abilities-table td:nth-child(3) {
  width: 150px;
}

.proposal-abilities-table code {
  color: #d8c4ff;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.ability-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2b2437;
  color: #d5c8ed;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.ability-badge.is-required {
  background: #46345f;
  color: #f0e7ff;
}

.ability-badge.is-conditional {
  background: #332c3a;
  color: #dfd2ec;
}

.proposal-abilities-note {
  margin: 14px 0 0;
  padding: 14px 17px;
  border-radius: 11px;
  background: #211b2d;
  color: #d4cddd;
  font-size: 12px;
  line-height: 1.7;
}

.proposal-faq details {
  overflow: hidden;
  border-radius: 11px;
  background: #18181d;
}

.proposal-faq details + details {
  margin-top: 9px;
}

.proposal-faq summary {
  position: relative;
  padding: 15px 45px 15px 17px;
  color: #eeeaf4;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.proposal-faq summary::-webkit-details-marker {
  display: none;
}

.proposal-faq summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: #c9baff;
  content: "+";
  font-size: 19px;
  font-weight: 400;
  transform: translateY(-50%);
}

.proposal-faq details[open] summary::after {
  content: "−";
}

.proposal-faq summary:focus-visible {
  outline: 2px solid #c9baff;
  outline-offset: -3px;
}

.proposal-faq details p {
  margin: 0;
  padding: 0 17px 16px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
}

.proposal-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 100px;
  padding: 30px 34px;
  border-radius: 16px;
  background: linear-gradient(110deg, #271e39, #5f41b0);
}

.proposal-closing .kicker {
  margin-bottom: 7px;
}

.proposal-closing h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.proposal-closing p:not(.kicker) {
  max-width: 620px;
  margin: 8px 0 0;
  color: #e6dff0;
  font-size: 13px;
}

.proposal-closing .button {
  flex: 0 0 auto;
  background: #e6d9ff;
  color: #251b37;
}

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

@media (max-width: 1020px) {
  .proposal-studio-page .proposal-hero {
    padding-bottom: 80px;
  }

  .proposal-studio-page .proposal-hero .hero-content.wrap {
    min-height: 0;
    width: min(1240px, calc(100% - 48px));
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proposal-hero .hero-copy {
    max-width: none;
  }

  .proposal-hero-visual {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    justify-self: stretch;
    gap: 16px;
    margin: 0;
  }

  .proposal-hero-screenshot {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .proposal-hero-card {
    position: relative;
    inset: auto;
    width: min(540px, 100%);
  }

  .proposal-intro-grid,
  .proposal-details-grid {
    grid-template-columns: 1fr;
  }

  .proposal-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .proposal-studio-page .proposal-hero {
    padding-bottom: 48px;
  }
}

@media (max-width: 800px) {
  .proposal-studio-page .proposal-hero {
    padding-bottom: 37px;
  }

  .proposal-studio-page .proposal-hero .hero-content.wrap {
    min-height: 0;
    width: min(1240px, calc(100% - 32px));
  }

  .proposal-hero .hero-intro {
    font-size: 13px;
  }

  .proposal-status {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .proposal-hero-card {
    width: min(540px, 100%);
    padding: 24px;
  }

  .proposal-intro-grid .card,
  .proposal-details-card {
    padding: 22px;
  }

  .proposal-closing {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 80px;
    padding: 25px;
  }
}

@media (max-width: 560px) {
  .proposal-workflow-grid,
  .proposal-feature-grid {
    grid-template-columns: 1fr;
  }

  .proposal-workflow-grid .card,
  .proposal-feature-grid .card {
    padding: 20px;
  }

  .proposal-requirements > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .proposal-requirements span {
    text-align: left;
  }

  .proposal-closing .button {
    width: 100%;
  }
}
