/*
 * Readability pass for the existing Shevchuk AI identity.
 * Load after brand.css, hero.css and getcourse.css.
 */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

main {
  min-width: 0;
}

/* Long-form copy: keep the original palette and typography, add breathing room. */
main p {
  font-size: 20px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  max-width: 34ch;
}

.hero-focus p,
.portrait-caption p,
.trust-intro,
.trust-stat > span,
.trust-role strong,
.side-note,
.about-portrait figcaption,
.about-columns,
.recognition-note,
.possibilities-copy > p,
.scenario-disclaimer,
.workflow-before p,
.workflow-after p,
.human-check,
.route-card p,
.choice-result p,
.program-panel-copy > p,
.program-features,
.program-footer,
.personal-intro p,
.neurocamp-card p,
.camp-stat > span,
.offer-detail p,
.personal-note,
.method-steps p,
.faq-intro > p,
.faq-list details > p,
.contact-bottom p,
.contact-meta,
.contact-form-intro,
.getcourse-form-status,
.getcourse-form-error,
.getcourse-form-prompt p,
.noscript-note {
  font-size: 20px;
  line-height: 1.6;
}

/* Raise small navigation, actions and selectable controls to a comfortable target. */
.desktop-nav,
.header-contact,
.mobile-nav,
.header button,
.button,
.subtle-button,
.text-link,
.focus-options button,
.scenario-tabs button,
.choice-options button,
.program-tab,
.offer summary,
.faq-list summary,
.getcourse-form-hide,
.quiz-option,
.quiz-back,
.dialog-close {
  font-size: 16px;
}

.desktop-nav,
.mobile-nav {
  line-height: 1.45;
}

.header-contact {
  white-space: nowrap;
}

.button,
.subtle-button,
.focus-options button,
.scenario-tabs button,
.choice-options button,
.program-tab,
.quiz-option,
.getcourse-form-hide {
  line-height: 1.4;
}

.header .motion-toggle {
  font-size: 16px;
}

.button {
  min-height: 54px;
}

.hero-actions .button,
.program-panel .button {
  font-size: 16px;
}

.hero-actions .text-link {
  font-size: 16px;
}

.hero-focus .focus-options button {
  font-size: 16px;
}

.text-link {
  line-height: 1.45;
}

.focus-options button,
.scenario-tabs button,
.choice-options button {
  min-height: 44px;
}

.program-tab {
  min-height: 48px;
}

.pill {
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}

/* Short editorial markers remain deliberately quiet; meaningful labels do not. */
.eyebrow,
.mini-label,
.section-kicker,
.route-top,
.step-result,
.workflow-header,
.quiz-step {
  font-size: 14px;
  line-height: 1.45;
}

.hero .eyebrow,
.hero-focus .mini-label,
.portrait-caption .mini-label,
.trust-role .mini-label,
.workflow-before .mini-label,
.workflow-after > .mini-label,
.choice-console > .mini-label,
.choice-result .mini-label,
.personal-intro .mini-label,
.contact-form-heading .mini-label,
.contact-form-prompt .mini-label {
  font-size: 14px;
}

.trust-intro {
  max-width: 28ch;
}

.trust-stat > span {
  max-width: 20ch;
}

.trust-role strong {
  line-height: 1.5;
}

.recognition > span {
  font-size: 16px;
  line-height: 1.45;
  padding: 8px 14px;
  overflow-wrap: anywhere;
}

.workflow-panel,
.workflow-before,
.workflow-after,
.choice-console,
.program-panel,
.neurocamp-card,
.contact-form-card,
.format-dialog {
  min-width: 0;
}

.workflow-header {
  flex-wrap: wrap;
}

