/* Subset to Latin + Cyrillic + the punctuation this site actually uses, then
   compressed to woff2: 3.8 MB of raw TTF became 35 KB. Regenerate with
   pyftsubset if the copy ever needs a glyph outside those ranges. */
@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans-medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ededeb;
  --paper-2: #f8f8f4;
  --ink: #111411;
  --muted: #62645f;
  --line: rgba(17, 20, 17, 0.14);
  --charcoal: #1b201d;
  --steel: #dfe7e2;
  --amber: #f4a51c;
  --green: #9fff66;
  --mint: #c7e3d2;
  --pink: #ff9ab3;
  --blue: #6c91b8;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  display: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 10px 10px 14px;
  background: rgba(224, 224, 220, 0.9);
  border: 0;
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.brand,
.site-footer span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 13px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.site-footer a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-footer a:hover {
  border-color: currentColor;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.1;
  box-shadow: 3px 3px 0 rgba(17, 20, 17, 0.88);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.header-action,
.primary-button {
  color: var(--ink);
  background: var(--green);
  border: 2px solid var(--ink);
}

.secondary-button {
  color: var(--ink);
  background: var(--paper-2);
  border: 2px solid var(--ink);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(17, 20, 17, 0.88);
}

.secondary-button:hover {
  box-shadow: 1px 1px 0 rgba(17, 20, 17, 0.88);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(17, 20, 17, 0.88);
  font-weight: 600;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.text-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(17, 20, 17, 0.88);
}

.text-link::after {
  content: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.84fr);
  gap: 56px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: calc(88svh - 86px);
  margin: 0 auto;
  padding: 86px 0 52px;
}

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

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(54px, 6.4vw, 96px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 18px;
  color: #373b35;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.28;
}

.challenge-note {
  display: inline-flex;
  max-width: 600px;
  margin-bottom: 30px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(159, 255, 102, 0.46);
  border: 1px solid rgba(17, 20, 17, 0.28);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-bottom: 0;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-sketch {
  align-self: center;
  min-height: 470px;
}

.sketch-board {
  position: sticky;
  top: 112px;
  height: min(56vh, 520px);
  min-height: 450px;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
  transform: translateY(0) rotate(1deg);
  animation: sketch-float 5200ms ease-in-out infinite;
}

.sketch-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 2px solid rgba(17, 20, 17, 0.32);
  border-radius: 46% 54% 51% 49% / 48% 46% 54% 52%;
  filter: none;
  transform: rotate(-2deg);
  animation: sketch-ring 8400ms ease-in-out infinite;
}

.sketch-board::after {
  content: "рабочий день";
  position: absolute;
  right: 28px;
  bottom: 26px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 55% 45% 52% 48% / 44% 57% 43% 56%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(3deg);
  animation: label-wiggle 3600ms ease-in-out infinite;
}

.sketch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.scribble,
.arrow-line,
.tick-path,
.spark {
  fill: none;
  stroke: #51d521;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.scribble {
  stroke-width: 3.5;
  stroke-dasharray: 9 11;
  opacity: 0.72;
  filter: none;
  animation: dash-walk 9000ms linear infinite;
}

.scribble.wide {
  stroke-width: 4.5;
  stroke-dasharray: 14 10;
}

.arrow-line,
.tick-path {
  stroke-width: 5;
  opacity: 0.74;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 2600ms ease forwards;
}

.tick-path {
  stroke: var(--amber);
  stroke-width: 3;
  animation-delay: 400ms;
}

.spark {
  fill: rgba(159, 255, 102, 0.2);
  stroke-width: 3;
}

.s1 {
  transform-origin: 555px 126px;
  animation: sketch-pulse 3400ms ease-in-out infinite;
}

.s2 {
  transform-origin: 82px 528px;
  animation: sketch-pulse 4200ms ease-in-out infinite reverse;
}

.sketch-note,
.sketch-terminal {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--green);
  box-shadow: 0 0 24px rgba(159, 255, 102, 0.18);
}

.sketch-note {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 148px;
  min-height: 86px;
  padding: 16px;
  color: var(--ink);
  text-align: center;
  background: var(--green);
  border-color: var(--ink);
  border-radius: 47% 53% 49% 51% / 56% 44% 58% 42%;
}

.sketch-note span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sketch-note strong {
  max-width: 13ch;
  font-size: 25px;
  line-height: 0.98;
}

.note-main {
  left: 12%;
  top: 17%;
  width: 205px;
  animation: note-main-float 4200ms ease-in-out infinite;
}

