/* AI Sessions uses the shared page typography, navigation and buttons. */
.ai-section {
  padding: clamp(52px, 7vw, 104px) 0;
}

.ai-section[id] {
  scroll-margin-top: 44px;
}

.ai-hero {
  padding: 28px 0 clamp(48px, 6vw, 88px);
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 300px);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  margin-top: 34px;
}

.ai-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 650;
}

.ai-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  letter-spacing: -.065em;
  line-height: .99;
  text-wrap: balance;
}

.ai-intro {
  max-width: 49ch;
  margin: 26px 0 14px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.ai-hero-person {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
}

.ai-hero .ai-actions {
  gap: 14px 22px;
  margin-top: 28px;
}

.ai-hero .button,
.ai-offer .button,
.ai-contact .button {
  gap: .45em;
}

.ai-hero-facts {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .875rem;
}

.ai-hero-facts span {
  padding: 0 .15em;
}

.ai-portrait {
  position: relative;
  align-self: center;
  display: grid;
  min-width: 0;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #192332;
  border: 1px solid #252e36;
  border-radius: 22px;
}

.ai-portrait img,
.ai-portrait figcaption {
  grid-area: 1 / 1;
}

.ai-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 41%;
}

.ai-portrait figcaption {
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 2px;
  padding: 70px 24px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 16, 28, .92));
}

.ai-portrait figcaption strong {
  font-size: 1.16rem;
}

.ai-portrait figcaption span {
  color: #e2e8f3;
  font-size: .875rem;
}

.ai-demo {
  color: #f4f7ff;
  background: radial-gradient(ellipse at 90% 0%, #24365a, transparent 63%), #101725;
}

.ai-demo-heading,
.ai-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: 16px clamp(24px, 6vw, 86px);
  margin-bottom: 34px;
}

.ai-demo-heading h2,
.ai-section-heading h2,
.ai-contact h2 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.ai-demo-heading p,
.ai-section-heading p,
.ai-contact p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.ai-demo-heading p {
  color: #bccae1;
}

.ai-demo :focus-visible,
.ai-contact :focus-visible {
  outline: 3px solid #a4bbff;
  outline-offset: 3px;
}

.ai-demo [hidden] {
  display: none;
}

.ai-demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ai-demo-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 16px;
  color: #b5c4df;
  background: #151f30;
  border: 1px solid #33425e;
  border-radius: 12px;
  font-size: .94rem;
  line-height: 1.3;
}

.ai-demo-steps span {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #5a6c8f;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 650;
}

.ai-demo-steps b {
  font-weight: 500;
}

.ai-demo-steps .is-done {
  color: #dbe4f5;
}

.ai-demo-steps .is-done span {
  color: #fff;
  background: #3d4c67;
  border-color: #3d4c67;
}

.ai-demo-steps [aria-current="step"] {
  color: #fff;
  background: #24375c;
  border-color: #8caafb;
}

.ai-demo-steps [aria-current="step"] span {
  color: #101725;
  background: #8caafb;
  border-color: #8caafb;
}

.ai-demo-steps [aria-current="step"] b {
  font-weight: 650;
}

.ai-demo-grid.is-ready {
  display: grid;
  grid-template-columns: minmax(230px, .86fr) minmax(0, 2.1fr);
  gap: 14px;
}

.ai-demo-choices {
  display: grid;
  align-self: start;
  gap: 8px;
}

.ai-demo-choices button {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 13px 17px;
  color: #eef3ff;
  background: #151f30;
  border: 1px solid #3d4c67;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.ai-demo-choices button span {
  color: #b5c4df;
  font-size: .875rem;
  line-height: 1.35;
}

.ai-demo-choices button:hover {
  background: #202e47;
}

.ai-demo-choices button[aria-selected="true"] {
  background: #24375c;
  border-color: #8caafb;
  box-shadow: inset 3px 0 #8caafb;
}

/* The small app option sits slightly apart from the five single-session problems. */
.ai-demo-choices button:last-child {
  margin-top: 10px;
}

.ai-demo-choices button:last-child:not([aria-selected="true"]) {
  background: #1b2b4b;
  border-color: #6f8be0;
}

.ai-demo-choices button:last-child:not([aria-selected="true"]):hover {
  background: #223660;
}

.ai-example {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 30px);
  background: #172234;
  border: 1px solid #41516e;
  border-radius: 16px;
}

