:root {
  --ed-ink: #12211d;
  --ed-muted: #5c6b65;
  --ed-faint: #829089;
  --ed-bg: #f4efe4;
  --ed-paper: #fffaf0;
  --ed-panel: #f9f4e8;
  --ed-green: #075947;
  --ed-green-dark: #082720;
  --ed-gold: #c57f2c;
  --ed-line: rgba(18, 33, 29, 0.14);
  --ed-line-strong: rgba(18, 33, 29, 0.24);
  --ed-shadow: 0 24px 70px rgba(24, 30, 26, 0.14);
  --ed-serif: "Fraunces", Georgia, serif;
  --ed-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ed-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--ed-ink);
  background: var(--ed-bg);
  font-family: var(--ed-sans);
  font-size: 16px;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(rgba(18, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 29, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 4%, rgba(7, 89, 71, 0.06), transparent 28rem),
    var(--ed-bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(7, 89, 71, 0.42);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ed-green);
  text-decoration-color: var(--ed-green);
}

.ed-skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.65rem 0.9rem;
  background: var(--ed-green-dark);
  color: #fff;
  border-radius: 999px;
}

.ed-skip-link:focus {
  transform: none;
}

.ed-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(248, 241, 229, 0.12);
  background: rgba(8, 39, 32, 0.96);
  backdrop-filter: blur(18px);
}

.ed-header__inner {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ed-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(250px, 24vw, 335px);
  padding: 0.55rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ed-brand img {
  width: 100%;
}

.ed-nav__list,
.ed-footer__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
  color: rgba(248, 241, 229, 0.86);
  white-space: nowrap;
}

.ed-nav__list a:hover,
.ed-nav__cta {
  color: #fff;
  background: rgba(248, 241, 229, 0.1);
  box-shadow: none;
}

.ed-main {
  min-height: 60vh;
}

.ed-wrap,
.container,
.ed-home-hero__grid {
  width: min(1220px, calc(100% - 2rem));
  margin-inline: auto;
}

.ed-home-hero {
  padding: clamp(1.2rem, 2.6vw, 2.8rem) 0 clamp(1.5rem, 3vw, 3rem);
  border-bottom: 1px solid var(--ed-line);
}

.ed-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.08fr);
  align-items: stretch;
  gap: clamp(1.65rem, 4.5vw, 5rem);
}

.ed-home-hero__copy {
  max-width: 620px;
}

.ed-kicker,
.ed-card__type {
  margin: 0 0 0.75rem;
  font-family: var(--ed-mono);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-green);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--ed-serif);
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 15.5ch;
  font-size: clamp(2.2rem, 3.35vw, 3.45rem);
  line-height: 1.03;
}

.ed-page-hero h1,
.ed-guide-hero h1 {
  max-width: 17ch;
  font-size: clamp(1.95rem, 2.8vw, 3rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.65rem, 2.45vw, 2.55rem);
}

h3 {
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  line-height: 1.1;
}

.ed-lede {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--ed-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.68;
}

.ed-home-hero .ed-lede {
  max-width: 36rem;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

.ed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.ed-button,
button.ed-button,
.ed-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--ed-green);
  border-radius: 12px;
  background: var(--ed-green);
  color: #fff;
  font: 800 0.94rem/1 var(--ed-sans);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(7, 89, 71, 0.18);
  cursor: pointer;
}

.ed-button:hover {
  color: #fff;
  background: var(--ed-green-dark);
}

.ed-button--ghost {
  background: var(--ed-paper);
  color: var(--ed-green);
  border-color: var(--ed-line-strong);
  box-shadow: none;
}

.ed-button--ghost:hover {
  color: var(--ed-green-dark);
  background: #fff;
}

.ed-home-hero__visual {
  position: relative;
  min-width: 0;
  padding-top: 0.25rem;
  display: flex;
  align-items: stretch;
}

.ed-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 33, 29, 0.15);
  background: var(--ed-paper);
  box-shadow: var(--ed-shadow);
}

.ed-media--hero {
  position: relative;
  border-radius: 26px;
  padding: 0.75rem;
  transform: rotate(0.6deg);
  width: 100%;
  height: calc(100% - 1.7rem);
  min-height: clamp(430px, 34vw, 590px);
}

.ed-media--hero::before {
  content: "";
  position: absolute;
  inset: -1.25rem 1.5rem auto -1.25rem;
  height: 72px;
  border: 1px solid rgba(18, 33, 29, 0.14);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.7);
  transform: rotate(-2deg);
  z-index: -1;
}

.ed-media--hero img,
.ed-media--guide img,
.ed-media--page img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.ed-media--hero img {
  height: 100%;
  aspect-ratio: auto;
}

.ed-media--page,
.ed-media--guide {
  border-radius: 22px;
  padding: 0.65rem;
}

.ed-hero-note {
  position: absolute;
  right: 1.25rem;
  bottom: -2rem;
  width: min(330px, 72%);
  padding: 1rem;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 20px 50px rgba(18, 33, 29, 0.12);
}

