@font-face {
  font-family: "Formular";
  src: url("fonts/Formular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formular";
  src: url("fonts/Formular-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formular";
  src: url("fonts/Formular-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161311;
  --muted: #68615d;
  --paper: #f6f3ee;
  --white: #ffffff;
  --red: #e63312;
  --red-dark: #b91f08;
  --red-soft: #ffd9cf;
  --yellow: #ffca45;
  --line: rgba(22, 19, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Formular", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  width: 224px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding-block: 9px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.nav-register {
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  padding: 11px 17px;
  font-weight: 700;
}

.nav-register:hover {
  background: var(--red-dark);
}

.auth-slot {
  min-width: 1px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 78px 0 82px;
  background: var(--paper);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 5.25vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 26px;
  font-size: 21px;
  line-height: 1.45;
  color: #433d39;
}

.hero-notice {
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 15px 18px;
  border: 1px solid rgba(230, 51, 18, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.hero-notice p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.notice-date {
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--red);
  color: white;
  padding: 8px 10px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 23px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 30px rgba(230, 51, 18, .2);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-primary span {
  font-size: 20px;
}

.button-secondary {
  min-height: 48px;
  color: #5b514c;
  border-color: var(--line);
  background: transparent;
  font-weight: 500;
}

.button-secondary:hover {
  background: white;
  border-color: rgba(22, 19, 17, .28);
}

.hero-meta {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  background: var(--red);
  box-shadow: 0 24px 70px rgba(99, 24, 9, .22);
  transform: rotate(1.5deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 31px;
}

.year-mark {
  position: absolute;
  left: 18px;
  bottom: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, .5);
  font-size: 112px;
  line-height: .8;
  font-weight: 700;
  letter-spacing: -.08em;
  text-shadow: 0 1px 0 rgba(120, 20, 4, .12);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.prize-seal {
  position: absolute;
  width: 238px;
  height: 238px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, .14);
}

.prize-seal span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.prize-seal strong {
  margin: 7px 0 2px;
  font-size: 34px;
  letter-spacing: -.04em;
}

.prize-seal small {
  font-size: 13px;
}

.hero-card {
  position: absolute;
  z-index: 3;
  min-width: 200px;
  border-radius: 20px;
  background: white;
  padding: 19px 21px;
  box-shadow: 0 16px 40px rgba(73, 16, 7, .2);
  transform: rotate(-4deg);
}

.hero-card span,
.hero-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero-card strong {
  display: block;
  margin: 5px 0 1px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.hero-card-top {
  top: 44px;
  left: -26px;
}

.hero-card-bottom {
  right: -25px;
  bottom: 45px;
  transform: rotate(5deg);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(230, 51, 18, .17);
  border-radius: 50%;
}

.orbit-one {
  width: 430px;
  height: 430px;
  right: -145px;
  top: -210px;
}

.orbit-two {
  width: 250px;
  height: 250px;
  left: -140px;
  bottom: -130px;
}

.prizes-section {
  padding: 108px 0 120px;
  background: var(--white);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.section-heading>p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.prizes-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 54px;
  align-items: end;
}

.prizes-heading .section-kicker {
  grid-column: 1 / -1;
}

.prizes-side {
  min-width: 0;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 18px;
}

.prizes-side>p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.prize-certificate-preview {
  width: min(350px, 100%);
  display: grid;
  gap: 10px;
  justify-self: end;
  color: var(--ink);
}

.mini-certificate {
  position: relative;
  min-height: 177px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(230, 51, 18, .2);
  border-radius: 12px;
  padding: 18px 20px;
  background: #fffdf8;
  box-shadow: 0 18px 38px rgba(43, 33, 27, .13);
  transform: rotate(1.5deg);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mini-certificate::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(230, 51, 18, .2);
  border-radius: 7px;
  pointer-events: none;
}

.mini-certificate-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-certificate-top img {
  width: 130px;
  height: auto;
  display: block;
}

.mini-certificate-top b {
  color: var(--red);
  font-size: 12px;
}

.mini-certificate-label {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mini-certificate>strong {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.045em;
}

.mini-certificate-score {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 700;
}

.prize-certificate-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 700;
}

.prize-certificate-caption b {
  font-size: 17px;
}

.prize-certificate-preview:hover .mini-certificate {
  transform: rotate(0);
  box-shadow: 0 22px 48px rgba(43, 33, 27, .18);
}

.prize-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
}

.prize-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: var(--paper);
}

.prize-card.first {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.prize-number {
  position: absolute;
  right: 22px;
  top: 13px;
  color: rgba(22, 19, 17, .08);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -.08em;
}

.first .prize-number {
  color: rgba(255, 255, 255, .14);
}

.prize-card p {
  margin: 0 0 8px;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.prize-card strong {
  font-size: clamp(30px, 3.1vw, 46px);
  letter-spacing: -.05em;
}

.winner-tag {
  align-self: flex-start;
  margin-top: 20px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, .18);
  font-size: 12px;
}

section[id] {
  scroll-margin-top: 86px;
}

.changes-section {
  padding: 118px 0;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.changes-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 86px;
  align-items: start;
}

.light-kicker {
  color: #ff8a71;
}

.changes-intro {
  position: sticky;
  top: 116px;
}

.changes-intro h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: .98;
  letter-spacing: -.052em;
}

.changes-intro>p:not(.section-kicker) {
  max-width: 540px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, .7);
  font-size: 18px;
  line-height: 1.58;
}

.date-chip {
  width: min(100%, 340px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 16px;
  padding: 15px 17px;
  background: rgba(255, 255, 255, .06);
}

.date-chip span {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.date-chip strong {
  color: var(--yellow);
  font-size: 20px;
}

.changes-list {
  display: grid;
  gap: 14px;
}

.change-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  padding: 31px;
  background: rgba(255, 255, 255, .055);
}

.change-card:nth-child(2) {
  background: var(--red);
  border-color: var(--red);
}

.change-number {
  display: inline-flex;
  min-width: 66px;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.change-card:nth-child(2) .change-number {
  background: white;
}

.change-card h3 {
  max-width: 470px;
  margin: 38px 0 12px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.change-card p {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, .67);
  font-size: 16px;
  line-height: 1.55;
}

.change-card:nth-child(2) p {
  color: rgba(255, 255, 255, .84);
}

.change-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  top: -65px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.rules-section {
  padding: 118px 0 126px;
  background: white;
}

.rules-heading,
.preparation-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 70px;
  align-items: end;
}

.rules-heading h2,
.preparation-heading h2 {
  margin: 0;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: -.05em;
}

.rules-heading>p,
.preparation-heading>p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 54px;
}

.step-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: var(--paper);
}

.step-card>span {
  align-self: flex-start;
  border-radius: 999px;
  background: white;
  color: var(--red);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.step-card h3 {
  margin: auto 0 11px;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.step-school-link {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red-dark);
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.step-school-link:hover {
  color: var(--red);
}

.step-school-link b {
  margin-left: 4px;
  font-size: 16px;
  text-decoration: none;
}

.scoring-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.scoring-main,
.speed-bonus {
  min-height: 350px;
  border-radius: 28px;
  padding: 32px;
}

.scoring-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  gap: 24px 0;
  background: var(--red);
  color: white;
}

.scoring-main .section-kicker {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .7);
}

.score-stat {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
}

.score-stat+.score-stat {
  border-left: 1px solid rgba(255, 255, 255, .28);
  padding-left: 28px;
}

.score-stat strong {
  font-size: 90px;
  line-height: .85;
  letter-spacing: -.08em;
}

.score-stat span {
  margin-top: 16px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.4;
}

.max-score {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  padding-top: 18px;
  color: rgba(255, 255, 255, .78);
}

.max-score strong {
  color: var(--yellow);
  font-size: 24px;
}

.speed-bonus {
  background: var(--yellow);
  color: var(--ink);
}

.speed-bonus h3 {
  margin: 0 0 24px;
  font-size: 29px;
  letter-spacing: -.035em;
}

.speed-bonus>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(22, 19, 17, .2);
}

.speed-bonus>div span {
  color: #5d4b1d;
}

.speed-bonus>div strong {
  text-align: right;
}

.speed-bonus p {
  margin: 24px 0 0;
  color: #5d4b1d;
  font-size: 13px;
  line-height: 1.5;
}

.rules-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.rules-note>span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.rules-note-copy {
  min-width: 0;
  flex: 1;
}

.rules-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.rules-note .rules-eligibility {
  margin-top: 4px;
  font-size: 12px;
}

.rules-note strong {
  color: var(--ink);
}

.rules-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
}

.rules-download:hover {
  background: var(--red);
}

.rules-download b {
  font-size: 17px;
}

.certificate-section {
  padding: 120px 0;
  overflow: hidden;
  background: var(--red);
  color: white;
}

.certificate-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 76px;
  align-items: center;
}

