:root {
  --mea-light: #CFE09B;
  --mea-lime: #94C11F;
  --mea-olive: #5F7F13;
  --mea-ink: #2F3234;
  --mea-white: #FEFEFE;
  --mea-red: #FF0000;
  --red: var(--mea-red);
  --green: var(--mea-lime);
  --green-light: var(--mea-light);
  --olive: var(--mea-olive);
  --ink: var(--mea-ink);
  --text: var(--mea-ink);
  --muted: #626667;
  --line: #DDE8C8;
  --paper: var(--mea-white);
  --soft: #F5F9EC;
  --soft-accent: #EEF5DC;
  --brand-focus: rgba(148, 193, 31, 0.24);
  --shadow: 0 18px 50px rgba(47, 50, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

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

.container {
  width: calc(100% - 40px);
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  font-weight: 700;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(254, 254, 254, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 62px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(132px, 14vw, 164px);
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.94rem;
  font-weight: 700;
  min-width: 0;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--olive);
}

.nav-cta {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: rgba(207, 224, 155, 0.28);
}

.main-nav a.nav-cta:hover {
  background: var(--green);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(47, 50, 52, 0.92) 0%, rgba(47, 50, 52, 0.74) 44%, rgba(47, 50, 52, 0.22) 100%),
    linear-gradient(0deg, rgba(47, 50, 52, 0.5), rgba(47, 50, 52, 0.05));
}

.hero-content {
  display: flex;
  min-height: 78svh;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-brand-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  margin: 0 0 1.2rem;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--paper);
  font-size: 3.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--paper);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: var(--green);
  background: rgba(148, 193, 31, 0.16);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--green-light);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.button-dark:hover {
  background: #26292B;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  background: rgba(47, 50, 52, 0.34);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

/* General sections */
.section {
  padding: 5.5rem 0;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.section h3 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0;
}

.section p {
  margin: 1rem 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.subpage-hero {
  padding: 5.5rem 0 4.5rem;
  background: var(--soft);
}

.subpage-hero-inner {
  max-width: 860px;
}

.subpage-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  margin: 1.1rem 0 0;
  color: var(--text);
  font-size: 1.14rem;
}

.two-column,
.target-layout,
.boundary-box,
.faq-layout,
.contact-layout,
.content-layout {
  display: grid;
  gap: 2rem;
}

.two-column {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  align-items: center;
}

.intro-section {
  background: var(--paper);
}

.signal-panel {
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--soft);
}

.signal-panel h3 {
  margin: 0 0 0.8rem;
}

.panel-title {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.check-list,
.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-top: 0.7rem;
}

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

/* Cards and target groups */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.45rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card:nth-child(2) {
  background: var(--soft);
}

.service-card:nth-child(3) {
  background: var(--soft-accent);
}

.card-number {
  display: inline-block;
  color: var(--olive);
  font-weight: 900;
}

.service-card h3 {
  margin: 0.7rem 0 0;
  font-size: 1.35rem;
}

.service-card a,
.text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--olive);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.target-section {
  background: var(--ink);
  color: rgba(254, 254, 254, 0.88);
}

.target-section h2,
.target-section h3 {
  color: var(--paper);
}

.target-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  align-items: start;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.audience-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-weight: 800;
}

/* Boundary and process */
.boundary-section {
  background: var(--soft);
}

.boundary-box {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  align-items: center;
  border-top: 4px solid var(--olive);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.boundary-box p {
  margin: 0;
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--paper);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.process-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

/* Long-form SEO content */
.content-section {
  background: var(--paper);
}

.content-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.content-aside {
  position: sticky;
  top: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--soft);
}

.aside-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.topic-links {
  display: grid;
  gap: 0.45rem;
}

.topic-links a {
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.topic-links a:hover {
  background: var(--paper);
  color: var(--olive);
}

.topic-panel-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.topic-panel {
  scroll-margin-top: 105px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  background: var(--paper);
}

.topic-panel:target {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--brand-focus);
}

.topic-panel h3 {
  margin: 0;
}

.topic-panel p {
  margin-top: 0.6rem;
}

.topic-panel a {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--olive);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.service-card a:hover,
.text-link:hover,
.topic-panel a:hover {
  color: var(--red);
}

.long-copy {
  max-width: 790px;
}

.long-copy h2 {
  margin-bottom: 1rem;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 1rem;
  background: var(--soft);
}