.ed-hero-note span {
  display: block;
  margin-bottom: 0.3rem;
  font: 700 0.68rem/1.2 var(--ed-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ed-green);
}

.ed-hero-note strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.ed-content {
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(3rem, 7vw, 6rem);
}

.ed-band {
  padding: clamp(1.85rem, 4vw, 3.8rem) 0;
  border-bottom: 1px solid rgba(18, 33, 29, 0.1);
}

.ed-band:nth-of-type(even) {
  background: rgba(255, 250, 240, 0.42);
}

.ed-band h2,
.ed-wrap > h2 {
  max-width: 760px;
}

.ed-band p,
.ed-band li,
.ed-card p,
.ed-prose p,
.ed-prose li {
  color: var(--ed-muted);
}

.ed-grid,
.grid,
.ed-card-grid,
.ed-resource-details,
.ed-manual__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.ed-grid,
.grid.three,
.three.grid,
.ed-grid.three,
.three.ed-grid,
.ed-card-grid,
.ed-manual__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.three:has(> :nth-child(4):last-child),
.three.grid:has(> :nth-child(4):last-child),
.ed-grid.three:has(> :nth-child(4):last-child),
.three.ed-grid:has(> :nth-child(4):last-child),
.ed-card-grid:has(> :nth-child(4):last-child),
.resource-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ed-card-grid--latest:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two,
.two.grid,
.ed-grid.two,
.two.ed-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.ed-card,
.card,
.panel,
.ed-decision-panel,
.ed-rail-panel,
.ed-form {
  position: relative;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 42px rgba(18, 33, 29, 0.07);
}

.ed-card,
.card,
.panel {
  padding: 1.15rem;
}

.ed-card h2,
.ed-card h3,
.card h2,
.card h3,
.panel h2,
.panel h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.65rem);
  line-height: 1.06;
}

.ed-card p,
.ed-card li,
.card p,
.card li,
.panel p,
.panel li {
  font-size: 0.96rem;
  line-height: 1.62;
}

.ed-card a {
  text-decoration: none;
}

.ed-partner-panel {
  margin: clamp(1.75rem, 4vw, 3rem) 0;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border: 1px solid rgba(7, 89, 71, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(7, 89, 71, 0.08), rgba(255, 250, 240, 0.86));
  box-shadow: 0 18px 44px rgba(18, 33, 29, 0.08);
}

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

.ed-card--partner {
  background: rgba(255, 252, 245, 0.9);
}

.ed-actions--small {
  margin-top: 1rem;
  gap: 0.55rem;
}

.ed-actions--small .ed-button {
  min-height: 2.7rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.9rem;
}

.ed-card.guide-card,
a.ed-card {
  display: block;
  text-decoration: none;
}

.guide-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.field-icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  background: rgba(7, 89, 71, 0.06);
}

.field-icon-shell img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.guide-card__top .label,
.guide-card__footer {
  color: var(--ed-green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guide-card__footer {
  margin-top: 1rem;
}

.split,
.feature,
.feature-split,
.commercial-grid,
.route-board,
.resource-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
}

.split,
.feature,
.feature-split,
.commercial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.split > *,
.feature > *,
.feature-split > *,
.commercial-grid > * {
  min-width: 0;
}

.feature-split--reverse > :first-child {
  order: 2;
}

.feature-split--reverse > :last-child {
  order: 1;
}

.ed-content--home .feature-split {
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.1fr);
  align-items: start;
  row-gap: clamp(0.9rem, 1.7vw, 1.45rem);
}

.ed-content--home .feature-split--reverse > :first-child,
.ed-content--home .feature-split--reverse > :last-child {
  order: initial;
}

.ed-content--home .feature-split > div:first-child {
  grid-column: 1;
  grid-row: 1;
  display: block;
  min-width: 0;
}

.ed-content--home .feature-split > div:first-child > :not(.evidence-grid):not(.check-columns):not(.inline-actions) {
  max-width: 700px;
}

.ed-content--home .feature-split > .scene-image {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
}

.ed-content--home .feature-split > .scene-image img {
  aspect-ratio: 16 / 10.5;
}

.ed-content--home .feature-split .evidence-grid,
.ed-content--home .feature-split .check-columns,
.ed-content--home .feature-split .inline-actions {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 2rem));
  max-width: none;
}

.ed-content--home .feature-split .evidence-grid {
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
}