.ai-demo-grid:not(.is-ready) .ai-example + .ai-example {
  margin-top: 14px;
}

.ai-demo-grid:not(.is-ready) .ai-example-stage + .ai-example-stage {
  margin-top: 20px;
}

.ai-example > h3 {
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.2;
}

.ai-example-stage {
  display: grid;
  align-content: start;
  gap: 8px;
}

.ai-example-stage:focus {
  outline: none;
}

.ai-demo-grid.is-ready .ai-example-stage {
  min-height: 236px;
}

.ai-stage-label {
  margin: 0;
  color: #bdd0fa;
  font-size: .8rem;
  font-weight: 650;
}

.ai-example-stage > h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0;
}

.ai-example-stage > p:not([class]) {
  max-width: 62ch;
  margin: 0;
  color: #dbe4f5;
  font-size: 1.05rem;
}

.ai-example-list {
  display: grid;
  gap: 6px;
  max-width: 62ch;
  margin: 4px 0 0;
  padding-left: 1.2em;
  color: #dbe4f5;
}

.ai-example-keep {
  max-width: 62ch;
  margin: 8px 0 0;
  padding: 12px 16px;
  color: #dbe4f5;
  background: #202c41;
  border-radius: 11px;
  font-size: .94rem;
  line-height: 1.5;
}

.ai-example-keep strong {
  display: block;
  margin-bottom: 2px;
  color: #bdd0fa;
  font-size: .8rem;
  font-weight: 650;
}

.ai-example-empty {
  justify-content: center;
  min-height: 300px;
  border-style: dashed;
}

.ai-example-empty p {
  max-width: 44ch;
  margin: 0;
  color: #dbe4f5;
  font-size: 1.05rem;
}

.ai-example-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #33425e;
}

.ai-example-next {
  min-height: 44px;
  padding: 8px 18px;
  color: #142542;
  background: #dbe7ff;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  font-weight: 650;
  cursor: pointer;
}

.ai-example-next:hover {
  background: #c8d9fc;
}

.ai-example-back {
  min-height: 44px;
  padding: 0;
  color: #dbe7ff;
  background: none;
  border: 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ai-example-again {
  margin: 0;
  color: #bccae1;
  font-size: .86rem;
}

.ai-pain-ask,
.ai-pain-before,
.ai-pain-after {
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: .94rem;
  line-height: 1.5;
}

.ai-pain-ask,
.ai-pain-before {
  color: #d3dcee;
  background: #202c41;
}

.ai-pain-after {
  color: #202c43;
  background: #dce8ff;
}

.ai-pain-ask span,
.ai-pain-pair h4,
.ai-pain-tool h4 {
  display: block;
  margin: 0 0 4px;
  color: #bdd0fa;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: 0;
}

.ai-pain-after h4,
.ai-pain-after a {
  color: #244a9a;
}

.ai-pain-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-pain-pair p,
.ai-pain-tool > p {
  margin: 0;
}

.ai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ai-demo-help {
  margin: 22px 0 0;
  color: #eef3ff;
}

.ai-demo-caption {
  margin: 12px 0 0;
  color: #bccae1;
  font-size: .8rem;
}

.ai-app {
  min-width: 0;
  overflow: hidden;
  color: #18233a;
  background: #f4f7ff;
  border: 1px solid #c5d3f2;
  border-radius: 14px;
}

.ai-app :focus-visible {
  outline-color: #244a9a;
}

.ai-app fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ai-app-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #d5ddf0;
}

.ai-app-badge {
  padding: 3px 9px;
  color: #244a9a;
  background: #e2eaff;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 650;
}

.ai-app-view {
  margin-left: auto;
}

.ai-app-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ai-app-switch label {
  position: relative;
  display: block;
  cursor: pointer;
}

.ai-app-switch input,
.ai-app-options input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ai-app-switch span {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  color: #3a4763;
  background: #fff;
  border: 1px solid #b9c5e0;
  border-radius: 99px;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.2;
}

.ai-app-switch input:checked + span {
  color: #fff;
  background: #335acf;
  border-color: #335acf;
}

.ai-app-switch input:focus-visible + span,
.ai-app-options input:focus-visible + span {
  outline: 3px solid #244a9a;
  outline-offset: 2px;
}

