/* Parigo Academy: deliberately simple, personal, and non-SaaS. */
:root {
  --paper: #fffdf7;
  --ink: #202020;
  --muted: #65615a;
  --line: #d8d1c2;
  --blue: #164f8f;
  --blue-soft: #eaf2fb;
  --yellow: #f4cf52;
  --max: 980px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.site-header { border-bottom: 2px solid var(--ink); background: #fffaf0; }
.header-inner { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 22px 0 18px; }
.brand { color: var(--ink); text-decoration: none; }
.brand strong { display: block; font: 32px/1 Georgia, "Times New Roman", serif; letter-spacing: -0.03em; }
.brand span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.header-navs { display: grid; gap: 8px; justify-items: end; }
nav { display: flex; flex-wrap: wrap; gap: 14px 18px; font-size: 15px; }
nav a { color: var(--ink); font-weight: 650; }
nav a[aria-current="page"] { color: var(--blue); }
.language-switch { gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.language-switch a { color: var(--muted); text-decoration: none; border: 1px solid var(--line); padding: 2px 6px; }
.language-switch a[aria-current="page"] { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; padding: 72px 0 44px; align-items: start; border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 14px; color: var(--blue); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
h1 { font-size: clamp(44px, 7vw, 76px); margin: 0; max-width: 760px; }
h1 span { white-space: nowrap; }
h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 16px; }
h3 { font-size: 25px; margin: 0 0 6px; }
.lead { font-size: clamp(20px, 2.3vw, 25px); line-height: 1.45; max-width: 760px; color: #343434; margin: 24px 0 22px; }
.contact-line { font-size: 20px; margin: 18px 0 0; }
.portrait { margin: 0; border-left: 5px solid var(--yellow); padding-left: 16px; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border: 1px solid var(--line); background: #eee; }
.portrait figcaption { margin-top: 10px; font-weight: 800; line-height: 1.25; }
.portrait span { color: var(--muted); font-weight: 500; }
.note { margin-top: 42px; margin-bottom: 36px; padding: 24px 28px; background: #fff7dc; border: 1px solid #e9d889; font-size: 21px; }
.note p { margin: 0; }
.offer-board { padding: 46px 0; border-bottom: 1px solid var(--line); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); background: #fffefb; }
.offer { padding: 28px; }
.offer + .offer { border-left: 2px solid var(--ink); }
.offer-label { margin: 0 0 10px; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.offer p { color: #343434; }
.offer ul { padding-left: 21px; margin: 14px 0 18px; }
.offer li { margin: 6px 0; }
.muted { color: var(--muted); }
.price-line { margin: 20px 0 0; background: #fff7dc; border: 1px solid #e9d889; padding: 12px 14px 13px; }
.price-line strong { font-size: 20px; }
.price-line span { color: var(--muted); font-size: 15px; }
.flex-line { margin: 18px 0 0; max-width: 850px; color: #343434; font-size: 19px; }
.courses-overview, .employer-note { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section-intro { max-width: 760px; color: #343434; margin: -4px 0 24px; }
.course-block { max-width: 860px; padding: 18px 0 20px; }
.course-block + .course-block { position: relative; margin-top: 4px; padding-top: 26px; }
.course-block + .course-block::before { content: ""; position: absolute; top: 0; left: 0; width: min(220px, 55%); border-top: 1px solid #e7dfcf; }
.course-block:last-child { padding-bottom: 0; }
.course-block p { max-width: 820px; margin: 0 0 8px; color: #343434; }
.mini-list { color: var(--muted) !important; font-size: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.two-col p { margin-top: 0; color: #343434; }
.plain-list { padding-left: 22px; margin: 0 0 18px; }
.plain-list li { margin: 7px 0; }
.ordered { padding-left: 24px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; border: 2px solid var(--ink); border-top: 0; background: #fffefb; }
.fact-card { padding: 20px 22px; border-top: 2px solid var(--ink); }
.fact-card + .fact-card { border-left: 1px solid var(--line); }
.fact-card strong { display: block; font: 22px/1.1 Georgia, "Times New Roman", serif; margin-bottom: 8px; }
.fact-card span { display: block; color: #343434; font-size: 16px; line-height: 1.45; }
.content-block { padding: 48px 0; border-bottom: 1px solid var(--line); }
.content-block p { max-width: 820px; color: #343434; }
.section-lines { padding: 48px 0; border-bottom: 1px solid var(--line); }
.line-item { border-top: 1px solid var(--line); padding: 22px 0; }
.line-item:last-child { border-bottom: 1px solid var(--line); }
.line-item p { margin: 0; max-width: 780px; color: #343434; }
.price-note, .about-block, .final-cta, .page-title { padding: 48px 0; border-bottom: 1px solid var(--line); }
.page-title { padding-top: 64px; }
.price-note p, .about-block p, .final-cta p { max-width: 820px; }
.final-cta { background: #fffaf0; width: 100%; padding-left: max(18px, calc((100vw - var(--max)) / 2)); padding-right: max(18px, calc((100vw - var(--max)) / 2)); }
.final-cta.wrap { width: 100%; max-width: none; }
.text-button { display: inline-block; appearance: none; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); padding: 10px 16px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.text-button:hover { background: #ffe889; }
.columns-list { columns: 2; column-gap: 60px; padding-left: 22px; }
.columns-list li { break-inside: avoid; margin: 6px 0; }
.meaty-list li { margin-bottom: 9px; }
.contact-area { align-items: start; }
.plain-form { border: 1px solid var(--line); padding: 22px; background: #fff; }
label { display: block; font-weight: 750; margin-bottom: 14px; }
input, select, textarea { width: 100%; margin-top: 5px; border: 1px solid #aaa; background: #fff; padding: 9px 10px; font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.small { color: var(--muted); font-size: 14px; }
.site-footer { padding: 28px 0 50px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 20px; }
@media (max-width: 820px) {
  .header-inner, .hero, .two-col { grid-template-columns: 1fr; display: grid; }
  .header-inner { align-items: start; }
  .header-navs { justify-items: start; }
  nav { margin-top: 8px; gap: 10px 12px; font-size: 14px; }
  .language-switch { margin-top: 2px; }
  .hero { gap: 26px; padding-top: 34px; }
  .portrait { max-width: 230px; }
  .offer-grid, .fact-grid { grid-template-columns: 1fr; }
  .offer + .offer { border-left: 0; border-top: 2px solid var(--ink); }
  .fact-card + .fact-card { border-left: 0; }
  .columns-list { columns: 1; }
}