.ed-content--home .feature-split .check-columns {
  margin-top: clamp(1.1rem, 2vw, 1.7rem);
}

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

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(280px, 0.46fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 1rem;
  align-items: center;
  min-height: clamp(300px, 28vw, 440px);
}

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap::after,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(36%, 420px);
  min-height: clamp(300px, 28vw, 440px);
  border: 1px solid rgba(248, 241, 229, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 39, 32, 0.01), rgba(8, 39, 32, 0.12)),
    linear-gradient(90deg, rgba(8, 39, 32, 0.14), rgba(8, 39, 32, 0.02)),
    url("/scenes/generated/scene-technical-audit-board.webp");
  background-size: cover;
  background-position: center;
  box-shadow: 0 26px 80px rgba(18, 33, 29, 0.18);
}

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > *,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > * {
  position: relative;
  z-index: 1;
}

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap:has(.commercial-cards)::after,
.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap:has(.grid)::after,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap:has(.commercial-cards)::after,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap:has(.grid)::after {
  opacity: 0.12;
  filter: saturate(0.88);
}

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > :not(.grid):not(.ed-grid):not(.resource-grid):not(.route-board):not(.scene-image):not(.route-decoder):not(.commercial-cards):not(.evidence-grid):not(.check-columns),
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > :not(.grid):not(.ed-grid):not(.resource-grid):not(.route-board):not(.scene-image):not(.route-decoder):not(.commercial-cards):not(.evidence-grid):not(.check-columns) {
  grid-column: 1;
  max-width: 760px;
}

.ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > :first-child,
.ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap > :first-child {
  align-self: end;
}

.ed-content--home > .ed-band:nth-of-type(4n + 1):not(:has(.scene-image)) > .ed-wrap::after,
.ed-page > .ed-content > .ed-band:nth-of-type(4n + 1):not(:has(.scene-image)) > .ed-wrap::after {
  background:
    linear-gradient(180deg, rgba(8, 39, 32, 0.01), rgba(8, 39, 32, 0.11)),
    linear-gradient(90deg, rgba(8, 39, 32, 0.12), rgba(8, 39, 32, 0.02)),
    url("/scenes/generated/scene-platform-crossroads.webp");
  background-size: cover;
  background-position: center;
}

.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .grid,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .ed-grid,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .resource-grid,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .route-board,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .route-decoder,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .commercial-cards,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .evidence-grid,
.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .check-columns,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .grid,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .ed-grid,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .resource-grid,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .route-board,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .route-decoder,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .commercial-cards,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .evidence-grid,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .check-columns {
  grid-column: 1 / -1;
}

.ed-content--home > .ed-band:nth-of-type(odd) > .ed-wrap > .scene-image,
.ed-page > .ed-content > .ed-band:nth-of-type(odd) > .ed-wrap > .scene-image {
  grid-column: 1 / -1;
}

.scene-image {
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  background: var(--ed-paper);
  box-shadow: var(--ed-shadow);
}

.scene-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.resource-table-wrap {
  overflow-x: auto;
  margin: 1.35rem 0;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 16px 42px rgba(18, 33, 29, 0.06);
}

.resource-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.resource-table-wrap th,
.resource-table-wrap td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(18, 33, 29, 0.1);
  text-align: left;
  vertical-align: top;
}

.resource-table-wrap th {
  background: rgba(8, 39, 32, 0.94);
  color: #f8f1e5;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-board {
  display: grid;
  gap: 0.9rem;
}

.route-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--ed-line);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.72);
}

.route-row span,
.pill,
.label,
.smallprint {
  color: var(--ed-muted);
}

.ed-band > .ed-wrap > ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding-left: 0;
  list-style: none;
}

.ed-band > .ed-wrap > ul > li {
  position: relative;
  padding: 0.78rem 0.95rem 0.78rem 2.4rem;
  border: 1px solid rgba(18, 33, 29, 0.1);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.6);
  line-height: 1.55;
}

.ed-band > .ed-wrap > ul > li::before {
  content: "";
  position: absolute;
  left: 0.92rem;
  top: 1.15rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--ed-green);
  box-shadow: 0 0 0 4px rgba(7, 89, 71, 0.08);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.route-decoder,
.commercial-cards,
.evidence-grid,
.check-columns {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.route-decoder {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.65rem;
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.66);
  box-shadow: 0 16px 46px rgba(18, 33, 29, 0.06);
}

.route-decoder > div {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.78);
}

.route-decoder span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ed-green);
  font: 850 0.78rem/1.25 var(--ed-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.commercial-cards > .ed-card,
.commercial-cards > .card,
.commercial-cards > article {
  min-height: 100%;
}

.evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: evidence;
}

.evidence-grid > div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.05rem;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 250, 240, 0.72));
  box-shadow: 0 16px 42px rgba(18, 33, 29, 0.07);
}

.evidence-grid > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.45rem;
  height: 2.45rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--ed-green-dark);
  color: #f8f1e5;
  font: 800 0.78rem/1 var(--ed-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.evidence-grid > div > strong {
  display: block;
  color: var(--ed-ink);
  font-size: 1.05rem;
  line-height: 1.18;
}

.evidence-grid > div > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
}

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

.check-columns ul,
.ed-card ul,
.card ul,
.panel ul {
  list-style: none;
  padding-left: 0;
}

.check-columns li,
.ed-card li,
.card li,
.panel li {
  position: relative;
  padding-left: 1.35rem;
}

