:root {
  --ink: #252b27;
  --muted: #646b64;
  --blue: #a34c32;
  --blue-dark: #823820;
  --paper: #f6f3eb;
  --white: #fffdf8;
  --line: #d9d3c7;
  --mint: #d9cfb8;
  --soft: #ebe7dc;
  --dark: #28312d;
}

body { background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline-color: var(--blue); }
::selection { background: #dfb7a8; color: var(--ink); }
.shell { width: min(1160px, calc(100% - 72px)); }
.site-header { height: 80px; background: var(--paper); border-color: var(--line); }
.brand { gap: 11px; }
.brand-mark { width: 39px; height: 39px; border-radius: 2px; background: var(--ink); font: 700 15px Georgia, serif; letter-spacing: -.04em; }
.brand-mark span { width: 5px; height: 5px; right: 5px; bottom: 5px; background: #d47956; border-radius: 0; }
.brand-text strong { font-size: 14px; letter-spacing: -.015em; }
.brand-text small { font-size: 10px; }
.main-nav { gap: 32px; font-size: 12px; font-weight: 600; }
.nav-account { border-radius: 2px; padding: 11px 14px; gap: 12px; }
.nav-account:hover { background: var(--ink); }
.button { border-radius: 2px; padding: 16px 21px; font-size: 13px; letter-spacing: .005em; transition: background .15s, color .15s, border-color .15s; }
.button:hover { transform: none; }
.button-primary { background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-quiet { background: transparent; border-color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: var(--white); }
.kicker { color: var(--blue); font-size: 11px; letter-spacing: .12em; }
.section { padding-block: 94px; }

/* The front page reads as an editorial syllabus rather than a product dashboard. */
.editorial-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(295px, .55fr); gap: clamp(45px, 7vw, 110px); padding-block: 100px 112px; align-items: end; }
.overline { margin: 0 0 34px; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.overline span { color: #aba397; padding-inline: 7px; }
.editorial-hero h1 { font: 400 clamp(58px, 6.3vw, 91px)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.065em; margin: 0 0 29px; }
.editorial-hero h1 em { font-weight: 400; color: var(--blue); }
.editorial-hero .hero-lead { font-size: 17px; line-height: 1.68; max-width: 620px; margin-bottom: 32px; color: #525a54; }
.editorial-hero .button-row { gap: 10px; }
.hero-aside { border-top: 2px solid var(--ink); padding-top: 17px; margin-bottom: 7px; }
.aside-label { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 0 0 24px; }
.aside-line { display: grid; grid-template-columns: 32px 1fr; border-bottom: 1px solid var(--line); padding: 17px 0; column-gap: 10px; }
.aside-line span { font-size: 11px; color: var(--blue); font-weight: 700; padding-top: 2px; }
.aside-line strong { font-size: 17px; font-weight: 600; }
.aside-line small { grid-column: 2; font-size: 12px; color: var(--muted); margin-top: 4px; }
.aside-foot { margin: 22px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.intro-strip { background: #e9e3d7; border-block: 1px solid var(--line); }
.intro-strip-inner { display: grid; grid-template-columns: 210px 1fr; align-items: start; gap: 45px; padding-block: 38px; }
.section-index { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--blue); padding-top: 8px; }
.intro-strip p { margin: 0; font: 400 clamp(22px, 2.1vw, 31px)/1.37 Georgia, serif; letter-spacing: -.022em; max-width: 820px; }
.editorial-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 70px; align-items: end; margin-bottom: 37px; }
.editorial-heading h2, .method-grid h2, .lesson-feature h2, .account-promo h2, .faq-grid h2, .contact-section h2 { font: 400 clamp(40px, 4vw, 58px)/1.12 Georgia, serif; letter-spacing: -.05em; margin: 17px 0 0; }
.editorial-heading > p { margin: 0 0 3px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 350px; }
.syllabus { border-top: 2px solid var(--ink); }
.syllabus article { display: grid; grid-template-columns: 65px minmax(0, 1fr) 105px; gap: 20px; align-items: start; padding: 24px 0 25px; border-bottom: 1px solid var(--line); }
.syllabus-number { color: var(--blue); font-size: 12px; font-weight: 700; padding-top: 4px; }
.syllabus h3 { font: 400 25px/1.2 Georgia, serif; letter-spacing: -.025em; margin: 0 0 8px; }
.syllabus p { margin: 0; max-width: 690px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.syllabus-status { justify-self: end; font-size: 11px; color: #878c82; padding-top: 6px; white-space: nowrap; }
.syllabus-status.is-open { color: var(--blue); font-weight: 700; }
.program-note { font-size: 11px; color: #7c8178; margin: 20px 0 0; line-height: 1.5; }
.section-tinted { background: #eae6da; border-color: var(--line); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.method-copy { border-top: 2px solid var(--ink); padding-top: 18px; }
.method-copy p { font-size: 16px; line-height: 1.75; color: #464e48; margin: 0 0 18px; }

.sample-report { margin: 0; background: #26312b; color: #f9f6ed; padding: 32px 36px 23px; border: 1px solid #26312b; }
.report-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: 21px; }
.report-top > div { display: flex; flex-direction: column; gap: 8px; }
.report-brand { color: #d98665; font: 700 10px Consolas, "Courier New", monospace; letter-spacing: .14em; }
.report-top strong { font-size: 16px; font-weight: 600; }
.report-stamp { border: 1px solid rgba(255,255,255,.45); padding: 7px 9px; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.report-main { display: grid; grid-template-columns: 1fr .55fr; gap: 35px; min-height: 238px; align-items: end; padding: 28px 0 27px; }
.report-profit { display: flex; flex-direction: column; align-items: start; }
.report-profit span { font-size: 12px; color: #c8cec4; max-width: 250px; line-height: 1.5; }
.report-profit strong { display: block; font: 400 clamp(45px, 5vw, 74px)/1.16 Georgia, serif; letter-spacing: -.055em; color: #e8aa87; margin: 14px 0 8px; white-space: nowrap; }
.report-profit small { color: #b5beb4; font-size: 11px; }
.report-bars { height: 156px; display: flex; gap: 9px; align-items: end; border-bottom: 1px solid #789083; padding-inline: 5px; }
.report-bars i { display: block; flex: 1; background: #a9b8a9; min-width: 9px; }
.report-bars i:nth-child(1) { height: 68px; }
.report-bars i:nth-child(2) { height: 87px; }
.report-bars i:nth-child(3) { height: 79px; }
.report-bars i:nth-child(4) { height: 105px; }
.report-bars i:nth-child(5) { height: 98px; }
.report-bars i:nth-child(6) { height: 127px; }
.report-bars i:nth-child(7) { height: 146px; }
.report-bars i:last-child { background: #d98766; }
.report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.report-metrics div { padding: 20px 18px 22px 0; display: flex; flex-direction: column; gap: 7px; }
.report-metrics div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.24); }
.report-metrics span { color: #b6c0b5; font-size: 11px; }
.report-metrics strong { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.sample-report figcaption { color: #adb7ab; font-size: 10px; line-height: 1.55; padding-top: 17px; }
.lesson-feature { background: #eee5d9; border-block: 1px solid var(--line); }
.lesson-feature-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 95px; align-items: end; }
.lesson-feature h2 { margin-bottom: 22px; }
.lesson-feature p { max-width: 590px; color: #535c54; font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.lesson-outline { border-top: 2px solid var(--ink); padding-top: 18px; }
.lesson-outline > span { color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.lesson-outline ol { list-style: none; margin: 21px 0; padding: 0; counter-reset: lesson; }
.lesson-outline li { counter-increment: lesson; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.lesson-outline li:before { content: counter(lesson, decimal-leading-zero); display: inline-block; color: var(--blue); width: 38px; font-size: 11px; font-weight: 700; }
.lesson-outline small { color: var(--muted); font-size: 11px; }
.account-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; border-bottom: 1px solid var(--line); }
.account-promo > div:last-child { border-top: 2px solid var(--ink); padding-top: 18px; }
.account-promo p { color: #555e55; font-size: 15px; line-height: 1.75; margin: 0 0 22px; max-width: 520px; }
.inline-link { color: var(--blue); display: inline-flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.faq-section { background: #fffdf8; border-color: var(--line); }
.faq-grid { gap: 95px; }
.faq-list summary { font-size: 15px; font-weight: 600; }
.faq-list details p { color: var(--muted); }
.contact-section { gap: 80px; }
.contact-section p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.contact-links { padding-top: 0; border-top: 2px solid var(--ink); }
.contact-links > a { font-size: 13px; }

/* Shared article, form, account and document styling. */
.site-footer { background: #27302b; border-color: #27302b; color: #eeeae0; }
.footer-grid p, .footer-title, .muted, .footer-bottom { color: #b2bcb1; }
.footer-bottom { border-color: #59645b; }
.auth-intro h1, .dashboard h1, .document h1, .lesson-head h1, .not-found h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.auth-card, .panel { border-radius: 2px; background: var(--white); box-shadow: none; }
.auth-card h2, .panel h2, .material-main h3, .lesson-article h2, .document-body h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; }
.auth-card input:not([type=checkbox]) { background: #fffdf9; border-color: #c9c3b6; border-radius: 2px; }
.auth-card input:not([type=checkbox]):focus { border-color: var(--blue); box-shadow: 0 0 0 2px #efd6ca; }
.check-row input { border-radius: 2px; }
.step-chip, .pill, .verified-badge, .future-list em { border-radius: 2px; background: #efe8d8; border-color: #d9c9b4; color: #76513d; }
.switch-row { border-radius: 2px; background: #f3f0e8; border-color: var(--line); }
.lesson-page { background: var(--paper); }
.formula-box { border-radius: 2px; background: #eee9dc; border-color: var(--line); }
.exercise { border-radius: 2px; background: var(--white); }
.notice { border-radius: 2px; }

@media (max-width: 980px) {
  .editorial-hero { grid-template-columns: 1fr; gap: 55px; padding-block: 75px 85px; }
  .hero-aside { max-width: 600px; }
  .editorial-heading { gap: 35px; }
  .method-grid, .account-promo, .lesson-feature-grid { gap: 45px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 38px, 580px); }
  .site-header { height: auto; }
  .editorial-hero { padding-block: 60px 68px; gap: 42px; }
  .overline { margin-bottom: 25px; }
  .editorial-hero h1 { font-size: clamp(47px, 10.5vw, 67px); }
  .editorial-hero .hero-lead { font-size: 15px; }
  .editorial-hero .button-row { flex-direction: column; align-items: stretch; }
  .intro-strip-inner { display: block; padding-block: 27px 32px; }
  .intro-strip p { margin-top: 15px; font-size: 23px; }
  .section { padding-block: 66px; }
  .editorial-heading, .method-grid, .lesson-feature-grid, .account-promo { grid-template-columns: 1fr; gap: 25px; }
  .editorial-heading h2, .method-grid h2, .lesson-feature h2, .account-promo h2, .faq-grid h2, .contact-section h2 { font-size: 40px; }
  .editorial-heading > p { max-width: none; }
  .syllabus article { grid-template-columns: 35px minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .syllabus h3 { font-size: 22px; }
  .syllabus-status { grid-column: 2; justify-self: start; padding-top: 0; }
  .method-copy { margin-top: 7px; }
  .sample-report { padding: 24px 20px 18px; }
  .report-top { flex-direction: column; }
  .report-main { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .report-profit strong { font-size: clamp(42px, 10vw, 58px); white-space: normal; }
  .report-bars { height: 100px; }
  .report-metrics { grid-template-columns: 1fr; }
  .report-metrics div, .report-metrics div + div { border-left: 0; padding: 13px 0; }
  .report-metrics div + div { border-top: 1px solid rgba(255,255,255,.24); }
  .lesson-outline { margin-top: 20px; }
  .account-promo > div:last-child { margin-top: 15px; }
  .contact-section { gap: 25px; }
}

@media (max-width: 380px) {
  .main-nav a { font-size: 11px; }
  .editorial-hero h1 { font-size: 44px; }
  .report-profit strong { font-size: 40px; }
}
