@font-face {
  font-family: Onest;
  src: url("onest.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #183333;
  --muted: #476060;
  --teal: #165d56;
  --paper: #fbf8f0;
  --line: #d9ded4;
  --accent: #f6c987;
  font-family: Onest, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); }
a:focus-visible { outline: 3px solid #ae4a20; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; padding-block: 21px; gap: 16px; }
.brand { font-family: Georgia, serif; font-weight: 700; font-size: 28px; text-decoration: none; color: var(--ink); }
.lang { font-size: 14px; text-underline-offset: 3px; }
.hero { border-radius: 24px; overflow: hidden; background: #143b3a; color: #fffaf0; display: grid; grid-template-columns: 1.35fr 1fr; }
.hero-copy { padding: clamp(28px, 5vw, 70px); align-self: center; }
.hero h1 { font: 500 clamp(37px, 5.35vw, 68px)/1.02 Georgia, serif; margin: 0 0 22px; letter-spacing: -.035em; }
.hero p { max-width: 38ch; font-size: 18px; line-height: 1.5; color: #e1ece4; margin: 0 0 26px; }
.hero img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 50% 41%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 7px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.button.warm { background: var(--accent); color: #232b22; }
.button.primary { background: var(--teal); color: white; }
.button.secondary { box-shadow: inset 0 0 0 1px #89a29a; color: var(--teal); }
.button:hover { text-decoration: underline; text-underline-offset: 3px; }
.section { padding-top: clamp(42px, 6vw, 72px); }
h2 { font: 500 clamp(30px, 4vw, 46px)/1.12 Georgia, serif; letter-spacing: -.025em; margin: 0 0 24px; }
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.course { padding: clamp(23px, 3vw, 34px); background: #fffdf9; border: 1px solid var(--line); border-radius: 17px; display: flex; flex-direction: column; align-items: start; }
.course h3 { font: 500 30px/1.15 Georgia, serif; margin: 0 0 12px; }
.course p { margin: 0 0 16px; line-height: 1.52; color: var(--muted); }
.course .quote { width: 100%; margin: 0 0 19px; padding: 14px 16px; border-radius: 8px; background: #e7f0e9; color: var(--ink); }
.quote strong { display: block; margin-bottom: 3px; }
.course .meta { color: var(--ink); font-weight: 700; margin-top: auto; }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.details h2 { font-size: 32px; margin-bottom: 13px; }
.details p, .hint { color: var(--muted); line-height: 1.55; margin: 0 0 13px; }
.hint { margin-top: 15px; font-size: 14px; }
footer { border-top: 1px solid var(--line); margin-top: 52px; padding-block: 22px 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; }
.one-course { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .hero, .courses, .details { grid-template-columns: minmax(0, 1fr); }
  .hero img { height: clamp(250px, 65vw, 380px); min-height: 0; object-position: 50% 34%; }
  .hero-copy { padding: 32px 24px; }
  .hero p { font-size: 16px; }
  .details { gap: 26px; }
}
