.page-standards {
  --std-charcoal: #19242c;
  --std-teal: #087e7b;
  --std-ivory: #faf9f6;
  --std-stone: #e7ebe9;
  --std-sage: #dcebe7;
  --std-ink: #20292d;
  --std-muted: #657176;
  --std-max: 1320px;
  background: #fff;
  color: var(--std-ink);
  font-size: 1.0625rem;
}

.std-wrap {
  width: min(var(--std-max), calc(100% - 64px));
  margin-inline: auto;
}

.std-hero {
  background: var(--std-ivory);
  padding: 56px 0 80px;
}

.std-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: end;
}

.std-hero-copy { grid-column: span 7; }

.std-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  color: var(--std-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.std-crumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: #9aa3a6;
}

.std-crumb a { text-decoration: none; }
.std-crumb a:hover { color: var(--std-teal); }

.std-hero .eyebrow { color: var(--std-teal); }

.std-hero h1 {
  max-width: 100%;
  margin-bottom: 24px;
  color: var(--std-charcoal);
  font-size: clamp(3.1rem, 4.7vw, 4.75rem);
  line-height: 0.98;
}

.std-hero .lede {
  max-width: 42ch;
  margin-bottom: 28px;
  color: var(--std-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.std-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--std-teal);
}

.std-visual {
  grid-column: span 5;
  position: relative;
  padding: 0 20px 20px 0;
}

.std-visual::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 38%;
  background: var(--std-sage);
}

.std-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 42%;
}

.std-visual-line {
  position: absolute;
  z-index: 2;
  background: var(--std-teal);
}

.std-visual-line-v {
  left: 14px;
  top: 42px;
  bottom: 64px;
  width: 1px;
}

.std-visual-line-h {
  top: 22px;
  right: 48px;
  width: 72px;
  height: 1px;
}

.std-notice { padding: 0 0 28px; background: #fff; }

.std-notice-panel {
  padding: 32px 36px;
  background: var(--std-ivory);
  border-left: 2px solid var(--std-teal);
}

.std-notice h2 {
  margin-bottom: 10px;
  color: var(--std-charcoal);
  font-size: clamp(1.7rem, 2vw, 2.15rem);
}

.std-notice p {
  max-width: 78ch;
  margin: 0;
  color: var(--std-muted);
  font-size: 1.05rem;
}

.std-section { padding: 96px 0; }

.std-section h2 {
  max-width: 18em;
  margin-bottom: 18px;
  color: var(--std-charcoal);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.std-intro {
  max-width: 62ch;
  margin: 0;
  color: var(--std-muted);
  font-size: 1.075rem;
}

.std-head { margin-bottom: 48px; }

.std-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.std-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--std-stone);
  border-radius: 8px;
}

.std-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--std-teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.std-code {
  margin: 28px 0 14px;
  color: var(--std-charcoal);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 2.6vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.std-card h3 {
  margin-bottom: 14px;
  color: var(--std-charcoal);
  font-size: 1.65rem;
  line-height: 1.15;
}

.std-card > p {
  margin-bottom: 28px;
  color: var(--std-muted);
}

.std-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--std-teal);
}

.std-card-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--std-stone);
}

.std-disclaimer {
  margin: 0 0 18px;
  color: var(--std-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.std-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--std-charcoal);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.std-arrow {
  display: inline-block;
  color: var(--std-teal);
}

.std-catalogue { background: var(--std-ivory); }

.std-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 28px 40px;
  align-items: end;
  position: sticky;
  top: var(--header-h);
  z-index: 15;
  margin-bottom: 8px;
  padding: 16px 0 14px;
  background: var(--std-ivory);
  border-bottom: 1px solid var(--std-stone);
}

.std-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.std-filters button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--std-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.std-filters button[aria-pressed="true"] {
  color: var(--std-charcoal);
  border-bottom-color: var(--std-teal);
}

.std-search { display: grid; gap: 6px; }

.std-search label {
  color: var(--std-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.std-search input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #c9d0cd;
  border-radius: 0;
  background: transparent;
  color: var(--std-ink);
}

.std-count {
  margin: 18px 0 0;
  color: var(--std-muted);
  font-size: 0.88rem;
}

.std-list { margin-top: 8px; }

.std-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 2.1fr) minmax(150px, 0.9fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: 22px 12px;
  border-bottom: 1px solid var(--std-stone);
  scroll-margin-top: 168px;
}

