:root {
  --ink: #142b29;
  --muted: #61716e;
  --green-950: #102f2b;
  --green-900: #173f3a;
  --green-700: #27776b;
  --green-100: #dcebe6;
  --green-50: #eff7f4;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --coral: #e56d4a;
  --yellow: #f2c75c;
  --blue: #6d9fc4;
  --line: rgba(20, 43, 41, 0.14);
  --shadow: 0 24px 60px rgba(19, 54, 49, 0.12);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--green-950);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: white;
  background: rgba(16,47,43,.96);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.08; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.27rem; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 5px; color: #bcd2cc; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50% 50% 50% 14px;
  color: var(--green-950);
  background: var(--yellow);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}
.navigation { display: flex; align-items: center; gap: 30px; }
.navigation a { color: #eaf3f0; font-size: .92rem; font-weight: 650; text-decoration: none; }
.navigation a:hover, .navigation a:focus-visible { color: var(--yellow); }
.menu-button { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 12%, rgba(242,199,92,.18), transparent 26%),
    linear-gradient(135deg, var(--green-950), #194d45 76%, #23695f);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -230px 32%;
  height: 400px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding-block: 75px 88px; }
.eyebrow { margin: 0 0 15px; color: var(--coral); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(3.4rem, 6.2vw, 6.1rem); }
h1 em { color: var(--yellow); font-weight: inherit; }
.hero-lead { max-width: 650px; margin: 0 0 34px; color: #d7e6e2; font-size: 1.12rem; }
.search { display: grid; max-width: 650px; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 12px; background: white; box-shadow: 0 16px 45px rgba(0,0,0,.2); }
.search svg { width: 21px; fill: none; stroke: #74837f; stroke-linecap: round; stroke-width: 1.8; }
.search input { width: 100%; min-width: 0; padding: 12px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search button { padding: 12px 21px; border: 0; border-radius: 8px; color: white; background: var(--coral); font-weight: 750; cursor: pointer; }
.search button:hover { background: #ce5b3a; }
.quick-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; align-items: center; color: #abc7c0; font-size: .85rem; }
.quick-links a { padding: 4px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: #e2efeb; text-decoration: none; }
.hero-visual { position: relative; min-height: 440px; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px 30px 18px 0;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 50%;
}
.note { position: absolute; width: min(330px, 76%); padding: 24px 26px; border-radius: 4px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); transform: rotate(-3deg); }
.note::before { content: ""; position: absolute; top: -12px; left: 42%; width: 82px; height: 24px; background: rgba(242,199,92,.75); transform: rotate(2deg); }
.note span { color: var(--coral); font-size: .69rem; font-weight: 850; letter-spacing: .13em; }
.note p { margin: 9px 0 0; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.35; }
.note-rule { top: 44px; right: 0; }
.note-example { bottom: 50px; left: 4px; transform: rotate(2.5deg); }
.note-example::before { left: 18%; background: rgba(109,159,196,.62); transform: rotate(-4deg); }
.level-orbit { position: absolute; inset: 0; }
.level-orbit span { position: absolute; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #e2efeb; background: rgba(16,47,43,.8); font-size: .72rem; font-weight: 800; }
.level-orbit span:nth-child(1) { left: 0; top: 54px; }
.level-orbit span:nth-child(2) { right: 15px; top: 0; }
.level-orbit span:nth-child(3) { right: 0; top: 46%; }
.level-orbit span:nth-child(4) { right: 18%; bottom: 0; }
.level-orbit span:nth-child(5) { left: 18%; bottom: 0; }
.level-orbit span:nth-child(6) { left: -18px; top: 52%; }

.level-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.level-inner { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 45px; padding-block: 32px; }
.level-inner .eyebrow { margin-bottom: 7px; }
.level-inner h2 { margin: 0; font-size: 1.7rem; }
.level-links { display: grid; grid-template-columns: repeat(6, 1fr); }
.level-links a { padding: 10px 18px; border-left: 1px solid var(--line); text-decoration: none; }
.level-links strong, .level-links span { display: block; }
.level-links strong { color: var(--green-700); font-family: Georgia, serif; font-size: 1.45rem; }
.level-links span { color: var(--muted); font-size: .72rem; }
.level-links a:hover strong { color: var(--coral); }

.learning { padding-block: 110px 120px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2, .promise h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.section-heading > p { max-width: 500px; margin: 0 0 7px; color: var(--muted); font-size: 1.02rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.learning-card { position: relative; min-height: 365px; padding: 30px 27px 27px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.learning-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-number { position: absolute; right: 23px; top: 20px; color: rgba(20,43,41,.2); font-family: Georgia, serif; font-size: 2rem; }
.card-icon { display: grid; width: 62px; height: 62px; margin-bottom: 50px; place-items: center; border-radius: 50% 50% 50% 14px; color: white; background: var(--green-700); font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; }
.card-exercises .card-icon { color: var(--green-950); background: var(--yellow); }
.card-materials .card-icon { background: var(--coral); }
.card-verbs .card-icon { background: var(--blue); }
.learning-card h3 { margin-bottom: 13px; font-family: Georgia, serif; font-size: 1.55rem; }
.learning-card p { margin-bottom: 30px; color: var(--muted); font-size: .93rem; }
.learning-card > a { position: absolute; bottom: 27px; font-size: .86rem; font-weight: 800; text-decoration: none; }
.learning-card > a span { color: var(--coral); font-size: 1.1rem; }

.promise { padding-block: 90px; color: white; background: var(--green-900); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.promise h2 { max-width: 570px; }
.promise-list { display: grid; gap: 0; }
.promise-list div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.promise-list div:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.promise-list strong { color: var(--yellow); }
.promise-list span { color: #c5d9d4; font-size: .9rem; }

.site-footer { padding-top: 70px; color: white; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 70px; }
.brand-footer { margin-bottom: 20px; }
.footer-grid p { max-width: 390px; color: #9cb9b2; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 10px; }
.footer-grid > div:not(:first-child) strong { margin-bottom: 8px; color: var(--yellow); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: #c8dcd7; font-size: .9rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #789b92; font-size: .78rem; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 36px; }
  .hero-visual { display: none; }
  .level-inner { grid-template-columns: 1fr; gap: 24px; }
  .level-links { overflow-x: auto; }
  .level-links a { min-width: 120px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand strong { font-size: 1.06rem; }
  .brand small { display: none; }
  .menu-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: white; background: transparent; }
  .menu-button span:first-child, .menu-button span:first-child::before, .menu-button span:first-child::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; }
  .menu-button span:first-child { position: relative; }
  .menu-button span:first-child::before { position: absolute; top: -6px; }
  .menu-button span:first-child::after { position: absolute; top: 6px; }
  .navigation { display: none; position: absolute; inset: 72px 0 auto; padding: 22px; background: var(--green-950); flex-direction: column; align-items: stretch; }
  .navigation.is-open { display: flex; }
  .hero-grid { padding-block: 65px 72px; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .search { grid-template-columns: 22px 1fr; }
  .search button { grid-column: 1 / -1; }
  .quick-links span { flex-basis: 100%; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .learning { padding-block: 76px; }
  .card-grid { grid-template-columns: 1fr; }
  .learning-card { min-height: 330px; }
  .promise { padding-block: 68px; }
  .promise-list div { grid-template-columns: 1fr; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.privacy-settings-button {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 19;
  padding: 8px 11px;
  border: 1px solid var(--green-700);
  border-radius: 6px;
  color: var(--green-900);
  background: #fffdf8;
  box-shadow: 0 5px 18px rgba(24, 54, 48, .14);
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}
.webapp-hint {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 18;
  display: none;
  width: min(calc(100% - 24px), 440px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: white;
  background: var(--green-900);
  box-shadow: 0 16px 45px rgba(9, 31, 28, .3);
}
.webapp-hint strong { color: var(--yellow); font-family: Georgia, serif; font-size: 1.15rem; }
.webapp-hint p { margin: 5px 0 14px; color: #d7e6e2; font-size: .85rem; line-height: 1.45; }
.webapp-hint-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.webapp-hint-actions button { min-height: 38px; padding: 8px 12px; border-radius: 6px; font-weight: 750; cursor: pointer; }
.webapp-install-button { border: 1px solid var(--yellow); color: var(--green-950); background: var(--yellow); }
.webapp-hint-close { border: 1px solid rgba(255, 255, 255, .45); color: white; background: transparent; }
.webapp-install-help { flex: 1 1 190px; color: #d7e6e2; font-size: .78rem; font-weight: 700; }
@media (max-width: 820px) { .webapp-hint { display: block; } }
@media (max-width: 640px) {
  .webapp-hint { bottom: 54px; }
}