.certificate-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: .99;
  letter-spacing: -.052em;
}

.certificate-copy>p:not(.section-kicker) {
  max-width: 535px;
  margin: 28px 0 24px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.55;
}

.certificate-copy ul {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.certificate-copy li {
  position: relative;
  margin: 11px 0;
  padding-left: 27px;
  color: rgba(255, 255, 255, .85);
}

.certificate-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-weight: 700;
}

.certificate-button {
  border-color: rgba(255, 255, 255, .38);
  background: white;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(77, 15, 5, .23);
}

.certificate-button:hover {
  background: var(--yellow);
}

.certificate-stage {
  position: relative;
  padding: 36px;
}

.certificate-stage::before {
  content: "";
  position: absolute;
  inset: -80px -110px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
}

.certificate-stage::after {
  content: "";
  position: absolute;
  width: 116px;
  height: 116px;
  right: -6px;
  top: -9px;
  border-radius: 50%;
  background: var(--yellow);
}

.certificate-paper {
  position: relative;
  z-index: 2;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  padding: 36px 42px 32px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 30px 75px rgba(71, 14, 5, .34);
  transform: rotate(2deg);
}

.certificate-paper::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(230, 51, 18, .28);
  border-radius: 8px;
  pointer-events: none;
}

.certificate-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.certificate-topline img {
  width: 185px;
}

