:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --ink: #203c3c;
  --muted: #61716b;
  --green: #215e52;
  --line: #d9dfd2;
  --orange: #bf673d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.shell { width: min(1160px, calc(100% - 48px)); margin: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 25px; font-weight: 750; letter-spacing: -1px; }
.brand small { display: block; font-size: 10px; letter-spacing: .6px; color: var(--muted); font-weight: 500; }
.brand-mark { display: grid; place-items: center; background: #e4ead9; color: var(--green); border-radius: 50%; width: 45px; height: 45px; font-size: 29px; }
.language { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
select { min-height: 44px; padding: 8px 30px 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); }
.back { display: inline-block; margin-top: 30px; font-size: 13px; text-decoration: none; color: var(--muted); }
.intro { display: grid; grid-template-columns: 1.25fr .8fr; gap: 64px; align-items: center; padding: 52px 0 65px; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 750; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 16px; }
h1 { margin: 0 0 24px; font-family: Georgia, serif; font-weight: 400; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.08; letter-spacing: -2px; }
.lead { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 590px; margin-bottom: 0; }
.greeting { background: var(--green); color: #fbf7ef; padding: 30px; border-radius: 18px 70px 18px 18px; display: flex; flex-direction: column; min-height: 290px; box-shadow: 12px 12px 0 #e5e8d7; }
.greeting-label { font-size: 10px; letter-spacing: 2px; color: #d2dfc7; }
.greeting strong { font-family: Georgia, serif; font-size: clamp(65px, 8vw, 104px); font-weight: 400; line-height: 1.6; letter-spacing: -5px; }
.greeting > span:not(.greeting-label) { font-size: 13px; color: #e0e7d7; }
.greeting-footer { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid #ffffff30; font-size: 12px; letter-spacing: 1px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
h2 { margin: 0; font-size: clamp(25px, 3vw, 37px); font-family: Georgia, serif; font-weight: 400; line-height: 1.25; }
.section-top > p { font-size: 13px; color: var(--muted); max-width: 340px; line-height: 1.6; }
.levels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.level { min-width: 0; text-align: left; display: flex; flex-direction: column; gap: 11px; padding: 22px 16px; border-radius: 12px; border: 1px solid var(--line); background: #f0f0e7; color: var(--muted); }
.level strong { font-size: 29px; letter-spacing: -1px; }
.level .level-name { font-size: 12px; min-height: 30px; line-height: 1.4; }
.level .level-state { font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.level.active { cursor: pointer; background: var(--green); border-color: var(--green); color: white; box-shadow: 0 7px 20px #215e5217; }
.level.active .level-state { color: #e4d7a4; }
.level:disabled { opacity: 1; cursor: default; }
.a1 { margin: 30px 0 0; background: #fffdf8; border: 1px solid var(--line); padding: 38px; border-radius: 18px; scroll-margin-top: 24px; }
.a1-heading { display: flex; gap: 20px; align-items: center; }
.a1-heading .eyebrow { margin-bottom: 8px; }
.a1-badge { display: grid; place-items: center; width: 68px; height: 68px; flex-shrink: 0; border-radius: 50%; background: #e9efdf; font-size: 26px; font-weight: 700; color: var(--green); }
.a1-lead { max-width: 780px; font-size: 16px; line-height: 1.75; color: var(--muted); margin: 24px 0; }
.a1-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.a1-facts span { background: #f1f1e8; border-radius: 30px; padding: 8px 13px; font-size: 12px; }
.topics-label { margin-top: 34px; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.topic { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.topic .number { color: var(--orange); font-size: 11px; font-weight: 700; }
.topic h3 { margin: 12px 0 8px; font-size: 16px; font-weight: 650; }
.topic p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.topic .example { color: var(--green); font-size: 14px; margin-top: 12px; }
.preview-note { display: flex; gap: 16px; padding: 20px; background: #f6eddd; border-radius: 10px; margin-top: 26px; }
.preview-note > span { color: var(--orange); font-size: 25px; }
.preview-note strong { font-size: 14px; }
.preview-note p { font-size: 13px; line-height: 1.65; margin: 6px 0 0; color: var(--muted); }
.source { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 20px 0 0; }
.source a { text-underline-offset: 3px; }
.closing { text-align: center; padding: 62px 0; }
.closing p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; min-height: 46px; background: var(--green); color: white; text-decoration: none; border-radius: 8px; padding: 12px 20px; font-size: 13px; margin-top: 12px; }
.footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 24px 0; font-size: 11px; color: var(--muted); }
@media (max-width: 900px) {
  .intro { gap: 35px; }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 32px); }
  .header { padding: 18px 0; gap: 10px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .language > span { display: none; }
  select { max-width: 130px; font-size: 13px; }
  .intro { grid-template-columns: 1fr; gap: 30px; padding: 32px 0 45px; }
  h1 { font-size: 48px; letter-spacing: -1.5px; }
  .lead { font-size: 15px; }
  .greeting { min-height: 230px; padding: 24px; margin-right: 10px; }
  .greeting strong { font-size: 78px; line-height: 1.4; }
  .section-top { display: block; }
  .section-top > p { margin-bottom: 0; }
  .levels { gap: 8px; }
  .level { padding: 16px 10px; gap: 8px; }
  .level strong { font-size: 25px; }
  .level .level-name { font-size: 11px; min-height: 32px; }
  .a1 { padding: 23px 18px; margin-top: 20px; }
  .a1-heading { gap: 12px; }
  .a1-badge { width: 52px; height: 52px; font-size: 22px; }
  .a1-heading h2 { font-size: 25px; }
  .a1-lead { font-size: 14px; }
  .a1-facts { gap: 7px; }
  .a1-facts span { font-size: 11px; }
  .topics { grid-template-columns: 1fr; }
  .topic { padding: 18px; }
  .preview-note { padding: 16px; gap: 10px; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
