/* Responsive editorial scale. Original Innocifra palette restored at Ivan’s request, October 8, 2026. */
:root {
  --container: 1280px;
  --header-height: 76px;
  --section-space: clamp(52px, 8vw, 96px);
}
.container { width: min(var(--container), calc(100% - 40px)); }
.section { padding-block: var(--section-space); }
h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.16; text-wrap: balance; }
h3 { text-wrap: balance; }
.eyebrow, .hero .eyebrow { font-size: 12px; line-height: 1.5; }
.section-description, .section-intro { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; }
.section-heading { gap: 24px; margin-bottom: 32px; }
.pending, .section-note, .stat-note { font-size: 13px; line-height: 1.65; }
.button, .hero .button-row .button, .price-card .button { font-size: 16px; min-height: 54px; padding: 14px 22px; }
.button-small, .header-cta { font-size: 14px; min-height: 46px; }
.text-link, .course-footer .text-link { font-size: 16px; }
.mini-label, .price-label, .price-caption, .course-level, .lesson-chip { font-size: 12px; }
.feature-card, .course-card, .price-card { padding: clamp(24px, 2.6vw, 36px); }
.feature-card h3, .learning-steps h3, .payment-grid h3 { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.25; }
.feature-card p, .lesson-info p, .course-card > p,
.module-lessons, .module-result, .program-note p, .learning-steps p,
.document .section-description, .document-card > p, .expert-role,
.faq-answer, .business-content > p:not(.eyebrow),
.after-course .section-description, .enroll-intro > p:not(.eyebrow), .payment-grid p {
  font-size: 16px;
  line-height: 1.65;
}
.check-list, .course-card .check-list, .price-card .check-list, .business .check-list {
  font-size: 16px;
  line-height: 1.55;
}
.feature-card p { max-width: 36ch; }
.course-footer { gap: 16px; font-size: 15px; flex-wrap: wrap; }
.course-card h3 { font-size: clamp(34px, 3.2vw, 44px); }
.course-subtitle { min-height: 0; font-size: 20px !important; line-height: 1.4 !important; }
.course-result { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.course-dark .course-result { border-color: #505475; }
.lesson-info h3 { font-size: clamp(23px, 2vw, 29px); line-height: 1.28; }
.lesson-info { padding: clamp(24px, 2.5vw, 36px); }
.lesson-info .mini-label { font-size: 12px; }
.audience-tabs .tab, .program-tabs .tab { font-size: 15px; min-height: 48px; }
.program-tabs .tab span { font-size: 13px; }
.audience-panel { padding: clamp(24px, 3vw, 40px); gap: 28px; }
.audience-panel h3 { font-size: clamp(25px, 2.5vw, 32px); }
.audience-skills, .audience-topics { font-size: 16px; line-height: 1.65; }
.audience-skill-label { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.recommendation, .before-after, .example-label { font-size: 14px; }
.program-overview p, .program-overview .program-count { font-size: 15px; }
.module-title strong { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; }
.module-title span, .module-number { font-size: 14px; }
.module-body { padding-left: 0; }
.module-lessons { gap: 14px 32px; }
.learning-steps { gap: 28px; }
.learning-steps li > span { font-size: 38px; margin-bottom: 14px; }
.learning-steps p { max-width: 32ch; }
.mentor-heading .eyebrow { font-size: 12px; }
.mentor-features strong { font-size: 17px; }
.mentor-features span, .document-card dl, .document-card dd { font-size: 14px; }
.document h2 { max-width: 14ch; }
.payment h2, .business h2, .enroll h2 { font-size: clamp(32px, 3.7vw, 52px); }
.payment-grid .pending, .business-discounts > .pending { font-size: 13px; }
.discount-row > span { font-size: 16px; }
.business-panel { padding: clamp(28px, 4vw, 52px); gap: 36px; }
.business-content > p:not(.eyebrow) { max-width: 44ch; }
.business-panel :focus-visible, .course-dark :focus-visible, .footer :focus-visible,
.enroll-intro :focus-visible { outline-color: #ffb5d6; }
.business-discounts { padding: 28px; }
.updates-list h3 { font-size: 18px; line-height: 1.4; }
.faq-item summary > span:not(.faq-number) { font-size: 17px; line-height: 1.45; }
.faq-answer { padding-left: 0; }
.enroll-grid { gap: 32px; }
.form-heading > span, .form-note, .consent, .policy-link { font-size: 14px; }
.field label, .field input, .field select { font-size: 16px; }
.field input, .field select { min-height: 52px; }
.form-context { font-size: 15px; }
.footer-bottom, .footer-links button, .footer-links a { font-size: 13px; }
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 87% 35%, #fae9f0 0, transparent 58%);
  pointer-events: none;
}
.hero-grid { gap: 28px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.03; }
.hero-intro { font-size: 17px; line-height: 1.6; max-width: 54ch; margin-block: 24px; }
.hero-tags { gap: 8px; margin-bottom: 24px; }
.hero-tags span { font-size: 12px; padding: 6px 10px; }
.hero-meta { font-size: 14px; line-height: 1.7; margin-top: 20px; }
.hero-stats { margin-top: 24px; padding-top: 24px; gap: 24px; }
.hero-stats strong { font-size: clamp(36px, 3.7vw, 50px); }
.hero-stats span { font-size: 13px; max-width: 220px; }
.hero-visual { padding: 0; min-width: 0; }
.new-skills { margin-top: clamp(52px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.skills-heading { display: grid; gap: 20px; margin-bottom: 28px; }
.skills-heading h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; }
.skills-heading > p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.skills-grid { display: grid; gap: 16px; }
.skill-card { display: flex; flex-direction: column; gap: 16px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, transform .25s; }
.skill-card:hover { border-color: #c98ba5; transform: translateY(-3px); }
.skill-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.skill-card-top .icon { width: 24px; height: 24px; color: var(--accent-text); }
.skill-level { padding: 5px 9px; border-radius: 6px; background: var(--bg); font-size: 12px; color: var(--muted); white-space: nowrap; }
.skill-card[data-skill-level="power"] .skill-level { background: var(--soft); color: var(--accent-text); }
.skill-card h4 { font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.skill-card > p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.skill-result { padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.skill-result span { display: block; color: var(--accent-text); font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.skills-rule { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.skills-rule .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-text); }
.experts .section-heading { gap: 20px; }
.experts .section-description { font-size: 16px; margin-top: 20px; margin-bottom: 24px; max-width: 60ch; }
.experts-total { font-size: 15px; font-weight: 500; color: var(--accent-text); }
.experts-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.experts-hint { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.experts-hint .icon { flex-shrink: 0; width: 20px; height: 20px; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.carousel-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 14px; transition: background .2s, border-color .2s; }
.carousel-button:hover:not(:disabled) { background: var(--soft); border-color: var(--accent-text); }
.carousel-button:disabled { opacity: .4; }
.carousel-button .icon { width: 20px; height: 20px; }
#experts-prev .icon { transform: rotate(180deg); }
.experts-track { margin-inline: 0; gap: 20px; scroll-padding-inline: 0; scrollbar-width: none; padding: 4px 0 16px; }
.experts-track::-webkit-scrollbar { display: none; }
.expert-card { width: calc(100% - 28px); flex-basis: calc(100% - 28px); }
.expert-photo { height: auto; aspect-ratio: 1.08; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.expert-info { padding: 24px; }
.expert-info h3 { font-size: 23px; min-height: 2.5em; line-height: 1.25; }
.expert-info details { font-size: 14px; }
.expert-info details summary { min-height: 44px; }
.expert-topics { font-size: 14px; line-height: 1.65; }
.expert-topics span, .photo-pending { font-size: 12px; }
.experts-progress { height: 4px; width: 100%; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 12px; }
.experts-progress > span { display: block; height: 100%; width: 6.67%; background: var(--accent); border-radius: 4px; transition: width .2s; }
.experts-help { font-size: 13px; color: var(--muted); margin-top: 12px; }
.pricing-grid { gap: 24px; }
.price-card { background: white; }
.price-card h3 { font-size: 32px; }
.price-card > p { font-size: 16px; min-height: 0; margin-bottom: 24px; }
.installment-note { display: block; max-width: 34ch; margin-bottom: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price { font-size: clamp(42px, 4vw, 54px); }
.price-caption { font-size: 14px; }
.price-card .check-list { margin-block: 24px 32px; }
.price-card:nth-child(2) { border-color: #a40e4c44; background: #fff4f8; }
.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 379px) {
  .container { width: calc(100% - 32px); }
  .carousel-button { padding-inline: 10px; font-size: 13px; }
  .carousel-controls { gap: 4px; }
}
@media (min-width: 640px) {
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experts-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .experts-hint { max-width: 30ch; }
  .expert-card { width: calc((100% - 20px) / 2.2); flex-basis: calc((100% - 20px) / 2.2); }
}
@media (min-width: 768px) {
  .container { width: min(var(--container), calc(100% - 56px)); }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 32px; align-items: center; }
  .hero h1 { font-size: clamp(52px, 6.6vw, 92px); }
  .hero-intro { font-size: 17px; }
  .hero .button-row { gap: 12px; }
  .hero .button-row .button { font-size: 14px; padding-inline: 18px; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
  .hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
  .scene-toolbar { flex-wrap: wrap; }
  .audience-panel { grid-template-columns: 1fr 1fr; }
  .three-grid { gap: 20px; }
  .learning-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-heading { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; }
  .module-body { padding-left: 44px; }
  .faq-answer { padding-left: 38px; }
  .business-panel { grid-template-columns: 1.15fr 1fr; }
  .enroll-grid { grid-template-columns: 1fr 1.1fr; }
  .form-two { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .navigation { position: absolute; display: none; top: var(--header-height); left: 0; right: 0; padding: 20px 28px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px #2a2d500b; }
  .navigation.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .navigation a { font-size: 16px; padding: 12px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (min-width: 1024px) {
  .section-heading { margin-bottom: 36px; }
  .hero-grid { gap: 48px; }
  .hero-intro { font-size: 18px; max-width: 50ch; }
  .hero .button-row .button { font-size: 16px; padding-inline: 24px; }
  .scene-caption { font-size: 13px; }
  .learning-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .learning-steps h3 { font-size: 22px; }
  .expert-card { width: calc((100% - 40px) / 3.25); flex-basis: calc((100% - 40px) / 3.25); }
  .experts-hint { max-width: none; font-size: 15px; }
  .carousel-button { min-height: 52px; font-size: 15px; padding-inline: 18px; }
  .form-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1200px) {
  .navigation { gap: 24px; }
  .navigation a { font-size: 15px; }
  .header-inner { gap: 24px; }
  .header-cta { font-size: 14px; padding-inline: 18px; }
  .skills-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .skill-card { padding: 24px; }
  .skill-card h4 { font-size: 22px; }
  .enroll-grid { gap: 64px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(64px, 6vw, 78px); }
  .hero-intro { margin-block: 20px; font-size: 17px; }
  .hero-tags { margin-bottom: 20px; }
  .hero-meta { margin-top: 16px; }
  .hero-stats { margin-top: 24px; padding-top: 20px; }
  .hero-stats strong { font-size: 42px; }
  .section { --section-space: 64px; }
}
@media (max-height: 500px) and (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .hero-visual { max-width: 540px; width: 100%; margin-inline: auto; }
  .hero-intro { max-width: 62ch; }
  .section { --section-space: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; transition: none; }
  .skill-card:hover { transform: none; }
  .experts-progress > span { transition: none; }
}
@media print {
  .hero-visual, .experts-toolbar, .experts-progress, .experts-help { display: none; }
  .reveal-ready { opacity: 1; transform: none; }
  .hero-grid { display: block; }
  .section { padding-block: 24px; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