.certificate-topline span {
  color: var(--red);
  font-weight: 700;
}

.certificate-badge {
  align-self: flex-start;
  margin-top: 50px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.certificate-label {
  margin: 20px 0 5px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.certificate-paper h3 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.05em;
}

.certificate-description {
  max-width: 480px;
  margin: 17px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.certificate-score {
  align-self: flex-start;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 9px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red-dark);
  padding: 12px 16px;
}

.certificate-score span {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.certificate-score strong {
  font-size: 31px;
  line-height: 1;
}

.certificate-score small {
  font-size: 11px;
}

.certificate-footerline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
}

.signature-line {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.preparation-section {
  padding: 120px 0 126px;
  background: var(--paper);
}

.preparation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
  margin-top: 54px;
}

.preparation-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: white;
}

.preparation-card.card-1,
.preparation-card.card-2 {
  grid-column: span 3;
  min-height: 330px;
}

.preparation-card.card-1 {
  background: var(--yellow);
}

.preparation-card.card-2 {
  background: var(--ink);
  color: white;
}

.preparation-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--paper);
  color: var(--red);
  font-size: 17px;
  font-weight: 700;
}

.card-1 .preparation-icon {
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
}

.card-2 .preparation-icon {
  background: rgba(255, 255, 255, .1);
  color: var(--yellow);
}

.soon-tag {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-1 .soon-tag {
  border-color: rgba(22, 19, 17, .22);
  color: #5d4b1d;
}

.card-2 .soon-tag {
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .62);
}

.preparation-card h3 {
  margin: auto 0 10px;
  font-size: 29px;
  letter-spacing: -.04em;
}

.preparation-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-1 p {
  color: #5d4b1d;
}

.card-2 p {
  color: rgba(255, 255, 255, .64);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.card-1 .card-link {
  border-color: rgba(22, 19, 17, .18);
  color: #5d4b1d;
}

.card-2 .card-link {
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6);
}

.card-link b {
  font-size: 18px;
}

