/* VITAL V3 commercial detail pages */

.commercial-hero {
  position: relative;
  padding: 58px 0 88px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 84, 166, .04) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 50px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 690;
}

.breadcrumbs a {
  color: var(--blue-dark);
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs span[aria-hidden="true"] {
  color: #9eacb8;
}

.commercial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  align-items: center;
  gap: 92px;
}

.commercial-hero-copy {
  max-width: 830px;
}

.commercial-hero h1 {
  max-width: 900px;
  margin-bottom: 27px;
  font-size: clamp(3.25rem, 5vw, 5rem);
}

.commercial-lead {
  max-width: 770px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.commercial-hero-aside {
  position: relative;
  padding: 36px;
  border: 1px solid #cad7e1;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.commercial-hero-aside::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--blue);
  content: "";
}

.commercial-hero-aside > span {
  display: block;
  margin-bottom: 13px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.commercial-hero-aside h2 {
  margin-bottom: 20px;
  font-size: 1.65rem;
}

.commercial-hero-aside p {
  margin-bottom: 23px;
  color: var(--ink-soft);
  font-size: .96rem;
}

.aside-list,
.plain-list,
.principle-list,
.pilot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-list {
  display: grid;
  gap: 13px;
}

.aside-list li {
  position: relative;
  padding-left: 24px;
  color: #30495e;
  font-size: .9rem;
  font-weight: 680;
}

.aside-list li::before {
  position: absolute;
  top: .66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: translateY(-50%);
}

.scope-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 28px;
  padding: 17px 19px;
  border: 1px solid #d6e1e9;
  border-radius: var(--radius-sm);
  background: #eef4f8;
  color: #385064;
  font-size: .84rem;
  line-height: 1.55;
}

.scope-note::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--positive);
  content: "";
}

.commercial-section {
  padding: 112px 0;
}

.commercial-section-tinted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.commercial-section-night {
  background: var(--night);
  color: rgba(255, 255, 255, .74);
}

.commercial-heading {
  max-width: 860px;
  margin-bottom: 58px;
}

.commercial-heading h2 {
  margin-bottom: 21px;
  font-size: clamp(2.55rem, 4.7vw, 4.75rem);
}

.commercial-heading > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.07rem;
}

.commercial-section-night .commercial-heading h2,
.commercial-section-night h2,
.commercial-section-night h3 {
  color: var(--white);
}

.commercial-section-night .commercial-heading > p:last-child {
  color: rgba(255, 255, 255, .68);
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 55px;
  border: 1px solid #bed0df;
  border-radius: 50%;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 820;
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.feature-card > p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.plain-list {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
  color: #395267;
  font-size: .9rem;
}

.plain-list li::before {
  position: absolute;
  top: .73em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: translateY(-50%);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid #bfcdd7;
  list-style: none;
}

.workflow li {
  position: relative;
  padding: 38px 28px 0 0;
}

.workflow li::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  content: "";
}

.workflow span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .71rem;
  font-weight: 820;
  letter-spacing: .1em;
}

.workflow h3 {
  margin-bottom: 11px;
  font-size: 1.12rem;
}

.workflow p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.two-column-panel {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 86px;
}

.sticky-intro {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.sticky-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.5vw, 4.45rem);
}

.sticky-intro > p:last-of-type {
  color: rgba(255, 255, 255, .7);
}

.role-grid,
.principle-grid {
  display: grid;
  gap: 14px;
}

.role-card,
.principle-card {
  padding: 29px 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .045);
}

.role-card > span,
.principle-card > span {
  display: block;
  margin-bottom: 12px;
  color: #8fc5f3;
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.role-card h3,
.principle-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.role-card p,
.principle-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .93rem;
}

.boundary-note {
  margin-top: 20px;
  padding: 24px 26px;
  border-left: 3px solid #65a9df;
  background: rgba(255, 255, 255, .055);
}

.boundary-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.boundary-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .67);
  font-size: .91rem;
}

.phase-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.phase-list li {
  display: grid;
  grid-template-columns: 74px minmax(220px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.phase-number {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.phase-list h3 {
  margin-bottom: 0;
  font-size: 1.38rem;
}

.phase-list p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scope-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.scope-card h3 {
  margin-bottom: 13px;
  font-size: 1.35rem;
}

.scope-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.assurance-box {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  padding: 50px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .045);
}

.assurance-box h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.assurance-box > div > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.principle-list {
  display: grid;
  gap: 0;
}

.principle-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.principle-list li:first-child {
  padding-top: 0;
}

.principle-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.principle-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}

.principle-list span {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
}

.pilot-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 82px;
}

.pilot-panel h2 {
  margin-bottom: 21px;
  font-size: clamp(2.55rem, 4.8vw, 4.7rem);
}

.pilot-panel > div > p:last-child {
  color: var(--ink-soft);
}

.pilot-list {
  border-top: 1px solid var(--line);
}

.pilot-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 17px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.pilot-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .69rem;
  font-weight: 830;
}

.pilot-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--night);
}

.pilot-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .91rem;
}

.commercial-cta {
  padding: 82px 0;
  background: var(--blue);
}

.commercial-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 70px;
}