.check-columns li::before,
.ed-card li::before,
.card li::before,
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ed-green);
  box-shadow: 0 0 0 4px rgba(7, 89, 71, 0.08);
}

.ed-band ol,
.ed-prose ol {
  list-style: none;
  counter-reset: ordered;
  padding-left: 0;
}

.ed-band ol > li,
.ed-prose ol > li {
  counter-increment: ordered;
  position: relative;
  min-height: 2rem;
  padding-left: 3rem;
}

.ed-band ol > li::before,
.ed-prose ol > li::before {
  content: counter(ordered, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(7, 89, 71, 0.2);
  border-radius: 999px;
  background: rgba(7, 89, 71, 0.08);
  color: var(--ed-green);
  font: 800 0.68rem/1 var(--ed-mono);
}

.ed-step-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin: 1.45rem 0 0.5rem;
  color: var(--ed-ink) !important;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem) !important;
  line-height: 1.25 !important;
}

.ed-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(7, 89, 71, 0.24);
  border-radius: 50%;
  background: rgba(7, 89, 71, 0.09);
  color: var(--ed-green);
  font: 800 0.82rem/1 var(--ed-mono);
  letter-spacing: 0.04em;
}

.pill,
.label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: rgba(7, 89, 71, 0.06);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.signup,
form.card,
form.form-card {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 14px 42px rgba(18, 33, 29, 0.07);
}

.signup label,
form.card label,
form.form-card label {
  display: grid;
  gap: 0.4rem;
  font-weight: 750;
}

.signup label.checkbox,
form.card label.checkbox,
form.form-card label.checkbox {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 100%;
  line-height: 1.45;
  color: var(--ed-muted);
}

.signup label.checkbox input,
form.card label.checkbox input,
form.form-card label.checkbox input {
  flex: 0 0 auto;
  width: 1.05rem;
  margin-top: 0.2rem;
}

.signup label.checkbox span,
form.card label.checkbox span,
form.form-card label.checkbox span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.signup input,
.signup select,
.signup textarea,
form.card input,
form.card select,
form.card textarea,
form.form-card input,
form.form-card select,
form.form-card textarea {
  width: 100%;
  border: 1px solid var(--ed-line-strong);
  border-radius: 12px;
  padding: 0.78rem 0.85rem;
  background: #fffdf7;
  color: var(--ed-ink);
  font: 500 1rem/1.35 var(--ed-sans);
}

.signup button,
form.card button,
form.form-card button {
  width: fit-content;
}

.ed-page-hero,
.ed-guide-hero {
  padding: clamp(1.8rem, 4vw, 3.8rem) 0 clamp(1.5rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--ed-line);
}

.ed-page-hero__grid,
.ed-guide-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.ed-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.ed-chip-row span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  color: var(--ed-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.ed-article-shell {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 760px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.6rem, 4vw, 3.2rem) 0 clamp(3rem, 7vw, 6rem);
}

.ed-guide-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.ed-rail-panel {
  padding: 1rem;
}

.ed-rail-panel ol {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ed-muted);
  font-size: 0.88rem;
}

.ed-detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.ed-detail-list div {
  display: grid;
  gap: 0.15rem;
}

.ed-detail-list dt {
  color: var(--ed-faint);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ed-detail-list dd {
  margin: 0;
  font-weight: 750;
  line-height: 1.3;
}

.ed-decision-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(7, 89, 71, 0.08), rgba(197, 127, 44, 0.06)),
    rgba(255, 250, 240, 0.92);
}

.ed-decision-panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.ed-prose {
  max-width: 760px;
}

.ed-prose > * + * {
  margin-top: 1rem;
}

.ed-prose h2 {
  margin-top: clamp(2rem, 4.2vw, 3.65rem);
  padding-top: 0.9rem;
  border-top: 2px solid rgba(7, 89, 71, 0.24);
  font-size: clamp(1.65rem, 2.75vw, 2.65rem);
}

.ed-prose h3 {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.ed-prose p,
.ed-prose li {
  font-size: 1.01rem;
  line-height: 1.76;
}

.ed-prose > p:first-child {
  margin-bottom: 1.35rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7, 89, 71, 0.08), transparent 62%),
    rgba(255, 250, 240, 0.74);
  color: var(--ed-ink);
  font-size: clamp(1.04rem, 1.35vw, 1.16rem);
  font-weight: 650;
  line-height: 1.65;
  box-shadow: 0 16px 42px rgba(18, 33, 29, 0.06);
}

.ed-prose ul,
.ed-prose ol,
.ed-band ul,
.ed-band ol,
.ed-card ul {
  padding-left: 1.25rem;
}

.ed-prose li + li,
.ed-band li + li,
.ed-card li + li {
  margin-top: 0.48rem;
}

.ed-prose blockquote,
.ed-next-action {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--ed-green);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 250, 240, 0.78);
  color: var(--ed-ink);
  font-weight: 700;
}

