:root { --preview-wine: #7d1829; }
html { scroll-behavior: smooth; }
.section { padding-top: clamp(42px, 5.3vw, 82px) !important; padding-bottom: clamp(42px, 5.3vw, 82px) !important; }
.section h2 { font-size: clamp(27px, 3.2vw, 49px) !important; line-height: 1.08 !important; }
.section h3 { font-size: clamp(20px, 2vw, 30px) !important; line-height: 1.2 !important; }
.section p, .section li { line-height: 1.5; }
.hero { padding-top: clamp(52px, 7vw, 108px) !important; padding-bottom: clamp(40px, 5vw, 78px) !important; }
.hero h1 { font-size: clamp(56px, 8.2vw, 128px) !important; line-height: .95 !important; letter-spacing: -.065em; }
.hero-checks { display: grid; gap: 18px; padding-top: 25px; margin-top: 28px; border-top: 1px solid #d9d9d9; max-width: 1040px; }
.hero-checks p { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 15px; margin: 0; font-size: clamp(17px, 2vw, 26px); line-height: 1.4; }
.hero-checks p > span:first-child { font-weight: 800; font-size: 31px; color: var(--preview-wine); line-height: 1.1; }
.format-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 24px !important; align-items: stretch; }
.format { min-width: 0; padding: clamp(23px, 3vw, 42px) !important; }
.format h2 { font-size: clamp(27px, 2.8vw, 40px) !important; }
.format li { margin-bottom: 10px; font-size: clamp(15px, 1.2vw, 18px); }
.format .button { margin-top: 16px; }
.corporate-health { background: #151515; color: white; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 30px; overflow: hidden; }
.corporate-health .section-index { color: #c8c8c8; }
.corporate-health h2 { max-width: 800px; font-size: clamp(36px, 5vw, 68px) !important; line-height: 1.02 !important; letter-spacing: -.045em; }
.corporate-health .corporate-copy > p:not(.section-index) { max-width: 660px; margin: 25px 0 30px; font-size: clamp(17px, 1.45vw, 22px); }
.corporate-health .button-light { background: white; color: #171717; border-color: white; display: inline-flex; text-decoration: none; }
.corporate-word { font-size: clamp(65px, 10vw, 170px); font-weight: 850; letter-spacing: -.09em; line-height: .85; overflow-wrap: anywhere; opacity: .14; text-align: right; }
.footer { gap: 25px; }
.footer-write { justify-self: start; display: inline-flex; background: var(--preview-wine); color: white; text-decoration: none; padding: 14px 22px; font-size: 16px; }
@media(max-width: 760px) {
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .hero { padding-top: 42px !important; }
  .hero h1 { font-size: clamp(46px, 13vw, 76px) !important; }
  .hero-checks { gap: 14px; }
  .hero-checks p { grid-template-columns: 23px minmax(0, 1fr); gap: 10px; }
  .hero-checks p > span:first-child { font-size: 25px; }
  .format-grid { grid-template-columns: 1fr !important; }
  .corporate-health { grid-template-columns: 1fr; }
  .corporate-word { display: none; }
}

/* Unified spacing and typography across the complete landing page. */
:root { --max: 1520px; --pad: clamp(22px, 4.4vw, 70px); }
.section { padding: clamp(46px, 5vw, 78px) var(--pad) !important; }
.section-index { margin-bottom: clamp(22px, 3vw, 42px) !important; }
.section-heading { gap: clamp(26px, 4vw, 64px) !important; margin-bottom: clamp(28px, 4vw, 60px) !important; }
.section-heading h2, .problem h2, .result h2, .questions h2, .contact h2, .expert h2 {
  font-size: clamp(31px, 3.55vw, 56px) !important;
  line-height: 1.07 !important;
  letter-spacing: -.045em !important;
}
.problem-grid, .questions-grid { gap: clamp(30px, 4vw, 68px) !important; }
.problem h2 { font-size: clamp(32px, 3.5vw, 58px) !important; }
.problem-list p { padding: 13px 0 !important; font-size: clamp(15px, 1.1vw, 18px) !important; }
.route { margin-left: 6% !important; }
.route li { padding-bottom: 32px !important; }
.route h3 { font-size: clamp(23px, 2.4vw, 36px) !important; line-height: 1.12 !important; }
.result-copy p { padding: 14px 0 !important; font-size: clamp(17px, 1.3vw, 21px) !important; }
.formats .format-grid {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  border: 0 !important;
}
.formats .format-grid > .format {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: clamp(26px, 2.6vw, 40px) !important;
  border: 1px solid #b7b7b7 !important;
  border-radius: 16px !important;
}
.formats .format h2 { min-height: 0 !important; margin: 0 0 18px !important; font-size: clamp(26px, 2.6vw, 39px) !important; line-height: 1.08 !important; }
.formats .format-time { margin-bottom: 20px !important; }
.formats .format-result { min-height: 112px !important; padding: 18px 21px !important; }
.formats .format-result strong { font-size: clamp(22px, 1.8vw, 29px) !important; }
.formats .format ul { margin: 20px 0 24px !important; gap: 10px !important; }
.formats .format li { font-size: clamp(15px, 1.07vw, 17px) !important; line-height: 1.42 !important; }
.expert-grid { gap: clamp(28px, 4vw, 64px) !important; }
.expert-education { margin-top: 38px !important; }
.questions-grid { align-items: start !important; }
.questions { padding-bottom: clamp(48px, 5vw, 76px) !important; }
.questions h2 { margin: 0 !important; }
.contact { min-height: 0 !important; gap: clamp(32px, 5vw, 78px) !important; }
.contact h2 { margin: 12px 0 25px !important; }
.corporate-health { max-width: 1520px; margin: 0 auto; }
.footer { grid-template-columns: auto 1fr auto !important; align-items: start !important; padding: 30px var(--pad) !important; }
.footer-write { grid-column: 3; grid-row: 1; }
.hero {
  min-height: 0 !important;
  padding: 0 0 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) !important;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
}
.hero-copy { padding: clamp(46px, 5vw, 75px) clamp(24px, 3.7vw, 60px) clamp(42px, 5vw, 70px) 0 !important; }
.hero h1 { font-size: clamp(56px, 6.4vw, 106px) !important; line-height: .94 !important; }
.hero-accent { margin: 26px 0 24px !important; }
.hero-intro { display: block !important; font-size: clamp(19px, 1.55vw, 24px) !important; font-weight: 650; line-height: 1.3 !important; }
.hero-checks { margin-top: 23px; padding-top: 20px; gap: 17px; }
.hero-checks p { font-size: clamp(16px, 1.3vw, 20px); }
.hero-portrait { background-size: cover !important; background-position: right center !important; }
@media(max-width: 900px) {
  .section-heading, .problem-grid, .questions-grid, .result-grid, .contact, .expert-grid { grid-template-columns: 1fr !important; }
  .route { margin-left: 0 !important; }
  .formats .format-grid { grid-template-columns: 1fr !important; }
  .footer { grid-template-columns: 1fr !important; }
  .footer-write { grid-column: 1; grid-row: auto; }
}
@media(max-width: 760px) {
  .section { padding: 38px var(--pad) !important; }
  .hero { padding: 0 !important; grid-template-columns: 1fr !important; }
  .hero-copy { padding: 38px var(--pad) 30px !important; }
  .hero h1 { font-size: clamp(48px, 12.5vw, 74px) !important; }
  .hero-portrait { min-height: 360px !important; background-size: contain !important; }
  .corporate-health { grid-template-columns: 1fr !important; }
}

/* Compact two-program comparison: each program is a horizontal band. */
.formats .format-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}
.formats .format-grid > .format {
  display: grid !important;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  grid-template-areas:
    "title features"
    "duration features"
    "result features"
    "price actions";
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(28px, 4vw, 66px);
  row-gap: 12px;
  padding: clamp(24px, 2.5vw, 38px) !important;
  border-radius: 12px !important;
}
.formats .format h2 {
  grid-area: title;
  font-size: clamp(25px, 2.25vw, 35px) !important;
  margin: 0 !important;
  max-width: 510px;
}
.formats .format-time { grid-area: duration; margin: 0 !important; font-size: 13px !important; }
.formats .format-result {
  grid-area: result;
  align-self: start;
  min-height: 0 !important;
  margin-top: 10px !important;
  padding: 17px 20px !important;
  border-radius: 10px !important;
}
.formats .format-result strong { font-size: clamp(21px, 1.55vw, 26px) !important; }
.formats .format ul {
  grid-area: features;
  margin: 0 !important;
  padding: 0 !important;
  align-content: start;
  gap: 13px !important;
}
.formats .format li { font-size: clamp(15px, 1.06vw, 17px) !important; }
.formats .format .prototype-field {
  grid-area: price;
  align-self: end;
  margin: 10px 0 0 !important;
  font-size: 15px;
  font-weight: 650;
}
.formats .format > .button,
.formats .format-actions {
  grid-area: actions;
  align-self: end;
  margin: 12px 0 0 !important;
}
.formats .format-actions { flex-direction: row !important; flex-wrap: wrap !important; }
.formats .format-actions .button { width: auto !important; flex: 1 1 160px; }
.formats .format > .button { width: 100%; }
.formats .format .button { min-height: 46px !important; padding: 11px 18px !important; font-size: 13px !important; }

/* Slim corporate strip, no oversized background word. */
.corporate-health {
  display: block !important;
  padding: 28px clamp(24px, 4vw, 60px) !important;
  border-radius: 0;
}
.corporate-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) auto;
  gap: clamp(20px, 2.6vw, 42px);
  align-items: center;
}
.corporate-health .section-index { grid-column: 1; margin: 0 0 5px !important; font-size: 10px; }
.corporate-health h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  font-size: clamp(24px, 2.25vw, 34px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}
.corporate-health .corporate-copy > p:not(.section-index) {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0 !important;
  max-width: 520px;
  font-size: clamp(14px, 1.1vw, 17px) !important;
  line-height: 1.45 !important;
}
.corporate-health .button-light {
  grid-column: 3;
  grid-row: 1 / 3;
  white-space: nowrap;
  padding: 14px 20px !important;
  font-size: 14px !important;
}
.corporate-word { display: none !important; }
@media(max-width: 900px) {
  .corporate-copy { grid-template-columns: 1fr auto; }
  .corporate-health .corporate-copy > p:not(.section-index) { grid-column: 1; grid-row: 3; }
  .corporate-health .button-light { grid-column: 2; grid-row: 1 / 4; }
}
@media(max-width: 760px) {
  .formats .format-grid > .format {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "duration" "result" "features" "price" "actions";
    gap: 14px;
  }
  .formats .format-result { margin-top: 0 !important; }
  .corporate-health { padding: 25px var(--pad) !important; }
  .corporate-copy { grid-template-columns: 1fr; gap: 12px; }
  .corporate-health .section-index, .corporate-health h2,
  .corporate-health .corporate-copy > p:not(.section-index),
  .corporate-health .button-light { grid-column: 1; grid-row: auto; }
  .corporate-health h2 { font-size: 25px !important; }
  .corporate-health .button-light { justify-self: start; margin-top: 3px; }
}

