/* =========================================================
 GWN LIBRARY SYSTEM v1 | Yandex Cloud iframe edition — sentence case
 Mirrors Govori HEAD v4 values. CSS inside iframe is isolated
 from Tilda global HEAD. Edit tokens below for library design.
 ========================================================= */
:root {
  --gwn-color-background:#fbfdff;
  --gwn-color-surface:#ffffff;
  --gwn-color-blue:#cfe7ef;
  --gwn-color-wine:#78020e;
  --gwn-color-ink:#1e0003;
  --gwn-color-border:rgba(120,2,14,.12);
  --gwn-color-border-strong:rgba(120,2,14,.42);
  --gwn-font-family:'Unbounded',Arial,sans-serif;
  --gwn-font-h1:clamp(34px,3.5vw,49px);
  --gwn-font-h2:clamp(28px,2.35vw,32px);
  --gwn-font-h2-compact:clamp(25px,2vw,28px);
  --gwn-line-h1:1.13;
  --gwn-line-h2:1.16;
  --gwn-line-h2-compact:1.22;
  --gwn-content-max-width:1240px;
  --gwn-page-side-padding:24px;
  --gwn-section-gap:82px;
  --gwn-card-gap:14px;
  --gwn-card-padding:24px;
  --gwn-card-radius:4px;
  --gwn-button-height:48px;
  --gwn-button-height-large:52px;
  --gwn-hero-gap:60px;
  --gwn-hero-pad-top:52px;
  --gwn-hero-pad-bottom:82px;
  --gwn-photo-radius:4px;
  --gwn-cta-watermark-size:86px;
  --gwn-cta-watermark-opacity:.055;
  --gwn-motion-easing:cubic-bezier(.16,1,.3,1);
  /* Library-specific scales (same visual language, readable labels). */
  /* Mirrored from Tilda HEAD v4 — unified font scale for all library components. */
  --gwn-font-h3:12px;
  --gwn-font-lead:13px;
  --gwn-font-body:11px;
  --gwn-font-small:10px;
  --gwn-lib-ui:var(--gwn-font-small);
  --gwn-lib-caption:var(--gwn-font-small);
  --gwn-lib-copy:var(--gwn-font-body);
  --gwn-lib-title:var(--gwn-font-h3);
  --gwn-lib-ink-muted:rgba(30,0,3,.76);
  --gwn-lib-line:rgba(120,2,14,.18);
  --gwn-lib-soft:var(--gwn-color-border);
}
html,body {margin:0;min-height:100%;width:100%;background:var(--gwn-color-background);}
html {scroll-behavior:smooth;}
body {position:relative;}
#gwn-self-study,#gwn-self-study * {box-sizing:border-box;}
#gwn-self-study {
  min-width:0;max-width:100%;background:var(--gwn-color-background);
  color:var(--gwn-color-ink);font:300 var(--gwn-lib-copy)/1.8 var(--gwn-font-family);
  padding:0 0 72px;overflow-wrap:break-word;
}
#gwn-self-study .wrap {width:min(var(--gwn-content-max-width),calc(100% - 2 * var(--gwn-page-side-padding)));margin:0 auto;}
#gwn-self-study a {color:inherit;}
#gwn-self-study button {font-family:inherit;}
/* Site-wide heading standard: sentence case for H1–H3; decorative labels stay uppercase. */
#gwn-self-study h1,#gwn-self-study h2,#gwn-self-study h3 {text-transform:none;letter-spacing:.02em;}
#gwn-self-study h1 {font-size:var(--gwn-font-h1);line-height:var(--gwn-line-h1);font-weight:300;margin:0;max-width:100%;text-wrap:balance;}
#gwn-self-study h2 {font-size:var(--gwn-font-h2);line-height:var(--gwn-line-h2);font-weight:300;margin:0 0 24px;text-wrap:balance;}
#gwn-self-study h1 b,#gwn-self-study h2 b {color:var(--gwn-color-wine);font-weight:400;}
#gwn-self-study .eyebrow,#gwn-self-study .section-kicker {
  display:block;margin:0 0 14px;color:var(--gwn-color-wine);
  font-size:var(--gwn-lib-ui);letter-spacing:.18em;text-transform:uppercase;line-height:1.5;
}
#gwn-self-study .section {margin:0 0 var(--gwn-section-gap);}
#gwn-self-study .section h2 {max-width:900px;}
/* GLOBAL HERO RULE: every main Hero eyebrow starts with the shared pulsing dot.
   Mirrors .gwn-hero__dot in Tilda HEAD v4; this CSS is isolated in Yandex Cloud. */