.workflow-connector {
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.workflow-nodes {
  flex-wrap: wrap;
  min-width: 0;
}

.workflow-nodes > span {
  min-width: 0;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.workflow-nodes i {
  flex: 0 0 auto;
}

.choice-image,
.choice-console,
.choice-result {
  min-width: 0;
}

.choice-image figcaption {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.choice-options button {
  max-width: 100%;
  white-space: normal;
}

.choice-result {
  min-height: 0;
}

.program-list {
  min-width: 0;
}

.program-tab > span:nth-child(2) {
  font-size: 20px;
  line-height: 1.35;
}

.program-tab small {
  font-size: 16px;
  line-height: 1.4;
}

.program-panel-copy > p {
  min-height: 0;
}

.program-features {
  min-height: 0;
  padding-left: 0;
}

.program-features li {
  padding-block: 7px;
  padding-left: 24px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.program-footer .text-link,
.program-footer > span {
  font-size: 16px;
}

.neurocamp-card .text-link,
.offer-detail .text-link,
.personal-note .text-link {
  font-size: 16px;
}

.neurocamp-card .camp-stat > span {
  line-height: 1.55;
}

.offer summary {
  line-height: 1.4;
}

.offer-number,
.offer-title,
.offer-price {
  line-height: 1.4;
}

.offer-title {
  font-size: 22px;
}

.offer small {
  font-size: 16px;
  line-height: 1.45;
}

.offer-detail {
  min-width: 0;
}

.offer-detail a {
  flex-shrink: 1;
}

.faq-list summary {
  align-items: flex-start;
  line-height: 1.5;
}

.faq-list summary > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.faq-list details > p {
  max-width: 70ch;
}

.step-result {
  line-height: 1.5;
}

.footer-top > div {
  font-size: 16px;
  line-height: 1.5;
  flex-wrap: wrap;
}

.footer-bottom {
  font-size: 14px;
  line-height: 1.6;
  flex-wrap: wrap;
}

.footer-bottom > a {
  overflow-wrap: anywhere;
}

.contact-meta {
  flex-wrap: wrap;
}

.contact-meta > span {
  max-width: 34ch;
}

.contact-form-card h3 {
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.getcourse-form-status,
.getcourse-form-error {
  overflow-wrap: anywhere;
}

.getcourse-form-error .button {
  white-space: normal;
}

.format-dialog {
  max-width: min(560px, calc(100% - 30px));
}

.format-dialog #quiz-description,
.quiz-option > span:first-child,
.quiz-option small,
.quiz-result-card p {
  font-size: 18px;
  line-height: 1.55;
}

.quiz-option {
  min-height: 54px;
  text-align: left;
}

.quiz-result-card .button {
  font-size: 16px;
  white-space: normal;
}

.quiz-note,
.quiz-result-note {
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 761px) and (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex: 0 0 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
  }

  .menu-toggle span {
    width: 21px;
    height: 1px;
    background: #e9d6f5;
  }

  .header-contact {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  }

  .hero-copy,
  .hero-art,
  .about-text,
  .possibilities-copy,
  .workflow-panel,
  .program-panel,
  .personal-intro > div,
  .faq-intro,
  .faq-list {
    min-width: 0;
  }

  .hero .eyebrow {
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr);
    gap: 26px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .possibilities-grid {
    gap: 26px;
  }

  .choice-scene {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  }

  .choice-console {
    padding: 24px;
  }

  .program-explorer {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 20px;
  }

  .program-tab {
    gap: 12px;
    padding-inline: 8px;
  }

  .offer summary {
    grid-template-columns: 25px minmax(0, 1fr) auto 30px;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  main p {
    font-size: 18px;
    line-height: 1.6;
  }

  .hero-description,
  .hero-focus p,
  .portrait-caption p,
  .trust-intro,
  .trust-stat > span,
  .trust-role strong,
  .side-note,
  .about-portrait figcaption,
  .about-columns,
  .recognition-note,
  .possibilities-copy > p,
  .scenario-disclaimer,
  .workflow-before p,
  .workflow-after p,
  .human-check,
  .route-card p,
  .choice-result p,
  .program-panel-copy > p,
  .program-features,
  .program-footer,
  .personal-intro p,
  .neurocamp-card p,
  .camp-stat > span,
  .offer-detail p,
  .personal-note,
  .method-steps p,
  .faq-intro > p,
  .faq-list details > p,
  .contact-bottom p,
  .contact-meta,
  .contact-form-intro,
  .getcourse-form-status,
  .getcourse-form-error,
  .getcourse-form-prompt p,
  .noscript-note {
    font-size: 18px;
    line-height: 1.6;
  }

  .header-contact {
    /* The original compact arrow action remains the mobile affordance. */
    font-size: 0;
  }

  .header-contact > span {
    font-size: 20px;
  }

  .mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 18px;
  }

  .hero-description {
    max-width: 38ch;
  }

  .hero-actions .button,
  .contact-bottom .button,
  .getcourse-form-prompt .button {
    min-height: 50px;
    font-size: 16px;
  }

  .hero-actions .text-link,
  .contact-form-card .text-link,
  .faq-intro a {
    font-size: 16px;
  }

  .hero-focus .mini-label,
  .portrait-caption .mini-label,
  .contact-top .mini-label {
    font-size: 14px;
  }

  .focus-options {
    gap: 8px;
  }

  .focus-options button {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 16px;
  }

  .section-kicker {
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 14px;
  }

  .section-kicker .kicker-line {
    min-width: 24px;
  }

  .section-title-row > p {
    max-width: 45ch;
    font-size: 18px;
    line-height: 1.6;
  }

  .about-columns {
    gap: 18px;
  }

  .recognition {
    gap: 8px;
  }

  .recognition > span {
    font-size: 16px;
  }

  .scenario-tabs {
    flex-wrap: wrap;
  }

  .scenario-tabs button {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 16px;
  }

  .workflow-panel {
    padding: 20px;
  }

  .workflow-header,
  .workflow-before .mini-label,
  .workflow-after > .mini-label,
  .workflow-connector {
    font-size: 14px;
  }

  .workflow-nodes {
    gap: 8px;
  }

  .workflow-nodes > span {
    font-size: 16px;
  }

  .route-card {
    padding: 24px;
  }

  .route-top {
    font-size: 14px;
  }

  .choice-console {
    padding: 24px;
  }

  .choice-console > .mini-label,
  .choice-result .mini-label {
    font-size: 14px;
  }

  .choice-options button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 16px;
  }

  .choice-result {
    min-height: 0;
  }

  .program-list {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .program-tab {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .program-tab > span:nth-child(2) {
    font-size: 16px;
    white-space: nowrap;
  }

  .program-panel {
    padding: 22px;
  }

  .program-panel .pill {
    max-width: 80%;
    font-size: 14px;
  }

  .program-features li {
    padding-left: 23px;
  }

  .program-footer {
    align-items: flex-start;
  }

  .program-footer .text-link,
  .program-footer > span {
    font-size: 16px;
  }

  .neurocamp-card {
    padding: 24px;
  }

  .neurocamp-card .pill {
    font-size: 14px;
  }

  .neurocamp-card .text-link,
  .offer-detail .text-link,
  .personal-note .text-link {
    font-size: 16px;
  }

  .offer summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 8px 12px;
    padding-block: 23px;
  }

  .offer-title {
    font-size: 20px;
  }

  .offer-price {
    font-size: 22px;
  }

  .offer small {
    font-size: 16px;
  }

  .offer-detail {
    gap: 14px;
  }

  .personal-note {
    gap: 14px;
  }

  .method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .method-steps h3 {
    font-size: 24px;
    line-height: 1.35;
  }

  .method-steps p {
    font-size: 18px;
    line-height: 1.6;
  }

  .step-result {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .faq {
    gap: 24px;
  }

  .faq-list summary {
    gap: 18px;
    padding-block: 20px;
    font-size: 18px;
  }

  .faq-list details > p {
    padding-right: 0;
  }

  .contact-top .mini-label {
    font-size: 14px;
  }

  .contact-bottom {
    gap: 22px;
  }

  .contact-bottom .button {
    width: 100%;
  }

  .contact-meta {
    align-items: flex-start;
    font-size: 16px;
  }

  .contact-meta > span {
    max-width: 24ch;
  }

  .contact-meta > a {
    font-size: 16px;
  }

  .contact-form-heading .mini-label,
  .contact-form-prompt .mini-label {
    font-size: 14px;
  }

  .contact-form-intro,
  .getcourse-form-prompt p {
    font-size: 18px;
  }

  .getcourse-form-hide {
    min-height: 48px;
    font-size: 16px;
  }

  .footer-top > div {
    font-size: 16px;
    gap: 14px 20px;
  }

  .footer-bottom {
    font-size: 14px;
  }

  .format-dialog {
    width: min(560px, calc(100% - 24px));
    max-height: min(90dvh, 760px);
    padding: 24px;
  }

  .dialog-top {
    gap: 16px;
    margin-bottom: 24px;
  }

  .format-dialog #quiz-description,
  .quiz-option > span:first-child,
  .quiz-option small,
  .quiz-result-card p {
    font-size: 18px;
    line-height: 1.55;
  }

  .quiz-option {
    min-height: 54px;
    padding: 16px;
  }

  .quiz-back {
    min-height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .section-shell {
    width: calc(100% - 36px);
  }

  .header {
    padding-inline: 18px;
  }

  .header-contact {
    white-space: normal;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 12px 18px;
  }

  .hero-actions .button {
    max-width: 100%;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .trust-stat > span {
    max-width: none;
    overflow-wrap: anywhere;
  }

  .choice-options {
    align-items: stretch;
  }

  .choice-options button {
    flex: 1 1 145px;
    justify-content: flex-start;
  }

  .workflow-panel {
    padding: 18px;
  }

  .workflow-nodes {
    gap: 6px;
  }

  .workflow-nodes > span {
    flex: 1 1 68px;
  }

  .workflow-nodes .ai-node {
    flex: 0 0 auto;
  }

  .program-panel {
    padding: 20px;
  }

  .program-panel-top {
    align-items: flex-start;
  }

  .program-panel .pill {
    max-width: calc(100% - 42px);
  }

  .camp-stat {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .camp-stat > span {
    flex: 1 1 130px;
  }

  .offer summary {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .offer-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .method-steps p {
    max-width: 45ch;
  }

  .contact-meta {
    gap: 12px 20px;
  }
}

@media (max-width: 380px) {
  .section-shell {
    width: calc(100% - 32px);
  }

  .header {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-actions .button {
    padding-inline: 16px;
  }

  .focus-options button {
    padding-inline: 10px;
  }

  .trust-strip {
    gap: 16px 9px;
  }

  .trust-stat > strong {
    font-size: 32px;
  }

  .choice-console {
    padding: 20px;
  }

  .choice-options button {
    flex-basis: 100%;
  }

  .workflow-panel {
    padding: 16px;
  }

  .workflow-before,
  .workflow-after {
    padding: 15px;
  }

  .program-panel {
    padding: 18px;
  }

  .neurocamp-card {
    padding: 20px;
  }

  .faq-list summary {
    gap: 12px;
  }

  .contact-form-card {
    padding-inline: 16px;
  }

  .format-dialog {
    padding: 20px;
  }

  .quiz-option {
    gap: 14px;
    padding: 14px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .desktop-nav {
    gap: 14px;
  }

  .header {
    gap: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .trust-strip {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* No new motion introduced; retain the site's existing reduced-motion rules. */
}

@media (max-width: 760px) {
  .header-contact {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
  }

  .header-contact > span,
  .motion-toggle {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .header-contact > span,
  .motion-toggle,
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Override higher-specificity legacy component rules at the source of each mismatch. */
.possibilities-copy > .scenario-disclaimer {
  font-size: 16px;
  line-height: 1.55;
}

.choice-result > a.text-link,
.personal-intro > div > a.text-link,
.program-footer > a.text-link,
.contact-meta > a,
.trust-strip > a.trust-role,
.skip-link,
.back-top {
  font-size: 16px;
}

.program-panel .pill,
.neurocamp-card .pill {
  font-size: 14px;
  line-height: 1.45;
}

.program-list .program-index,
.offer > summary > .offer-number {
  font-size: 14px;
  line-height: 1.4;
}