:root {
  --purple: #A181FF;
  --purple-soft: #C1ACFF;
  --purple-deep: #A181FF;
  --lime: #D0FF1A;
  --lime-bright: #D0FF1A;
  --lime-soft: #D0FF1A;
  --orange: #FF6E1A;
  --orange-hover: #FF6E1A;
  --ink: #262122;
  --dark: #252222;
  --white: #ffffff;
  --font: 'Onest', 'Montserrat', system-ui, sans-serif;
  --display: 'Montserrat', 'Onest', system-ui, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body,
body.hackathon-landing {
  font-family: var(--font) !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  line-height: 1.45 !important;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  padding: 0 !important;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin: 0 auto;
}

.wrap--form {
  width: min(100% - 48px, 560px);
}

/* Buttons */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
}

.btn--orange:hover {
  background: var(--orange-hover);
}

.btn--orange:active {
  transform: translateY(1px);
}

.btn--orange:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn--header {
  padding: 12px 24px;
  font-size: 14px;
  white-space: nowrap;
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 16px 36px;
  font-size: 16px;
}

.btn--white:hover {
  background: #f5f5f5;
}

.btn--full {
  width: 100%;
  border-radius: 16px;
  padding: 18px;
  font-size: 16px;
}

.btn--copy {
  padding: 12px 24px;
  font-size: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(38, 33, 34, 0.06);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.site-logo img {
  width: 88px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-nav__link {
  appearance: none;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.site-nav__link:hover {
  color: var(--purple);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Hero — compact layout: title overlaps purple gradient like mockup */
.hero {
  position: relative;
  padding: 12px 0 0;
  background-color: var(--purple);
  /* Stops tuned so title/subtitle sit on the white→purple transition */
  background-image: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 22%,
    var(--purple) 52%,
    var(--purple) 100%
  );
  overflow: visible;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 56px;
}

.hero__title {
  width: min(100%, 1040px);
  margin-bottom: 0;
  overflow: visible;
}

.hero__title-img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(100%, 1040px);
  margin-top: 28px;
  margin-bottom: 24px;
}

.fact-card {
  background: var(--lime);
  border-radius: 24px;
  padding: 22px 20px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* Mock: same Montserrat family for label + value (not Onest) */
.fact-card__label {
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.fact-card__value {
  font-family: var(--display);
  font-size: clamp(26px, 2.75vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.05;
  white-space: nowrap;
}

.hero__cta {
  margin-top: 4px;
  padding: 16px 44px;
  font-size: 16px;
}

/* About */
.about {
  background: var(--lime);
  padding: 56px 0 0;
  overflow: hidden; /* clip scaled deco side edges */
}

.about__text {
  /* Quote-scale like mockup */
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 0;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.about__head {
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px);
  font-style: italic;
  line-height: 1.2;
}

.about__body {
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.35;
}

.about__brand {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
}

.about__deco {
  line-height: 0;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}

.about__deco img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  max-height: none;
  margin-left: -4%;
  margin-right: -4%;
}

/* Sections */
.section {
  padding: 72px 0 80px;
}

.section--white {
  background: var(--white);
}

.title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.title--xl {
  font-size: clamp(44px, 6vw, 72px);
}

.title--faq {
  line-height: 0.98;
  margin-bottom: 28px;
}

.title--white {
  color: var(--white);
}

.lead {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  max-width: 720px;
  margin-bottom: 40px;
  color: var(--ink);
  line-height: 1.4;
}

.info-tip {
  position: relative;
  display: inline-block;
}

.info-tip__trigger {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: help;
  line-height: 1;
}

.info-tip__bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: min(280px, 70vw);
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 8px 24px rgba(38, 33, 34, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 20;
}

.info-tip__bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.info-tip:hover .info-tip__bubble,
.info-tip:focus-within .info-tip__bubble {
  opacity: 1;
  visibility: visible;
}

.lead--white {
  color: rgba(255, 255, 255, 0.92);
}

.lead--white strong {
  font-weight: 800;
  color: #fff;
}

.lead--mcp {
  max-width: 640px;
}

.mcp-accent {
  font-weight: 700;
  font-style: italic;
  color: var(--purple);
}

/* Task */
.task {
  padding-top: 64px;
  background: var(--white);
}

.task .title {
  margin-bottom: 12px;
}

.task .lead {
  margin-bottom: 36px;
  max-width: 680px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.track-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--purple-soft);
  border-radius: 16px;
  padding: 26px 24px 20px;
  min-height: 292px;
  overflow: visible;
}

.track-card__num {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(96px, 8.5vw, 128px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
  padding-top: 8px;
}

.track-card__title {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 800;
  font-style: normal;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.track-card__desc {
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
  max-width: 24ch;
}

/* Criteria */
.criteria {
  background: var(--orange);
  padding: 72px 0 88px;
  color: var(--white);
}

.criteria .title {
  color: var(--white);
  margin-bottom: 48px;
}

.criteria__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px 64px;
}

.criteria__h {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.criteria__list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.criteria__list li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
}

.criteria__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.criteria__list span {
  font-weight: 700;
}

/* MCP bento */
.mcp-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}

.mcp-tile {
  border-radius: 40px;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcp-tile h3 {
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.03em;
}

.mcp-tile p {
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
  max-width: 30ch;
}

.mcp-tile--planes {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--ink);
  color: var(--white);
  min-height: 320px;
}

.mcp-tile--train {
  grid-column: 2 / span 2;
  grid-row: 1;
  background: var(--purple);
  color: var(--white);
}

.mcp-tile--hotels {
  grid-column: 2;
  grid-row: 2;
  background: var(--lime);
  color: var(--ink);
}

.mcp-tile--commute {
  grid-column: 3;
  grid-row: 2;
  background: var(--purple);
  color: var(--white);
}

.mcp-tile--buses {
  grid-column: 1;
  grid-row: 3;
  background: var(--purple);
  color: var(--white);
}

.mcp-tile--link {
  grid-column: 2 / span 2;
  grid-row: 3;
  background: var(--purple);
  color: var(--white);
  min-height: 180px;
  justify-content: space-between;
}

.mcp-tile__url {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  text-decoration: underline;
  word-break: break-all;
  letter-spacing: -0.02em;
}

.mcp-tile__hint {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
}

.mcp-tile__hint a {
  text-decoration: none;
}

.mcp-tile__hint a:hover {
  text-decoration: underline;
}

.mcp-tile--link .mcp-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  flex-wrap: wrap;
}

.mcp-tile--link .btn--copy {
  flex-shrink: 0;
}

/* Prizes */
.prizes {
  background: var(--purple);
  padding: 72px 0 88px;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.prize-card {
  background: var(--lime);
  border-radius: 24px;
  padding: 24px 22px 26px;
  color: var(--ink);
  height: auto;
  min-height: 0;
}

.prize-card__place {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.04em;
  word-spacing: -0.06em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.prize-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.prize-card li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.4;
  font-weight: 500;
  font-style: normal;
}

.prize-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.prize-card strong {
  font-weight: 800;
}

/* Schedule */
.schedule {
  background: var(--lime);
  padding: 72px 0 96px;
}

.schedule__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.schedule .title {
  margin: 0;
}

.schedule__list {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}

.schedule__day h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 8px;
}

.schedule__slot + .schedule__slot {
  margin-top: 14px;
}

.schedule__time {
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.schedule__text {
  margin-top: 4px;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 500;
  font-style: normal;
  max-width: 40ch;
}

/* Form */
.form-card {
  background: #A181FF;
  border-radius: 40px;
  padding: 36px 32px 40px;
  color: var(--white);
}

.form-card--success {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  color: var(--white);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--white);
}

.req {
  color: var(--lime);
  margin-left: 2px;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 20px;
  outline: none;
  resize: vertical;
}

.field textarea {
  border-radius: 20px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(38, 33, 34, 0.4);
}

.field--error input,
.field--error textarea {
  box-shadow: inset 0 0 0 2px #ff4444;
}

.form-card .btn--orange {
  margin-top: 8px;
}

.form-error {
  color: #fff0f0;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Personal data consent (form) */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  cursor: pointer;
  user-select: none;
}

.consent-check__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.consent-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.consent-check--on .consent-check__box {
  background: #6f5df6;
  border-color: #6f5df6;
}

.consent-check--on .consent-check__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-check__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

.consent-check__text a {
  color: #efeaff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-check__text a:hover {
  color: #fff;
}

.consent-check--error .consent-check__box {
  border-color: #ff4444;
  box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.35);
}

.consent-check--error .consent-check__text {
  color: #ffe0e0;
}

.consent-check--error .consent-check__text a {
  color: #ffc9c9;
}

/* Cookie consent banner (tutu.ru-like, bottom-left) */
.cookie-consent {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 98;
}

@media (min-width: 768px) {
  .cookie-consent {
    width: 363px;
    right: auto;
  }
}

.cookie-consent__panel {
  background: var(--purple);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.cookie-consent__text {
  margin: 0;
  padding: 4px 0 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.333;
}

.cookie-consent__text a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  opacity: 0.85;
}

.cookie-consent__more {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent__more:hover {
  opacity: 0.85;
}

.cookie-consent__agree {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 16px 2px;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.cookie-consent__agree:hover {
  background: var(--orange-hover);
  opacity: 0.92;
}

/* Experts — 3-col grid, 8 people (3+3+2) */
.experts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 40px;
}

.expert-card {
  text-align: left;
}

.expert-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 18px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}

.expert-card__name {
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.expert-card__role {
  margin-top: 6px;
  font-size: clamp(14px, 1.25vw, 15px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.3;
}

.expert-card__bio {
  margin-top: 8px;
  font-size: clamp(13px, 1.15vw, 14px);
  font-weight: 500;
  font-style: normal;
  color: #4a4646;
  line-height: 1.4;
  max-width: 34ch;
}

.expert-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* FAQ */
.faq {
  padding-bottom: 24px;
}

.faq__list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item__icon {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item__a {
  background: #fff4ef;
  border: 1.5px solid var(--orange);
  border-top: none;
  border-radius: 0 0 12px 12px;
  margin-top: -6px;
  padding: 18px 24px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.faq-item--open .faq-item__q {
  border-radius: 12px 12px 0 0;
}

/* Brand block between FAQ and footer deco — compact like mock */
.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: clamp(24px, 2.4vw, 36px) 24px clamp(4px, 0.6vw, 12px);
  gap: clamp(10px, 1vw, 16px);
}

.site-brand img {
  /* mock ≈ 18% of layout width */
  width: clamp(140px, 18vw, 260px);
  height: auto;
  display: block;
}

.site-brand p {
  margin: 0;
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.site-brand a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-brand a:hover {
  color: var(--purple);
}

/* Footer — shorter band (crop white top of 11.svg), pattern at bottom */
.footer {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}

.footer__stack {
  position: relative;
  width: 100%;
  /* Compact footer band like mock — no tall white void above the pattern */
  aspect-ratio: 1924 / 420;
}

.footer__gradient {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center 85%;
}

/* Pattern: zoomed like mock, pressed to bottom, fills most of the band */
.footer__pattern-clip {
  --footer-pattern-keep: 0.649;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer__pattern {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: 155%;
  max-width: none;
  height: calc(150% / var(--footer-pattern-keep));
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: fill;
  object-position: top center;
  transform: translateX(-50%);
}

/* Responsive */
@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    display: none;
  }

  .site-nav--open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(38, 33, 34, 0.1);
    border-radius: 16px;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 200;
  }

  .site-nav--open .site-nav__link {
    text-align: left;
    padding: 10px 8px;
    font-size: 16px;
  }

  .burger {
    display: flex;
  }

  .btn--header {
    display: none;
  }

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

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

  .mcp-bento {
    grid-template-columns: 1fr 1fr;
  }

  .mcp-tile--planes {
    grid-row: auto;
    grid-column: 1 / span 2;
    min-height: 200px;
  }

  .mcp-tile--train {
    grid-column: 1 / span 2;
  }

  .mcp-tile--link {
    grid-column: 1 / span 2;
  }

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

@media (max-width: 720px) {
  html,
  body,
  body.hackathon-landing,
  #__next {
    overflow-x: hidden;
    max-width: 100%;
  }

  .wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .wrap--form {
    width: 100%;
    max-width: 560px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .title {
    font-size: clamp(26px, 7.8vw, 32px);
    letter-spacing: -0.06em;
    max-width: 100%;
  }

  .title--xl {
    font-size: clamp(28px, 8.2vw, 34px);
  }

  .footer__pattern {
    width: 120%;
  }

  .about__head {
    font-size: clamp(24px, 7vw, 32px);
  }

  .about__body,
  .about__text {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .about__deco img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .fact-card__value {
    font-size: clamp(22px, 6.5vw, 28px);
    white-space: normal;
  }

  .track-card__num {
    font-size: clamp(72px, 28vw, 110px);
  }

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

  .track-grid,
  .prize-grid,
  .experts__grid,
  .criteria__cols {
    grid-template-columns: 1fr;
  }

  .mcp-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .mcp-tile--planes,
  .mcp-tile--train,
  .mcp-tile--hotels,
  .mcp-tile--commute,
  .mcp-tile--buses {
    display: none;
  }

  .mcp-tile--link {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 24px 20px 28px;
    border-radius: 28px;
  }

  .mcp-tile__url {
    font-size: clamp(18px, 5.5vw, 28px);
  }

  .mcp-tile--link .mcp-tile__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .mcp-tile--link .btn--copy {
    width: 100%;
  }

  .about__text br {
    display: none;
  }

  .section {
    padding: 56px 0 64px;
  }
}

/* Neutralize leftover host/framework defaults for pixel parity with Vite landing */
.hackathon-landing button {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  box-shadow: none;
}