.preparation-note {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 16px;
  border: 1px dashed rgba(230, 51, 18, .35);
  border-radius: 22px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .55);
}

.note-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 22px;
  font-weight: 700;
}

.preparation-note h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.preparation-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.final-cta {
  padding: 78px 0;
  background: var(--ink);
  color: white;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.final-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -.05em;
}

.final-button {
  min-height: 72px;
  border: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  background: var(--yellow);
  color: var(--ink);
  padding: 22px;
  box-shadow: none;
  text-align: center;
}

.final-button:hover {
  background: white;
}

.final-button span {
  font-size: 20px;
}

.site-footer {
  padding: 44px 0;
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 44px;
  align-items: center;
}

.footer-inner>img {
  width: 205px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-inner>p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 19, 17, .58);
  backdrop-filter: blur(8px);
}

.registration-modal {
  position: relative;
  width: min(590px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 28px;
  background: white;
  padding: 38px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .28);
}

.registration-modal h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.registration-modal>p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 28px;
  line-height: 1;
}

.modal-button {
  width: 100%;
  margin-top: 28px;
  border: 0;
}

.modal-content {
  min-width: 0;
}

.registration-form .section-kicker,
.message-box .section-kicker {
  padding-right: 52px;
}

.registration-lead,
.message-text {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.registration-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 25px;
}

.registration-fields label:not(.consent-row) {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.registration-fields .position-field {
  position: relative;
}

.registration-fields input[type="text"],
.registration-fields input[type="tel"],
.registration-fields input[type="email"] {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  font-size: 15px;
}

.registration-fields input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 51, 18, .09);
}

.position-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 248px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 18, 16, .14);
  padding: 6px;
}

.position-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 10px 11px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
  cursor: pointer;
}

.position-suggestion:hover,
.position-suggestion:focus {
  background: rgba(230, 51, 18, .08);
  color: var(--red-dark);
}

.form-error {
  min-height: 18px;
  grid-column: 1 / -1;
  margin: 0;
  color: #b91f08;
  font-size: 13px;
  line-height: 1.4;
}

.registration-submit {
  width: 100%;
  grid-column: 1 / -1;
  border: 0;
}

.registration-submit:disabled {
  cursor: wait;
  opacity: .68;
}

.registration-consent {
  grid-column: 1 / -1;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.48;
}

