@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("assets/Lora.ttf") format("truetype");
  font-display: swap;
}
:root {
  --paper: #f8f7f0;
  --ink: #243b31;
  --green: #2c6248;
  --muted: #68756a;
  --line: #d5ddcf;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.65 Manrope,
    sans-serif;
}
a {
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b58a35;
  outline-offset: 6px;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.2;
}
.monogram {
  width: 48px;
  height: 51px;
  border: 1px solid var(--green);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font:
    38px Lora,
    serif;
  color: var(--green);
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.24em;
  margin-bottom: 3px;
}
.brand b {
  font-size: 25px;
  font-weight: 500;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.header nav a {
  text-decoration: none;
}
.header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 17px 24px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #1e4734;
  transform: translateY(-2px);
}
.button.small {
  font-size: 12px;
  padding: 12px 17px;
  gap: 20px;
}
.button.outline {
  background: transparent;
  color: var(--green);
}
.button.outline:hover {
  background: #e8eddf;
}
.button span {
  font-size: 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 55px;
  padding-top: 85px;
  padding-bottom: 105px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.07em;
}
.seed {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b09a4f;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Lora, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(45px, 4.8vw, 66px);
  margin-bottom: 26px;
}
em {
  font-weight: 400;
  color: var(--green);
}
.lead {
  max-width: 445px;
  font-size: 17px;
  line-height: 1.85;
  color: #55655a;
  margin-bottom: 32px;
}
.hero-note {
  font-size: 10px;
  color: var(--muted);
  margin: 18px 0 0;
}
.desk {
  position: relative;
  padding: 35px 22px 20px;
  background: #e5eadd;
  border-radius: 45% 45% 14px 14px;
  min-width: 0;
}
.study-sheet {
  position: relative;
  background: #fffdf7;
  border: 1px solid #d5d9c9;
  border-radius: 8px;
  padding: 28px 30px 19px;
  box-shadow: 0 15px 40px #344d3210;
  transform: rotate(-3deg);
  margin: 15px 0 0;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.13em;
}
.study-sheet h2 {
  font-size: 39px;
  margin: 22px 0 9px;
  letter-spacing: -0.035em;
}
.sheet-sub {
  font-size: 10px;
  color: var(--muted);
}
.route-art {
  margin: 15px -5px 20px;
}
.route-art svg {
  width: 100%;
  height: 110px;
  overflow: visible;
}
.route-art path {
  fill: none;
  stroke: #66836b;
  stroke-width: 1.6;
}
.route-art .journey {
  stroke-dasharray: 5 6;
}
.route-art .waves {
  stroke: #c8d8cd;
}
.route-art .ship {
  stroke: #8e794a;
  stroke-width: 2;
}
.route-art circle {
  fill: #7e986f;
}
.route-art span {
  display: block;
  text-align: center;
  font:
    italic 12px Lora,
    serif;
  color: #798770;
}
.sheet-insight {
  padding: 15px 17px;
  background: #edf0e4;
  border-radius: 6px;
  font-size: 11px;
}
.sheet-insight b {
  font-size: 12px;
}
.sheet-insight p {
  margin: 7px 0 0;
  line-height: 1.7;
}
.sheet-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  margin-top: 16px;
  color: var(--muted);
}
.tiny-mark {
  font:
    22px Lora,
    serif;
}
.note {
  position: absolute;
  right: 0;
  top: -17px;
  z-index: 1;
  padding: 14px 22px;
  background: #eee5c8;
  transform: rotate(7deg);
  font:
    italic 15px/1.5 Lora,
    serif;
  box-shadow: 1px 3px 7px #4252340d;
}
.note span {
  position: absolute;
  left: -16px;
  top: -10px;
  font-size: 32px;
  color: #a08a42;
}
.answer-note {
  position: absolute;
  bottom: -25px;
  right: -12px;
  background: #fffdf9;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 5px 20px #243b3108;
  transform: rotate(2deg);
}
.check {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4eedc;
  color: var(--green);
}
.answer-note b {
  font-size: 11px;
  display: block;
}
.answer-note small {
  font-size: 9px;
  color: var(--muted);
}
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef0e5;
}
.ribbon .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 0;
  font-size: 11px;
}
.ribbon span:nth-child(even) {
  color: #9a914f;
}
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 45px;
}
h2 {
  font-size: 43px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 3px;
}
.subjects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.subject {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 23px 16px;
  display: flex;
  flex-direction: column;
  min-height: 310px;
}
.subject-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 38px;
}
.subject-top > span:first-child {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.subject-symbol {
  font:
    42px Lora,
    serif;
  line-height: 1;
}
.subject-symbol.code {
  font:
    29px Manrope,
    sans-serif;
}
.subject h3 {
  font:
    27px Lora,
    serif;
  letter-spacing: -0.035em;
  margin-bottom: 13px;
}
.subject > p {
  font-size: 12px;
  line-height: 1.9;
  color: #526055;
  margin-bottom: 25px;
}
.history {
  background: #e9eddd;
}
.russian {
  background: #f0e9e2;
}
.physics {
  background: #e7eeeb;
}
.python {
  background: #eeede2;
}
.subject-foot {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #abb6a74d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
}
.subject-foot a {
  font-size: 20px;
  text-decoration: none;
}
.subject-foot > span:last-child:not(:first-child) {
  font-size: 20px;
  color: #738371;
}
.formats {
  background: #e9eddf;
}
.formats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.body-copy {
  font-size: 14px;
  color: #5c6a5d;
  max-width: 390px;
  line-height: 1.9;
}
.free-label {
  display: inline-block;
  margin-top: 15px;
  font-size: 10px;
  padding: 8px 12px;
  border: 1px solid #b9c8aa;
  border-radius: 25px;
}
.format-list article {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #cad4bf;
}
.format-list article:first-child {
  border-top: 1px solid #cad4bf;
}
.format-list article > span {
  font:
    italic 20px Lora,
    serif;
  color: #82916d;
}
.format-list h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.format-list p {
  font-size: 12px;
  color: #5d6d5d;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  margin-top: 48px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #acbaa2;
  border-radius: 50%;
  font:
    21px Lora,
    serif;
  margin-bottom: 25px;
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 300px;
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 65px;
  border-top: 1px solid var(--line);
}
.questions h2 {
  font-size: 37px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
summary::after {
  content: "+";
  font-size: 21px;
  color: var(--green);
  line-height: 1;
}
details[open] summary::after {
  content: "−";
}
summary::-webkit-details-marker {
  display: none;
}
.faq p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
  margin: 16px 0 0;
}
.start-section {
  background: var(--green);
  color: #f5f3e5;
  text-align: center;
  padding: 75px 0 80px;
}
.start-inner h2 {
  font-size: 52px;
}
.start-inner > p {
  font-size: 14px;
  color: #d6dfcf;
  margin-bottom: 30px;
}
.button.light {
  background: #eef0de;
  color: var(--green);
  border-color: #eef0de;
}
.button.light:hover {
  background: #fff;
}
.footer {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer > p,
.footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.footer > a:last-child {
  text-underline-offset: 4px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 30px;
    padding: 65px 0 85px;
  }
  h1 {
    font-size: 48px;
  }
  .study-sheet {
    padding: 22px;
  }
  .study-sheet h2 {
    font-size: 31px;
  }
  .subjects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .formats-inner {
    gap: 55px;
  }
  .header nav {
    gap: 18px;
  }
  .steps {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    padding: 18px 0;
    gap: 12px;
  }
  .header nav {
    display: none;
  }
  .monogram {
    width: 37px;
    height: 41px;
    font-size: 29px;
  }
  .brand b {
    font-size: 21px;
  }
  .brand {
    gap: 9px;
  }
  .header .button {
    font-size: 10px;
    padding: 10px 12px;
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 46px;
    padding-bottom: 70px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.03em;
  }
  h1 {
    font-size: clamp(39px, 10vw, 57px);
    margin-bottom: 22px;
  }
  .lead {
    font-size: 15px;
    max-width: 490px;
    margin-bottom: 26px;
  }
  .hero-note {
    font-size: 9px;
  }
  .desk {
    max-width: 450px;
    width: calc(100% - 12px);
    margin: 0 auto;
    padding: 25px 15px 15px;
  }
  .study-sheet h2 {
    font-size: 35px;
  }
  .note {
    right: -3px;
    font-size: 13px;
  }
  .answer-note {
    right: -3px;
    bottom: -24px;
    padding: 12px 14px;
  }
  .ribbon .wrap {
    justify-content: center;
    flex-wrap: wrap;
    padding: 17px 0;
    font-size: 9px;
    gap: 6px 14px;
  }
  .ribbon span:last-child,
  .ribbon span:nth-child(4) {
    display: none;
  }
  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .subjects {
    gap: 12px;
  }
  .subject {
    padding: 18px 16px 14px;
    min-height: 300px;
  }
  .subject-top {
    margin-bottom: 25px;
    align-items: flex-start;
    min-height: 39px;
  }
  .subject-top > span:first-child {
    font-size: 7px;
    max-width: 72px;
  }
  .subject-symbol {
    font-size: 34px;
  }
  .subject-symbol.code {
    font-size: 21px;
  }
  .subject h3 {
    font-size: 23px;
  }
  .subject > p {
    font-size: 11px;
    line-height: 1.8;
  }
  .subject-foot {
    font-size: 8px;
  }
  .formats-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .body-copy {
    font-size: 13px;
  }
  .format-list article {
    padding: 21px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 30px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 20px;
  }
  .step-number {
    grid-row: 1 / span 2;
    margin-top: 3px;
  }
  .steps h3 {
    margin-bottom: 10px;
  }
  .steps p {
    max-width: none;
    margin: 0;
  }
  .questions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .questions h2 {
    font-size: 34px;
  }
  summary {
    font-size: 13px;
  }
  .start-section {
    padding: 56px 0 60px;
  }
  .start-inner h2 {
    font-size: 39px;
  }
  .footer {
    flex-wrap: wrap;
    padding: 27px 0;
    gap: 20px;
  }
  .footer > p {
    display: none;
  }
  .footer > a:last-child {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
