:root {
  --ink: #080808;
  --ink-soft: #151515;
  --paper: #f6f3ec;
  --white: #ffffff;
  --gold: #d4af37;
  --gold-dark: #a77f08;
  --line: rgba(151, 122, 31, 0.24);
  --muted: #706b62;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

.standards-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--white);
  background: rgba(8, 8, 8, 0.98);
}

.standards-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 800;
}

.standards-brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
}

.standards-nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.standards-nav a:hover,
.standards-nav a[aria-current="page"] {
  color: var(--gold);
}

.standards-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(135deg, #050505 0%, #101010 58%, #19160e 100%);
}

.standards-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  width: min(var(--max), 90vw);
  min-height: 650px;
  margin: 0 auto;
  padding: 92px 0;
}

.standards-breadcrumb,
.standards-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standards-breadcrumb {
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.standards-breadcrumb a {
  color: var(--gold);
}

.standards-hero h1,
.standards-section h2,
.standards-disclaimer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
}

.standards-hero h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 6.4vw, 6.8rem);
}

.standards-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.standards-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.standards-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  font-weight: 800;
}

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

.standards-button-secondary {
  color: var(--white);
}

.standards-assurance {
  padding: 34px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.standards-assurance > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.standards-assurance > strong {
  display: block;
  margin: 26px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.standards-assurance > p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.68);
}

.standards-assurance > div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.standards-assurance b,
.standards-assurance em {
  font-size: 0.84rem;
  font-style: normal;
}

.standards-assurance em {
  color: rgba(255, 255, 255, 0.65);
}

.standards-section {
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 96px 0;
}

.standards-section-dark {
  width: 100%;
  max-width: none;
  padding-right: max(5vw, calc((100vw - var(--max)) / 2));
  padding-left: max(5vw, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink-soft);
}

.standards-section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 46px;
}

.standards-section-heading h2,
.standards-disclaimer h2 {
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
}

.standards-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.standards-section-dark .standards-section-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.standards-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.standards-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

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

.standards-card {
  display: flex;
  min-height: 250px;
  padding: 30px;
  flex-direction: column;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.standards-section-dark .standards-card {
  background: #202020;
}

.standards-card:hover,
.standards-card:focus-visible {
  z-index: 1;
  box-shadow: inset 0 -4px 0 var(--gold);
  transform: translateY(-3px);
}

.standards-code {
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.standards-section-dark .standards-code {
  color: var(--gold);
}

.standards-card h3 {
  margin: 25px 0 11px;
  font-size: 1.24rem;
  line-height: 1.25;
}

.standards-card p {
  margin: 0;
  color: var(--muted);
}

.standards-section-dark .standards-card p {
  color: rgba(255, 255, 255, 0.62);
}

.standards-card b {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold-dark);
  font-size: 0.82rem;
}

.standards-section-dark .standards-card b {
  color: var(--gold);
}

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

.standards-product-grid a {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.standards-product-grid span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.standards-product-grid h3 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.standards-product-grid p {
  margin: 0;
  color: var(--muted);
}

.standards-product-grid a:hover,
.standards-product-grid a:focus-visible {
  border-color: var(--gold);
  background: var(--white);
}

.standards-disclaimer {
  padding: 88px max(5vw, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.standards-disclaimer > div {
  max-width: 980px;
}

.standards-disclaimer p:last-child {
  max-width: 900px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.66);
}

.standards-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 5vw;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  color: rgba(255, 255, 255, 0.68);
  background: #050505;
}

.standards-footer > div {
  display: grid;
}

.standards-footer strong {
  color: var(--gold);
}

.standards-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.standards-footer a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .standards-nav {
    display: none;
  }

  .standards-hero-inner,
  .standards-section-heading {
    grid-template-columns: 1fr;
  }

  .standards-hero-inner {
    min-height: 0;
  }

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

@media (max-width: 640px) {
  .standards-header {
    min-height: 68px;
  }

  .standards-hero-inner,
  .standards-section {
    width: min(92vw, var(--max));
  }

  .standards-hero-inner {
    padding: 66px 0;
  }

  .standards-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .standards-grid-featured,
  .standards-grid-compact,
  .standards-product-grid {
    grid-template-columns: 1fr;
  }

  .standards-card,
  .standards-product-grid a {
    min-height: 0;
  }

  .standards-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