.registration-consent a {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.registration-consent--known {
  margin: 15px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.authorized-registration-confirm .registration-fields {
  grid-template-columns: 1fr;
}

.message-box {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message-box h2 {
  padding-right: 38px;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 20px;
  right: 20px;
  bottom: 18px;
  width: min(740px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 15px 17px;
  box-shadow: 0 14px 50px rgba(22, 19, 17, .18);
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--red);
  text-decoration: underline;
}

.cookie-banner button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 9px 15px;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .brand img {
    width: 190px;
  }

  .main-nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr .8fr;
    gap: 34px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-card {
    min-width: 170px;
  }

  .hero-card-top {
    left: -10px;
  }

  .hero-card-bottom {
    right: -8px;
  }

  .prize-seal {
    width: 205px;
    height: 205px;
  }

  .changes-shell {
    gap: 48px;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-card {
    min-height: 220px;
  }

  .certificate-grid {
    gap: 38px;
  }

  .certificate-stage {
    padding: 16px;
  }

  .certificate-paper {
    min-height: 430px;
    padding: 32px;
  }

  .preparation-card {
    grid-column: span 3;
  }

  .preparation-card.card-1,
  .preparation-card.card-2 {
    grid-column: span 3;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-inner>p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 188px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 69px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 16px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(22, 19, 17, .12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-register {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-register {
    order: 6;
    margin-top: 8px;
  }

  .auth-slot {
    order: 7;
    padding: 8px 16px 0;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 420px;
    margin: 0 12px;
  }

  .prizes-heading {
    display: block;
  }

  .prize-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prize-card.first {
    grid-column: 1 / -1;
  }

  .changes-shell {
    grid-template-columns: 1fr;
  }

  .changes-intro {
    position: static;
  }

  .rules-heading,
  .preparation-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .scoring-panel {
    grid-template-columns: 1fr;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .certificate-copy {
    max-width: 650px;
  }

  .certificate-stage {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-button {
    width: auto;
    justify-self: start;
    aspect-ratio: auto;
    border-radius: 14px;
    min-height: 60px;
    padding-inline: 24px;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 24px, 480px);
  }

  .brand img {
    width: 166px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .hero-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    text-align: center;
    line-height: 1.5;
  }

  .hero-visual {
    min-height: 360px;
    margin-inline: 0;
    border-radius: 30px;
  }

  .hero-visual::before {
    inset: 10px;
    border-radius: 22px;
  }

  .prize-seal {
    width: 178px;
    height: 178px;
  }

  .prize-seal strong {
    font-size: 27px;
  }

  .hero-card {
    min-width: 150px;
    padding: 15px;
  }

  .hero-card strong {
    font-size: 19px;
  }

  .hero-card-top {
    top: 28px;
    left: -4px;
  }

  .hero-card-bottom {
    right: -3px;
    bottom: 29px;
  }

  .year-mark {
    font-size: 92px;
  }

  .prizes-section {
    padding: 78px 0 86px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .prize-grid {
    grid-template-columns: 1fr;
  }

  .prize-card.first {
    grid-column: auto;
  }

  .prize-card {
    min-height: 220px;
  }

  .changes-section,
  .rules-section,
  .certificate-section,
  .preparation-section {
    padding: 82px 0;
  }

  .changes-intro h2,
  .rules-heading h2,
  .preparation-heading h2,
  .certificate-copy h2 {
    font-size: 40px;
  }

  .change-card {
    min-height: 220px;
    padding: 24px;
  }

  .change-card h3 {
    margin-top: 30px;
    font-size: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 200px;
  }

  .scoring-main,
  .speed-bonus {
    min-height: 0;
    padding: 24px;
  }

  .scoring-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .score-stat+.score-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    padding: 25px 0 0;
  }

  .score-stat strong {
    font-size: 72px;
  }

  .speed-bonus>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .speed-bonus>div strong {
    text-align: left;
  }

  .rules-note {
    padding: 16px;
  }

  .certificate-paper {
    min-height: 400px;
    padding: 28px 25px 25px;
    transform: rotate(1deg);
  }

  .certificate-topline img {
    width: 150px;
  }

  .certificate-paper h3 {
    font-size: 39px;
  }

  .certificate-footerline {
    align-items: flex-start;
    flex-direction: column;
  }

  .preparation-grid {
    grid-template-columns: 1fr;
  }

  .preparation-card,
  .preparation-card.card-1,
  .preparation-card.card-2 {
    grid-column: auto;
    min-height: 265px;
  }

  .preparation-note {
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner>p {
    grid-column: auto;
  }

  .registration-modal {
    padding: 34px 24px 24px;
  }

  .registration-modal h2 {
    font-size: 31px;
  }

  .registration-fields {
    grid-template-columns: 1fr;
  }

  .form-error,
  .registration-submit,
  .registration-consent {
    grid-column: auto;
  }

  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rules-note {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .rules-download {
    width: 100%;
    justify-content: space-between;
    margin-left: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Integration states: registration/test mechanics inside the restored 2027 design */
.is-hidden {
  display: none !important;
}

/* The changes block stays dramatic, but is intentionally a little denser than the first version. */
.changes-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.changes-shell {
  gap: 62px;
}

.changes-intro h2 {
  font-size: clamp(42px, 4.25vw, 61px);
}

.changes-intro>p:not(.section-kicker) {
  margin-top: 23px;
  margin-bottom: 27px;
}

.change-card {
  min-height: 205px;
  padding: 26px 28px;
}

.change-card h3 {
  margin-top: 27px;
  font-size: 26px;
}

.preparation-heading {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 36px;
}

.preparation-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -.048em;
}

.preparation-heading>p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.testing-status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 32px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(43, 33, 27, .06);
}

.testing-status-card h3 {
  margin: 7px 0 8px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.testing-status-card p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.status-kicker {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-button-disabled {
  border: 1px solid var(--line);
  background: var(--paper);
  color: #8c837e;
  box-shadow: none;
  cursor: default;
}

.status-button-disabled:hover {
  transform: none;
}

.testing-time-left {
  display: block;
  margin-top: 12px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 700;
}

.preview-mode-banner {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid #e6b935;
  background: var(--yellow);
  color: var(--ink);
}

.preview-mode-banner .shell {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preview-mode-banner strong {
  font-size: 13px;
}

.preview-mode-banner span {
  font-size: 12px;
  color: #5f4a12;
}

.form-error.is-error {
  color: var(--red-dark);
}

.auth-required-message {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-required-button {
  width: auto;
  min-height: 40px;
  padding: 10px 22px;
  font-size: 14px;
}

@media (max-width: 820px) {
  .preparation-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testing-status-card {
    grid-template-columns: 1fr;
  }

  .preview-mode-banner .shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-block: 8px;
  }
}

@media (max-width: 540px) {
  .changes-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .change-card {
    min-height: 190px;
  }

  .testing-status-card {
    padding: 23px;
    border-radius: 22px;
  }

  .testing-status-card h3 {
    font-size: 25px;
  }
}

.status-section {
  padding: 104px 0 112px;
  background: var(--paper);
}

@media (max-width: 540px) {
  .status-section {
    padding: 78px 0 84px;
  }
}

/* Result page — same visual system as the contest landing */
.contest-result-page {
  background: var(--paper);
}

.result-header {
  position: static;
}

.result-back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.result-back-link:hover {
  color: var(--red);
}

.result-summary-section {
  padding: 88px 0 72px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.result-summary-grid {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 70px;
  align-items: center;
}

.result-summary-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 5.3vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.result-summary-copy>p:not(.section-kicker) {
  max-width: 650px;
  margin: 27px 0 30px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.result-summary-section .button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, .22);
}

.result-summary-section .button-secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
}

.result-score-visual {
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .07);
  text-align: center;
}

.result-score-visual span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.result-score-visual strong {
  margin: 9px 0 0;
  font-size: clamp(78px, 8vw, 118px);
  line-height: .82;
  letter-spacing: -.07em;
}

.result-score-visual small {
  margin-top: 9px;
  color: #5b4713;
  font-size: 15px;
}

.result-facts-section {
  padding: 0 0 72px;
  background: var(--ink);
  color: white;
}

.result-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 22px;
  overflow: hidden;
}

.result-facts-grid article {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.result-facts-grid article:last-child {
  border-right: 0;
}

.result-facts-grid span {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.result-facts-grid strong {
  font-size: 30px;
  letter-spacing: -.035em;
}

.result-content-section,
.result-offers-section {
  padding: 96px 0 106px;
}

.result-content-section {
  background: var(--paper);
}

.result-offers-section {
  background: white;
}

.result-section-heading {
  max-width: 820px;
}

.result-section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.048em;
}

.result-section-heading>p:not(.section-kicker) {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.result-materials-grid,
.result-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.result-material-card,
.result-offer-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  background: white;
}

.result-material-card>div>span {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-material-card h3,
.result-offer-card h3 {
  margin: 16px 0 12px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.result-material-card p,
.result-offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.result-material-card>a {
  margin-top: 28px;
  color: var(--red-dark);
  font-weight: 700;
}

.result-material-card>a b {
  margin-left: 6px;
}

.result-offer-logo {
  min-height: 46px;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}

.result-offer-logo img {
  max-width: 190px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.result-offer-badge {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--yellow);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
}

.result-offer-card .button {
  align-self: flex-start;
  margin-top: 26px;
}

.result-offer-product {
  min-height: 46px;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 700;
}

.result-request-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.result-request-phone {
  grid-column: 1 / -1;
}

.registration-fields label.result-request-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.result-request-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.result-request-consent a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.result-request-success {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-request-success h2 {
  padding-right: 42px;
}

.result-request-success>p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .result-summary-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .result-score-visual {
    justify-self: start;
    width: 280px;
  }

  .result-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-facts-grid article:nth-child(2) {
    border-right: 0;
  }

  .result-facts-grid article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .result-materials-grid,
  .result-offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .result-summary-section {
    padding: 62px 0 54px;
  }

  .result-summary-copy h1 {
    font-size: 46px;
  }

  .result-score-visual {
    width: 220px;
  }

  .result-facts-grid,
  .result-materials-grid,
  .result-offers-grid {
    grid-template-columns: 1fr;
  }

  .result-facts-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .result-facts-grid article:last-child {
    border-bottom: 0;
  }

  .result-content-section,
  .result-offers-section {
    padding: 76px 0 82px;
  }
}

/* Аттестация-2027: спецдоступ и реальные уроки Школы */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.access-section {
  padding: 78px 0 82px;
}

.access-shell {
  display: grid;
  grid-template-columns: 1.16fr .68fr;
  gap: 48px;
  align-items: start;
}

.access-copy h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.access-lead {
  max-width: 690px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.5;
}

.access-topic-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.access-topic-list p {
  position: relative;
  min-height: 64px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  padding: 13px 14px 13px 39px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.38;
}

.access-topic-list p::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--yellow);
  font-weight: 700;
}

.access-side {
  min-width: 0;
}

.access-form-card {
  border-radius: 26px;
  padding: 27px;
  background: white;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

.access-form-label {
  display: inline-flex;
  margin: 0 0 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.access-form-card h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.access-form-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.47;
}

.school-lead-fields {
  display: grid;
  gap: 10px;
  margin-top: 19px;
}

.school-lead-fields>label:not(.school-lead-consent) {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.school-lead-form input[type="text"],
.school-lead-form input[type="email"],
.school-lead-form input[type="tel"] {
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
}

.school-lead-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 51, 18, .1);
}

.school-lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}

.school-lead-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.school-lead-consent a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.school-lead-submit {
  width: 100%;
  border: 0;
}

.school-lead-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.school-lead-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.school-lead-message.is-error {
  color: var(--red-dark);
}

.school-lead-message.is-success {
  color: #177245;
  font-weight: 700;
}

.school-lead-form.is-submitted input {
  opacity: .62;
}

.authors-carousel {
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 23px;
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, .055);
}

.authors-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.authors-carousel-head span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.authors-carousel-head h3 {
  margin: 0;
  color: white;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.authors-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.authors-carousel-controls button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: white;
  font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}

.authors-carousel-controls button:hover {
  border-color: var(--yellow);
  background: rgba(255, 202, 69, .15);
}

.authors-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.authors-track::-webkit-scrollbar {
  display: none;
}

.authors-track:focus-visible {
  border-radius: 15px;
  box-shadow: 0 0 0 2px var(--yellow);
}

.authors-carousel-head h3 {
  max-width: 820px;
}

.author-card {
  flex: 0 0 280px;
  min-height: 332px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  padding: 11px;
  background: rgba(255, 255, 255, .07);
  color: white;
}

.author-photo-placeholder {
  position: relative;
  height: 150px;
  flex: 0 0 auto;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #eee9e1, #d8d1c8);
  align-items: flex-start;
  justify-content: center;
  display: flex;
}
.author-photo-placeholder > img {
  height: 150px;
  /* width: 150px; */
  object-fit: contain;
}

/* 

.author-photo-placeholder::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(115, 105, 97, .2);
}

.author-photo-placeholder::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 52px;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  border-radius: 50% 50% 18px 18px;
  background: rgba(115, 105, 97, .2);
} */

.author-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.18;
}

.author-card>span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  line-height: 1.4;
}

.lesson-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin-top: 0;
}

.lesson-grid .lesson-card {
  grid-column: span 2;
  min-height: 318px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lesson-grid .lesson-card.card-1,
.lesson-grid .lesson-card.card-2 {
  grid-column: span 3;
  min-height: 330px;
}

.lesson-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 51, 18, .34);
  box-shadow: 0 18px 42px rgba(43, 33, 27, .1);
}

.lesson-card h3 {
  margin-top: auto;
  line-height: 1.08;
}

.lesson-card .card-link {
  font-weight: 700;
}

.prep-lead-strip {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 25px;
  background: white;
  box-shadow: 0 14px 42px rgba(43, 33, 27, .055);
}

.prep-lead-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.prep-lead-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.compact-school-lead-form {
  min-width: 0;
}

.compact-lead-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 8px;
}

.compact-lead-row .button {
  min-height: 50px;
  width: auto;
  white-space: nowrap;
  padding-inline: 18px;
}

.compact-consent {
  margin-top: 9px;
}

.compact-school-lead-form .school-lead-message {
  margin-top: 5px;
}

.contest-start-heading {
  grid-template-columns: 1fr;
}

.contest-start-heading h2 {
  max-width: 760px;
}

.status-school-access {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
  margin-top: 16px;
  border-radius: 28px;
  padding: 28px 32px;
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 48px rgba(43, 33, 27, .11);
}

.status-school-copy .section-kicker {
  margin-bottom: 12px;
}

.status-school-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.status-school-copy>p:last-child {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.5;
}

.status-school-form {
  min-width: 0;
}

.status-school-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  gap: 8px;
}

.status-school-form input[type="text"],
.status-school-form input[type="email"],
.status-school-form input[type="tel"] {
  background: white;
}

.status-school-submit {
  width: auto;
  min-height: 47px;
  white-space: nowrap;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none;
  padding-inline: 17px;
}

.status-school-submit:hover {
  background: white;
}

.status-school-consent {
  margin-top: 10px;
  color: rgba(255, 255, 255, .63);
}

.status-school-consent a {
  color: var(--yellow);
}

.status-school-form .school-lead-message {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
}

.status-school-form .school-lead-message.is-error {
  color: #ff9e8b;
}

.status-school-form .school-lead-message.is-success {
  color: #a7e8c4;
}

.school-access-modal {
  width: min(570px, 100%);
}

.school-access-modal-copy .section-kicker {
  padding-right: 52px;
  margin-bottom: 15px;
}

.school-access-modal-copy h2 {
  padding-right: 40px;
}

.school-access-modal-copy>p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.school-modal-form {
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .access-shell {
    grid-template-columns: 1fr .72fr;
    gap: 34px;
  }

  .access-topic-list {
    grid-template-columns: 1fr;
  }

  .access-topic-list p {
    min-height: 0;
  }

  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-grid .lesson-card,
  .lesson-grid .lesson-card.card-1,
  .lesson-grid .lesson-card.card-2 {
    grid-column: auto;
  }

  .prep-lead-strip {
    grid-template-columns: 1fr;
  }

  .status-school-access {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-side {
    width: min(100%, 620px);
  }

  .access-form-card {
    width: 100%;
  }

  .access-topic-list {
    grid-template-columns: 1fr 1fr;
  }

  .compact-lead-row {
    grid-template-columns: 1fr 1fr;
  }

  .compact-lead-row .button {
    width: 100%;
  }

  .prizes-side {
    margin-top: 30px;
  }

  .prize-certificate-preview {
    justify-self: start;
  }

  .status-school-fields {
    grid-template-columns: 1fr 1fr;
  }

  .status-school-submit {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .access-section {
    padding: 64px 0;
  }

  .access-copy h2 {
    font-size: 40px;
  }

  .access-topic-list {
    grid-template-columns: 1fr;
  }

  .access-form-card {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .access-form-card h3 {
    font-size: 30px;
  }

  .authors-carousel {
    padding: 16px;
  }

  .authors-carousel-head {
    align-items: flex-start;
  }

  .authors-carousel-head h3 {
    font-size: 20px;
  }

  .author-card {
    flex-basis: min(82vw, 280px);
    min-height: 320px;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-grid .lesson-card,
  .lesson-grid .lesson-card.card-1,
  .lesson-grid .lesson-card.card-2 {
    min-height: 270px;
  }

  .prep-lead-strip {
    padding: 21px 18px;
  }

  .compact-lead-row {
    grid-template-columns: 1fr;
  }

  .status-school-access {
    padding: 24px 19px;
    border-radius: 23px;
  }

  .status-school-fields {
    grid-template-columns: 1fr;
  }

  .mini-certificate {
    min-height: 160px;
    padding: 16px 17px;
  }

  .mini-certificate-top img {
    width: 112px;
  }
}