.ed-table-scroll {
  overflow-x: auto;
  margin: 1.3rem 0;
  border: 1px solid var(--ed-line);
  border-radius: 16px;
  background: var(--ed-paper);
  box-shadow: 0 14px 34px rgba(18, 33, 29, 0.06);
}

.ed-table-scroll table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.split .ed-table-scroll table,
.feature .ed-table-scroll table,
.feature-split .ed-table-scroll table,
.grid .ed-table-scroll table,
.ed-grid .ed-table-scroll table,
.grid .resource-table-wrap table,
.ed-grid .resource-table-wrap table {
  min-width: 100%;
  table-layout: fixed;
}

.split .ed-table-scroll th,
.split .ed-table-scroll td,
.feature .ed-table-scroll th,
.feature .ed-table-scroll td,
.feature-split .ed-table-scroll th,
.feature-split .ed-table-scroll td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.grid .ed-table-scroll th,
.grid .ed-table-scroll td,
.ed-grid .ed-table-scroll th,
.ed-grid .ed-table-scroll td,
.grid .resource-table-wrap th,
.grid .resource-table-wrap td,
.ed-grid .resource-table-wrap th,
.ed-grid .resource-table-wrap td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.split .ed-table-scroll th:nth-child(1),
.split .ed-table-scroll td:nth-child(1),
.feature .ed-table-scroll th:nth-child(1),
.feature .ed-table-scroll td:nth-child(1),
.feature-split .ed-table-scroll th:nth-child(1),
.feature-split .ed-table-scroll td:nth-child(1) {
  width: 34%;
}

.split .ed-table-scroll th:nth-child(2),
.split .ed-table-scroll td:nth-child(2),
.feature .ed-table-scroll th:nth-child(2),
.feature .ed-table-scroll td:nth-child(2),
.feature-split .ed-table-scroll th:nth-child(2),
.feature-split .ed-table-scroll td:nth-child(2) {
  width: 43%;
}

.split .ed-table-scroll th:nth-child(3),
.split .ed-table-scroll td:nth-child(3),
.feature .ed-table-scroll th:nth-child(3),
.feature .ed-table-scroll td:nth-child(3),
.feature-split .ed-table-scroll th:nth-child(3),
.feature-split .ed-table-scroll td:nth-child(3) {
  width: 23%;
}

.grid .ed-table-scroll th:nth-child(1),
.grid .ed-table-scroll td:nth-child(1),
.ed-grid .ed-table-scroll th:nth-child(1),
.ed-grid .ed-table-scroll td:nth-child(1),
.grid .resource-table-wrap th:nth-child(1),
.grid .resource-table-wrap td:nth-child(1),
.ed-grid .resource-table-wrap th:nth-child(1),
.ed-grid .resource-table-wrap td:nth-child(1) {
  width: 34%;
}

.grid .ed-table-scroll th:nth-child(2),
.grid .ed-table-scroll td:nth-child(2),
.ed-grid .ed-table-scroll th:nth-child(2),
.ed-grid .ed-table-scroll td:nth-child(2),
.grid .resource-table-wrap th:nth-child(2),
.grid .resource-table-wrap td:nth-child(2),
.ed-grid .resource-table-wrap th:nth-child(2),
.ed-grid .resource-table-wrap td:nth-child(2) {
  width: 43%;
}

.grid .ed-table-scroll th:nth-child(3),
.grid .ed-table-scroll td:nth-child(3),
.ed-grid .ed-table-scroll th:nth-child(3),
.ed-grid .ed-table-scroll td:nth-child(3),
.grid .resource-table-wrap th:nth-child(3),
.grid .resource-table-wrap td:nth-child(3),
.ed-grid .resource-table-wrap th:nth-child(3),
.ed-grid .resource-table-wrap td:nth-child(3) {
  width: 23%;
}

.ed-table-scroll th,
.ed-table-scroll td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(18, 33, 29, 0.1);
  text-align: left;
  vertical-align: top;
}

.ed-table-scroll th {
  background: rgba(7, 89, 71, 0.08);
  color: var(--ed-ink);
  font-weight: 850;
}

.ed-manual,
.ed-faq,
.ed-related {
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

.ed-manual__header {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  background: var(--ed-green-dark);
  color: #f8f1e5;
}

.ed-manual__header .ed-kicker,
.ed-manual__header p {
  color: rgba(248, 241, 229, 0.82);
}

.ed-card--manual {
  background: rgba(255, 250, 240, 0.9);
}

.ed-manual__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.ed-card--manual {
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.ed-card--manual:has(li:nth-child(4)),
.ed-card--manual:only-child {
  grid-column: 1 / -1;
}

.ed-card--manual h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.8rem);
}

.ed-card--manual ul {
  margin-top: 0.85rem;
}

.ed-card--manual:has(li:nth-child(4)) ul {
  columns: 2;
  column-gap: clamp(1.25rem, 4vw, 2.5rem);
}

