:root {
  --paper: #f4f1e8;
  --ink: #17201b;
  --muted: #626a64;
  --line: #d7d3c8;
  --forest: #173f31;
  --lime: #d8ec7a;
  --white: #fffef9;
  --rust: #b85c3e;
  --blue: #4d6f87;
  --green: #567965;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.site-header { width: min(1180px, calc(100% - 40px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--forest); font-family: Georgia, serif; font-size: 18px; }
nav { display: flex; gap: 30px; color: #39413c; font-size: 14px; }
nav a, .header-link { transition: opacity .2s ease; }
nav a:hover, .header-link:hover { opacity: .58; }
.header-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.hero { width: min(1180px, calc(100% - 40px)); min-height: 670px; margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 78px; padding: 76px 0 86px; }
.eyebrow { margin: 0 0 20px; color: var(--forest); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 680px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(55px, 6.1vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 630px; color: #4e5751; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0; }
.button { display: inline-flex; min-height: 49px; padding: 0 22px; align-items: center; justify-content: center; border: 1px solid var(--forest); border-radius: 3px; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--forest); }
.button.secondary { background: transparent; }
.hero-notes { display: flex; gap: 25px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 12px; }
.hero-notes li::before { content: "·"; margin-right: 7px; color: var(--rust); font-weight: 900; }
.hero-panel { position: relative; padding: 30px; border: 1px solid #c8cfc6; border-radius: 4px; background: var(--white); box-shadow: 18px 18px 0 #dfe4d6; }
.hero-panel::before { content: ""; position: absolute; z-index: -1; inset: -24px 28px 32px -28px; border-radius: 50%; background: rgba(216, 236, 122, .46); filter: blur(1px); }
.panel-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.status { color: var(--forest); }
.hero-panel h2 { margin: 30px 0 2px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.hero-panel > p { color: var(--muted); font-size: 13px; }
.progress { height: 5px; margin: 24px 0 28px; overflow: hidden; border-radius: 5px; background: #e7e7df; }
.progress span { display: block; width: 38%; height: 100%; background: var(--forest); }
.lesson { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid #e4e2da; }
.lesson-number { color: #8a908b; font-family: Georgia, serif; font-size: 13px; }
.lesson strong, .lesson small { display: block; }
.lesson strong { font-size: 14px; }
.lesson small { margin-top: 2px; color: #8a908b; font-size: 11px; }
.check { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 12px; }
.lesson-state { color: var(--rust); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lesson.muted { opacity: .55; }
.section { padding: 100px max(20px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .library h2, .faq h2 { margin-bottom: 0; font-family: Georgia, serif; font-size: clamp(38px, 4.3vw, 58px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p { max-width: 460px; margin-bottom: 5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 310px; padding: 28px; display: flex; flex-direction: column; border-radius: 4px; color: var(--white); }
.card.rust { background: var(--rust); }
.card.blue { background: var(--blue); }
.card.green { background: var(--green); }
.card-index { margin-bottom: auto; font-family: Georgia, serif; font-size: 14px; opacity: .72; }
.card h3 { max-width: 250px; margin-bottom: 12px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.08; }
.card p { max-width: 310px; margin-bottom: 25px; font-size: 14px; opacity: .85; }
.card-meta { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.library { padding: 110px max(20px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; color: var(--white); background: var(--forest); }
.library .eyebrow { color: var(--lime); }
.library-intro > p:not(.eyebrow) { max-width: 490px; margin: 30px 0; color: #c8d3cc; }
.library-intro a { color: var(--lime); font-weight: 750; }
.shelf { border-top: 1px solid rgba(255,255,255,.25); }
.shelf-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.shelf-row span { font-family: Georgia, serif; font-size: 21px; }
.shelf-row strong { color: #aebdb4; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.section-heading.compact { grid-template-columns: 1fr; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { min-height: 230px; padding: 30px 27px; border-right: 1px solid var(--line); }
.step:first-child { border-left: 1px solid var(--line); }
.step > span { display: block; margin-bottom: 52px; color: var(--rust); font-family: Georgia, serif; }
.step h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.step p { color: var(--muted); font-size: 13px; }
.faq { padding: 110px max(20px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; border-top: 1px solid var(--line); background: #e8e5dc; }
.faq-list { border-top: 1px solid #c6c3ba; }
details { border-bottom: 1px solid #c6c3ba; }
summary { position: relative; padding: 23px 40px 23px 0; cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; font-family: system-ui; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 650px; padding-right: 45px; color: var(--muted); font-size: 14px; }
footer { padding: 60px max(20px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; gap: 50px; align-items: start; color: #c5cec8; background: #102a21; font-size: 13px; }
.footer-brand { color: white; }
.footer-links { display: flex; flex-direction: column; gap: 8px; color: white; }
.copyright { color: #8fa096; }
.legal-page { min-height: 100vh; }
.legal { width: min(760px, calc(100% - 40px)); margin: 80px auto 130px; }
.legal h1 { margin-bottom: 20px; font-family: Georgia, serif; font-size: 64px; font-weight: 400; letter-spacing: -.045em; }
.legal h2 { margin-top: 45px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.legal p { color: var(--muted); }
.legal a { color: var(--forest); text-decoration: underline; }
@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 60px; }
  .hero-copy { max-width: 700px; }
  .section-heading, .library, .faq { grid-template-columns: 1fr; gap: 45px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 260px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 1px solid var(--line); }
  footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-header { width: calc(100% - 30px); }
  .header-link { font-size: 12px; }
  .hero { width: calc(100% - 30px); min-height: auto; padding: 52px 0 75px; }
  .hero h1 { font-size: 50px; }
  .lead { font-size: 17px; }
  .hero-actions, .hero-notes { flex-direction: column; }
  .hero-notes { gap: 7px; }
  .hero-panel { padding: 22px; box-shadow: 10px 10px 0 #dfe4d6; }
  .section, .library, .faq { padding-top: 75px; padding-bottom: 75px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(3) { border-left: 1px solid var(--line); }
  .shelf-row { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  .legal h1 { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