.std-row-code {
  margin: 0;
  color: var(--std-charcoal);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.std-row h3 {
  margin: 0 0 4px;
  color: var(--std-charcoal);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.std-row p { margin: 0; color: var(--std-muted); font-size: 0.95rem; }

.std-row-cat {
  margin: 0;
  color: var(--std-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.std-status {
  margin: 0;
  max-width: 12rem;
  color: var(--std-teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.std-empty {
  margin: 28px 0 0;
  padding: 28px 0 8px;
  color: var(--std-muted);
}

.std-editorial {
  background: var(--std-charcoal);
  color: #faf9f6;
}

.std-editorial-grid,
.std-principles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
}

.std-editorial-grid { align-items: end; }

.std-editorial-grid > * { grid-column: span 6; }

.std-editorial h2 {
  max-width: none;
  color: #fff;
  font-size: clamp(2.5rem, 3.6vw, 3.15rem);
}

.std-editorial-grid > p {
  max-width: 46ch;
  margin: 0;
  color: rgba(250, 249, 246, 0.78);
  font-size: 1.125rem;
}

.std-editorial-mark {
  width: 48px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--std-teal);
}

.std-principles { margin-top: 64px; }

.std-principle { grid-column: span 4; }

.std-principle span {
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 16px;
  background: var(--std-teal);
}

.std-principle p {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.std-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.std-steps::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 8%;
  height: 1px;
  background: var(--std-stone);
}

.std-step { position: relative; }

.std-step-index {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 22px;
  padding-right: 12px;
  background: #fff;
  color: var(--std-charcoal);
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
}

.std-step h3 {
  margin-bottom: 10px;
  color: var(--std-charcoal);
  font-size: 1.35rem;
}

.std-step p { margin: 0; color: var(--std-muted); font-size: 0.98rem; }

.std-process .std-btn { margin-top: 40px; }

.std-faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
}

.std-faq-intro { grid-column: span 5; }
.std-faq-list { grid-column: span 7; }

.std-faq-intro p { color: var(--std-muted); }
.std-faq h3 { margin: 0; }

.std-acc + .std-acc { border-top: 0; }

.std-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 44px;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--std-stone);
  background: transparent;
  color: var(--std-charcoal);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  text-align: left;
}

.std-acc:last-child .std-acc-panel { border-bottom: 1px solid var(--std-stone); }

.std-acc-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.std-acc-icon::before,
.std-acc-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--std-teal);
}

.std-acc-icon::after { transform: rotate(90deg); }

.std-acc-btn[aria-expanded="true"] .std-acc-icon::after { opacity: 0; }

.std-acc-panel .std-acc-body {
  padding-bottom: 8px;
  color: var(--std-muted);
}

.std-faq.is-ready .std-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
}

.std-faq.is-ready:not(.is-still) .std-acc-panel {
  transition: grid-template-rows 0.35s ease;
}

.std-faq.is-ready .std-acc-panel.is-open { grid-template-rows: 1fr; }

.std-faq.is-ready .std-acc-body { overflow: hidden; }

.std-faq.is-ready .std-acc-panel.is-open .std-acc-body { padding-bottom: 22px; }

.std-close {
  background: var(--std-ivory);
  padding: 88px 0;
}

.std-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px;
  align-items: end;
}

.std-close h2 {
  max-width: 14ch;
  margin-bottom: 16px;
}

.std-close p {
  max-width: 48ch;
  margin: 0;
  color: var(--std-muted);
}

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

.std-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--std-charcoal);
  border-radius: 8px;
  background: var(--std-charcoal);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.std-btn-ghost {
  background: transparent;
  color: var(--std-charcoal);
}

.std-card,
.std-row { scroll-margin-top: calc(var(--header-h) + 24px); }

.std-row { scroll-margin-top: 168px; }

@media (hover: hover) and (pointer: fine) {
  .std-card { transition: transform 0.35s ease, border-color 0.35s ease; }
  .std-card:hover {
    transform: translateY(-6px);
    border-color: var(--std-teal);
  }
  .std-arrow { transition: transform 0.3s ease; }
  .std-card:hover .std-arrow { transform: translateX(5px); }
  .std-row { transition: background-color 0.2s ease; }
  .std-row:hover { background: rgba(220, 235, 231, 0.65); }
  .std-btn { transition: background-color 0.2s ease, color 0.2s ease; }
  .std-btn:hover { background: #10181d; }
  .std-btn-ghost:hover { background: var(--std-charcoal); color: #fff; }
}

@media (max-width: 1200px) {
  .std-hero h1 { max-width: none; }
  .std-code { font-size: 2.4rem; }
  .std-card { padding: 32px; }
}

@media (max-width: 1024px) {
  .std-hero-copy,
  .std-visual,
  .std-editorial-grid > *,
  .std-faq-intro,
  .std-faq-list { grid-column: 1 / -1; }
  .std-visual img { height: 420px; }
  .std-cards { grid-template-columns: 1fr 1fr; }
  .std-principle { grid-column: span 4; }
  .std-steps { grid-template-columns: 1fr 1fr; }
  .std-steps::before { display: none; }
  .std-tools { grid-template-columns: 1fr; }
  .std-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
  }
  .std-row-code { grid-column: 1; }
  .std-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .std-row div { grid-column: 1 / -1; }
  .std-row-cat { grid-column: 1 / -1; }
  .std-close-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .std-wrap { width: calc(100% - 40px); }
  .std-hero { padding: 36px 0 56px; }
  .std-hero h1 { font-size: 2.7rem; }
  .std-section { padding: 72px 0; }
  .std-cards,
  .std-steps,
  .std-principles { grid-template-columns: 1fr; }
  .std-principle { grid-column: auto; }
  .std-visual { padding: 0; }
  .std-visual::before { display: none; }
  .std-visual img { height: 260px; }
  .std-visual-line-v { left: 10px; }
  .std-notice-panel { padding: 24px 20px; }
  .std-card { padding: 28px 22px; }
  .std-row { padding-inline: 0; }
  .std-status { max-width: none; }
  .std-acc-btn { font-size: 1.25rem; }
  .std-actions .std-btn { width: 100%; }
  .std-step {
    padding-bottom: 8px;
    border-left: 1px solid var(--std-stone);
    padding-left: 18px;
  }
  .std-step-index { background: transparent; }
}

@media (max-width: 480px) {
  .std-wrap { width: calc(100% - 32px); }
  .std-filters { gap: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .std-card,
  .std-arrow,
  .std-row,
  .std-btn,
  .std-acc-panel { transition: none; }
  .std-card:hover { transform: none; }
}