.ed-card--manual li {
  break-inside: avoid;
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.55;
}

.ed-faq {
  display: grid;
  gap: 0.9rem;
}

.ed-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: 1rem 0 2rem;
}

.ed-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
}

.ed-form input,
.ed-form select,
.ed-form textarea {
  width: 100%;
  border: 1px solid var(--ed-line-strong);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: #fffdf7;
  color: var(--ed-ink);
  font: 500 1rem/1.35 var(--ed-sans);
}

.ed-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  font-weight: 650 !important;
  color: var(--ed-muted);
}

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

.ed-checkbox span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ed-honeypot {
  position: absolute;
  left: -9999px;
}

.ed-form-status {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 800;
}

.ed-form-status--success {
  background: rgba(7, 89, 71, 0.12);
}

.ed-form-status--error {
  background: rgba(197, 83, 44, 0.14);
}

.ed-footer {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--ed-green-dark);
  color: #f8f1e5;
}

.ed-footer__inner {
  width: min(1220px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.ed-footer__brand img {
  width: min(320px, 90vw);
  margin-bottom: 1.1rem;
  border-radius: 18px;
}

.ed-footer p {
  max-width: 44rem;
  color: rgba(248, 241, 229, 0.78);
  font-weight: 650;
}

.ed-footer__list a {
  color: #f8f1e5;
  font-weight: 800;
  text-decoration: none;
}

.ed-arrow {
  color: var(--ed-green);
  font-weight: 900;
}

.ed-decision-label {
  color: var(--ed-ink);
  font-weight: 850;
}

.ed-latest-guides,
.ed-guides-index {
  margin-block: clamp(2.5rem, 5vw, 5rem);
}

.ed-section-heading {
  max-width: 760px;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.ed-section-heading p:last-child {
  color: var(--ed-muted);
  font-weight: 650;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.ed-guide-teaser {
  overflow: hidden;
  display: grid;
  align-content: start;
  padding: 0;
}

.ed-guide-teaser .ed-media--teaser {
  margin: 0;
  border: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}

.ed-media--teaser img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  display: block;
}

.ed-guide-teaser__body {
  padding: 1.25rem;
}

.ed-guide-teaser h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.08;
}

.ed-guide-teaser h3 a {
  color: inherit;
  text-decoration: none;
}

.ed-guide-teaser h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

.ed-actions--center {
  justify-content: center;
  margin-top: 1.4rem;
}

.ed-band > .ed-wrap > ul > li .ed-decision-label {
  display: inline;
  padding-right: 0.1rem;
}

.ed-band > .ed-wrap > ul > li .ed-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 0.22rem;
  border-radius: 999px;
  background: rgba(7, 89, 71, 0.1);
  line-height: 1;
}

@media (max-width: 920px) {
  .ed-header__inner {
    min-height: auto;
    padding: 0.75rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .ed-brand {
    width: 260px;
  }

  .ed-nav {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .ed-nav__list {
    width: 100%;
    flex-wrap: wrap;
  }

  .ed-home-hero__grid,
  .ed-page-hero__grid,
  .ed-guide-hero__grid,
  .ed-article-shell,
  .ed-footer__inner {
    grid-template-columns: 1fr;
  }

  .ed-home-hero {
    padding-top: 1.5rem;
  }

  h1,
  .ed-page-hero h1,
  .ed-guide-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .ed-home-hero__grid {
    gap: 1.5rem;
  }

  .ed-media--hero {
    transform: none;
    height: auto;
    min-height: 0;
  }

  .ed-media--hero img {
    height: auto;
    aspect-ratio: 16 / 9.4;
  }

  .ed-hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 0.85rem;
  }

  .ed-grid,
  .grid.three,
  .three.grid,
  .ed-grid.three,
  .three.ed-grid,
  .grid.two,
  .two.grid,
  .ed-grid.two,
  .two.ed-grid,
  .ed-card-grid,
  .ed-card-grid--latest,
  .ed-resource-details,
  .ed-manual__grid,
  .resource-grid,
  .split,
  .feature,
  .feature-split,
  .commercial-grid,
  .route-decoder,
  .commercial-cards,
  .evidence-grid,
  .check-columns,
  .route-row {
    grid-template-columns: 1fr;
  }

  .ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap,
  .ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap {
    grid-template-columns: 1fr;
  }

  .ed-content--home > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap::after,
  .ed-page > .ed-content > .ed-band:nth-of-type(odd):not(:has(.scene-image)) > .ed-wrap::after {
    position: relative;
    width: 100%;
    inset: auto;
    grid-row: auto;
    grid-column: 1;
    min-height: 180px;
    order: -1;
  }

  .ed-guide-rail {
    position: static;
    order: 2;
  }

  .feature-split--reverse > :first-child,
  .feature-split--reverse > :last-child {
    order: initial;
  }

  .ed-content--home .feature-split > div:first-child {
    display: block;
  }

  .ed-content--home .feature-split {
    grid-template-columns: 1fr;
  }

  .ed-content--home .feature-split > div:first-child > :not(.evidence-grid):not(.check-columns):not(.inline-actions),
  .ed-content--home .feature-split > .scene-image,
  .ed-content--home .feature-split .evidence-grid,
  .ed-content--home .feature-split .check-columns,
  .ed-content--home .feature-split .inline-actions {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-width: 100%;
  }

	  .ed-article-shell,
	  .ed-guide-rail,
	  .ed-article-main,
	  .ed-rail-panel,
	  .ed-prose,
	  .ed-manual,
	  .ed-faq,
	  .ed-related {
	    width: min(100%, 100vw - 1.1rem);
	    max-width: 100%;
	    min-width: 0;
	  }

	  .ed-card--manual {
	    width: 100%;
	    max-width: 100%;
	    min-width: 0;
	  }

	  .ed-card--manual:has(li:nth-child(4)) ul {
	    columns: 1;
	  }
	}

@media (max-width: 560px) {
  .ed-wrap,
  .container,
  .split,
  .feature,
  .feature-split,
  .route-board,
  .resource-grid,
  .ed-home-hero__grid,
  .ed-article-shell,
  .ed-header__inner,
  .ed-footer__inner {
    width: min(100% - 1.1rem, 1120px);
  }

  .ed-header__inner {
    overflow: hidden;
  }

  .ed-nav {
    width: 100%;
  }

  .ed-nav__list {
    justify-content: flex-start;
  }

  .ed-table-scroll table {
    min-width: 100%;
    table-layout: fixed;
  }

  .ed-table-scroll th,
  .ed-table-scroll td {
    overflow-wrap: anywhere;
  }

  .scene-image {
    width: 100%;
    max-width: 100%;
  }

  .scene-image img {
    max-width: 100%;
  }

  code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ed-brand {
    width: 235px;
  }

  .ed-nav__list a {
    min-height: 38px;
    padding: 0.48rem 0.68rem;
    font-size: 0.84rem;
  }

  h1,
  .ed-page-hero h1,
  .ed-guide-hero h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 9.5vw, 2.85rem);
  }

  .ed-lede {
    font-size: 1rem;
  }

  .ed-page-hero,
  .ed-guide-hero {
    padding-top: 1.6rem;
  }

  .ed-band {
    padding: 2rem 0;
  }

  .ed-card,
  .card,
  .ed-decision-panel,
  .ed-rail-panel,
  .ed-form {
    border-radius: 14px;
  }

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

  .ed-button {
    width: 100%;
  }
}