/* V4: full-width program rows, independent of legacy three-column rules. */
section.formats.section {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(24px, 4vw, 72px) !important;
  padding-right: clamp(24px, 4vw, 72px) !important;
}
section.formats .format-grid {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  gap: 18px !important;
  grid-template-columns: none !important;
}
section.formats .format-grid > article.format {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr) !important;
  grid-template-areas: "title features" "duration features" "result features" "price actions" !important;
  grid-template-rows: auto auto 1fr auto !important;
  gap: 14px clamp(36px, 5vw, 90px) !important;
  padding: clamp(24px, 3vw, 45px) !important;
  box-sizing: border-box;
  overflow: visible;
}
section.formats .format h2 {
  grid-area: title !important;
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  font-size: clamp(26px, 2.5vw, 39px) !important;
  line-height: 1.09 !important;
}
section.formats .format-time { grid-area: duration !important; justify-self: start; }
section.formats .format-result { grid-area: result !important; width: 100%; max-width: 550px; }
section.formats .format ul {
  grid-area: features !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 15px 32px !important;
  align-content: start;
}
section.formats .format li {
  min-width: 0 !important;
  overflow-wrap: break-word;
  line-height: 1.45 !important;
}
section.formats .format .prototype-field { grid-area: price !important; }
section.formats .format > a.button, section.formats .format-actions {
  grid-area: actions !important;
  justify-self: stretch;
  align-self: end;
}
@media(max-width: 850px) {
  section.formats .format-grid > article.format {
    grid-template-columns: 1fr !important;
    grid-template-areas: "title" "duration" "result" "features" "price" "actions" !important;
  }
  section.formats .format ul { grid-template-columns: 1fr !important; }
}