.mea-links-section {
  background: var(--soft);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.resource-grid a {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.resource-grid a:hover {
  color: var(--olive);
}

.checklist-page-section {
  background: var(--paper);
}

.checklist-detail-section {
  background: var(--soft);
}

.checklist-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checklist-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.checklist-group h3 {
  margin: 0 0 0.9rem;
  font-size: 1.16rem;
}

.deep-checklist {
  margin: 0;
  padding-left: 1.2rem;
}

.deep-checklist li {
  margin-top: 0.5rem;
}

.source-note {
  margin-top: 1.5rem;
  border-left: 5px solid var(--olive);
  border-radius: 8px;
  padding: 1rem;
  background: var(--paper);
}

.source-note p {
  margin: 0;
}

.legal-hero {
  padding-bottom: 3rem;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.response-box {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

/* FAQ and contact */
.faq-section {
  background: var(--soft);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.final-cta {
  background: var(--ink);
  color: rgba(254, 254, 254, 0.88);
}

.final-cta h2 {
  color: var(--paper);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: center;
}

.contact-copy p {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 1.1rem;
  background: rgba(254, 254, 254, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  align-items: center;
}

.contact-form label,
.consent {
  color: var(--paper);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  color: var(--paper);
  background: rgba(47, 50, 52, 0.42);
  font: inherit;
}

.contact-form select {
  appearance: auto;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.span-full {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.consent input {
  width: auto;
  margin-top: 0.2rem;
}

.privacy-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.privacy-note a {
  color: var(--paper);
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.95rem 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .brand-logo {
    width: 128px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .section h2 {
    font-size: 1.85rem;
  }

  .two-column,
  .target-layout,
  .boundary-box,
  .faq-layout,
  .contact-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
  }

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

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

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

  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-right: auto;
    margin-left: auto;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    font-size: 0.9rem;
  }

  .main-nav a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.42rem 0.35rem;
    text-align: center;
  }

  .nav-cta {
    grid-column: 1 / -1;
    border-color: var(--green);
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    min-height: 76svh;
    padding: 2.5rem 0 3rem;
  }

  .hero-brand-logo {
    display: none;
  }

  .hero-overlay {
    background: rgba(47, 50, 52, 0.78);
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .subpage-hero h1 {
    font-size: 2.2rem;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
  }

  .form-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .audience-list,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: grid;
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .audience-list {
    display: grid;
  }

  .process-list {
    display: grid;
  }

  .process-list li {
    min-height: auto;
  }
}

.section-kicker {
  color: var(--olive);
}

.target-section .section-kicker,
.maturity-section .section-kicker,
.final-cta .section-kicker {
  color: var(--green-light);
}

/* Phase 3: Beratungsseite, Nutzerfuehrung und Barrierearmut */
:root {
  --shadow-soft: 0 10px 30px rgba(47, 50, 52, 0.08);
  --radius: 10px;
}

html {
  scroll-padding-top: 92px;
}

button,
input,
select,
textarea {
  font: inherit;
}

section[id],
form[id] {
  scroll-margin-top: 92px;
}

.nav-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle-icon {
  position: relative;
  margin-left: 0.55rem;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.advisor-intro {
  display: grid;
  gap: 0.1rem;
  margin-top: 1.25rem;
  border-left: 3px solid var(--green);
  padding: 0.25rem 0 0.25rem 0.85rem;
  color: var(--paper);
}

.advisor-intro span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.deadline-section {
  background: var(--soft);
}

.deadline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.deadline-grid article {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.deadline-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

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

.source-line {
  max-width: 920px;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-line a {
  color: var(--olive);
  font-weight: 700;
  text-underline-offset: 3px;
}

.outcome-grid .service-card {
  min-height: 230px;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audience-cards article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
}

.audience-cards h3,
.audience-cards p {
  margin-top: 0;
}

.target-section .text-link {
  color: var(--green-light);
}

.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-list li {
  min-height: 180px;
}

.process-list small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.maturity-section {
  background: var(--ink);
  color: rgba(254, 254, 254, 0.84);
}

.maturity-section h2,
.maturity-section h3 {
  color: var(--paper);
}

.maturity-section .source-line {
  color: rgba(254, 254, 254, 0.7);
}

.maturity-section .source-line a {
  color: var(--green-light);
}

.maturity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.maturity-grid li {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.06);
}

.maturity-grid li::after {
  position: absolute;
  top: 2rem;
  right: -0.75rem;
  z-index: 1;
  color: var(--green);
  content: "→";
  font-size: 1.4rem;
  font-weight: 900;
}

.maturity-grid li:last-child::after {
  content: none;
}

.maturity-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.maturity-grid h3 {
  margin: 1rem 0 0;
}

.maturity-grid p {
  color: rgba(254, 254, 254, 0.75);
  font-size: 0.94rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topics-grid li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.35rem;
  background: var(--soft);
  font-weight: 700;
}

.topics-grid li::before {
  position: absolute;
  top: 1rem;
  left: 0.9rem;
  color: var(--olive);
  content: "✓";
  font-weight: 900;
}

.check-entry-section {
  background: var(--soft-accent);
}

.check-entry-section .signal-panel {
  background: var(--paper);
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 940px;
}

.advisor-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--olive);
  box-shadow: var(--shadow-soft);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
}

.advisor-points {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.advisor-points li {
  position: relative;
  padding-left: 1.5rem;
}

.advisor-points li::before {
  position: absolute;
  left: 0;
  color: var(--olive);
  content: "✓";
  font-weight: 900;
}

.advisor-links {
  color: var(--muted);
  font-size: 0.9rem;
}

.advisor-links a {
  color: var(--olive);
  font-weight: 800;
  text-underline-offset: 3px;
}

.contact-copy a {
  color: var(--paper);
  font-weight: 800;
  text-underline-offset: 3px;
}

summary:hover {
  color: var(--olive);
}

@media (max-width: 1040px) {
  .maturity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maturity-grid li:nth-child(2)::after {
    content: none;
  }
}

@media (max-width: 860px) {
  .card-grid,
  .deadline-grid,
  .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-layout {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 14px 1rem;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
  }

  .card-grid,
  .deadline-grid,
  .topics-grid,
  .audience-cards,
  .maturity-grid,
  .advisor-layout {
    grid-template-columns: 1fr;
  }

  .maturity-grid li::after,
  .maturity-grid li:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -1.35rem;
    transform: translateX(50%) rotate(90deg);
    content: "→";
  }

  .maturity-grid li:last-child::after {
    content: none;
  }

  .advisor-mark {
    width: 132px;
  }
}

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

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