:root {
  --ink: #132331;
  --ink-soft: #304554;
  --muted: #667580;
  --line: #d7e0e4;
  --paper: #f5f7f6;
  --panel: #ffffff;
  --blue: #1b5fb7;
  --blue-deep: #124582;
  --teal: #087878;
  --yellow: #f3b62c;
  --red: #be5a43;
  --shadow: 0 16px 38px rgba(19, 35, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  cursor: pointer;
}

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

.page-width {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}

.site-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-mark,
.brand-emblem {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  flex: 0 0 42px;
}

.brand-mark {
  color: var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-emblem {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid #b9c8d2;
  border-radius: 8px;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 24px;
  line-height: 1;
}

.main-nav a {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--yellow);
}

.global-search {
  display: flex;
  flex: 0 0 128px;
  height: 38px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.global-search input {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.global-search button {
  width: 36px;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.language-control {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.language-control select {
  height: 38px;
  padding: 0 28px 0 10px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 688px;
  overflow: hidden;
  color: #fff;
  background-color: #143041;
  background-image: url("/assets/images/industrial-pipeline.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(11, 29, 42, 0.76);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
  align-items: center;
  min-height: 650px;
  padding-top: 80px;
  padding-bottom: 78px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 1.05;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.12;
}

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

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.hero-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-index a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 12px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-index a:last-child {
  border-bottom: 0;
}

.hero-index a:hover strong {
  color: var(--yellow);
}

.hero-index span {
  grid-row: span 2;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.hero-index strong {
  font-size: 18px;
}

.hero-index small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  transform: translateX(-50%);
}

.scroll-cue span {
  color: var(--yellow);
  font-size: 18px;
}

.entry-band {
  background: var(--yellow);
}

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

.entry-item {
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  gap: 10px;
  align-items: center;
  min-height: 116px;
  padding: 20px 18px;
  border-right: 1px solid rgba(19, 35, 49, 0.2);
}

.entry-item:first-child {
  padding-left: 0;
}

.entry-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.entry-item:hover {
  background: rgba(255, 255, 255, 0.18);
}

.entry-number {
  align-self: start;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.entry-item strong,
.entry-item small {
  display: block;
}

.entry-item strong {
  font-size: 15px;
}

.entry-item small {
  margin-top: 5px;
  color: rgba(19, 35, 49, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.entry-arrow {
  color: var(--blue-deep);
  font-size: 19px;
  font-weight: 900;
}

.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading > p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-align: left;
}

.text-link:hover {
  color: var(--blue-deep);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.filter-row.compact {
  margin-bottom: 24px;
}

.search-field {
  display: flex;
  flex: 1 1 280px;
  min-width: 220px;
}

.search-field.wide {
  flex-basis: 420px;
}

.search-field input,
.filter-row select,
.interest-form input,
.interest-form select,
.interest-form textarea,
.question-form input,
.question-form select,
.question-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.search-field input:focus,
.filter-row select:focus,
.interest-form input:focus,
.interest-form select:focus,
.interest-form textarea:focus,
.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 183, 0.12);
}

.filter-row select {
  flex: 0 0 190px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.resource-filter-panel {
  margin-bottom: 30px;
  padding: 20px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-filter-panel .filter-row {
  margin-bottom: 16px;
}

.resource-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.resource-filter {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.resource-filter select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.resource-filter select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 183, 0.12);
}

.resource-filter-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.resource-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.resource-filter-chip {
  padding: 6px 9px;
  color: var(--ink-soft);
  font: inherit;
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.resource-filter-chip span:first-child {
  color: var(--teal);
  font-weight: 900;
}

.resource-filter-chip:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.resource-filter-panel [data-resource-clear]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.resource-policy-note {
  margin: -14px 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.article-card,
.qa-card,
.benefit-grid article {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-card:hover {
  border-color: #9fb4bf;
  box-shadow: var(--shadow);
}

.article-image {
  position: relative;
  height: 164px;
  overflow: hidden;
  background: #dbe5e6;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.article-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 11px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-meta span + span {
  position: relative;
  padding-left: 12px;
}

.card-meta span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
  transform: translateY(-50%);
}

.article-card p,
.qa-card p,
.resource-row p,
.benefit-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-card p {
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 7px;
  color: var(--ink-soft);
  background: #eef2f1;
  font-size: 11px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.card-action {
  font-size: 13px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-quiet,
.button-outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-quiet {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.13);
}

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

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-outline:hover,
.button-dark:hover,
.button-light:hover {
  opacity: 0.86;
}

.button-small {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 12px;
  white-space: nowrap;
}

.image-band {
  color: #fff;
  background: var(--ink);
}

.image-band-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
}

.image-band-copy p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
}

.image-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  height: 340px;
}

.image-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.image-mosaic img:first-child {
  object-position: 35% center;
}

.qa-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qa-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.qa-card p {
  margin-bottom: 20px;
}

.qa-card .card-action {
  margin-top: auto;
}

.resource-band {
  background: #e8efec;
}

.resource-band-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
}

.resource-band-layout > div:first-child p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
}

.resource-mini-list {
  display: grid;
  gap: 10px;
}

.resource-mini-list .resource-row {
  background: #fff;
}

.resource-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-type {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-main {
  min-width: 0;
}

.resource-main .card-meta {
  margin-bottom: 7px;
}

.resource-main h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.resource-main p {
  margin-bottom: 0;
}

.resource-facet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
}

.resource-facet {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.resource-facet strong {
  color: var(--teal);
  font-weight: 850;
}

.resource-provenance {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.resource-provenance span:first-child {
  color: var(--teal);
  font-weight: 850;
}

.resource-empty {
  border-style: dashed;
}

.resource-action {
  justify-self: end;
}

.resource-action .resource-source-link {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  text-align: right;
}

.resource-action .resource-source-link:hover {
  color: var(--blue);
}

.access-label {
  font-size: 11px;
  font-weight: 800;
}

.access-label.public {
  color: var(--teal);
}

.access-label.member {
  color: var(--red);
}

.membership-band {
  color: #fff;
  background: var(--teal);
}

.membership-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.membership-layout p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding-top: 76px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: 58px;
}

.page-hero > p:last-of-type {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.empty-state {
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
}

.qa-list {
  display: grid;
  gap: 12px;
}

.qa-list .qa-card {
  min-height: 168px;
}

.note-band {
  background: var(--yellow);
}

.note-band-layout {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.note-band-layout p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(19, 35, 49, 0.72);
}

.resource-table {
  display: grid;
  gap: 10px;
}

.detail-page-section {
  padding-top: 56px;
  padding-bottom: 90px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.article-detail {
  max-width: 1060px;
  margin: 0 auto;
}

.article-detail-header {
  max-width: 820px;
}

.article-detail-header h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}

.article-detail-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.article-detail-image {
  height: min(42vw, 420px);
  min-height: 240px;
  margin-top: 42px;
  overflow: hidden;
  background: #dbe5e6;
}

.article-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 70px;
  align-items: start;
  margin-top: 52px;
}

.article-detail-body {
  max-width: 700px;
}

.article-detail-body h2 {
  margin-bottom: 22px;
}

.article-detail-body > p:not(.eyebrow),
.article-detail-aside p {
  color: var(--ink-soft);
  line-height: 1.85;
}

.article-detail-body > p:not(.eyebrow) {
  margin-bottom: 22px;
}

.article-detail-aside {
  display: grid;
  gap: 28px;
  padding-top: 6px;
}

.article-detail-aside > div {
  padding-top: 14px;
  border-top: 2px solid var(--yellow);
}

.article-detail-aside > div > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-detail-aside .tag-row {
  margin-top: 0;
}

.related-link {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.related-link:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.related-link span {
  color: var(--muted);
  font-size: 11px;
}

.related-link strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.related-link:hover strong {
  color: var(--blue);
}

.detail-tags {
  margin-top: 34px;
}

.detail-endnote {
  margin-top: 42px;
  padding: 18px;
  background: #eef2f1;
  border-left: 3px solid var(--teal);
}

.detail-endnote strong {
  display: block;
  margin-bottom: 6px;
}

.detail-endnote p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-detail-gated .article-detail-layout {
  margin-top: 42px;
}

.resource-guidance {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  padding-top: 40px;
}

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

.guidance-grid > div {
  padding-top: 14px;
  border-top: 2px solid var(--yellow);
}

.guidance-grid strong {
  color: var(--teal);
  font-size: 12px;
}

.guidance-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.membership-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 280px;
  gap: 60px;
  align-items: end;
  padding-top: 86px;
  padding-bottom: 82px;
  color: #fff;
  background: var(--blue-deep);
}

.membership-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 58px;
}

.membership-hero p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.membership-status {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 2px 9px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.membership-status .status-dot {
  grid-row: span 2;
}

.membership-status strong {
  font-size: 14px;
}

.membership-status small {
  color: rgba(255, 255, 255, 0.68);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article {
  padding: 24px;
}

.benefit-grid article > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.benefit-grid h3 {
  margin-top: 44px;
}

.membership-form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
  padding-top: 30px;
}

.membership-form-section > div:first-child p:last-child {
  color: var(--muted);
}

.interest-form,
.question-form {
  display: grid;
  gap: 15px;
}

.interest-form label,
.question-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.interest-form textarea,
.question-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
  padding-top: 56px;
  padding-bottom: 44px;
}

.footer-brand {
  color: #fff;
}

.footer-logo {
  display: block;
  width: min(188px, 100%);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
}

.footer-grid > div:not(:first-child) strong {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 21, 31, 0.76);
}

.modal-panel {
  position: relative;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow-y: auto;
  padding: 34px;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
}

.modal-panel h2 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: 32px;
}

.modal-meta {
  margin-bottom: 21px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.modal-lead {
  color: var(--ink-soft);
  font-size: 17px;
}

.modal-body {
  padding-top: 7px;
}

.modal-body p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.preview-lock {
  margin: 22px 0;
  padding: 18px;
  background: #eef4f1;
  border-left: 3px solid var(--yellow);
}

.preview-lock strong {
  display: block;
  margin-bottom: 6px;
}

.preview-lock p {
  margin-bottom: 0;
  color: var(--muted);
}

.success-message {
  padding: 18px 0 4px;
}

.success-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.success-message p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .global-search {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-left: 0;
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
  }

  .language-control select {
    max-width: 96px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

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

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

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

@media (max-width: 720px) {
  .page-width {
    width: min(100% - 28px, 600px);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .site-header-inner {
    min-height: 72px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand-emblem {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 18px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .main-nav.is-open {
    display: flex;
    max-height: 320px;
    padding-bottom: 2px;
    overflow: visible;
  }

  .main-nav a {
    padding: 10px 0;
    border-bottom-color: var(--line);
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .global-search {
    flex-basis: auto;
  }

  .language-control select {
    max-width: 84px;
    padding-right: 20px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    display: block;
    min-height: 720px;
    padding-top: 58px;
    padding-bottom: 100px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-index {
    margin-top: 58px;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 0;
  }

  .hero-index a {
    padding: 13px 0;
  }

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

  .entry-item,
  .entry-item:first-child,
  .entry-item:last-child {
    min-height: 104px;
    padding: 16px 12px;
    border-right: 1px solid rgba(19, 35, 49, 0.2);
  }

  .entry-item:nth-child(2) {
    border-right: 0;
  }

  .entry-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(19, 35, 49, 0.2);
  }

  .entry-item small {
    font-size: 11px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: 16px;
  }

  .filter-row {
    align-items: stretch;
  }

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

  .search-field,
  .search-field.wide,
  .filter-row select {
    flex-basis: 100%;
  }

  .article-grid,
  .article-grid-wide,
  .qa-preview-grid,
  .guidance-grid {
    grid-template-columns: 1fr;
  }

  .image-band-grid,
  .resource-band-layout,
  .membership-layout,
  .resource-guidance,
  .membership-form-section,
  .membership-hero {
    display: block;
  }

  .article-detail-layout {
    display: block;
  }

  .article-detail-aside {
    margin-top: 44px;
  }

  .article-detail-image {
    height: 280px;
  }

  .image-band-grid,
  .resource-band-layout,
  .membership-layout {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .image-mosaic {
    height: 245px;
    margin-top: 34px;
  }

  .resource-band-layout > div:first-child {
    margin-bottom: 30px;
  }

  .membership-layout > div:first-child {
    margin-bottom: 24px;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .resource-filter-footer {
    display: block;
  }

  .resource-active-filters {
    margin-bottom: 12px;
  }

  .resource-action {
    justify-self: start;
  }

  .resource-action .resource-source-link {
    text-align: left;
  }

  .note-band-layout {
    display: block;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .note-band-layout strong {
    display: block;
    margin-bottom: 8px;
  }

  .page-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .page-hero h1,
  .membership-hero h1 {
    font-size: 44px;
  }

  .membership-hero {
    padding-top: 60px;
    padding-bottom: 58px;
  }

  .membership-status {
    max-width: 280px;
    margin-top: 32px;
  }

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

  .membership-form-section {
    padding-top: 0;
  }

  .membership-form-section > div:first-child {
    margin-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 44px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 5px;
  }

  .modal-panel {
    width: min(100% - 20px, 680px);
    margin: 10px auto;
    max-height: calc(100vh - 20px);
    padding: 28px 22px 24px;
  }
}

@media (max-width: 360px) {
  .brand-copy {
    display: none;
  }

  .brand-emblem {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}