#gwn-self-study .hero .eyebrow {display:flex;align-items:center;gap:10px;}
#gwn-self-study .gwn-hero__dot {
  display:block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;
  background:var(--gwn-color-wine);
  animation:gwn-hero-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes gwn-hero-dot-pulse {
  0%,100% {opacity:1;transform:scale(1);}
  50% {opacity:.35;transform:scale(.7);}
}
/* SHARED LIBRARY HERO — aligns to start, like HEAD's gwn-hero--top. */
#gwn-self-study .hero {
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:var(--gwn-hero-gap);align-items:start;
  padding:var(--gwn-hero-pad-top) 0 var(--gwn-hero-pad-bottom);
}
#gwn-self-study .hero-copy {min-width:0;max-width:760px;}
#gwn-self-study .lead {max-width:720px;margin:20px 0 0;font-size:var(--gwn-font-lead);line-height:1.8;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .principle {
  margin:24px 0 0;padding:18px 20px;border:1px solid var(--gwn-lib-line);border-radius:4px;
  background:linear-gradient(180deg,rgba(207,231,239,.32),rgba(255,255,255,.9));
  font-size:var(--gwn-lib-copy);line-height:1.75;
}
#gwn-self-study .principle b {color:var(--gwn-color-wine);font-weight:400;}
#gwn-self-study .hero-visual {
  position:relative;aspect-ratio:4/5;width:min(100%,400px);height:auto;
  margin:0 auto;min-width:0;
}
#gwn-self-study .hero-photo {position:absolute;inset:0;overflow:hidden;border-radius:var(--gwn-photo-radius);border:1px solid var(--gwn-lib-line);background:var(--gwn-color-blue);isolation:isolate;}
#gwn-self-study .hero-photo .hero-image {
  position:absolute;inset:0;
  background:url('https://static.tildacdn.com/tild6463-3539-4032-b961-333636633461/e2e0aadc-4760-440e-9.png') center 48%/cover no-repeat;
  filter:grayscale(1) contrast(1.04);
  transition:transform 1s var(--gwn-motion-easing),filter .7s var(--gwn-motion-easing);
}
#gwn-self-study .hero-visual:hover .hero-photo .hero-image {transform:scale(1.06);filter:grayscale(0) contrast(1);}
#gwn-self-study .hero-photo::before {content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(150deg,rgba(207,231,239,.35),rgba(251,253,255,.55));transition:opacity .7s;}
#gwn-self-study .hero-visual:hover .hero-photo::before {opacity:.45;}
#gwn-self-study .hero-photo::after {content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to top,rgba(120,2,14,.14),transparent 45%);}
#gwn-self-study .hero-ring {position:absolute;inset:-26px;border:1px solid var(--gwn-lib-soft);border-radius:4px;pointer-events:none;}
#gwn-self-study .hero-sign {
  position:absolute;right:-16px;bottom:-14px;z-index:4;
  padding:13px 26px;border:1px solid var(--gwn-color-border-strong);border-radius:4px;
  background:var(--gwn-color-background);color:var(--gwn-color-wine);
  font-size:19px;line-height:1.2;letter-spacing:.09em;text-transform:uppercase;
  box-shadow:0 20px 40px rgba(120,2,14,.12);
}
/* INTRO / FEATURED PICKS */
#gwn-self-study .picks {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gwn-card-gap);}
#gwn-self-study .pick-card {
  position:relative;display:flex;flex-direction:column;justify-content:space-between;
  min-height:240px;min-width:0;overflow:hidden;isolation:isolate;
  padding:var(--gwn-card-padding);border:1px solid var(--gwn-lib-line);
  border-radius:var(--gwn-card-radius);background:var(--gwn-color-surface);cursor:pointer;
  transition:transform .45s var(--gwn-motion-easing),box-shadow .45s,border-color .35s;
}
#gwn-self-study .pick-card::before {content:"";position:absolute;inset:0;background:var(--gwn-color-wine);z-index:-1;transform:translateY(100%);transition:transform .55s var(--gwn-motion-easing);}
#gwn-self-study .pick-card:hover {transform:translateY(-6px);border-color:var(--gwn-color-wine);box-shadow:0 24px 40px rgba(120,2,14,.13);}
#gwn-self-study .pick-card:hover::before {transform:translateY(0);}
#gwn-self-study .pick-card:hover .pick-num,#gwn-self-study .pick-card:hover h3,#gwn-self-study .pick-card:hover p,#gwn-self-study .pick-card:hover .pick-best,#gwn-self-study .pick-card:hover .pick-author {color:var(--gwn-color-background);}
#gwn-self-study .pick-card:focus-visible,#gwn-self-study button:focus-visible,#gwn-self-study a:focus-visible {outline:2px solid var(--gwn-color-wine);outline-offset:3px;}
#gwn-self-study .pick-num {color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.1em;text-transform:uppercase;transition:color .3s;}
#gwn-self-study .pick-card h3 {margin:22px 0 8px;font-size:var(--gwn-lib-title);line-height:1.4;font-weight:400;transition:color .3s;}
#gwn-self-study .pick-card p {margin:0;font-size:var(--gwn-lib-copy);line-height:1.72;color:var(--gwn-lib-ink-muted);transition:color .3s;}
#gwn-self-study .pick-author {margin:0 0 10px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-caption);line-height:1.55;transition:color .3s;}
#gwn-self-study .pick-best {margin-top:18px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-caption);line-height:1.6;text-transform:uppercase;transition:color .3s;}
/* SMALL LEVEL TEST CTA */
#gwn-self-study .level-test-cta {
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  margin-top:18px;padding:22px 24px;border:1px solid var(--gwn-lib-soft);border-radius:4px;
  background:rgba(207,231,239,.16);
}
#gwn-self-study .level-test-copy {min-width:0;}
#gwn-self-study .level-test-kicker {display:block;margin-bottom:7px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.14em;text-transform:uppercase;}
#gwn-self-study .level-test-cta h3 {margin:0 0 7px;font-size:var(--gwn-lib-title);line-height:1.4;font-weight:400;}
#gwn-self-study .level-test-cta p {margin:0;font-size:var(--gwn-lib-copy);line-height:1.65;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .level-test-action {display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;text-align:right;gap:7px;}
#gwn-self-study .level-test-action a {color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);line-height:1.5;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;font-weight:400;}
#gwn-self-study .level-test-action a span {display:inline-block;transition:transform .25s;}
#gwn-self-study .level-test-action a:hover span {transform:translateX(3px);}
#gwn-self-study .level-test-action small {font-size:var(--gwn-lib-ui);color:var(--gwn-lib-ink-muted);}
/* FILTERS / CATALOG */
#gwn-self-study .filters {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;}
#gwn-self-study .filter-group {margin:2px 0 24px;}
#gwn-self-study .filter-label {margin:0 0 10px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.13em;text-transform:uppercase;}
#gwn-self-study .level-filters {margin-bottom:0;}
#gwn-self-study .filter {
  min-height:40px;padding:8px 14px;
  border:1px solid var(--gwn-lib-line);border-radius:4px;
  background:var(--gwn-color-surface);color:var(--gwn-color-wine);
  font:400 var(--gwn-lib-ui)/1.35 var(--gwn-font-family);letter-spacing:.06em;text-transform:uppercase;
  cursor:pointer;transition:background .25s,border-color .25s,color .25s;
}
#gwn-self-study .filter:hover:not(.active) {background:var(--gwn-color-blue);border-color:var(--gwn-color-wine);color:var(--gwn-color-ink);}
#gwn-self-study .filter.active {background:var(--gwn-color-wine);color:var(--gwn-color-background);border-color:var(--gwn-color-wine);}
#gwn-self-study .resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gwn-card-gap);}
#gwn-self-study .resource-card[hidden] {display:none!important;}
#gwn-self-study .resource-card {
  display:flex;flex-direction:column;min-width:0;min-height:300px;
  padding:22px;border:1px solid var(--gwn-lib-soft);border-radius:4px;
  background:rgba(255,255,255,.78);
  transition:transform .35s var(--gwn-motion-easing),border-color .35s,box-shadow .35s;
}
#gwn-self-study .resource-card:hover {transform:translateY(-3px);border-color:var(--gwn-color-border-strong);box-shadow:0 18px 40px rgba(120,2,14,.07);}
#gwn-self-study .resource-card.resource-focus {border-color:var(--gwn-color-wine);box-shadow:0 0 0 2px rgba(120,2,14,.10),0 22px 46px rgba(120,2,14,.12);}
#gwn-self-study .resource-cover {
  position:relative;display:grid;place-items:center;overflow:hidden;
  height:182px;min-height:182px;margin:-22px -22px 19px;
  border-bottom:1px solid var(--gwn-lib-soft);
  background:radial-gradient(circle at 25% 22%,rgba(207,231,239,.75),transparent 34%),rgba(251,253,255,.96);
}
#gwn-self-study .resource-cover.no-cover {background:linear-gradient(135deg,rgba(207,231,239,.48),rgba(255,255,255,.95));}
#gwn-self-study .resource-cover img {position:relative;z-index:2;display:block;max-width:88%;max-height:154px;width:auto;height:auto;object-fit:contain;box-shadow:0 8px 22px rgba(30,0,3,.10);background:#fff;}
#gwn-self-study .resource-cover-fallback {
  position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);
  width:104px;height:142px;display:flex;flex-direction:column;justify-content:space-between;
  padding:14px 10px 12px;border:1px solid rgba(120,2,14,.30);border-radius:3px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(207,231,239,.72));
  box-shadow:0 8px 22px rgba(30,0,3,.08);color:var(--gwn-color-wine);text-align:left;
}
#gwn-self-study .resource-cover-fallback::before {content:"";position:absolute;left:8px;top:0;bottom:0;width:1px;background:rgba(120,2,14,.18);}
#gwn-self-study .resource-cover-fallback-type {padding-left:7px;font-size:6px;line-height:1.35;letter-spacing:.10em;text-transform:uppercase;opacity:.72;}
#gwn-self-study .resource-cover-fallback-title {padding-left:7px;font-size:9px;line-height:1.32;font-weight:500;color:var(--gwn-color-ink);overflow-wrap:anywhere;}
#gwn-self-study .resource-cover-fallback-level {padding-left:7px;font-size:7px;line-height:1;letter-spacing:.12em;text-transform:uppercase;}
#gwn-self-study .resource-cover.cover-loaded .resource-cover-fallback {opacity:0;visibility:hidden;}
#gwn-self-study .resource-cover-label {display:none;}
#gwn-self-study .resource-top {display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
#gwn-self-study .resource-type {display:inline-flex;padding:7px 9px;background:var(--gwn-color-blue);color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.08em;text-transform:uppercase;}
#gwn-self-study .resource-level {color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);white-space:nowrap;}
#gwn-self-study .resource-card h3 {margin:22px 0 6px;font-size:var(--gwn-lib-title);line-height:1.4;font-weight:400;}
#gwn-self-study .resource-author {margin:0 0 10px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-caption);line-height:1.6;}
#gwn-self-study .resource-language {margin:0 0 12px;color:var(--gwn-lib-ink-muted);font-size:var(--gwn-lib-caption);line-height:1.6;}
#gwn-self-study .resource-language b,#gwn-self-study .resource-biblio b {color:var(--gwn-color-wine);font-weight:400;}
#gwn-self-study .resource-card p {margin:0;font-size:var(--gwn-lib-copy);line-height:1.75;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .resource-best {margin-top:18px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-caption);line-height:1.65;text-transform:uppercase;}
#gwn-self-study .resource-biblio {font-size:var(--gwn-lib-caption);line-height:1.65;}
#gwn-self-study .resource-note {
  margin-top:14px;padding:14px 14px 12px;border-left:2px solid var(--gwn-color-wine);border-radius:4px;
  background:rgba(207,231,239,.28);font-size:var(--gwn-lib-copy);line-height:1.65;
}
#gwn-self-study .resource-note-label {display:block;margin-bottom:6px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.10em;text-transform:uppercase;}
#gwn-self-study .nastya-pick {margin-left:auto;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.1em;text-transform:uppercase;}
#gwn-self-study .resource-links {display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:18px;align-items:flex-end;}
#gwn-self-study .resource-link {
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;
  border:1px solid var(--gwn-lib-line);border-radius:4px;background:var(--gwn-color-surface);
  color:var(--gwn-color-wine);text-decoration:none;font-size:var(--gwn-lib-ui);line-height:1.35;
  letter-spacing:.05em;text-transform:uppercase;transition:background .25s,border-color .25s,color .25s;
}
#gwn-self-study .resource-link:hover {background:var(--gwn-color-blue);border-color:var(--gwn-color-wine);color:var(--gwn-color-ink);text-decoration:none;}
#gwn-self-study .resource-link::after {content:"";width:7px;height:7px;flex:0 0 7px;margin-left:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);}
#gwn-self-study .resource-link.primary {background:var(--gwn-color-wine);border-color:var(--gwn-color-wine);color:var(--gwn-color-background);}
#gwn-self-study .resource-link.primary:hover {background:var(--gwn-color-blue);border-color:var(--gwn-color-wine);color:var(--gwn-color-ink);}
#gwn-self-study .resource-link.secondary {background:var(--gwn-color-blue);border-color:transparent;}
#gwn-self-study .resource-link.secondary:hover {color:var(--gwn-color-ink);border-color:var(--gwn-color-wine);}
/* TORFL / TRKI PREPARATION */
#gwn-self-study .trki-section {display:none;margin:0 0 var(--gwn-section-gap);padding:30px;border:1px solid var(--gwn-lib-line);border-radius:4px;background:linear-gradient(180deg,rgba(207,231,239,.24),rgba(255,255,255,.96));}
#gwn-self-study .trki-section.is-visible {display:block;}
#gwn-self-study .trki-intro {max-width:880px;margin:-8px 0 22px;font-size:var(--gwn-lib-copy);line-height:1.8;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .trki-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
#gwn-self-study .trki-card {padding:18px;border:1px solid var(--gwn-lib-soft);border-radius:4px;background:#fff;}
#gwn-self-study .trki-card span {display:block;margin-bottom:8px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.08em;text-transform:uppercase;}
#gwn-self-study .trki-card b {display:block;margin-bottom:8px;font-size:var(--gwn-lib-title);line-height:1.4;font-weight:400;}
#gwn-self-study .trki-card p {margin:0;font-size:var(--gwn-lib-copy);line-height:1.7;color:var(--gwn-lib-ink-muted);}
/* BUTTON SYSTEM: filled wine => blue / ink on hover. */
#gwn-self-study .trki-action,#gwn-self-study .final-cta-action {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:var(--gwn-button-height-large);padding:12px 22px;
  border:1px solid var(--gwn-color-wine);border-radius:4px;
  background:var(--gwn-color-wine);color:var(--gwn-color-background);text-decoration:none;
  font-size:var(--gwn-lib-ui);line-height:1.45;letter-spacing:.08em;text-transform:uppercase;
  transition:background .3s,border-color .3s,color .3s,transform .3s;
}
#gwn-self-study .trki-action {margin-top:20px;}
#gwn-self-study .trki-action:hover,#gwn-self-study .final-cta-action:hover {
  transform:translateY(-2px);background:var(--gwn-color-blue);border-color:var(--gwn-color-wine);
  color:var(--gwn-color-ink);text-decoration:none;
}
/* GLOBAL CTA RULE: a wine-filled button on a blue CTA stays wine on hover.
   The default wine -> blue hover remains unchanged on neutral backgrounds.
   Matches the existing --stay-wine exception in Tilda HEAD v4. */