.ed-hero-video-link {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.ed-hero-video-link a {
  color: var(--ed-green);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
}

.intro-video-grid {
  align-items: center;
}

.intro-video-panel {
  background:
    linear-gradient(180deg, rgba(9, 39, 33, 0.98), rgba(15, 81, 63, 0.95)),
    radial-gradient(circle at top left, rgba(241, 194, 104, 0.16), transparent 34%);
  padding: 18px;
}

.video-preview-card {
  display: grid;
  width: 100%;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.video-preview-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(241, 194, 104, 0.18), transparent 28%),
    linear-gradient(180deg, #c8c0b4, #a8a093);
  box-shadow: 0 18px 36px rgba(7, 20, 17, 0.24);
}

.video-preview-card__poster {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.video-preview-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.video-preview-card__wash {
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(7, 20, 17, 0.14), rgba(7, 20, 17, 0.48)),
    linear-gradient(90deg, rgba(12, 39, 33, 0.12), rgba(12, 39, 33, 0.02));
}

.video-preview-card__play {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 999px;
  background: rgba(10, 22, 20, 0.82);
  color: #fffdf7;
  font-size: 0.95rem;
  font-weight: 800;
}

.video-preview-card__play-icon {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.16);
}

.video-preview-card__play-icon::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fffdf7;
}

.video-preview-card__content {
  display: grid;
  gap: 6px;
}

.video-preview-card__eyebrow {
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-preview-card__title {
  color: #fffdf7;
  font-size: 1.2rem;
  font-weight: 900;
}

.video-preview-card__copy {
  color: rgba(255, 253, 247, 0.88);
  line-height: 1.5;
}

.video-preview-card:hover .video-preview-card__play,
.video-preview-card:focus-visible .video-preview-card__play {
  background: rgba(10, 22, 20, 0.94);
}

.video-preview-card:focus-visible {
  outline: 3px solid rgba(241, 194, 104, 0.52);
  outline-offset: 6px;
}

.video-modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 24px;
  border: 0;
  background: rgba(10, 22, 20, 0.72);
}

.video-modal::backdrop {
  background: rgba(10, 22, 20, 0.72);
}

.video-modal__surface {
  max-width: 960px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.08);
  border-radius: 16px;
  background: #0c1715;
  box-shadow: 0 28px 60px rgba(7, 20, 17, 0.44);
}