.commercial-cta h2 {
  max-width: 760px;
  margin-bottom: 17px;
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.commercial-cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .74);
}

.commercial-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 224px;
}

/* Demo form */

.demo-hero {
  padding: 40px 0 48px;
}

.demo-hero .breadcrumbs {
  margin-bottom: 28px;
}

.demo-hero .commercial-hero-grid {
  align-items: start;
  gap: 64px;
}

.demo-hero .commercial-hero-copy {
  padding-top: 12px;
}

.demo-hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5vw, 4.6rem);
}

.demo-hero .commercial-lead {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  align-items: start;
  gap: 62px;
}

.demo-form-card {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-heading {
  max-width: 700px;
  margin-bottom: 35px;
}

.form-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.form-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.required-note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.interest-fieldset legend {
  color: var(--night);
  font-size: .86rem;
  font-weight: 760;
}

.required-mark {
  color: #b83030;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #8295a5;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 145px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 84, 166, .14);
  outline-offset: 1px;
}

.field-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .77rem;
}

.interest-fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.interest-fieldset legend {
  margin-bottom: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #d2dce4;
  border-radius: 9px;
  background: var(--paper);
  color: #334d62;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 650;
}

.choice:has(input:checked) {
  border-color: #8bb5d8;
  background: var(--blue-light);
}

.choice input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.privacy-notice {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px solid #c8d8e4;
  border-radius: var(--radius-sm);
  background: #eef4f8;
}

.privacy-notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--night);
  font-size: .88rem;
}

.privacy-notice p {
  margin-bottom: 0;
  color: #415b70;
  font-size: .82rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 3px;
}

.form-actions .button {
  cursor: pointer;
}

.form-fallback {
  color: var(--blue-dark);
  font-size: .86rem;
  font-weight: 720;
}

.form-fallback:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 690;
}

.demo-aside {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  display: grid;
  gap: 18px;
}

.demo-aside article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.demo-aside article:first-child {
  border-color: #b8ccdc;
  background: var(--night);
}

.demo-aside h2,
.demo-aside h3 {
  margin-bottom: 13px;
  font-size: 1.25rem;
}

.demo-aside article:first-child h2,
.demo-aside article:first-child h3 {
  color: var(--white);
}

.demo-aside p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.demo-aside article:first-child p,
.demo-aside article:first-child li {
  color: rgba(255, 255, 255, .7);
}

.demo-aside .plain-list {
  gap: 11px;
}

.demo-aside .plain-list li::before {
  background: #8fc5f3;
}

.demo-email {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-dark);
  font-weight: 770;
}

.demo-email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .commercial-hero-grid,
  .two-column-panel,
  .assurance-box,
  .pilot-panel,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .commercial-hero-grid {
    gap: 46px;
  }

  .commercial-hero-aside {
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .workflow {
    grid-template-columns: 1fr;
    padding-left: 16px;
    border-top: 0;
    border-left: 1px solid #bfcdd7;
  }

  .workflow li {
    padding: 0 0 32px 28px;
  }

  .workflow li::before {
    top: 4px;
    left: -23px;
  }

  .workflow li:last-child {
    padding-bottom: 0;
  }

  .sticky-intro,
  .demo-aside {
    position: static;
  }

  .phase-list li {
    grid-template-columns: 54px minmax(190px, .6fr) minmax(0, 1.4fr);
  }

  .commercial-cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .commercial-cta-actions {
    align-items: flex-start;
  }

  .demo-aside {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .commercial-hero {
    padding: 38px 0 66px;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .commercial-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.75rem);
  }

  .demo-hero {
    padding: 34px 0 54px;
  }

  .demo-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.35rem);
  }

  .commercial-actions {
    flex-direction: column;
  }

  .commercial-actions .button {
    width: 100%;
  }

  .commercial-hero-aside {
    padding: 29px;
  }

  .commercial-section {
    padding: 82px 0;
  }

  .commercial-heading {
    margin-bottom: 42px;
  }

  .commercial-heading h2,
  .sticky-intro h2,
  .pilot-panel h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .feature-grid,
  .scope-grid,
  .demo-aside {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    min-height: 0;
    padding: 29px;
  }

  .feature-index {
    margin-bottom: 35px;
  }

  .phase-list li {
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }

  .phase-list p {
    grid-column: 2;
  }

  .assurance-box {
    gap: 42px;
    padding: 31px;
  }

  .commercial-cta {
    padding: 70px 0;
  }

  .commercial-cta-actions {
    width: 100%;
  }

  .commercial-cta-actions .button {
    width: 100%;
  }

  .demo-form-card {
    padding: 29px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .field-wide,
  .interest-fieldset,
  .privacy-notice,
  .form-actions,
  .form-status {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .commercial-hero-aside,
  .scope-card,
  .role-card,
  .principle-card,
  .demo-form-card,
  .demo-aside article {
    padding: 24px;
  }

  .commercial-hero h1 {
    font-size: clamp(2.45rem, 12.4vw, 3rem);
  }

  .commercial-lead {
    font-size: 1rem;
  }

  .phase-list li {
    grid-template-columns: 1fr;
  }

  .phase-list p {
    grid-column: 1;
  }

  .phase-number {
    margin-bottom: -8px;
  }
}