#gwn-self-study .final-cta .final-cta-action:is(:hover,:focus-visible) {
  background:var(--gwn-color-wine);
  border-color:var(--gwn-color-wine);
  color:var(--gwn-color-background);
}
/* LEARNING ROUTE / SOURCING NOTE */
#gwn-self-study .route {margin:0 0 34px;padding:28px;border:1px solid var(--gwn-lib-line);border-radius:4px;background:#fff;}
#gwn-self-study .route-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
#gwn-self-study .route-step {padding-left:14px;border-left:2px solid var(--gwn-color-blue);}
#gwn-self-study .route-step span {color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.08em;text-transform:uppercase;}
#gwn-self-study .route-step b {display:block;margin:7px 0 6px;font-weight:400;font-size:var(--gwn-lib-title);line-height:1.4;}
#gwn-self-study .route-step p {margin:0;font-size:var(--gwn-lib-copy);line-height:1.75;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .note-box {margin-top:0;padding:18px 20px;border:1px solid var(--gwn-lib-line);border-radius:4px;background:rgba(207,231,239,.20);font-size:var(--gwn-lib-copy);line-height:1.75;}
#gwn-self-study .note-box b {color:var(--gwn-color-wine);font-weight:400;}
#gwn-self-study .last-updated {display:block;width:100%;margin:22px 0 14px;text-align:left;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);line-height:1.5;opacity:.72;}
/* FINAL CTA — same blue / wine / watermark as Tilda HEAD v4 */
#gwn-self-study .final-cta {
  position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:36px;overflow:hidden;margin-top:42px;padding:42px 44px;
  border-radius:4px;background:var(--gwn-color-blue);
}
#gwn-self-study .final-cta::after {content:'ГОВОРИ';position:absolute;right:-18px;bottom:-18px;color:var(--gwn-color-wine);font-size:var(--gwn-cta-watermark-size);line-height:1;opacity:var(--gwn-cta-watermark-opacity);pointer-events:none;}
#gwn-self-study .final-cta-kicker {display:block;margin-bottom:10px;color:var(--gwn-color-wine);font-size:var(--gwn-lib-ui);letter-spacing:.17em;text-transform:uppercase;}
#gwn-self-study .final-cta h2 {font-size:var(--gwn-font-h2-compact);line-height:var(--gwn-line-h2-compact);margin:0;max-width:none;}
#gwn-self-study .final-cta p {margin:14px 0 0;max-width:600px;font-size:var(--gwn-lib-copy);line-height:1.8;color:var(--gwn-lib-ink-muted);}
#gwn-self-study .final-cta-actions {position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;}
/* Typography breakpoint mirrors Tilda HEAD v4 at 760px. Layout breakpoints below remain unchanged. */
@media(max-width:760px){
  :root{
    --gwn-font-h1:clamp(30px,8vw,34px);
    --gwn-font-h2:clamp(22px,4.2vw,25px);
    --gwn-font-h2-compact:clamp(21px,4vw,23px);
  }
}
/* RESPONSIVE LIBRARY LAYOUT */
@media(max-width:1040px){
  #gwn-self-study .choose-guide-grid,#gwn-self-study .trki-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  #gwn-self-study .final-cta {grid-template-columns:1fr;}
  #gwn-self-study .final-cta-actions {justify-content:flex-start;}
}
@media(max-width:980px){
  #gwn-self-study .hero {grid-template-columns:1fr;gap:42px;}
  #gwn-self-study .hero-visual {height:auto;width:100%;max-width:400px;aspect-ratio:4/5;margin:0 auto;}
  #gwn-self-study .hero-sign {right:auto;left:8px;bottom:-12px;}
  #gwn-self-study .picks,#gwn-self-study .resource-grid,#gwn-self-study .route-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  :root {--gwn-page-side-padding:16px;--gwn-section-gap:66px;--gwn-hero-pad-top:42px;--gwn-hero-pad-bottom:66px;--gwn-cta-watermark-size:56px;}
  #gwn-self-study .hero {gap:42px;}
  #gwn-self-study .hero-ring {inset:-14px;}
  #gwn-self-study .level-test-cta {align-items:flex-start;flex-direction:column;gap:16px;padding:20px;}
  #gwn-self-study .level-test-action {align-items:flex-start;text-align:left;}
  #gwn-self-study .resource-card {min-height:0;}
  #gwn-self-study .final-cta {padding:32px 24px;}
  #gwn-self-study .final-cta-action {width:100%;}
}
@media(max-width:620px){
  #gwn-self-study .picks,#gwn-self-study .resource-grid,#gwn-self-study .route-grid,#gwn-self-study .trki-grid {grid-template-columns:1fr;}
  #gwn-self-study .trki-section {padding:22px;}
  #gwn-self-study .pick-card {min-height:210px;}
}
@media(max-width:380px){:root{--gwn-page-side-padding:12px;}#gwn-self-study .hero-ring{inset:-10px;}}
@media(hover:none){
  #gwn-self-study .hero-photo .hero-image {filter:none;}
  #gwn-self-study .hero-photo::before {opacity:.45;}
}
@media(prefers-reduced-motion:reduce){
  #gwn-self-study .gwn-hero__dot {animation:none;}
  html {scroll-behavior:auto;}
  #gwn-self-study *,#gwn-self-study *::before,#gwn-self-study *::after {animation-duration:.01ms!important;transition-duration:.01ms!important;}
}