.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.video-modal__title {
  margin: 0;
  color: #fffdf7;
  font-size: 0.98rem;
  font-weight: 800;
}

.video-modal__close {
  padding: 10px 14px;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.08);
  color: #fffdf7;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.video-modal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.authority-tool {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 4.5rem) auto;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  background: rgba(255, 252, 244, 0.9);
  box-shadow: 0 28px 70px rgba(16, 45, 38, 0.11);
}

.authority-tool h2 {
  margin-top: 0;
}

.tool-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.35rem 0;
}

.tool-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ed-ink);
  font-weight: 750;
  line-height: 1.35;
}

.answer-options label {
  min-height: 4.6rem;
}

.tool-options input {
  margin-top: 0.25rem;
  accent-color: var(--ed-green);
}

.authority-tool textarea,
.prompt-log-grid input {
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ed-ink);
  font: inherit;
  padding: 0.85rem 0.95rem;
}

.tool-result {
  margin-top: 1.2rem;
  padding: 1.1rem;
  border: 1px solid rgba(0, 102, 82, 0.2);
  border-radius: 16px;
  background: rgba(0, 102, 82, 0.07);
}

.tool-result:empty {
  display: none;
}

.tool-result h3,
.tool-result p {
  margin-top: 0;
}

.prompt-log-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.prompt-log-table {
  margin-top: 1rem;
}

/* Legacy editorial modules still used by imported Astro pages. These classes keep
   top-level pages from falling back to raw document styling in WordPress. */
.ed-page .content-panel {
  width: min(1220px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(249, 243, 232, 0.86));
  box-shadow: 0 24px 70px rgba(15, 41, 35, 0.09);
}

.ed-page .content-panel > :first-child {
  margin-top: 0;
}

.ed-page .content-panel > :last-child {
  margin-bottom: 0;
}

.ed-page .content-panel.note-panel {
  border-color: rgba(0, 102, 82, 0.2);
  background:
    linear-gradient(135deg, rgba(232, 246, 239, 0.9), rgba(255, 253, 247, 0.92));
}

.ed-page .content-panel.cta-panel {
  border-color: rgba(0, 66, 54, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 66, 54, 0.96), rgba(0, 102, 82, 0.9));
  color: #fffdf7;
}

.ed-page .content-panel.cta-panel h2,
.ed-page .content-panel.cta-panel h3,
.ed-page .content-panel.cta-panel p,
.ed-page .content-panel.cta-panel li {
  color: #fffdf7;
}

.ed-page .content-panel.cta-panel a:not(.button) {
  color: #fffdf7;
  text-decoration-color: rgba(255, 253, 247, 0.55);
}

.ed-page .content-panel.cta-panel .button.secondary {
  border-color: rgba(255, 253, 247, 0.82);
  background: #fffdf7;
  color: #12211d;
}

.ed-page .split-panel,
.ed-page .two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.ed-page .three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.ed-page .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
}

.ed-page .card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ed-page .card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ed-page .card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ed-page .mini-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 18px 45px rgba(15, 41, 35, 0.07);
}

.ed-page .mini-card h2,
.ed-page .mini-card h3 {
  margin-top: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.08;
}

.ed-page .mini-card p {
  margin-bottom: 0.85rem;
}

.ed-page .mini-card a:last-child {
  margin-top: auto;
  font-weight: 800;
}

.ed-page .resource-list,
.ed-page .check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.ed-page .resource-list li,
.ed-page .check-list li {
  position: relative;
  padding: 0.78rem 0.9rem 0.78rem 2.25rem;
  border: 1px solid rgba(12, 35, 30, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.66);
  line-height: 1.5;
}

.ed-page .resource-list li::before,
.ed-page .check-list li::before {
  content: "";
  position: absolute;
  top: 1.08rem;
  left: 0.88rem;
  width: 0.56rem;
  height: 0.56rem;
  border: 5px solid rgba(0, 102, 82, 0.12);
  border-radius: 999px;
  background: var(--ed-green);
  box-sizing: content-box;
}

.ed-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.1rem;
}

.ed-page .hero-panel {
  width: min(1220px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid var(--ed-line);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 26px 70px rgba(15, 41, 35, 0.1);
}

@media (max-width: 760px) {
  .tool-options,
  .prompt-log-grid {
    grid-template-columns: 1fr;
  }

  .ed-page .split-panel,
  .ed-page .two-column,
  .ed-page .three-column,
  .ed-page .card-grid,
  .ed-page .card-grid.two,
  .ed-page .card-grid.three,
  .ed-page .card-grid.four {
    grid-template-columns: 1fr;
  }

  .ed-page .content-panel,
  .ed-page .hero-panel {
    width: min(100% - 1rem, 100%);
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .video-modal {
    padding: 12px;
  }

  .video-modal__header {
    align-items: start;
    flex-direction: column;
  }

  .video-preview-card__play {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
    padding-right: 14px;
  }
}