.note-task {
  right: 10%;
  top: 18%;
  width: 170px;
  background: var(--paper-2);
  animation: note-task-float 4600ms ease-in-out infinite;
}

.note-week {
  left: 9%;
  bottom: 20%;
  width: 220px;
  background: var(--amber);
  animation: note-week-float 4400ms ease-in-out infinite;
}

.note-monday {
  right: 10%;
  bottom: 23%;
  width: 190px;
  animation: note-monday-float 4800ms ease-in-out infinite;
}

.sketch-terminal {
  left: 33%;
  top: 41%;
  width: min(54%, 310px);
  padding: 16px 16px 18px;
  background: rgba(27, 32, 29, 0.9);
  border-radius: 6px;
  transform: rotate(-1.5deg);
  animation: terminal-breathe 5200ms ease-in-out infinite;
}

.sketch-terminal span {
  display: block;
  width: 54px;
  height: 10px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle, var(--green) 0 4px, transparent 4px) 0 0 / 18px 10px repeat-x;
}

.sketch-terminal code {
  display: block;
  color: var(--green);
  font-family: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.sketch-terminal code::before {
  content: "> ";
  color: rgba(248, 251, 245, 0.58);
}

.quick-info {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 56px 0 78px;
}

.quick-info h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 68px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.info-grid div {
  display: grid;
  align-content: space-between;
  min-height: 156px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-grid div:nth-child(2) {
  background: var(--mint);
}

.info-grid .price-card {
  background: var(--green);
  border-color: rgba(17, 20, 17, 0.36);
}

.info-grid .deadline-card {
  background: var(--pink);
  border-color: rgba(17, 20, 17, 0.26);
}

.info-grid dt {
  margin-bottom: 16px;
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1;
}

.deadline-card dt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24em;
  max-width: 100%;
  padding-bottom: 4px;
  font-size: clamp(23px, 2.25vw, 31px);
  line-height: 1.08;
}

.deadline-card dt span {
  white-space: nowrap;
}

.info-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-card dd {
  color: rgba(17, 20, 17, 0.72);
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes sketch-pulse {
  50% {
    transform: scale(1.08) rotate(4deg);
  }
}

@keyframes sketch-float {
  50% {
    transform: translateY(-16px) rotate(-1deg);
  }
}

@keyframes sketch-ring {
  50% {
    transform: rotate(1deg) scale(1.025);
  }
}

@keyframes note-soft {
  50% {
    translate: 0 -6px;
  }
}

@keyframes dash-walk {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes label-wiggle {
  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

@keyframes note-main-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }

  50% {
    transform: translate3d(8px, -12px, 0) rotate(-1deg);
  }
}

@keyframes note-task-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(-10px, -8px, 0) rotate(1deg);
  }
}

@keyframes note-week-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(5deg);
  }

  50% {
    transform: translate3d(9px, 8px, 0) rotate(2deg);
  }
}

@keyframes note-monday-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }

  50% {
    transform: translate3d(-8px, 10px, 0) rotate(-2deg);
  }
}

@keyframes terminal-breathe {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
  }

  50% {
    transform: translate3d(0, -7px, 0) rotate(0.5deg);
  }
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 90px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fit-card,
.timeline article,
.practical-grid article,
.price-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fit-card {
  min-height: 255px;
  padding: 24px;
}

.fit-card.is-muted {
  color: #3f433c;
  background: var(--steel);
}

.fit-card:not(.is-muted) {
  color: #f8fbf5;
  background: var(--charcoal);
  border-color: rgba(255, 255, 255, 0.14);
}

