:root {
  --paper: #f1eee6;
  --paper-deep: #e7e1d5;
  --surface: #faf8f2;
  --ink: #211f1c;
  --ink-soft: #666159;
  --line: #bdb6a9;
  --line-soft: rgba(33, 31, 28, 0.14);
  --wine: #702c3d;
  --wine-dark: #4f1d2a;
  --blue: #19465a;
  --blue-light: #dce9e9;
  --amber: #d98942;
  --white: #fffefa;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", Arial, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --wide: 1320px;
  --article: 1120px;
  --shadow: 14px 18px 0 rgba(33, 31, 28, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(33, 31, 28, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 31, 28, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

.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;
  top: 10px;
  left: 12px;
  z-index: 1200;
  padding: 10px 15px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 4px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
}

.disclosure {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 6px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--blue);
  color: #dce8e9;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.035em;
}

.disclosure strong {
  color: var(--white);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.disclosure a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 238, 230, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 44px), var(--wide));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--wine);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-name {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-dot {
  color: var(--wine);
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.main-nav a {
  position: relative;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--wine);
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span:not(.sr-only),
.menu-button::before,
.menu-button::after {
  width: 18px;
  height: 1px;
  display: block;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button[aria-expanded="true"] span:not(.sr-only) {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.hero {
  position: relative;
  width: min(calc(100% - 44px), var(--wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: clamp(45px, 6vw, 95px);
  padding: clamp(55px, 7vw, 106px) 0 clamp(72px, 9vw, 132px);
}

.hero::before {
  position: absolute;
  top: 42px;
  bottom: 68px;
  left: 44.3%;
  width: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.kicker,
.section-tag {
  margin: 0 0 26px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kicker::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.kicker span {
  padding: 0;
}

.hero h1 {
  max-width: 670px;
  margin: 0 0 30px;
  font-family: var(--sans);
  font-size: clamp(3.15rem, 5.1vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 590px;
  margin: 0 0 34px;
  padding-left: 22px;
  border-left: 3px solid var(--amber);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--wine);
  font-family: var(--serif);
  font-weight: 700;
}

.byline strong,
.byline span {
  display: block;
}

.byline strong {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.byline span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.hero-visual {
  position: relative;
  align-self: center;
  margin: 0;
  padding: 0 0 56px;
}

.hero-visual::before {
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 75px;
  left: 18px;
  z-index: -1;
  border: 1px solid var(--ink);
  content: "";
}

.hero-visual::after {
  position: absolute;
  top: -38px;
  right: 50px;
  width: 72px;
  height: 72px;
  z-index: -2;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.87) contrast(1.02);
}

.hero-visual figcaption {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: min(425px, 74%);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin: 0;
  padding: 19px 22px;
  border-top: 4px solid var(--wine);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.55;
  box-shadow: var(--shadow);
}

.hero-visual figcaption span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.article-layout {
  position: relative;
  width: min(calc(100% - 44px), var(--article));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  align-items: start;
  gap: clamp(55px, 8vw, 105px);
  padding-bottom: clamp(90px, 10vw, 145px);
}

.article-layout::before {
  position: absolute;
  top: 0;
  right: calc(100% + 44px);
  width: calc((100vw - var(--article)) / 2);
  min-width: 80px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.article-body {
  min-width: 0;
}

.article-body > p {
  margin: 0 0 27px;
}

.article-body .standfirst {
  position: relative;
  margin-bottom: 38px;
  padding: 34px 0 0 68px;
  border-top: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.34rem, 2.2vw, 1.76rem);
  line-height: 1.52;
}

.article-body .standfirst::before {
  position: absolute;
  top: 35px;
  left: 0;
  color: var(--wine);
  content: "§";
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.article-body h2 {
  position: relative;
  margin: 78px 0 26px;
  padding-top: 21px;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.article-body em {
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
}

blockquote {
  position: relative;
  margin: 52px 0;
  padding: 38px 40px 39px 112px;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 9px 9px 0 var(--blue-light);
}

blockquote::before {
  position: absolute;
  top: 30px;
  left: 33px;
  color: var(--wine);
  content: "“";
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
}

blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.pull-insight {
  position: relative;
  margin: 56px 0 72px;
  padding: 40px 48px 45px;
  overflow: hidden;
  border-left: 9px solid var(--amber);
  background: var(--wine);
  color: var(--white);
}

.pull-insight::after {
  position: absolute;
  top: -80px;
  right: -65px;
  width: 195px;
  height: 195px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(255, 255, 255, 0.05),
    0 0 0 52px rgba(255, 255, 255, 0.035);
  content: "";
}

.pull-insight span {
  display: block;
  margin-bottom: 15px;
  color: #e5bd90;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.pull-insight p {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.28;
}

.situation-grid {
  margin: 42px 0 58px;
  border-top: 1px solid var(--ink);
}

.situation-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 74px minmax(160px, 0.6fr) 1fr;
  align-items: center;
  gap: 24px;
  padding: 27px 12px 27px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.situation-icon {
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.situation-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.situation-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.55;
}

.editorial-figure {
  max-width: 100%;
  position: relative;
  margin: 60px -44px 70px 0;
  padding-bottom: 38px;
}

.editorial-figure::before {
  position: absolute;
  top: 24px;
  right: -20px;
  bottom: 14px;
  left: 24px;
  z-index: -1;
  background: var(--blue);
  content: "";
}

.editorial-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 12 / 7.6;
  object-fit: cover;
  filter: saturate(0.86);
}

.editorial-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(510px, 78%);
  margin: 0;
  padding: 15px 18px;
  border-left: 4px solid var(--amber);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.69rem;
  line-height: 1.5;
}

.phrase-card {
  margin: 45px 0 58px;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.phrase-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 21px;
  border-bottom: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phrase-card dl {
  margin: 0;
  counter-reset: phrase;
}

.phrase-card dl > div {
  position: relative;
  display: grid;
  grid-template-columns: 35px minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: 20px;
  padding: 22px 23px;
  border-bottom: 1px solid var(--line);
  counter-increment: phrase;
  transition: background 160ms ease;
}

.phrase-card dl > div::before {
  color: var(--wine);
  content: "0" counter(phrase);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.phrase-card dl > div:hover {
  background: var(--blue-light);
}

.phrase-card dl > div:last-child {
  border-bottom: 0;
}

.phrase-card dt {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.48;
}

.phrase-card dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.article-aside {
  position: sticky;
  top: 110px;
  padding-top: 1px;
}

.aside-card {
  position: relative;
  padding: 28px 25px 25px;
  border-top: 5px solid var(--wine);
  border-bottom: 1px solid var(--ink);
  background: transparent;
}

.aside-card::before {
  position: absolute;
  top: -5px;
  right: 0;
  width: 36px;
  height: 5px;
  background: var(--amber);
  content: "";
}

.aside-label {
  display: block;
  margin-bottom: 14px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.aside-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.58;
}

.aside-card a {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.course-section {
  position: relative;
  padding: clamp(90px, 10vw, 140px) max(22px, calc((100vw - var(--wide)) / 2)) 120px;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
  color: var(--ink);
}

.course-section::before {
  position: absolute;
  top: 0;
  right: max(22px, calc((100vw - var(--wide)) / 2));
  width: 31%;
  height: 12px;
  background: var(--wine);
  content: "";
}

.course-section-head {
  position: relative;
  max-width: 940px;
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  gap: 30px 55px;
  margin-bottom: 55px;
}

.course-section .section-tag {
  margin-top: 12px;
}

.course-section-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
}

.course-section-head > p:last-child {
  grid-column: 2;
  max-width: 670px;
  margin: -10px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.level-check {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 2fr);
  gap: 12px 42px;
  margin-bottom: 31px;
  padding: 28px 31px;
  border-left: 7px solid var(--amber);
  background: var(--blue);
  color: var(--white);
}

.level-question {
  grid-row: 1 / span 2;
  margin: 0;
  align-self: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}

.level-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.level-options button {
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.43);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.level-options button:hover {
  border-color: var(--amber);
}

.level-options button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.level-result {
  min-height: 1.5em;
  margin: 2px 0 0;
  color: #cadada;
  font-size: 0.68rem;
}

.course-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.course-card {
  position: relative;
  min-height: 505px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.course-card.featured {
  background: var(--blue-light);
}

.course-card.is-recommended {
  z-index: 2;
  transform: translate(-6px, -6px);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--amber);
}

.recommendation {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 14px;
  background: var(--wine);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.level-badge {
  color: var(--wine);
  font-family: var(--sans);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.course-price {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: #39705f;
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.course-provider {
  margin: 0 0 23px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-card > p:not(.course-provider) {
  margin: 0 0 23px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.course-card ul {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.course-card li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.course-card li::before {
  position: absolute;
  left: 0;
  color: var(--wine);
  content: "—";
  font-weight: 900;
}

.course-link {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.course-link:hover {
  background: var(--ink);
  color: var(--white);
}

.premium-course {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  margin-top: 26px;
  padding: 40px 43px;
  overflow: hidden;
  border-left: 9px solid var(--amber);
  background: var(--wine);
  color: var(--white);
}

.premium-course::after {
  position: absolute;
  right: -105px;
  bottom: -140px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 37px rgba(255, 255, 255, 0.035);
  content: "";
}

.premium-eyebrow {
  margin: 0 0 10px;
  color: #e8c19b;
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.premium-course h3 {
  margin: 0 0 11px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.premium-course div > p:last-child {
  max-width: 750px;
  margin: 0;
  color: #ead9dd;
  font-size: 0.82rem;
}

.premium-course > a {
  position: relative;
  z-index: 1;
  min-width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 19px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--wine-dark);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.premium-course > a:hover {
  background: transparent;
  color: var(--white);
}

.course-disclosure {
  max-width: 900px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
  line-height: 1.6;
}

.closing {
  position: relative;
  padding: clamp(100px, 12vw, 170px) 22px;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.closing::before,
.closing::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.closing::before {
  top: -150px;
  left: -120px;
  width: 360px;
  height: 360px;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025);
}

.closing::after {
  right: -70px;
  bottom: -100px;
  width: 270px;
  height: 270px;
}

.closing-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1050px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.55fr 2fr;
  gap: 20px 55px;
  text-align: left;
}

.closing .section-tag {
  margin-top: 10px;
  color: #f1bd85;
}

.closing h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.065em;
}

.closing p:not(.section-tag) {
  grid-column: 2;
  max-width: 720px;
  margin: 10px 0 7px;
  color: #d5e2e3;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.primary-cta {
  grid-column: 2;
  width: fit-content;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  gap: 19px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--amber);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-cta span {
  transition: transform 160ms ease;
}

.primary-cta:hover span {
  transform: translateY(4px);
}

.sources {
  width: min(calc(100% - 44px), 1000px);
  margin: 0 auto;
  padding: 70px 0 82px;
}

.sources h2 {
  margin: 0 0 23px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sources ul {
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.sources li {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.sources li,
.sources p {
  color: var(--ink-soft);
  font-size: 0.69rem;
  line-height: 1.55;
}

.sources a {
  font-weight: 750;
}

.site-footer {
  padding: 62px max(22px, calc((100vw - var(--wide)) / 2)) 22px;
  border-top: 8px solid var(--amber);
  background: #1b1a18;
  color: #aaa69e;
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.brand-light {
  color: var(--white);
}

.brand-light .brand-mark {
  border-color: #7e7971;
}

.footer-tagline {
  max-width: 290px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 0.88rem;
}

.footer-meta > p {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: 0.67rem;
  line-height: 1.62;
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-meta a {
  color: #e5e1d9;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #77736c;
  font-size: 0.62rem;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1000;
  width: min(calc(100% - 44px), 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 7px solid var(--amber);
  background: var(--blue);
  box-shadow: 10px 14px 0 rgba(33, 31, 28, 0.18);
  color: var(--white);
  animation: cookie-banner-in 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-banner-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.cookie-banner-label {
  padding-top: 5px;
  color: #c9dcdf;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.cookie-banner h2 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
}

.cookie-banner p {
  max-width: 720px;
  margin: 0;
  color: #dce8e9;
  font-size: 0.78rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--white);
  font-weight: 750;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--white);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cookie-button:hover {
  transform: translateY(-2px);
}

.cookie-button-primary {
  background: var(--white);
  color: var(--blue);
}

.cookie-button-primary:hover {
  background: var(--amber);
  color: var(--ink);
}

.cookie-button-secondary {
  background: transparent;
  color: var(--white);
}

.cookie-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-main {
  width: min(calc(100% - 44px), 980px);
  margin: 0 auto;
  padding: 80px 0 120px;
}

.legal-head {
  position: relative;
  margin-bottom: 55px;
  padding: clamp(38px, 7vw, 76px);
  overflow: hidden;
  border-left: 9px solid var(--amber);
  background: var(--blue);
  color: var(--white);
}

.legal-head::after {
  position: absolute;
  top: -85px;
  right: -55px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035);
  content: "";
}

.legal-head h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 11px;
  font-family: var(--sans);
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.legal-head p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #d4e2e3;
}

.legal-copy {
  max-width: 780px;
  margin: 0 auto;
}

.legal-copy h2 {
  margin: 52px 0 15px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.legal-copy p {
  margin: 0 0 19px;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy li {
  margin-bottom: 8px;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    min-width: 0;
    max-width: 850px;
  }

  .hero h1 {
    max-width: 800px;
  }

  .hero-visual {
    min-width: 0;
    width: min(90%, 820px);
    margin-left: auto;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 52px;
  }

  .course-section-head,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .course-section-head > p:last-child,
  .closing p:not(.section-tag),
  .primary-cta {
    grid-column: 1;
  }

  .closing .section-tag {
    margin-bottom: 0;
  }
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .disclosure {
    align-items: flex-start;
    gap: 3px;
    flex-direction: column;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    padding: 8px 22px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-row: 1;
  }

  .aside-card {
    max-width: 600px;
  }

  .situation-card {
    grid-template-columns: 55px 0.7fr 1fr;
  }

  .level-check {
    grid-template-columns: 1fr;
  }

  .level-question {
    grid-row: auto;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 470px;
  }

  .premium-course {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .premium-course > a {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 540px) {
  .header-inner,
  .hero,
  .article-layout,
  .sources,
  .legal-main {
    width: calc(100% - 30px);
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .hero {
    gap: 48px;
    padding-top: 45px;
    padding-bottom: 84px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.45rem;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .hero-lead {
    padding-left: 16px;
  }

  .hero-visual {
    width: calc(100% - 10px);
  }

  .hero-visual::before {
    top: -10px;
    right: -10px;
    left: 10px;
  }

  .hero-visual::after {
    top: -26px;
    right: 30px;
    width: 52px;
    height: 52px;
  }

  .hero-visual figcaption {
    width: 91%;
    grid-template-columns: 22px 1fr;
    padding: 14px 15px;
  }

  .article-body .standfirst {
    padding-left: 43px;
  }

  .article-body h2 {
    margin-top: 60px;
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  blockquote {
    padding: 72px 23px 28px;
  }

  blockquote::before {
    top: 24px;
    left: 21px;
  }

  .pull-insight {
    padding: 32px 25px 35px;
    border-left-width: 6px;
  }

  .situation-card {
    min-height: auto;
    grid-template-columns: 42px 1fr;
    gap: 8px 15px;
    padding: 23px 4px 23px 0;
  }

  .situation-card p {
    grid-column: 2;
  }

  .editorial-figure {
    margin-right: -5px;
  }

  .editorial-figure::before {
    right: -10px;
    left: 12px;
  }

  .editorial-figure figcaption {
    width: 91%;
  }

  .phrase-card-head {
    flex-direction: column;
    gap: 2px;
  }

  .phrase-card dl > div {
    grid-template-columns: 28px 1fr;
    gap: 6px 11px;
    padding: 20px 17px;
  }

  .phrase-card dd {
    grid-column: 2;
  }

  .course-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .course-section-head {
    gap: 10px;
  }

  .course-section-head h2 {
    font-size: 3.15rem;
  }

  .level-check {
    padding: 24px 20px;
  }

  .level-options {
    display: grid;
  }

  .level-options button {
    width: 100%;
    text-align: left;
  }

  .course-card {
    min-height: auto;
    padding: 29px 22px;
  }

  .recommendation {
    max-width: 175px;
    text-align: center;
  }

  .premium-course {
    padding: 32px 23px;
  }

  .premium-course > a {
    width: 100%;
  }

  .closing {
    padding-right: 15px;
    padding-left: 15px;
  }

  .closing-inner {
    gap: 13px;
  }

  .closing h2 {
    font-size: 3.1rem;
  }

  .primary-cta {
    width: 100%;
    justify-content: space-between;
  }

  .legal-copy {
    padding: 0 2px;
  }

  .cookie-banner {
    right: 15px;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    padding: 20px 18px;
  }

  .cookie-banner-copy {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .cookie-banner-label {
    padding: 0;
    writing-mode: initial;
    transform: none;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