.ai-app .ai-app-kind {
  padding: 12px 16px;
  background: #eaf0ff;
  border-bottom: 1px solid #d5ddf0;
}

.ai-app-kind legend {
  float: left;
  margin: 0 6px 0 0;
  padding: 10px 0 0;
  color: #3a4763;
  font-size: .8rem;
  font-weight: 650;
}

.ai-app-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.ai-app-inputs fieldset,
.ai-app-field {
  margin-bottom: 14px;
}

.ai-app-inputs fieldset:last-child {
  margin-bottom: 0;
}

.ai-app-inputs legend,
.ai-app-field > label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  color: #3a4763;
  font-size: .8rem;
  font-weight: 650;
}

.ai-app-field > label span {
  margin-left: 4px;
  color: #5a6884;
  font-weight: 500;
}

.ai-app-text {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: #18233a;
  background: #fff;
  border: 1px solid #b9c5e0;
  border-radius: 9px;
  font: inherit;
}

.ai-app-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ai-app-options-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-app-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.ai-app-options span {
  display: grid;
  align-content: center;
  gap: 1px;
  min-height: 52px;
  padding: 8px 10px;
  color: #4a5876;
  background: #fff;
  border: 1px solid #b9c5e0;
  border-radius: 9px;
  font-size: .86rem;
  line-height: 1.3;
}

.ai-app-options b {
  color: #18233a;
}

.ai-app-options input:checked + span {
  background: #eaf0ff;
  border-color: #335acf;
  box-shadow: inset 0 0 0 1px #335acf;
}

.ai-app-stepper {
  display: inline-flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #b9c5e0;
  border-radius: 9px;
}

.ai-app-stepper button {
  width: 44px;
  min-height: 44px;
  color: #244a9a;
  background: #fff;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
}

.ai-app-stepper button:hover {
  background: #eaf0ff;
}

.ai-app-stepper input {
  width: 56px;
  color: #18233a;
  background: #fff;
  border: 0;
  border-inline: 1px solid #b9c5e0;
  font: inherit;
  font-weight: 650;
  text-align: center;
  appearance: textfield;
}

.ai-app-stepper input::-webkit-outer-spin-button,
.ai-app-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.ai-app-hint {
  margin: 6px 0 0;
  color: #4a5876;
  font-size: .78rem;
}

.ai-app-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: .92rem;
  cursor: pointer;
}

.ai-app-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #335acf;
}

.ai-app-check span {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.ai-app-check i {
  flex: none;
  color: #4a5876;
  font-style: normal;
}

.ai-app-result {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.ai-quote {
  padding: 18px;
  background: #fff;
  border: 1px solid #d5ddf0;
  border-top: 4px solid #335acf;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(24, 35, 58, .08);
}

.ai-quote p,
.ai-quote dl,
.ai-app-owner p,
.ai-app-owner dl,
.ai-app-message p {
  margin: 0;
}

.ai-quote-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d5ddf0;
}

.ai-quote-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.ai-quote-for {
  color: #3a4763;
  font-size: .9rem;
}

.ai-quote-meta {
  display: grid;
  gap: 2px;
  font-size: .78rem;
}

.ai-quote-meta div,
.ai-quote-terms div,
.ai-app-lines div,
.ai-app-owner dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ai-quote-meta dt,
.ai-quote-terms dt,
.ai-app-lines dt,
.ai-app-owner dt {
  color: #3a4763;
}

.ai-app dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ai-app-lines {
  display: grid;
  gap: 6px;
  font-size: .9rem;
}

.ai-app-lines .is-discount dd {
  color: #17693b;
}

.ai-app-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d5ddf0;
  font-weight: 650;
}

.ai-app .ai-app-total {
  margin-top: 12px;
}

.ai-app-total output {
  font-size: 1.6rem;
  letter-spacing: -.03em;
}

.ai-quote-terms {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #c5d0e8;
  font-size: .86rem;
}

.ai-app .ai-quote-terms {
  margin-top: 12px;
}

.ai-quote-terms div:last-child dd {
  color: #244a9a;
  font-weight: 650;
}

.ai-app-error {
  color: #a3261c;
  font-size: .86rem;
  font-weight: 600;
}

.ai-app-error:not(:empty) {
  margin-top: 10px;
}

.ai-app-owner {
  padding: 14px 16px;
  color: #173a26;
  background: #e9f6ee;
  border: 1px solid #a9d6ba;
  border-radius: 10px;
  font-size: .9rem;
}

