﻿:root {
  --ink: #182023;
  --muted: #5d686b;
  --paper: #fbf9fb;
  --soft: #f1e8f4;
  --line: #ded2e2;
  --plum: #923e8c;
  --plum-dark: #3e0034;
  --accent: #b374e8;
  --gold: #ffb397;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 29, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(247, 250, 248, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 84px;
  height: 64px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.language-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.language-switcher a {
  min-width: 34px;
  padding: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.language-switcher a[aria-current="page"] {
  color: var(--white);
  background: var(--plum);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(247, 250, 248, 0.94), rgba(247, 250, 248, 0.74));
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 680px;
  color: #334044;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.hero-panel {
  justify-self: end;
  max-width: 420px;
  padding: 28px;
  border: 1px solid rgba(24, 32, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--plum-dark);
  font-size: 1.4rem;
  line-height: 1.15;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-band div {
  padding: 26px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.signal-band div:last-child {
  border-right: 0;
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band strong {
  color: var(--plum-dark);
  font-size: 1.2rem;
}

.signal-band span {
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 118px) clamp(18px, 5vw, 76px);
}

.intro,
.interactive,
.irena {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.subhero p,
.program-detail p,
.cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.diagnostic {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.diagnostic-item {
  width: 100%;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.diagnostic-item.active {
  color: var(--plum-dark);
  background: #f3edf4;
}

.diagnostic-result {
  padding: 18px 16px 12px;
}

.diagnostic-result strong,
.diagnostic-result span {
  display: block;
}

.diagnostic-result span {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.method-card {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--ink);
  color: var(--white);
}

.method-card span {
  color: var(--gold);
  font-weight: 900;
}

.method-card p {
  color: #c7d2d1;
}

.pain-grid,
.format-grid,
.module-grid,
.reference-cloud {
  display: grid;
  gap: 18px;
}

.pain-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pain-card,
.format-card,
.module-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pain-card {
  display: grid;
  gap: 14px;
}

.pain-card strong,
.format-card strong {
  color: var(--plum-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.pain-card span,
.format-card span,
.module-card p {
  color: var(--muted);
}

.format-grid {
  grid-template-columns: repeat(4, 1fr);
}

.format-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
}

.format-card em {
  display: block;
  margin-bottom: 0;
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.format-card strong,
.format-card span {
  display: block;
  overflow-wrap: anywhere;
}

.format-card strong {
  max-width: 100%;
}

.module-grid {
  grid-template-columns: repeat(3, 1fr);
}

.module-card {
  background: linear-gradient(180deg, #ffffff, #fbf6fc);
}

.module-card small {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-card h3 {
  margin-bottom: 12px;
}

.module-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.article-list {
  background: var(--white);
}

.article-list .module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list .module-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.article-list .module-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.12;
}

.article-list .module-card p {
  margin-bottom: 20px;
}

.article-list .module-card a {
  margin-top: auto;
}

.reference-cloud {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reference-cloud span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}

.authority-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--white);
}

.authority-strip p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

.authority-links {
  display: grid;
  gap: 14px;
}

.authority-link {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--plum);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(24, 32, 35, 0.06);
  text-decoration: none;
}

.authority-link strong,
.authority-link span {
  display: block;
}

.authority-link strong {
  color: var(--plum-dark);
  font-size: 1.18rem;
  line-height: 1.2;
}

.authority-link span {
  margin-top: 0;
  color: var(--muted);
}

.article-hero {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(24, 32, 35, 0.94), rgba(62, 0, 52, 0.78)),
    url("assets/spiriton-website-title.jpg");
  background-size: cover;
  background-position: center 42%;
  color: var(--white);
}

.article-hero h1 {
  max-width: 920px;
  font-size: clamp(2.45rem, 5.2vw, 5.1rem);
  line-height: 1;
}

.article-hero p {
  max-width: 760px;
  color: #e6ecea;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 860px);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  justify-content: center;
}

.article-body {
  max-width: 840px;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.article-body h3 {
  margin-top: 26px;
}

.article-body p,
.article-body li {
  color: #334044;
  font-size: 1.06rem;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-aside,
.article-index {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 32, 35, 0.06);
}

.article-aside img {
  max-width: 140px;
  margin-bottom: 18px;
}

.article-index {
  position: sticky;
  top: 96px;
}

.article-index a,
.article-aside a {
  display: block;
  color: var(--plum);
  font-weight: 900;
  text-decoration: none;
}

.article-index a + a,
.article-aside a + a {
  margin-top: 10px;
}

.bio-list,
.insight-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bio-list li,
.insight-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.content-nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--plum);
  font-weight: 900;
  text-decoration: none;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tools {
  background: var(--paper);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 32, 35, 0.06);
}

.tool-card.wide-tool {
  grid-template-columns: 1fr;
}

.tool-logo {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6edf8);
  color: var(--plum-dark);
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
}

.tool-logo img {
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
}

.tool-logo.logo-wide {
  justify-content: start;
  background: var(--white);
}

.tool-logo.logo-wide img {
  width: min(100%, 420px);
  max-height: 120px;
}

.tool-logo span {
  display: block;
  color: var(--plum);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-details a,
.contact-details span {
  color: #f4eaf6;
  text-decoration: none;
}

.contact-details strong {
  color: var(--white);
}

.proof {
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-grid blockquote {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbf6fc);
}

.proof-grid p {
  color: var(--ink);
  font-size: 1.02rem;
}

.proof-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--plum);
  font-style: normal;
  font-weight: 900;
}

.program-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-card.featured {
  border-color: rgba(143, 63, 146, 0.38);
  background: #fbf7fb;
}

.program-card p {
  color: var(--muted);
}

.program-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--plum-dark);
  font-weight: 900;
}

