/* Phone layout pass 29.10: text from 15 px, the stage picture across the top of its card,
   the final button across the column, no decorative voids. The landing is phone-only (wide screens get the column). */
@media all{/* было max-width:640px — телефонный вид теперь основа и для компьютера (№976) */
  .kicker{font-size:15px;letter-spacing:.02em}
  .section-heading>p:last-child:not(.kicker){font-size:16px;line-height:1.55;color:#c9c8c3}
  #bridge-description{font-size:16px;line-height:1.55;color:#c9c8c3}
  .countdown-kicker{font-size:15px;letter-spacing:.04em}
  .countdown-cell span{font-size:13px;letter-spacing:.03em}
  .countdown-caption{font-size:15px}

  .program-section.mobile-program-ready .program-heading>p{margin-top:15px;font-size:16px;line-height:1.55}
  /* Author card (owner's pick 30.10: variant 6 with the AI CITY panel of variant 9 as the «Сейчас» step):
     studio photo on top with the name below the face, then the path from 2010 to the intensive. */
  .program-guide{margin:24px 0 0;border:1px solid #ffffff1f;border-radius:22px;background:#111110;overflow:hidden;text-align:left}
  .guide-photo{position:relative;height:330px;overflow:hidden}
  .guide-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%}
  .guide-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#111110 96%)}
  .guide-name{position:absolute;left:20px;right:20px;bottom:14px;z-index:1}
  .guide-kicker{margin:0;color:#ffe500;font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.4}
  .guide-title{margin:4px 0 0;font:700 40px/1.05 Oswald,Manrope,sans-serif;text-transform:uppercase;color:#faf9f4}
  .guide-title span{color:#ffe500}
  .guide-body{padding:4px 20px 22px}
  .guide-role{margin:0;color:#e8e7e2;font-size:16px;line-height:1.5}
  .guide-path{position:relative;margin:20px 0 0;padding:0 0 0 24px;list-style:none}
  .guide-path::before{content:"";position:absolute;left:-2px;top:12px;bottom:0;width:2px;background:#ffe50066}
  .guide-path>li{position:relative;padding:0 0 18px}
  .guide-path>li::before{content:"";position:absolute;left:-32px;top:5px;width:14px;height:14px;border-radius:50%;background:#ffe500;box-shadow:0 0 0 4px #111110}
  .guide-path>li>b{display:block;font:700 22px/1.2 Oswald,Manrope,sans-serif;color:#ffe500}
  .guide-path>li>p{margin:2px 0 0;color:#e8e7e2;font-size:16px;line-height:1.45}
  .guide-city{margin-top:8px;padding:16px;border:1px solid #ffffff14;border-radius:16px;background:#1b1b19}
  .guide-city-k{margin:0 0 6px;font:700 22px/1.2 Oswald,Manrope,sans-serif;text-transform:uppercase;color:#faf9f4}
  .guide-city-k span{color:#ffe500}
  .guide-city-t{margin:0;color:#e8e7e2;font-size:16px;line-height:1.5}
  .guide-companies{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
  .guide-companies li{padding:6px 12px;border:1px solid #ffffff2e;border-radius:99px;color:#faf9f4;font-size:15px;font-weight:600;line-height:1.3}
  .guide-path>li.guide-now{margin-left:-8px;padding:14px 16px;border-radius:14px;background:#ffe500}
  .guide-path>li.guide-now::before{left:-24px;top:19px;background:#111110;border:3px solid #ffe500}
  .guide-path>li.guide-now>b,.guide-path>li.guide-now>p{color:#101010}
  .guide-path>li.guide-now>p{font-weight:600}
  /* Pain plate (owner 30.10: «сделать плашку, на этой плашке прописать основную боль»): one card right after
     the countdown, the pain in the heading, three short points, and a yellow strip that turns to the Saturday method. */
  #stakes.section{padding:32px 16px 8px}
  .pain-card{padding:24px 20px 0;border:1px solid #ffe50047;border-radius:22px;background:#161614;overflow:hidden;text-align:left}
  .pain-card .kicker{margin:0;color:#ffe500;font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .pain-card h2{margin:10px 0 0;font:700 32px/1.12 Oswald,Manrope,sans-serif;text-transform:uppercase;color:#faf9f4;text-wrap:balance}
  .pain-card h2 span{color:#ffe500}
  .pain-list{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:12px}
  .pain-list li{position:relative;padding:0 0 0 22px;color:#d6d5d0;font-size:16px;line-height:1.5}
  .pain-list li::before{content:"";position:absolute;left:0;top:10px;width:10px;height:2px;background:#ffe500}
  .pain-list b{color:#faf9f4}
  .pain-turn{margin:22px -20px 0;padding:16px 20px;background:#ffe500;color:#101010;font-size:16px;font-weight:600;line-height:1.45}
  .pain-turn b{font-weight:800}
  /* Program intro (owner 30.10: «ни выделений никаких, всё сплошняком»): lead line, three things as a list, format line. */
  .program-section .program-heading>p.program-lead{margin:16px 0 0;color:#faf9f4;font-size:18px;font-weight:600;line-height:1.45}
  .program-points{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:10px;text-align:left}
  .program-points li{padding:12px 14px 12px 16px;border-left:3px solid #ffe500;border-radius:4px 12px 12px 4px;background:#161614;color:#d6d5d0;font-size:16px;line-height:1.45}
  .program-points b{color:#faf9f4}
  .program-section .program-heading>p.program-format{margin:14px 0 0;color:#ffe500;font-size:16px;font-weight:700;line-height:1.45}
  /* Series map (owner 30.10 «Да, собирай»): constant block «how every Saturday goes», one weekly card that holds everything about the nearest Saturday. */
  #how.section{padding:32px 16px 8px}
  .how-card{padding:24px 20px;border:1px solid #ffffff1f;border-radius:22px;background:#111110;text-align:left}
  .how-card .kicker{margin:0;color:#ffe500;font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .how-card h2{margin:10px 0 0;font:700 32px/1.12 Oswald,Manrope,sans-serif;text-transform:uppercase;color:#faf9f4;text-wrap:balance}
  .how-card h2 span{color:#ffe500}
  .how-steps{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:14px;counter-reset:how}
  .how-steps li{position:relative;padding:0 0 0 46px;counter-increment:how}
  .how-steps li::before{content:counter(how);position:absolute;left:0;top:1px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#ffe500;color:#101010;font:700 18px/1 Oswald,Manrope,sans-serif}
  .how-steps b{display:block;color:#faf9f4;font-size:17px;line-height:1.3}
  .how-steps span{display:block;margin-top:2px;color:#d6d5d0;font-size:16px;line-height:1.45}
  .how-turn{margin:20px 0 0;padding:14px 16px;border-radius:14px;background:#ffe500;color:#101010;font-size:16px;font-weight:600;line-height:1.45}
  .how-puzzle{margin:14px 0 0;color:#d6d5d0;font-size:16px;line-height:1.5}
  .program-section .program-heading>p.week-kicker{margin:0;color:#ffe500;font-size:15px;font-weight:700;letter-spacing:.04em}
  .week-card{margin:18px 0 0;padding:18px 16px;border:2px solid #ffe500;border-radius:18px;background:#161614;text-align:left}
  .program-section .program-heading .week-card p.week-line{margin:0 0 10px;color:#d6d5d0;font-size:16px;line-height:1.45}
  .week-line b{color:#faf9f4}
  .program-section .program-heading .week-card p.week-leave-title{margin:14px 0 8px;color:#ffe500;font-size:15px;font-weight:700;letter-spacing:.02em}
  .week-leave{margin:0;padding:0;list-style:none;display:grid;gap:8px}
  .week-leave li{position:relative;padding:0 0 0 20px;color:#d6d5d0;font-size:16px;line-height:1.45}
  .week-leave li::before{content:"";position:absolute;left:0;top:10px;width:10px;height:2px;background:#ffe500}
  .week-leave b{color:#faf9f4}
  .week-more{margin:14px 0 0}
  .program-section .week-steps-heading{margin:48px 0 0}
  .week-more-body{margin-top:16px}
  .week-more .bridges{margin-top:24px;padding:0}
  /* «Кто ведёт» moved below the prices (owner 30.10: «меня убрать… после других»). */
  #guide.section{padding:40px 16px 8px}
  #guide .program-guide{margin:0}

  .mobile-program-card{display:flex;flex-direction:column}
  .mobile-day-banner{order:-1;width:calc(100% + 32px);max-width:none;margin:-20px -16px 18px;border-radius:23px 23px 0 0}
  .mobile-day-date{font-size:15px;letter-spacing:0;text-transform:none;font-weight:700}
  .mobile-day-title{margin:20px 0 8px;font-size:24px;line-height:1.2;text-wrap:wrap}
  .mobile-day-intro{font-size:16px;line-height:1.55;color:#c9c8c3}
  .mobile-day-list li{font-size:16px;line-height:1.5}
  .mobile-day-tool{margin:18px 0 0;color:#e4e3df;font-size:16px;line-height:1.5}
  .mobile-day-tool span{display:block;margin-bottom:4px;color:#ffe500;font-size:15px;font-weight:700;line-height:1.4}
  .mobile-day-output span{font-size:15px;letter-spacing:0;text-transform:none;font-weight:700}
  .mobile-day-output p{font-size:16px;line-height:1.5;color:#deddd8;text-wrap:wrap}

  .bridge-formats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .bridge-formats button{font-size:15px;min-height:46px;padding:10px 8px}
  /* Owner 29.10: the wide picture hid the meaning; one compact card under the tabs: the format's object as an icon,
     what the format is, then the example. */
  #bridges .bridge-content{display:block;min-height:0;margin-top:14px;padding:16px;border:1px solid #ffffff24;border-radius:16px;background:#151513}
  #bridges .bridge-illustration{display:grid;grid-template-columns:clamp(104px,32%,120px) minmax(0,1fr);gap:14px;align-items:center;border:0;border-radius:0;background:none;overflow:visible}
  #bridges .bridge-thumb{border:1px solid #ffffff24;border-radius:12px;background:#101010}
  #bridges .bridge-illustration figcaption{display:grid;gap:4px;padding:0;border:0;color:#d6d5d0;font-size:15px;line-height:1.4}
  #bridges .bridge-illustration strong{font-size:18px;line-height:1.3}
  #bridges .bridge-explain{max-width:none;padding:16px 0 0;margin-top:16px;border-top:1px solid #ffffff15}
  #bridges .bridge-explain h3{font-size:22px;line-height:1.25}
  #bridges #bridge-description{margin-top:10px}
  #bridges .bridge-example{margin:0 0 6px;color:#ffe500;font-size:15px;font-weight:700;line-height:1.4}

  .route-stations li{grid-template-columns:88px minmax(0,1fr)}
  .route-stations li>div{padding:12px 14px 12px 12px}

  .pricing-note{margin:18px 0 0;color:#deddd8;font-size:16px;line-height:1.5;text-align:center}

  .registration-form-eyebrow{font-size:15px;letter-spacing:.04em}
  .registration-note{font-size:15px}
  .registration-ticket-details{grid-template-columns:1.25fr 1fr .9fr}
  .registration-ticket-details small{font-size:15px;letter-spacing:0;font-weight:600}
  .registration-ticket-details strong{font-size:15px}
  .registration-availability{font-size:15px;color:#d6d5d0}

  .final-cta{padding-block:56px 48px}
  .final-cta .final-art{display:none}
  .final-cta .final-copy .button-accent{display:flex;width:100%;justify-content:space-between}
  .final-cta .final-copy>p{margin-top:18px;color:#deddd8;font-size:16px;line-height:1.55}
}

/* The ticket card leads straight to payment: both formats as buttons (links come from checkout.json). */
.registration-choice{display:grid;gap:10px}
.registration-submit-quiet{background:transparent;color:#faf9f4;border:1px solid #ffffff4d}
.registration-submit-quiet:is(:hover,:focus-visible){border-color:#ffe500;color:#ffe500}
.how-steps span,.week-line,.week-leave li{text-wrap:pretty}
section#results{padding-bottom:0}
section#results .section-heading{margin-bottom:0}
.mobile-day-list li b,.price-card li b,.practitioner li b,.faq details p b,.pain-turn b{font-weight:600}
.mobile-day-list li b,.price-card li b,.practitioner li b,.faq details p b{color:#faf9f4}
.faq details p+p{margin-top:8px}
.registration-telegram-card p+p{margin-top:6px}
#dialog-description span{display:block}
#dialog-description span+span{margin-top:6px}
#dialog-description b{color:#faf9f4;font-weight:600}
section#results .section-heading{padding:22px 20px;border:1px solid #ffffff24;border-radius:24px;background:#151515}
#bridge-description{white-space:pre-line}
.mobile-day-intro b,.mobile-day-tool b,.mobile-day-output b{color:#faf9f4;font-weight:600}
section#results .case-review .case-head{display:flex;align-items:center;gap:14px;margin:0 0 16px}
section#results .case-review .case-avatar{flex:none;width:76px;height:76px;margin:0;border-radius:50%;border:2px solid #ffe500;object-fit:cover}
section#results .case-review .case-head .kicker{margin:0;color:#ffe500}
section#results .case-review .case-who{margin:2px 0 0;color:#faf9f4;font-size:17px;font-weight:600;line-height:1.3}
section#results .case-review .case-label{margin:18px 0 6px;color:#9d9c97;font-size:15px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
section#results .case-review .case-label-after{color:#ffe500}
section#results .case-review .case-list{margin:0;padding:0;list-style:none}
section#results .case-review .case-list li{margin:0 0 6px;color:#d6d5d0;font-size:16px;line-height:1.4;text-wrap:pretty}
section#results .case-review .case-list-after li{color:#faf9f4}
section#results .case-review .case-head .kicker::before{display:none}
section#results .case-review h2{margin:0;font:700 32px/1.12 Oswald,Manrope,sans-serif;text-transform:uppercase;color:#faf9f4;text-wrap:balance}
section#results .case-review h2 span{color:#ffe500}
.bridges .section-heading h2 span{color:#ffe500}
.faq details p{padding-bottom:0}
.faq details p:last-child{padding-bottom:18px}
.faq details p+p{margin-top:8px;padding-top:0}

/* Проверка 31.10: одна кнопка в блоке плюс липкая, цели нажатия и кегль подвала */
.mobile-join{transition:opacity .2s ease,visibility .2s ease}
.mobile-join.is-covered{opacity:0;visibility:hidden;pointer-events:none}
.header .button-small{display:none}
.header .brand,.footer .brand{min-height:44px;display:inline-flex;align-items:center}
.footer span{font-size:15px;line-height:1.4;color:#a8a8a8}
.footer a:not(.brand){min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:15px}
.registration-kicker{font-size:15px}
.registration-summary small{font-size:15px}