.ai-app-owner.is-low {
  color: #4a2a05;
  background: #fff3df;
  border-color: #e8b96a;
}

.ai-app-owner-title {
  font-weight: 700;
}

.ai-app-owner-title span {
  margin-left: 6px;
  font-size: .78rem;
  font-weight: 500;
}

.ai-app-owner dl {
  display: grid;
  gap: 4px;
  margin: 8px 0;
}

.ai-app-owner dt {
  color: inherit;
}

.ai-app-margin-note {
  font-weight: 650;
}

.ai-app-message {
  padding: 12px;
  background: #fff;
  border: 1px solid #d5ddf0;
  border-radius: 10px;
  font-size: .86rem;
  line-height: 1.5;
}

.ai-app-message .ai-app-message-label {
  margin-bottom: 4px;
  color: #3a4763;
  font-size: .75rem;
  font-weight: 650;
}

.ai-app-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 10px;
}

.ai-app-copy-row button {
  min-height: 44px;
  padding: 6px 14px;
  color: #fff;
  background: #335acf;
  border: 1px solid #335acf;
  border-radius: 8px;
  font-weight: 650;
  cursor: pointer;
}

.ai-app-copy-row button:hover {
  background: #2847a8;
}

.ai-app-copy-row button:disabled {
  opacity: .5;
  cursor: default;
}

.ai-app-copy-row .ai-app-secondary {
  color: #244a9a;
  background: #fff;
  border-color: #b9c5e0;
}

.ai-app-copy-row .ai-app-secondary:hover {
  background: #eaf0ff;
}

.ai-app-copied {
  color: #17693b;
  font-size: .8rem;
}

.ai-print-sheet {
  display: none;
}

@media print {
  body.ai-printing-quote > :not(.ai-print-sheet) {
    display: none !important;
  }

  body.ai-printing-quote > .ai-print-sheet {
    display: block;
    overflow: visible;
    background: none;
    border: 0;
  }

  body.ai-printing-quote .ai-quote {
    max-width: 640px;
    margin: 0 auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.ai-work {
  background: #fff;
}

.ai-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
}

.ai-work-feature {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #dad9d2;
  border-radius: 16px;
}

.ai-work-image {
  padding: clamp(10px, 2vw, 24px);
  background: #e9eaf0;
}

.ai-work-image img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border: 1px solid #d2d5de;
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(30, 40, 60, .10);
}

.ai-work-feature figcaption {
  display: grid;
  gap: 3px;
  padding: 16px clamp(14px, 2vw, 24px);
}

.ai-work-feature figcaption span,
.ai-work-links p {
  color: var(--muted);
}

.ai-work-links article {
  padding: 18px 0;
  border-top: 1px solid #dad9d2;
}

.ai-work-links article:last-child {
  border-bottom: 1px solid #dad9d2;
}

.ai-work-links h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.ai-work-links a {
  color: var(--ink);
  text-decoration-thickness: 1px;
}

.ai-work-links a span {
  margin-left: 5px;
  color: var(--blue);
  font-size: .75em;
}

.ai-work-links p {
  max-width: 36ch;
  margin: 0;
}

.ai-offers {
  border-top: 1px solid #deddd5;
}

.ai-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 16px;
}

.ai-offer {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(20px, 3.5vw, 38px);
  background: #fff;
  border: 1px solid #d6d5cf;
  border-radius: 16px;
}

/* The build sessions card carries a little more weight than the single session. */
.ai-offer-primary {
  background: #f2f5ff;
  border-color: #7d96e2;
  border-top: 4px solid var(--blue);
  box-shadow: 0 16px 34px rgba(51, 90, 207, .13);
}

.ai-offer-primary .ai-price strong {
  color: var(--blue);
  font-size: 2.7rem;
}

.ai-offer h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.ai-offer p,
.ai-offer ul {
  color: var(--muted);
}

.ai-offer .ai-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  margin: 12px 0 14px;
}

.ai-offer > p:not(.ai-price) {
  margin: 0 0 18px;
}

.ai-price strong {
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.06em;
}

.ai-offer ul {
  margin: 0 0 22px;
  padding-left: 1.1em;
}

.ai-offer > p.ai-leave-label {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 650;
}

.ai-offer li + li {
  margin-top: 6px;
}

