/* Палитра: графит со сливовым оттенком, молочный, коралловый, тёплый жёлтый. */
:root {
  --ink:#201c26;
  --cream:#faf6f1;
  --yellow:#ffd15b;
  --orange:#f05a3c;
  --muted:#68616c;
  --line:#ded6d1;
  --paper:#fffdfb;
  --radius:24px;
  --font:Manrope,Arial,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font:16px/1.65 var(--font);
  -webkit-font-smoothing:antialiased
}
body.modal-open {
  overflow:hidden
}
button,input,textarea {
  font:inherit
}
button,a,input,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  color:inherit;
  cursor:pointer
}
button {
  border:0
}
a {
  color:inherit;
  text-underline-offset:4px
}
img {
  display:block;
  max-width:100%;
  height:auto
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.045em
}
h1 {
  font-size:clamp(42px,5.1vw,72px)
}
h2 {
  font-size:clamp(34px,3.7vw,52px)
}
h3 {
  font-size:23px;
  letter-spacing:-.025em
}
p {
  overflow-wrap:break-word
}
button:disabled {
  opacity:.45;
  cursor:not-allowed
}
:focus-visible {
  outline:3px solid #176bca;
  outline-offset:5px
}
.dark :focus-visible {
  outline-color:var(--yellow)
}
.form-card :focus-visible {
  outline-color:#176bca
}
[hidden] {
  display:none!important
}
.container {
  width:min(1240px,calc(100% - 64px));
  margin-inline:auto
}
.section {
  padding:104px 0
}
.dark {
  background:var(--ink);
  color:var(--cream)
}
.eyebrow {
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:24px
}
.dark .eyebrow {
  color:#e7dce9
}
.highlight {
  color:var(--yellow)
}
.lead {
  font-size:18px;
  line-height:1.7
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  background:var(--yellow);
  color:var(--ink);
  padding:17px 24px;
  border-radius:11px;
  font-weight:800;
  line-height:1.45;
  text-decoration:none;
  text-align:left;
  transition:transform .2s,box-shadow .2s;
  min-height:52px
}
.button:hover {
  transform:translateY(-3px);
  box-shadow:0 7px 0 #201c2619
}
.button>span:last-child {
  font-size:24px;
  flex-shrink:0
}
.button.small {
  font-size:12px;
  padding:12px 16px;
  gap:14px;
  min-height:44px
}
.button.full {
  width:100%;
  margin-top:20px;
  font-size:14px;
  justify-content:space-between
}
.dark-button {
  background:var(--ink);
  color:var(--cream)
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  font-size:14px;
  font-weight:700
}
.text-link span {
  font-size:23px
}
.skip {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:100;
  background:var(--yellow);
  padding:12px
}
.skip:focus {
  top:12px
}
.header {
  background:var(--cream);
  position:sticky;
  top:0;
  z-index:30;
  border-bottom:1px solid #201c2615
}
.header-inner {
  min-height:86px;
  display:flex;
  align-items:center;
  gap:32px;
  justify-content:space-between
}
.brand {
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  gap:0;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.8px;
  text-decoration:none
}
.brand>span:last-child {
  font-weight:500
}
.brand-icon {
  font-size:16px;
  letter-spacing:-2px;
  display:grid;
  place-items:center;
  background:var(--yellow);
  color:var(--ink);
  border:1px solid #201c261f;
  border-radius:9px;
  width:35px;
  height:35px;
  margin-right:9px
}
.header nav {
  display:flex;
  gap:27px
}
.header nav a {
  font-size:12px;
  font-weight:700;
  text-decoration:none
}
.header nav a:hover {
  text-decoration:underline
}
.menu-toggle {
  display:none;
  background:transparent
}
.hero {
  overflow:hidden;
  padding:68px 0 0
}
.hero-grid {
  display:grid;
  grid-template-columns:1.13fr 1fr;
  gap:30px;
  align-items:center;
  min-height:555px
}
.hero-copy {
  position:relative;
  z-index:2;
  padding-bottom:35px
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--yellow);
  border-radius:100%;
  margin-right:9px
}
.hero h1 {
  line-height:1.08
}
.hero .lead {
  max-width:470px;
  color:#ded5e3;
  margin-top:26px;
  font-size:16px
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:32px
}
.hero-actions .button {
  font-size:13px;
  padding:16px 20px;
  gap:20px
}
.hero-meta {
  display:flex;
  gap:20px;
  margin-top:29px;
  font-size:11px;
  color:#d9d0dd
}
.hero-meta span+span:before {
  content:"/";
  margin-right:20px;
  color:#998d9f
}
.hero-art {
  height:540px;
  position:relative
}
.art-parallax {
  height:100%;
  position:relative;
  transform:translate(var(--px,0),var(--py,0));
  transition:transform .3s ease-out
}
.hero-shape {
  position:absolute;
  inset:28px 3px 27px 9px;
  background:var(--orange);
  clip-path:polygon(8% 12%,75% 0,100% 24%,94% 83%,65% 100%,0 86%,3% 49%);
  animation:shape-drift 9s ease-in-out infinite
}
.hero-portrait {
  position:absolute;
  bottom:34px;
  left:8%;
  width:84%;
  height:93%;
  object-fit:contain;
  object-position:bottom;
  filter:drop-shadow(10px 8px 0 #201c2625)
}
.orbit {
  position:absolute;
  inset:30px -12px 30px -5px;
  border:1px solid #faf6f177;
  border-radius:50%;
  transform:rotate(-30deg)
}
.spark {
  position:absolute;
  right:5%;
  top:0;
  font-size:100px;
  color:var(--yellow);
  line-height:1;
  z-index:2
}
.sticker {
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  background:#ffffff;
  color:var(--ink);
  padding:14px 23px;
  box-shadow:4px 5px 0 #00000016;
  transform:rotate(-7deg);
  line-height:1.2
}
.sticker strong {
  font-size:25px;
  font-weight:800;
  letter-spacing:-1px
}
.sticker span {
  font-size:11px;
  margin-top:6px
}
.sticker-one,.sticker-two {
  position:absolute;
  z-index:3;
  animation:float 6s ease-in-out infinite
}
.sticker-one {
  left:-4%;
  top:32%
}
.sticker-two {
  right:-1%;
  bottom:23%;
  --tilt:8deg;
  transform:rotate(8deg);
  animation-delay:-3s
}
.photo-label {
  position:absolute;
  bottom:65px;
  left:42%;
  font-size:10px;
  background:var(--ink);
  color:var(--cream);
  padding:4px 12px;
  border-radius:20px;
  z-index:3
}
.art-caption {
  position:absolute;
  bottom:0;
  left:17%;
  font-size:12px;
  letter-spacing:.02em;
  color:#e7dce9
}
.hero-bottom {
  display:flex;
  justify-content:space-between;
  border-top:1px solid #faf6f12b;
  padding-block:23px;
  margin-top:26px;
  font-size:10px;
  letter-spacing:.12em
}
.hero-bottom a {
  letter-spacing:0;
  text-decoration:none;
  color:#dfd5e3;
  font-size:12px
}
.hero-bottom a span {
  margin-left:30px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:32px;
  margin-bottom:36px
}
.section-heading>p {
  color:var(--muted);
  font-size:15px;
  max-width:340px
}
.goal-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line)
}
.goal-card {
  padding:30px 32px 34px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .2s,transform .2s
}
.goal-card:hover {
  background:#fff0dc;
  transform:translateY(-3px)
}
.goal-icon {
  display:block;
  color:#a22c12;
  font-size:34px;
  line-height:1;
  margin-bottom:24px
}
.goal-card h3 {
  font-size:21px
}
.goal-card p {
  font-size:14px;
  color:var(--muted);
  margin-top:14px;
  max-width:300px
}
.levels {
  position:relative
}
.level-sticker {
  margin-right:30px;
  margin-bottom:25px
}
.section-intro {
  max-width:600px;
  color:#d9d0dd;
  margin-bottom:42px;
  font-size:15px
}
.level-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px
}
.level {
  border-top:1px solid #faf6f14d;
  padding-top:22px;
  position:relative
}
.level:before {
  content:"";
  position:absolute;
  top:-4px;
  left:0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--yellow)
}
.level>span {
  font-size:51px;
  line-height:1.1;
  font-weight:800;
  color:var(--yellow);
  letter-spacing:-2px
}
.level h3 {
  font-size:18px;
  margin-top:24px;
  letter-spacing:-.02em
}
.level p {
  font-size:13px;
  line-height:1.8;
  color:#ddd4e2;
  margin-top:14px
}
.source-note {
  margin-top:45px;
  color:#cfc2d5;
  font-size:11px
}
.source-note a {
  display:inline-block;
  margin-left:12px
}
.catalog-note {
  max-width:790px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:32px
}
.catalog-note strong {
  display:block;
  font-weight:600
}
.course-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start
}
.course-card {
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid #201c261a
}
.group-course {
  background:var(--yellow)
}
.individual-course {
  background:var(--orange)
}
.individual-course .course-toggle {
  color:#201c26
}
.course-toggle {
  display:block;
  width:100%;
  padding:28px 32px 23px;
  background:transparent;
  text-align:left
}
.course-toggle:focus-visible {
  outline-offset:-6px
}
.course-topline,.course-bottomline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:11px;
  font-weight:700
}
.round-arrow {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #201c264d;
  border-radius:50%;
  font-size:24px;
  transition:transform .3s
}
.is-open .round-arrow {
  transform:rotate(90deg)
}
.course-title {
  display:block;
  font-size:40px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:-1.7px;
  margin-top:20px;
  min-height:88px
}
.course-toggle img {
  width:100%;
  height:215px;
  object-fit:contain;
  margin:12px 0
}
.course-bottomline {
  border-top:1px solid #201c264d;
  padding-top:20px
}
.toggle-label {
  white-space:nowrap;
  text-decoration:underline;
  text-underline-offset:4px
}
.individual-art {
  height:215px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  margin:12px 0;
  color:var(--cream);
  gap:20px
}
.one {
  font-size:160px;
  line-height:1;
  font-weight:800;
  letter-spacing:-10px
}
.cross {
  font-size:76px;
  font-weight:400
}
.mini-sticker {
  position:absolute;
  bottom:30px;
  right:5px;
  transform:rotate(-9deg);
  background:var(--cream);
  color:var(--ink);
  font-weight:800;
  font-size:15px;
  padding:5px 14px;
  box-shadow:3px 3px 0 #201c2620
}
.price-panel {
  display:grid;
  grid-template-rows:0fr;
  visibility:hidden;
  transition:grid-template-rows .4s,visibility .4s
}
.price-panel-inner {
  overflow:hidden;
  min-height:0
}
.is-open .price-panel {
  grid-template-rows:1fr;
  visibility:visible
}
.price-content {
  background:var(--paper);
  margin:0 10px 10px;
  padding:24px;
  border-radius:16px
}
.segmented {
  display:flex;
  padding:4px;
  background:#ece6ef;
  border-radius:10px;
  gap:3px
}
.segmented button {
  flex:1;
  background:transparent;
  padding:10px 8px;
  border-radius:7px;
  font-size:11px;
  font-weight:700
}
.segmented button[aria-pressed=true] {
  background:var(--ink);
  color:var(--cream)
}
.price-caption {
  font-size:12px;
  color:var(--muted);
  margin:15px 0
}
.plan {
  padding:22px 0;
  border-top:1px solid var(--line)
}
.plan h3 {
  font-size:18px;
  letter-spacing:-.02em
}
.plan .price {
  font-size:25px;
  font-weight:800;
  line-height:1.35;
  margin:10px 0 2px;
  letter-spacing:-.04em
}
.price small {
  font-size:12px;
  letter-spacing:0;
  font-weight:500
}
.plan p {
  font-size:12px;
  color:var(--muted);
  margin-top:5px
}
.plan .gift {
  color:var(--ink);
  background:#fff0d0;
  padding:10px 12px;
  margin-top:13px;
  border-radius:8px
}
.interaction-hint {
  font-size:11px;
  color:var(--muted);
  margin-top:20px
}
.quiz-banner {
  padding:76px 0;
  background:var(--yellow);
  overflow:hidden
}
.quiz-banner-inner {
  display:grid;
  grid-template-columns:1fr .7fr;
  align-items:center
}
.quiz-banner h2 {
  font-size:clamp(36px,4vw,56px)
}
.quiz-banner p:not(.eyebrow) {
  max-width:530px;
  font-size:15px;
  margin-top:22px
}
.quiz-banner .quiz-disclaimer {
  font-size:12px!important;
  font-weight:700;
  margin-top:10px!important
}
.quiz-banner .button {
  margin-top:28px;
  min-width:170px;
  justify-content:space-between
}
.quiz-art {
  position:relative;
  display:grid;
  place-items:center;
  height:310px
}
.question-mark {
  font-size:330px;
  line-height:1;
  font-weight:800;
  transform:rotate(14deg);
  color:var(--orange)
}
.quiz-art .sticker {
  position:absolute;
  bottom:28px;
  left:16%;
  transform:rotate(-9deg)
}
.selection {
  flex-shrink:0;
  border-left:2px solid var(--orange);
  padding-left:18px
}
.selection strong {
  display:block;
  font-size:35px;
  font-weight:800;
  line-height:1.3
}
.selection>span {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:7px
}
.principles {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  border-block:1px solid var(--line);
  padding:22px 0;
  margin-bottom:36px
}
.principles p {
  font-size:12px;
  line-height:1.6
}
.principles span {
  display:block;
  color:#a22c12;
  font-size:22px;
  margin-bottom:7px
}
.teacher-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
.teacher-photo {
  position:relative;
  overflow:hidden;
  background:#e9dff2;
  border-radius:120px 120px 16px 16px;
  height:315px
}
.teacher-photo img {
  height:100%;
  width:100%;
  object-fit:contain;
  object-position:bottom;
  transition:transform .5s
}
.teacher:hover img {
  transform:scale(1.04)
}
.teacher:nth-child(2) .teacher-photo {
  background:#eb9b74;
  border-radius:16px 120px 16px 16px
}
.teacher:nth-child(3) .teacher-photo {
  background:var(--yellow);
  border-radius:120px 16px 16px 16px
}
.teacher-photo>span {
  position:absolute;
  bottom:14px;
  left:18px;
  font-size:11px;
  background:var(--cream);
  padding:4px 12px;
  border-radius:20px
}
.teacher h3 {
  margin-top:22px;
  font-size:23px
}
.teacher p {
  font-size:12px;
  color:var(--muted);
  margin-top:7px
}
.signup {
  padding-bottom:0;
  overflow:hidden
}
.signup-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start
}
.signup-copy .lead {
  font-size:15px;
  color:#d9d0dd;
  margin-top:22px;
  max-width:450px
}
.signup-art {
  position:relative;
  height:280px;
  max-width:430px;
  margin-top:20px
}
.signup-art:before {
  content:"";
  position:absolute;
  inset:35px 50px -100px 20px;
  background:var(--orange);
  border-radius:50% 50% 0 0;
  transform:rotate(-12deg)
}
.signup-art img {
  height:340px;
  width:280px;
  object-fit:contain;
  position:absolute;
  bottom:-55px;
  left:50px
}
.signup-art .sticker {
  position:absolute;
  right:0;
  top:70px;
  transform:rotate(7deg)
}
.signup-art .photo-label {
  bottom:24px;
  left:150px
}
.form-card {
  background:var(--cream);
  color:var(--ink);
  border-radius:24px;
  padding:35px;
  margin-bottom:64px
}
.form-card h3 {
  font-size:26px
}
.form-card>p {
  font-size:13px;
  color:var(--muted);
  margin:12px 0 22px
}
.trial-form {
  display:grid;
  gap:16px
}
.field {
  display:grid;
  gap:7px;
  font-size:12px;
  font-weight:700
}
.field input {
  width:100%;
  padding:13px 15px;
  border:1px solid #b6aeb8;
  background:var(--paper);
  border-radius:8px;
  min-height:48px;
  color:var(--ink);
  font-size:15px
}
.field input::placeholder {
  color:#746b77
}
.field input[aria-invalid=true] {
  border-color:#ab2811;
  outline:1px solid #ab2811
}
.field-hint {
  font-size:10px;
  font-weight:500;
  color:var(--muted)
}
.consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:10px;
  line-height:1.7
}
.consent input {
  appearance:auto;
  flex-shrink:0;
  accent-color:var(--ink);
  width:18px;
  height:18px;
  margin:0;
  margin-top:1px
}
.form-note {
  font-size:10px;
  color:var(--muted);
  line-height:1.7
}
.form-status {
  font-size:12px;
  font-weight:600;
  color:#8b240f
}
.form-status:empty {
  display:none
}
.telegram-fallback {
  padding:15px;
  background:#f1e9e4;
  border-radius:10px
}
.telegram-fallback p {
  font-size:12px;
  margin-bottom:10px
}
.telegram-fallback textarea {
  display:block;
  width:100%;
  min-height:110px;
  padding:10px;
  font-size:12px;
  color:var(--ink);
  border:1px solid #b6aeb8;
  resize:vertical;
  margin:8px 0 12px
}
.fallback-actions {
  display:flex;
  gap:15px;
  align-items:center;
  flex-wrap:wrap;
  font-size:12px
}
.copy-message {
  padding:8px;
  background:var(--ink);
  color:var(--cream);
  border-radius:5px
}
.footer {
  position:relative;
  z-index:2
}
.footer-inner {
  border-top:1px solid #faf6f133;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding-block:30px
}
.footer .brand {
  font-size:17px
}
.footer a:not(.brand),.footer span:last-child:not(.brand span) {
  font-size:10px;
  color:#d9d0dd
}
.footer .brand>span:last-child {
  font-size:17px;
  color:inherit
}
.footer .brand-icon {
  color:var(--ink)
}
dialog {
  border:0;
  border-radius:24px;
  padding:36px;
  background:var(--cream);
  color:var(--ink);
  width:min(500px,calc(100% - 24px));
  max-height:90dvh;
  overflow-y:auto;
  box-shadow:0 20px 90px #0005
}
dialog::backdrop {
  background:#171304bf;
  backdrop-filter:blur(5px)
}
dialog h2 {
  font-size:34px
}
dialog>.eyebrow {
  font-size:10px;
  margin-right:25px
}
dialog>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  margin:16px 0 24px
}
.dialog-close {
  position:absolute;
  top:14px;
  right:14px;
  background:transparent;
  font-size:28px;
  width:40px;
  height:40px;
  border-radius:50%;
  line-height:1
}
.dialog-close:hover {
  background:#ede3ec
}
.noscript {
  padding:20px;
  background:var(--yellow);
  color:var(--ink)
}
.back-home {
  font-size:12px;
  font-weight:700
}
.test-main {
  display:grid;
  grid-template-columns:.7fr 1fr;
  gap:100px;
  padding-top:75px;
  padding-bottom:80px;
  align-items:start;
  min-height:calc(100dvh - 160px)
}
.test-intro h1 {
  font-size:clamp(46px,5vw,68px)
}
.test-intro h1 span {
  color:#b43215
}
.test-intro>p:not(.eyebrow) {
  max-width:320px;
  font-size:14px;
  color:var(--muted);
  margin-top:24px
}
.test-intro .sticker {
  margin-top:35px
}
.test-intro .quiz-disclaimer {
  font-size:11px!important;
  margin-top:38px!important
}
.quiz-shell {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:24px;
  padding:36px;
  min-height:500px
}
.quiz-progress-meta {
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
  margin-bottom:12px
}
.quiz-shell progress {
  display:block;
  width:100%;
  height:5px;
  border:0;
  background:#e8dfe9;
  accent-color:var(--orange);
  margin-bottom:34px;
  border-radius:3px
}
.quiz-shell progress::-webkit-progress-bar {
  background:#e8dfe9;
  border-radius:3px
}
.quiz-shell progress::-webkit-progress-value {
  background:var(--orange);
  border-radius:3px
}
.quiz-shell progress::-moz-progress-bar {
  background:var(--orange)
}
.quiz-shell fieldset {
  border:0;
  margin:0;
  padding:0;
  min-width:0
}
.quiz-shell legend {
  font-size:26px;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.3;
  margin-bottom:12px;
  padding:0
}
.question-help {
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px
}
.quiz-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.quiz-option {
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid var(--line);
  padding:15px 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  min-height:62px
}
.quiz-option:hover {
  background:#fff0dc
}
.quiz-option:has(input:checked) {
  border-color:var(--ink);
  background:var(--yellow)
}
.quiz-option input {
  accent-color:var(--ink);
  width:16px;
  height:16px;
  flex-shrink:0;
  margin:0
}
.quiz-nav {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:30px
}
.back-button,.restart-button {
  background:transparent;
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:4px;
  min-height:44px;
  padding:6px 10px
}
.quiz-nav .button {
  font-size:13px;
  padding:13px 20px
}
.result-kicker {
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:20px;
  color:var(--muted)
}
.result h2 {
  font-size:33px
}
.result-price {
  font-size:31px;
  font-weight:800;
  letter-spacing:-.04em;
  margin:20px 0 5px
}
.result p {
  font-size:13px;
  margin-top:14px
}
.result .result-reason {
  background:#fff0d0;
  padding:16px;
  border-radius:10px;
  margin:22px 0
}
.result dl {
  font-size:12px;
  margin-top:22px
}
.result dl>div {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:12px;
  border-top:1px solid var(--line);
  padding:8px 0
}
.result dt {
  color:var(--muted)
}
.result dd {
  margin:0;
  font-weight:600
}
.result .button {
  font-size:13px;
  margin-top:20px
}
.result .restart-button {
  display:block;
  margin-top:16px
}
.result-small {
  color:var(--muted);
  font-size:11px!important
}
.test-footer {
  border-top:1px solid var(--line);
  padding-block:24px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  color:var(--muted)
}
.legal {
  max-width:800px
}
.legal h1 {
  font-size:40px
}
.legal p {
  margin-top:24px
}
.legal .button {
  margin-top:30px
}
/* JS добавляет reveal-ready только при работающем IntersectionObserver. */
.reveal-ready {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s,transform .65s
}
.reveal-ready.visible {
  opacity:1;
  transform:translateY(0)
}
@keyframes float {
  0%,100% {
    translate:0 0
  }
  50% {
    translate:0 -10px
  }
}
@keyframes shape-drift {
  0%,100% {
    transform:rotate(-3deg)
  }
  50% {
    transform:rotate(1deg)
  }
}
@media(min-width:1440px) {
  .hero {
    padding-top:85px
  }
  .hero-grid {
    min-height:600px
  }
}
@media(max-width:1100px) {
  .container {
    width:calc(100% - 48px)
  }
  .header-inner {
    gap:18px
  }
  .header nav {
    gap:18px
  }
  .header-cta {
    display:none
  }
  .hero-grid {
    gap:15px
  }
  .hero h1 {
    font-size:52px
  }
  .hero-art {
    height:480px
  }
  .hero-actions {
    gap:20px;
    flex-wrap:wrap
  }
  .sticker-one {
    left:-5%
  }
  .sticker strong {
    font-size:22px
  }
  .course-title {
    font-size:34px
  }
  .course-toggle {
    padding-inline:24px
  }
  .course-bottomline {
    font-size:10px
  }
  .signup-grid {
    gap:40px
  }
  .test-main {
    gap:50px
  }
  .footer-inner {
    flex-wrap:wrap
  }
  .principles {
    gap:18px
  }
}
@media(max-width:760px) {
  html {
    scroll-padding-top:84px
  }
  .container {
    width:calc(100% - 40px)
  }
  .section {
    padding:68px 0
  }
  .header-inner {
    min-height:72px;
    flex-wrap:wrap;
    gap:0
  }
  .brand {
    font-size:19px
  }
  .menu-toggle {
    display:flex;
    gap:10px;
    align-items:center;
    min-height:44px;
    padding:8px 0 8px 15px;
    font-size:12px;
    font-weight:700
  }
  .menu-toggle span {
    font-size:18px
  }
  .header nav {
    display:none;
    flex-basis:100%;
    padding:12px 0 22px;
    flex-wrap:wrap;
    gap:22px
  }
  .header nav.is-open {
    display:flex
  }
  .header nav a {
    min-height:30px;
    display:flex;
    align-items:center
  }
  .hero {
    padding-top:42px
  }
  .hero-grid {
    grid-template-columns:1fr;
    gap:0
  }
  .hero h1 {
    font-size:clamp(39px,7.7vw,59px)
  }
  .hero .eyebrow {
    font-size:10px;
    margin-bottom:22px
  }
  .hero .lead {
    max-width:480px;
    margin-top:22px;
    font-size:15px
  }
  .hero-copy {
    padding-bottom:0
  }
  .hero-actions {
    margin-top:26px;
    gap:20px
  }
  .hero-actions .button {
    font-size:12px;
    padding:15px 17px;
    gap:18px
  }
  .hero-actions .text-link {
    font-size:12px
  }
  .hero-meta {
    font-size:10px;
    gap:12px;
    margin-top:24px
  }
  .hero-meta span+span:before {
    margin-right:12px
  }
  .hero-art {
    height:420px;
    width:min(440px,100%);
    margin:34px auto 0
  }
  .sticker-one {
    left:0
  }
  .sticker-two {
    right:0
  }
  .hero-bottom {
    margin-top:25px;
    padding-block:20px;
    gap:15px
  }
  .hero-bottom>span {
    font-size:8px;
    max-width:110px
  }
  .hero-bottom a {
    font-size:10px
  }
  .hero-bottom a span {
    margin-left:10px
  }
  .hero-portrait {
    left:9%;
    width:82%
  }
  .art-caption {
    font-size:11px;
    left:19%
  }
  .spark {
    font-size:80px
  }
  .section-heading {
    display:block;
    margin-bottom:28px
  }
  .section-heading>p {
    margin-top:22px;
    font-size:14px
  }
  .eyebrow {
    font-size:10px;
    margin-bottom:20px
  }
  h2 {
    font-size:36px
  }
  .goal-grid {
    grid-template-columns:1fr 1fr
  }
  .goal-card {
    padding:24px 18px
  }
  .goal-icon {
    font-size:28px;
    margin-bottom:20px
  }
  .goal-card h3 {
    font-size:17px;
    letter-spacing:-.025em
  }
  .goal-card p {
    font-size:12px;
    margin-top:12px
  }
  .level-sticker {
    margin-top:32px;
    margin-left:8px;
    margin-bottom:6px
  }
  .level-grid {
    grid-template-columns:1fr 1fr;
    gap:30px 22px
  }
  .section-intro {
    font-size:13px
  }
  .level h3 {
    font-size:16px;
    margin-top:16px
  }
  .level p {
    font-size:12px
  }
  .level>span {
    font-size:44px
  }
  .source-note a {
    margin-left:0;
    margin-top:8px
  }
  .course-grid {
    grid-template-columns:1fr;
    gap:22px
  }
  .course-title {
    font-size:38px;
    min-height:84px
  }
  .course-toggle img,.individual-art {
    height:200px
  }
  .course-topline,.course-bottomline {
    font-size:11px
  }
  .catalog-note {
    font-size:12px
  }
  .price-content {
    padding:20px
  }
  .interaction-hint {
    font-size:10px
  }
  .quiz-banner {
    padding:58px 0
  }
  .quiz-banner-inner {
    grid-template-columns:1fr
  }
  .quiz-banner h2 {
    font-size:37px
  }
  .quiz-banner p:not(.eyebrow) {
    font-size:14px
  }
  .quiz-art {
    display:none
  }
  .selection {
    margin-top:28px
  }
  .principles {
    grid-template-columns:1fr 1fr;
    gap:22px
  }
  .teacher-grid {
    gap:16px;
    grid-template-columns:1fr
  }
  .teacher {
    display:grid;
    grid-template-columns:130px 1fr;
    column-gap:24px;
    align-content:center;
    padding-bottom:20px;
    border-bottom:1px solid var(--line)
  }
  .teacher-photo {
    grid-row:1/4;
    height:160px;
    border-radius:60px 60px 8px 8px!important
  }
  .teacher h3 {
    font-size:21px;
    margin-top:26px
  }
  .teacher p {
    font-size:12px
  }
  .teacher-photo>span {
    left:12px;
    bottom:8px;
    font-size:9px
  }
  .signup {
    padding-bottom:0
  }
  .signup-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .signup-art {
    display:none
  }
  .form-card {
    padding:24px;
    margin-bottom:46px
  }
  .form-card h3 {
    font-size:24px
  }
  .signup-copy .lead {
    font-size:14px
  }
  .footer-inner {
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px 10px;
    padding-block:26px
  }
  .footer a:nth-child(3) {
    grid-column:1/-1;
    grid-row:2
  }
  .footer-inner>span:last-child {
    grid-column:1/-1
  }
  .footer .brand {
    font-size:16px
  }
  .footer .brand>span:last-child {
    font-size:16px
  }
  .test-main {
    grid-template-columns:1fr;
    gap:30px;
    padding-top:36px;
    padding-bottom:44px
  }
  .test-intro h1 {
    font-size:40px
  }
  .test-intro h1 br {
    display:none
  }
  .test-intro h1 br:after {
    content:" "
  }
  .test-intro h1 span:before {
    content:" "
  }
  .test-intro>p:not(.eyebrow) {
    max-width:100%;
    font-size:13px;
    margin-top:16px
  }
  .test-intro .sticker {
    display:none
  }
  .test-intro .quiz-disclaimer {
    margin-top:16px!important
  }
  .test-intro .quiz-disclaimer br {
    display:none
  }
  .quiz-shell {
    padding:24px 20px;
    min-height:0
  }
  .quiz-options {
    gap:10px
  }
  .quiz-option {
    font-size:12px;
    padding:13px 10px
  }
  .quiz-shell legend {
    font-size:24px
  }
  .quiz-progress-meta {
    font-size:10px
  }
  .test-footer {
    flex-wrap:wrap
  }
  .legal h1 {
    font-size:32px
  }
  .result h2 {
    font-size:30px
  }
}
@media(max-width:390px) {
  .container {
    width:calc(100% - 32px)
  }
  .hero h1 {
    font-size:39px;
    letter-spacing:-.055em
  }
  .hero-actions {
    gap:18px
  }
  .hero-actions .button {
    width:100%;
    justify-content:space-between
  }
  .desktop-break {
    display:none
  }
  .hero-art {
    height:370px
  }
  .sticker {
    padding:12px 17px
  }
  .sticker strong {
    font-size:20px
  }
  .hero-meta {
    font-size:9px
  }
  .course-title {
    font-size:33px
  }
  .course-toggle {
    padding-inline:20px
  }
  .course-bottomline {
    font-size:9px
  }
  .segmented button {
    font-size:10px
  }
  .quiz-options {
    grid-template-columns:1fr
  }
  .header .brand {
    font-size:17px
  }
  .back-home {
    font-size:10px
  }
  .quiz-nav .button {
    padding:12px 14px;
    gap:10px
  }
  dialog {
    padding:27px 22px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
  .art-parallax {
    transform:none!important
  }
  .reveal-ready {
    opacity:1;
    transform:none
  }
  .button:hover,.goal-card:hover,.teacher:hover img {
    transform:none
  }
}
/* Обновлённый фирменный знак и навигация. */
.brand {gap:10px;letter-spacing:-.7px}
.brand-mark {width:42px;height:42px;flex-shrink:0}
.brand-wordmark {font-size:19px!important;font-weight:800!important;line-height:1.1;color:inherit!important}
.brand-wordmark>span {display:block;font-size:17px;letter-spacing:.035em;font-weight:500;color:#a93324;margin-top:3px}
.dark .brand-wordmark>span,.school-header .brand-wordmark>span {color:#ffb597}
.school-header {background:var(--ink);color:var(--cream);border-bottom:1px solid #ffffff1c}
.school-header .header-inner {min-height:88px}
.school-header #navigation {gap:28px;margin-left:auto}
.school-header nav button {font-size:12px;font-weight:700;color:inherit;background:transparent;padding:11px 0;text-align:left;min-height:44px;transition:color .2s}
.school-header nav button:hover {color:var(--yellow);text-decoration:underline;text-underline-offset:7px}
.login-link {display:flex;align-items:center;gap:26px;padding:10px 19px;border:1px solid #ffffff59;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700;min-height:44px;margin-left:16px}
.login-link:hover {background:var(--cream);color:var(--ink)}
.course-subnav {display:flex;align-items:center;justify-content:center;gap:35px;border-top:1px solid #ffffff21;padding-block:4px}
.school-header :focus-visible {outline-color:var(--yellow)}
html {scroll-padding-top:160px}
.hero {padding-top:55px}
.hero-shape {background:#f05a3c}
.hero-art .hero-portrait {width:87%;left:7%}
.signup-art:before {background:#c5add9}
.signup-art img {width:295px;height:345px;bottom:-50px;left:42px}
.form-card {background:#fffaf7}
.teacher-overview {display:grid;grid-template-columns:.85fr 1.15fr;gap:72px;align-items:center}
.teacher-editorial {position:relative;background:#e9ddf0;border-radius:24px;padding:38px;min-height:480px;overflow:hidden;color:var(--ink)}
.editorial-kicker {font-size:10px;letter-spacing:.13em;font-weight:800}
.editorial-number {font-size:150px;line-height:1.2;letter-spacing:-.08em;font-weight:800;margin:10px 0 15px;color:#6f4088}
.editorial-number>span {font-size:74px;color:var(--ink);letter-spacing:-.09em}
.teacher-editorial>p {font-size:20px;line-height:1.5;position:relative;z-index:1}
.teacher-editorial>p strong {font-weight:800}
.editorial-sticker {position:absolute;bottom:37px;right:25px;background:#fff;padding:13px 20px;transform:rotate(-8deg);box-shadow:3px 5px 0 #201c2610;display:flex;flex-direction:column}
.editorial-sticker>span {font-size:21px;font-weight:800;letter-spacing:-.04em}
.editorial-sticker>small {font-size:11px}
.editorial-star {position:absolute;right:18px;top:67px;font-size:100px;color:#885b9d;line-height:1}
.teacher-copy h2 {font-size:clamp(30px,3.25vw,44px)}
.teacher-selection {margin:25px 0 28px;font-size:15px;line-height:1.8;padding-left:19px;border-left:3px solid var(--orange)}
.teacher-selection strong {font-weight:800;font-size:22px}
.teacher-principles {list-style:none;padding:0;margin:0;display:grid;gap:22px}
.teacher-principles li {position:relative;padding-left:28px}
.teacher-principles li:before {content:'↗';position:absolute;left:0;top:-4px;color:#a73a29;font-size:21px}
.teacher-principles h3 {font-size:17px;letter-spacing:-.025em;margin-bottom:8px;line-height:1.4}
.teacher-principles p {font-size:13px;color:var(--muted);line-height:1.7}
.footer-main {display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:60px;padding-block:56px;border-top:1px solid #ffffff26}
.footer-brand-block>p {font-size:13px;color:#d9d0dd;margin:20px 0}
.footer-contact {font-size:13px!important;color:var(--cream)!important}
.footer .brand {font-size:19px}
.footer .brand>span:last-child {font-size:19px;color:inherit}
.footer-caption {font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#bbaec4;margin-bottom:14px}
.footer-menu {display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.footer-menu button {background:transparent;color:var(--cream);font-size:14px;padding:9px 0;min-height:44px;text-align:left}
.footer-menu button:hover {color:var(--yellow);text-decoration:underline;text-underline-offset:5px}
.footer-bottom {border-top:1px solid #ffffff26;display:flex;justify-content:space-between;gap:25px;padding-block:24px;font-size:11px;color:#cfc2d5}
.footer-bottom a {font-size:11px!important;color:#cfc2d5!important}
.nav-notice {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--cream);padding:15px 24px;border:1px solid #cfc2d5;border-radius:12px;max-width:calc(100% - 32px);width:max-content;font-size:13px;z-index:80;box-shadow:0 10px 40px #201c2633}
/* Страница входа повторяет композицию образца, сохраняя фирменный стиль школы. */
.login-page {min-height:100dvh;background:#faf6f1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px 28px}
.login-back {position:absolute;top:25px;left:32px;font-size:12px;font-weight:700;text-decoration:none;min-height:44px;display:flex;align-items:center}
.login-card {width:100%;max-width:450px;background:#fff;border:1px solid #eee7e2;border-radius:24px;padding:38px 34px;box-shadow:0 12px 60px #201c2605}
.login-brand {justify-content:center;width:100%;margin-bottom:28px;gap:16px}
.login-brand .brand-mark {width:66px;height:66px}
.login-brand .brand-wordmark {font-size:27px!important}
.login-brand .brand-wordmark>span {font-size:24px}
.login-card h1 {font-size:25px;letter-spacing:-.035em;text-align:center}
.login-intro {font-size:12px;color:var(--muted);text-align:center;margin:10px 0 25px}
#login-form>.field {margin-bottom:7px}
#login-form>.field:first-child {margin-bottom:16px}
.login-card input {border:1px solid #d4cdd5;border-radius:24px;background:#fff;box-shadow:0 2px 3px #201c2606 inset;padding:13px 17px;font-size:13px;width:100%;min-height:47px;color:var(--ink)}
.password-field {position:relative}
.password-field input {padding-right:50px}
#password-toggle {position:absolute;right:4px;top:3px;width:41px;height:41px;display:grid;place-items:center;color:#68616c;background:transparent;border-radius:50%}
#password-toggle:hover {background:#f1ebf4}
.forgot-password {display:block;margin:9px 0 17px auto;font-size:11px;color:var(--muted);background:transparent;padding:8px 0;min-height:36px}
.forgot-password:hover {text-decoration:underline}
.login-submit {width:100%;border-radius:28px;justify-content:center;background:#67428e;color:#fff;min-height:52px;font-size:14px}
#login-status {font-size:11px;line-height:1.7;color:var(--muted);text-align:center;margin-top:16px}
.login-support {border-top:1px solid #ede5ee;margin-top:25px;padding-top:23px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px}
.login-support>span {color:var(--muted);font-size:11px}
.login-support>a {font-weight:700;color:#67428e}
.login-copyright {font-size:10px;color:var(--muted);margin-top:27px}
@media(max-width:1100px){.school-header #navigation{gap:20px}.course-subnav{gap:24px}.teacher-overview{gap:40px}.teacher-editorial{padding:28px}.editorial-sticker{bottom:28px}}
@media(max-width:760px){
  html{scroll-padding-top:100px}
  .school-header .header-inner{min-height:82px;gap:8px}
  .school-header .brand{margin-right:auto;gap:7px}
  .school-header .brand-mark{width:34px;height:34px}
  .school-header .brand-wordmark{font-size:16px!important}
  .school-header .brand-wordmark>span{font-size:14px}
  .school-header .menu-toggle{font-size:11px;padding:7px;gap:6px}
  .login-link{padding:7px 10px;font-size:11px;gap:8px;margin-left:0}
  .school-header #navigation{order:4;margin-left:0;gap:8px 24px;flex-basis:100%;padding-bottom:9px}
  .school-header .course-subnav{display:none;gap:4px 22px;flex-wrap:wrap;justify-content:flex-start;padding-bottom:14px}
  .school-header.menu-open .course-subnav{display:flex}
  .school-header nav button{font-size:12px;min-height:40px}
  .hero{padding-top:40px}
  .signup-art{display:block;height:250px;max-width:340px;margin:25px auto 0}
  .signup-art:before{inset:20px 30px 0;border-radius:50% 50% 12px 12px;transform:none}
  .signup-art img{height:260px;width:240px;bottom:0;left:25px}
  .signup-art .sticker{top:80px;right:0}
  .teacher-overview{grid-template-columns:1fr;gap:32px}
  .teacher-editorial{order:2;min-height:350px;padding:26px}
  .teacher-copy h2{font-size:34px}
  .teacher-selection{font-size:14px;margin-block:24px}
  .editorial-number{font-size:110px;margin-block:5px;line-height:1.1}
  .editorial-number>span{font-size:58px}
  .editorial-star{font-size:78px;top:60px}
  .teacher-editorial>p{font-size:17px;margin-top:20px}
  .editorial-sticker{padding:9px 14px;right:20px;bottom:21px}
  .editorial-sticker>span{font-size:18px}
  .footer-main{grid-template-columns:1fr 1fr;gap:34px 20px;padding-block:36px}
  .footer-brand-block{grid-column:1/-1}
  .footer-brand-block>p{margin-block:16px}
  .footer-bottom{flex-direction:column;gap:12px;padding-block:22px}
  .footer-menu button{font-size:13px}
  .login-page{padding:85px 16px 26px}
  .login-card{padding:30px 23px}
  .login-back{left:20px;top:16px}
  .login-brand .brand-wordmark{font-size:25px!important}
  .login-brand .brand-wordmark>span{font-size:22px}
  .login-brand .brand-mark{width:58px;height:58px}
}
@media(max-width:390px){.school-header .container{width:calc(100% - 24px)}.school-header .menu-toggle{padding-inline:3px;gap:4px}.school-header .login-link{padding-inline:8px;gap:5px}.teacher-copy h2{font-size:30px}.editorial-sticker{bottom:15px}.teacher-editorial>p{font-size:16px}}

.school-header .course-subnav {position:relative;display:flex;justify-content:center;padding-block:0;overflow:visible}
.catalog-dropdown {position:relative;width:100%;display:flex;justify-content:center}
.school-header .catalog-trigger {display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 24px;font-size:14px}
.catalog-trigger svg {transition:transform .24s ease}
.catalog-dropdown.is-open .catalog-trigger svg {transform:rotate(180deg)}
.catalog-dropdown.is-open .catalog-trigger {color:var(--yellow)}
.catalog-panel {position:absolute;top:100%;left:50%;width:min(720px,100%);transform:translate(-50%,-8px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease,transform .24s ease,visibility .24s;z-index:100}
.catalog-dropdown.is-open .catalog-panel {opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.catalog-panel-inner {background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:0 0 22px 22px;box-shadow:0 20px 44px #201c2626;padding:26px}
.catalog-label {font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:var(--muted);margin:0 0 12px}
.catalog-links {display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}
.school-header .catalog-links a {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border-radius:12px;color:var(--ink);text-decoration:none;transition:background .2s}
.catalog-links a:hover,.catalog-links a:focus-visible {background:#f0e6f4}
.catalog-links strong {display:block;font-size:15px;margin-bottom:5px}
.catalog-links small {display:block;font-size:11px;line-height:1.5;font-weight:400;color:var(--muted)}
.school-header .catalog-help {display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink);font-size:12px;border-top:1px solid var(--line);margin-top:16px;padding:20px 14px 0;text-decoration:none}
.catalog-help:hover {text-decoration:underline}
.editorial-dialogue {height:180px;position:relative;margin:28px 0 18px;max-width:350px}
.editorial-dialogue>span {display:block;position:absolute;font-size:clamp(24px,3vw,38px);font-weight:800;letter-spacing:-.05em;border-radius:20px;padding:13px 23px}
.editorial-dialogue>span:first-child {background:#72418a;color:#fffdfb;left:0;top:0;transform:rotate(-5deg);border-bottom-left-radius:3px}
.editorial-dialogue>span:last-child {background:#fffdfb;color:#201c26;right:0;bottom:10px;transform:rotate(4deg);border-bottom-right-radius:3px;box-shadow:0 8px 0 #72418a18}
.footer-menu a {color:var(--cream);font-size:14px;padding:9px 0;min-height:44px;text-decoration:none;text-align:left}
.footer-menu a:hover {color:var(--yellow);text-decoration:underline;text-underline-offset:5px}
.course-masthead {padding:30px 0 76px;background:#f0e7f4;border-bottom:1px solid #ded0e5}
.breadcrumbs {display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:56px}
.breadcrumbs a {color:inherit;text-decoration:none}
.breadcrumbs a:hover {color:var(--ink);text-decoration:underline}
.course-intro-grid {display:grid;grid-template-columns:1.5fr 1fr;gap:80px;align-items:center}
.course-intro-grid h1 {font-size:clamp(38px,4.5vw,64px);line-height:1.06;letter-spacing:-.055em;margin:0 0 24px}
.course-intro-grid .lead {font-size:17px;line-height:1.75;max-width:650px;margin-bottom:28px}
.course-tags {display:flex;flex-wrap:wrap;gap:10px}
.course-tags span {border:1px solid #bfb0c8;border-radius:999px;padding:8px 16px;font-size:12px;font-weight:600}
.course-word-art {min-height:310px;background:var(--yellow);border-radius:90px 20px 90px 20px;padding:56px 36px 32px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;transform:rotate(3deg);position:relative;box-shadow:12px 12px 0 #d5c2e0}
.course-word-art strong {font-size:clamp(28px,3vw,42px);letter-spacing:-.05em;line-height:1.15;overflow-wrap:anywhere;margin-bottom:16px}
.course-word-art>span:not(.word-star) {font-size:16px}
.course-word-art small {font-size:10px;letter-spacing:.15em;margin-top:40px}
.word-star {position:absolute;right:24px;top:8px;font-size:62px;color:#72418a;line-height:1}
.course-detail h2,.course-next h2 {font-size:clamp(30px,3.6vw,48px)}
.tariff-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tariff-card {border:1px solid var(--line);border-radius:24px;background:var(--paper);padding:32px;display:flex;flex-direction:column;align-items:flex-start}
.tariff-card h3 {font-size:24px;letter-spacing:-.04em;margin:0 0 14px}
.tariff-duration {min-height:52px;margin:0 0 24px;font-size:14px;color:var(--muted)}
.tariff-card .price {font-size:32px;margin:0 0 12px;line-height:1.3}
.tariff-card .price small {font-size:13px;white-space:nowrap}
.tariff-unit {font-size:12px;color:var(--muted);margin:0 0 18px}
.tariff-card .gift {width:100%;margin:0 0 24px}
.tariff-card .button {margin-top:auto;font-size:14px;min-height:56px;padding:16px 20px}
.offer-card p:not(.eyebrow) {font-size:16px;line-height:1.8;margin:0 0 28px}
.offer-card .text-link {margin-top:auto}
.course-status {max-width:780px;padding:44px;border:1px solid var(--line);border-radius:24px;background:var(--paper)}
.course-status h3 {font-size:30px;line-height:1.2;margin:24px 0 20px;letter-spacing:-.04em}
.course-status p {color:var(--muted);margin-bottom:28px}
.course-status .text-link {display:block;margin-top:24px}
.status-label {font-size:12px;padding:8px 14px;border-radius:20px;background:#f0e7f4;color:#67428e}
.single-column {grid-template-columns:1fr}
.course-next {padding:56px 0;background:var(--yellow)}
.course-next>.container {display:flex;gap:40px;align-items:center;justify-content:space-between}
.course-next h2 {margin:0 0 16px}
.course-next p:last-child {margin-bottom:0}
.course-next .button {flex-shrink:0}
@media(max-width:760px) {
  .school-header .course-subnav,.school-header.menu-open .course-subnav {display:flex;padding-bottom:0}
  .catalog-panel {width:calc(100vw - 32px);max-height:calc(100dvh - 150px);overflow:auto;border-radius:0 0 20px 20px}
  .catalog-panel-inner {padding:16px}
  .catalog-links {grid-template-columns:1fr;gap:0}
  .school-header .catalog-links a {padding:10px 12px;min-height:64px}
  .catalog-links strong {font-size:14px;margin-bottom:2px}
  .school-header .catalog-help {padding:16px 12px 4px}
  .editorial-dialogue {height:160px;margin-block:22px}
  .editorial-dialogue>span {font-size:30px}
  .teacher-editorial {min-height:440px}
  .footer-menu a {font-size:13px}
  .breadcrumbs {margin-bottom:30px;font-size:11px;gap:8px}
  .course-masthead {padding:24px 0 48px}
  .course-intro-grid {grid-template-columns:1fr;gap:32px}
  .course-intro-grid .lead {font-size:15px}
  .course-word-art {min-height:220px;margin:0 8px 0 0;padding:40px 28px 24px;box-shadow:7px 7px 0 #d5c2e0}
  .course-word-art strong {font-size:32px}
  .course-word-art small {margin-top:24px}
  .tariff-grid {grid-template-columns:1fr;gap:16px}
  .tariff-card,.course-status {padding:24px}
  .tariff-card .price {font-size:28px}
  .tariff-duration {min-height:0}
  .course-next>.container {align-items:flex-start;flex-direction:column;gap:24px}
  .course-next .button {width:100%}
}
@media(prefers-reduced-motion:reduce) {.catalog-panel,.catalog-trigger svg {transition:none}}