.fit-card:not(.is-muted) .card-label,
.fit-card:not(.is-muted) p {
  color: rgba(248, 251, 245, 0.76);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.3;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-grid article {
  min-height: 178px;
  padding: 20px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.role-grid article.muted {
  background: var(--steel);
}

.role-grid span,
.tool-switch span {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.role-grid p {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.18;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.task-grid article {
  min-height: 178px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.task-grid article:nth-child(2) {
  background: var(--mint);
}

.task-grid article:nth-child(3):not(.dark) {
  background: #e7dfce;
}

.task-grid article.dark {
  color: var(--ink);
  background: var(--green);
  border-color: rgba(17, 20, 17, 0.28);
}

.task-grid span {
  display: block;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

.task-grid p {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.18;
}

.diagnostic {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.diagnostic-flow {
  display: grid;
  gap: 10px;
}

.diagnostic-flow article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostic-flow span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 600;
}

.diagnostic-flow p {
  margin: 0;
  font-size: 20px;
  line-height: 1.24;
}

.routing {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.routing div {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #f8fbf5;
  background: var(--charcoal);
  border-radius: var(--radius);
}

.routing span {
  color: rgba(248, 251, 245, 0.72);
}

.format {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  color: #f8fbf5;
  background: var(--charcoal);
}

.format .section-kicker,
.format p {
  color: rgba(248, 251, 245, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline article,
.process-grid article {
  min-height: 285px;
  padding: 24px;
  color: #f8fbf5;
  background: #252b27;
  border-color: rgba(248, 251, 245, 0.14);
  border-radius: var(--radius);
}

.timeline span,
.process-grid span {
  display: grid;
  place-items: center;
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 54px;
  background: var(--green);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  transform: none;
}

.timeline span::after,
.process-grid span::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  opacity: 1;
}

.process-grid h3 {
  margin-bottom: 12px;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.company-copy {
  position: static;
}

.company-copy p {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.32;
}

.company-grid {
  display: grid;
  gap: 12px;
}

.company-grid article {
  min-height: 158px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-grid article:nth-child(2) {
  background: var(--mint);
}

.company-grid .company-contact {
  color: var(--ink);
  background: var(--amber);
  border-color: rgba(17, 20, 17, 0.24);
}

.company-grid span,
.company-mail {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.company-grid p {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.22;
}

.company-grid a,
.company-mail {
  display: inline;
  color: #0b6c2d;
  background: transparent;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  white-space: nowrap;
}

.organizers {
  padding-top: 42px;
  padding-bottom: 58px;
}

.organizer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.organizer-card {
  position: relative;
  display: grid;
  grid-template-rows: 118px auto 1fr;
  min-height: 410px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.organizer-card h3 {
  align-self: end;
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
}

.organizer-card p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.3;
}

.effective-card {
  color: var(--ink);
  background: var(--paper-2);
  border-color: rgba(17, 20, 17, 0.18);
}

.effective-card p {
  color: #373b35;
}

.organizer-media {
  align-self: start;
}

.organizer-logo {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.organizer-logo img {
  width: 62px;
  height: auto;
}

.gladkov-card {
  background: var(--paper-2);
}

.organizer-photo {
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(2deg);
}

.organizer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.outcome {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 46px;
  align-items: start;
}

.outcome-copy p:not(.section-kicker) {
  max-width: 590px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.outcome-panel {
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(159, 255, 102, 0.3), transparent 42%),
    var(--charcoal);
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border-radius: 6px;
}

.check-list li {
  position: relative;
  padding: 19px 18px 19px 52px;
  color: #f8fbf5;
  background: rgba(255, 255, 255, 0.075);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 13px;
  height: 13px;
  background: var(--amber);
  border-radius: 3px;
}

.methodologist {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.methodologist-portrait {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 76px;
  font-weight: 600;
  letter-spacing: 0;
  transform: rotate(-2deg);
}

.methodologist-photo {
  min-height: 320px;
  overflow: hidden;
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transform: rotate(-2deg);
}

.methodologist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.methodologist-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  color: #f8fbf5;
  background:
    linear-gradient(135deg, rgba(159, 255, 102, 0.18), transparent 50%),
    var(--charcoal);
  border: 1px solid rgba(248, 251, 245, 0.14);
  border-radius: var(--radius);
  font-size: 21px;
  line-height: 1.34;
}

.methodologist-card h2 {
  font-size: clamp(36px, 5vw, 64px);
}

.methodologist-card p {
  margin-bottom: 0;
}

.methodologist-card a {
  justify-self: start;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-size: 15px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list details[open] {
  background: var(--paper-2);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.14;
}

.faq-list p {
  max-width: 860px;
  margin: 0;
  padding: 0 22px 22px;
  color: #373b35;
  font-size: 19px;
  line-height: 1.34;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.practical-grid article {
  min-height: 250px;
  padding: 22px;
}

.practical-grid article:nth-child(2) {
  background: var(--mint);
}

.practical-grid article:nth-child(3) {
  background: #e7dfce;
}

.practical-grid article:nth-child(4) {
  color: #f8fbf5;
  background: #26364a;
}

.practical-grid p,
.fit-card p,
.timeline p,
.mentor-note p,
.price p,
.signup p {
  margin-bottom: 0;
}

.program .section-heading {
  max-width: 760px;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.week-grid article {
  min-height: 218px;
  padding: 20px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.week-grid article:nth-child(4n + 2) {
  background: var(--mint);
}

.week-grid article:nth-child(4n + 3) {
  background: #e7dfce;
}

.week-grid article:nth-child(4n) {
  color: #f8fbf5;
  background: #26364a;
}

.week-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin-bottom: 36px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.week-grid h3 {
  margin-bottom: 8px;
}

.week-grid p {
  margin-bottom: 0;
  color: inherit;
}

.stack {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.stack-lite {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.tool-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-switch article {
  min-height: 215px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tool-switch article:nth-child(2) {
  color: #f8fbf5;
  background: var(--charcoal);
}

.tool-switch strong {
  display: block;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1;
}

.tool-switch p {
  margin-bottom: 0;
  color: var(--muted);
}

.tool-switch article:nth-child(2) p {
  color: rgba(248, 251, 245, 0.72);
}

.stack-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stack-table > div {
  display: grid;
  grid-template-columns: 0.76fr 1fr 1.08fr;
  gap: 1px;
  background: var(--line);
}

.stack-table span {
  padding: 16px;
  background: rgba(255, 250, 240, 0.86);
  line-height: 1.24;
}

.stack-table .stack-head span {
  color: #f8fbf5;
  background: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mentor {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mentor-note {
  display: grid;
  gap: 18px;
  color: #32362f;
  font-size: 22px;
  line-height: 1.34;
}

.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
}

.price-main p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.price-box {
  padding: 24px;
  background: var(--amber);
  border-color: rgba(17, 20, 17, 0.35);
}

.price-value {
  display: block;
  margin-bottom: 6px;
  font-size: 52px;
  font-weight: 600;
  line-height: 0.96;
}

.price-caption {
  display: block;
  margin-bottom: 26px;
  color: rgba(17, 20, 17, 0.72);
}

.price-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-box li {
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.55);
  border: 1px solid rgba(17, 20, 17, 0.18);
  border-radius: 999px;
  font-size: 14px;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
  width: min(calc(100% - 32px), var(--max));
  margin: 10px auto 90px;
  padding: 36px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(159, 255, 102, 0.72), rgba(199, 227, 210, 0.92) 54%, rgba(255, 250, 240, 0.94));
  border: 1px solid rgba(17, 20, 17, 0.2);
  border-radius: var(--radius);
}

.signup .section-kicker,
.signup p {
  color: #394137;
}

.signup h2 {
  max-width: 500px;
  margin-bottom: 18px;
}

.signup-contact {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: start;
}

.signup-contact .primary-button {
  word-break: break-all;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  border-bottom: 1px solid rgba(104, 106, 97, 0.32);
  font-size: 14px;
}

.primary-button.large {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 17px;
  color: var(--ink);
  background: var(--green);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(17, 20, 17, 0.88);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 26px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer .footer-links {
  justify-content: center;
}

.legal-main {
  width: min(calc(100% - 32px), 960px);
  margin: 0 auto;
  padding: 86px 0 90px;
}

.legal-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.legal-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.92;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: #394137;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
}

.legal-document {
  padding: 34px;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-document h2 {
  margin: 34px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 14px;
  color: #30342e;
  font-size: 18px;
  line-height: 1.45;
}

.legal-document .legal-item {
  padding-left: 18px;
}

.legal-document .legal-list-item {
  position: relative;
  padding-left: 20px;
}

.legal-document .legal-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 6px;
  height: 6px;
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .split,
  .diagnostic,
  .outcome,
  .company,
  .methodologist,
  .mentor,
  .price,
  .stack,
  .stack-lite,
  .signup {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-sketch {
    min-height: 480px;
  }

  .sketch-board {
    position: relative;
    top: auto;
    height: 480px;
    min-height: 0;
  }

  .audience-list,
  .role-grid,
  .task-grid,
  .timeline,
  .process-grid,
  .practical-grid,
  .info-grid,
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid div {
    grid-column: auto;
  }

  .methodologist {
    align-items: start;
  }

  .company-copy {
    position: static;
  }

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

  .methodologist-portrait {
    width: 220px;
  }

  .methodologist-photo {
    width: min(100%, 420px);
    min-height: 420px;
  }

  .routing {
    grid-column: auto;
  }

  .stack-table > div {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .price-box {
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-action {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero,
  .section,
  .quick-info,
  .signup,
  .site-footer,
  .legal-main {
    width: calc(100% - 20px);
  }

  .hero {
    gap: 30px;
    padding: 48px 0 44px;
  }

  h1 {
    max-width: 9.8ch;
    font-size: clamp(48px, 14vw, 72px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .quick-info {
    padding: 8px 0 56px;
  }

  .quick-info-head {
    display: grid;
    align-items: start;
  }

  .fit-grid,
  .audience-list,
  .role-grid,
  .task-grid,
  .organizer-grid,
  .info-grid,
  .timeline,
  .process-grid,
  .practical-grid,
  .routing,
  .week-grid,
  .tool-switch {
    grid-template-columns: 1fr;
  }

  .diagnostic-flow article {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 96px;
    padding: 14px;
  }

  .diagnostic-flow span,
  .week-grid span {
    width: 36px;
    height: 36px;
  }

  .diagnostic-flow p {
    font-size: 17px;
  }

  .methodologist-card {
    padding: 20px;
    font-size: 18px;
  }

  .methodologist-portrait {
    width: 150px;
    min-height: 150px;
    font-size: 52px;
  }

  .methodologist-photo {
    width: 100%;
    min-height: 320px;
  }

  .week-grid article {
    min-height: auto;
  }

  .week-grid span {
    margin-bottom: 28px;
  }

  .stack-table {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .stack-table > div {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .stack-table .stack-head {
    display: none;
  }

  .stack-table span {
    padding: 13px 14px;
  }

  .info-grid div {
    min-height: 92px;
  }

  .info-grid dt {
    font-size: 27px;
  }

  .deadline-card dt {
    font-size: 27px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-sketch {
    min-height: 410px;
  }

  .sketch-board {
    height: 410px;
  }

  .sketch-board::before {
    inset: 12px;
  }

  .sketch-board::after {
    right: 16px;
    bottom: 16px;
    font-size: 10px;
  }

  .sketch-note {
    width: 120px;
    min-height: 66px;
    min-width: 0;
    padding: 8px 9px;
  }

  .sketch-note span {
    font-size: 10px;
  }

  .sketch-note strong {
    font-size: 16px;
    max-width: 10ch;
  }

  .note-main {
    left: 7%;
    top: 15%;
    width: 136px;
  }

  .note-task {
    right: 5%;
    top: 22%;
    width: 116px;
  }

  .note-week {
    left: 7%;
    bottom: 36px;
    width: 132px;
  }

  .note-monday {
    right: 7%;
    bottom: 58px;
    width: 126px;
  }

  .sketch-terminal {
    left: 15%;
    top: 43%;
    width: 70%;
    padding: 11px;
  }

  .sketch-terminal code {
    font-size: 13px;
  }

  .section {
    padding: 64px 0;
  }

  .fit-card,
  .timeline article,
  .process-grid article,
  .practical-grid article,
  .audience-list div,
  .company-grid article,
  .task-grid article {
    min-height: auto;
  }

  .section-heading p,
  .company-copy p,
  .company-grid p,
  .organizer-card p {
    font-size: 18px;
  }

  .organizer-card {
    min-height: auto;
    padding: 22px;
  }

  .timeline span,
  .process-grid span {
    margin-bottom: 34px;
  }

  .faq-list summary {
    padding: 18px;
    font-size: 19px;
  }

  .faq-list p {
    padding: 0 18px 18px;
    font-size: 17px;
  }

  .mentor-note {
    font-size: 19px;
  }

  .price {
    gap: 26px;
  }

  .price-value {
    font-size: 44px;
  }

  .signup {
    margin-bottom: 58px;
    padding: 24px;
  }

  .legal-main {
    padding: 52px 0 62px;
  }

  .legal-hero {
    margin-bottom: 28px;
  }

  .legal-hero h1 {
    max-width: 10ch;
    font-size: clamp(40px, 12vw, 58px);
  }

  .legal-document {
    padding: 20px;
  }

  .legal-document p {
    font-size: 16px;
  }

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

  .site-footer .footer-links {
    justify-content: start;
  }
}

@media print {
  body::before {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    backdrop-filter: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0;
  }

  .sketch-board {
    position: relative;
    top: auto;
  }

  .site-header,
  .header-action,
  .primary-button,
  .secondary-button,
  .primary-button.large,
  .sketch-board,
  .sketch-note,
  .sketch-terminal,
  .signup {
    box-shadow: none;
  }

  .sketch-board::before,
  .scribble {
    filter: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