.scoreboard {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.scoreboard label {
  display: block;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--plum);
}

.score-output {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.score-output span,
.score-output strong {
  display: block;
}

.score-output strong {
  color: var(--plum-dark);
  font-size: 3rem;
  line-height: 1;
}

.score-output p {
  color: var(--muted);
}

.irena {
  background: var(--white);
}

.irena-copy blockquote {
  margin: 26px 0 0;
  padding-left: 22px;
  border-left: 4px solid var(--plum);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
}

.outcomes {
  background: var(--soft);
}

.outcome-list {
  max-width: 940px;
}

.accordion {
  width: 100%;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #c6d0cc;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.accordion.open::after {
  content: "-";
}

.accordion-panel {
  display: none;
  max-width: 720px;
  padding: 16px 0 24px;
  color: var(--muted);
}

.accordion.open + .accordion-panel {
  display: block;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding: clamp(58px, 8vw, 118px) clamp(18px, 5vw, 76px);
  background: var(--ink);
  color: var(--white);
}

.cta p {
  color: #c7d2d1;
}

.server-contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.server-contact-form label {
  color: #e8efec;
  font-size: 0.92rem;
  font-weight: 800;
}

.server-contact-form input,
.server-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.footer span {
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 460px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

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

.cookie-banner p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-actions button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.mobile-quick-cta {
  display: none;
}

.subhero {
  padding: clamp(64px, 10vw, 140px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(24, 32, 35, 0.9), rgba(24, 32, 35, 0.58)),
    url("assets/spiriton-website-title.jpg");
  background-size: cover;
  background-position: center 40%;
  color: var(--white);
}

.subhero p {
  max-width: 760px;
  color: #d8e1de;
}

.program-detail {
  display: grid;
  grid-template-columns: 120px minmax(0, 760px);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.program-detail.alt {
  background: var(--paper);
}

.detail-index {
  color: var(--plum);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #334044;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.architecture {
  background: var(--soft);
}

.timeline {
  display: grid;
  gap: 1px;
  background: #c6d0cc;
}

.timeline div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--white);
}

.timeline span {
  color: var(--muted);
}

.cta.compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

@media (max-width: 920px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-logo {
    width: 72px;
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .language-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero,
  .intro,
  .interactive,
  .irena,
  .authority-strip,
  .article-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 38px;
  }

  .hero-media {
    opacity: 0.14;
  }

  .hero-panel {
    justify-self: start;
    max-width: none;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(16, 29, 31, 0.12);
  }

  .hero-panel strong {
    font-size: 1.18rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .signal-band,
  .method,
  .program-grid,
  .tools-grid,
  .proof-grid,
  .article-list .module-grid,
  .pain-grid,
  .format-grid,
  .module-grid,
  .reference-cloud {
    grid-template-columns: 1fr;
  }

  .tool-card {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method {
    gap: 1px;
  }

  .method-card {
    min-height: auto;
  }

  .program-detail {
    grid-template-columns: 1fr;
  }

  .timeline div,
  .cta.compact {
    grid-template-columns: 1fr;
  }

  .article-index {
    position: static;
  }

  .mobile-quick-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 10px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(24, 32, 35, 0.96);
    color: var(--white);
    box-shadow: 0 18px 44px rgba(16, 29, 31, 0.24);
    text-decoration: none;
    backdrop-filter: blur(14px);
  }

  .mobile-quick-cta span {
    overflow: hidden;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-quick-cta strong {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 6px;
    background: var(--plum);
    font-size: 0.82rem;
    line-height: 1;
  }

  .cookie-banner {
    right: 12px;
    bottom: 88px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.28rem;
    line-height: 1;
  }

  .article-hero h1 {
    font-size: 2.15rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.78rem;
    line-height: 1.08;
  }

  h3 {
    font-size: 1.12rem;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-lead,
  .section-copy p:not(.eyebrow),
  .subhero p,
  .program-detail p,
  .cta p {
    font-size: 0.98rem;
  }

  .hero {
    padding: 42px 18px 32px;
  }

  .hero-panel {
    margin-top: 2px;
  }

  .signal-band div {
    padding: 18px;
  }

  .section,
  .cta,
  .subhero,
  .article-hero,
  .program-detail {
    padding-top: 46px;
    padding-bottom: 46px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .pain-grid,
  .format-grid,
  .module-grid,
  .program-grid,
  .tools-grid,
  .proof-grid {
    gap: 12px;
  }

  .pain-card,
  .format-card,
  .module-card,
  .authority-link,
  .article-aside,
  .article-index,
  .program-card,
  .tool-card,
  .proof-grid blockquote,
  .scoreboard,
  .server-contact-form {
    padding: 18px;
  }

  .program-card,
  .format-card {
    min-height: auto;
  }

  .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
  }

  .detail-index {
    font-size: 3rem;
  }

  .check-list {
    margin-top: 18px;
  }

  .timeline div {
    padding: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cookie-banner {
    padding: 14px;
  }

  .cookie-actions .button,
  .cookie-actions button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