.ai-offer a {
  margin-top: auto;
}

.ai-offer .button {
  border: 1.5px solid var(--blue);
}

.ai-offer .ai-button-outline {
  color: var(--blue);
  background: transparent;
}

.ai-offer .ai-button-outline:hover {
  background: #eef2ff;
}

.ai-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  font-weight: 650;
}

.ai-choose {
  margin-top: 16px;
  padding: clamp(20px, 3.5vw, 38px);
  background: #fff;
  border: 1px solid #d6d5cf;
  border-radius: 16px;
}

.ai-choose h3 {
  margin: 0 0 20px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.ai-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(24px, 5vw, 64px);
}

.ai-choose h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.ai-choose p {
  margin: 0;
  color: var(--muted);
}

.ai-choose .ai-choose-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
  font-weight: 650;
}

.ai-choose .ai-choose-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #deddd5;
}

.ai-how {
  margin-top: 16px;
  padding: clamp(20px, 3.5vw, 38px);
  background: #fff;
  border: 1px solid #d6d5cf;
  border-radius: 16px;
}

.ai-how h3 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.ai-how-steps {
  display: grid;
  gap: 12px;
  max-width: 78ch;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: how;
}

.ai-how-steps li {
  position: relative;
  padding-left: 44px;
  color: var(--muted);
  counter-increment: how;
}

.ai-how-steps li::before {
  content: counter(how);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 650;
}

.ai-how-steps strong {
  color: var(--ink);
}

.ai-how-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(24px, 5vw, 64px);
  margin: 0;
}

.ai-how-terms dt {
  margin-bottom: 4px;
  font-weight: 650;
}

.ai-how-terms dd {
  margin: 0;
  color: var(--muted);
}

.ai-questions {
  max-width: 740px;
  margin: 32px 0 0;
  border-top: 1px solid #d6d5cf;
}

.ai-questions details {
  border-bottom: 1px solid #d6d5cf;
}

.ai-questions summary {
  padding: 14px 4px;
  font-weight: 600;
  cursor: pointer;
}

.ai-questions details p {
  max-width: 64ch;
  margin: 0 0 14px 4px;
  color: var(--muted);
}

.ai-contact {
  padding: clamp(44px, 6vw, 72px) 0;
  color: #fff;
  background: #192741;
}

.ai-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ai-contact h2 {
  max-width: 25ch;
}

.ai-contact p {
  max-width: 60ch;
  margin-top: 12px;
  color: #d1dbef;
}

.ai-contact .button {
  color: #1d2e55;
  background: #eef3ff;
}

.ai-contact .button:hover {
  background: #dbe6ff;
}

@media (max-width: 1000px) {
  .ai-hero-grid {
    gap: 24px;
  }

  .ai-demo-grid.is-ready {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-demo-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-demo-choices button[aria-selected="true"] {
    box-shadow: inset 0 -3px #8caafb;
  }
}

@media (max-width: 690px) {
  .ai-hero {
    padding-top: 21px;
  }

  .ai-hero-grid,
  .ai-demo-heading,
  .ai-section-heading,
  .ai-work-grid,
  .ai-choose-grid,
  .ai-how-terms,
  .ai-offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-hero-grid {
    margin-top: 24px;
  }

  .ai-hero h1 {
    max-width: 16ch;
  }

  .ai-intro {
    margin-top: 18px;
  }

  .ai-hero .ai-actions {
    margin-top: 20px;
  }

  .ai-hero-facts {
    margin-top: 14px;
  }

  .ai-portrait {
    width: min(100%, 220px);
    aspect-ratio: 1;
  }

  .ai-demo-heading,
  .ai-section-heading {
    margin-bottom: 22px;
  }

  .ai-demo-steps {
    gap: 5px;
  }

  .ai-demo-steps li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
    font-size: .8rem;
  }

  .ai-demo-choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .ai-demo-choices button {
    min-height: 44px;
    padding: 10px 12px;
  }

  .ai-demo-choices button span {
    display: none;
  }

  .ai-demo-choices button[aria-selected="true"] {
    box-shadow: inset 3px 0 #8caafb;
  }

  .ai-demo-grid.is-ready .ai-example-stage {
    min-height: 0;
  }

  .ai-pain-pair,
  .ai-app-body {
    grid-template-columns: minmax(0, 1fr);
  }
}
