:root {
  --blue: #0e76d8;
  --blue-dark: #0756a7;
  --blue-soft: #eaf5ff;
  --yellow: #f6b91f;
  --yellow-soft: #fff7d8;
  --ink: #172033;
  --muted: #5e687b;
  --line: #dce3ec;
  --surface: #ffffff;
  --surface-alt: #f6f9fc;
  --shadow: 0 18px 50px rgba(21, 43, 72, 0.10);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 236, 0.92);
  backdrop-filter: blur(14px);
}
.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 56px; height: 56px; }
.brand-name { font-weight: 900; letter-spacing: -0.035em; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.desktop-nav a {
  padding: 0.65rem 0.82rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
.desktop-nav .nav-contact { background: var(--ink); color: white; margin-left: 0.35rem; }
.desktop-nav .nav-contact:hover,
.desktop-nav .nav-contact[aria-current="page"] { background: var(--blue-dark); color: white; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(82vw, 300px);
  padding: 0.6rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mobile-nav nav a { display: block; padding: 0.7rem 0.8rem; border-radius: 10px; color: var(--ink); font-weight: 750; text-decoration: none; }
.mobile-nav nav a:hover,
.mobile-nav nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(246, 185, 31, 0.18), transparent 26%),
    radial-gradient(circle at 92% 20%, rgba(14, 118, 216, 0.13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.hero-inner {
  width: min(calc(100% - 2rem), 1260px);
  margin-inline: auto;
  min-height: 670px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 5rem 0 5.5rem;
}
.hero h1,
.page-hero h1,
.not-found-section h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  max-width: 11ch;
}
.hero-lede,
.page-lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 670px;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.button-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 12px 25px rgba(14, 118, 216, 0.22); }
.button-primary:hover { background: var(--blue-dark); color: white; }
.button-secondary { background: white; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue-dark); }
.button-light { background: white; color: var(--blue-dark); }
.button-light:hover { color: var(--blue-dark); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12); }
.full-button { width: 100%; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.hero-points li::before { content: "✓"; color: var(--blue); margin-right: 0.4rem; font-weight: 900; }
.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 14% 5% 5% 9%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 118, 216, 0.12), rgba(246, 185, 31, 0.04) 55%, transparent 70%);
  filter: blur(10px);
}
.hero-art img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 28px 30px rgba(23, 32, 51, 0.14)); }

.content-section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-tint { background: var(--surface-alt); }
.section-heading { max-width: 820px; margin-bottom: 2.6rem; }
.section-heading h2,
.split-copy h2,
.footer-cta h2,
.development-section h2,
.split-text-section h2,
.contact-intro h2,
.form-card h2,
.prose-main h2,
.prose-aside h2,
.privacy-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.section-heading p:last-child,
.split-copy p,
.development-section p,
.contact-intro p { color: var(--muted); }
.compact-heading { margin-bottom: 2rem; }
.card-grid { display: grid; gap: 1.15rem; }
.four-cards { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  position: relative;
  min-height: 270px;
  padding: 1.6rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(29, 54, 86, 0.06);
}
.feature-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border-radius: 42% 58% 50% 50%;
  background: var(--blue-soft);
  transform: rotate(18deg);
}
.card-number { color: var(--blue); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; }
.feature-card h3 { position: relative; z-index: 1; margin: 3.2rem 0 0.7rem; font-size: 1.35rem; line-height: 1.2; }
.feature-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 0.98rem; }

.split-section { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.2fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.mascot-panel {
  position: relative;
  padding: 1.5rem;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--yellow-soft), var(--blue-soft));
}
.mascot-panel::before,
.mascot-panel::after { content: ""; position: absolute; width: 28px; height: 28px; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mascot-panel::before { left: 8%; top: 12%; transform: rotate(-35deg); }
.mascot-panel::after { right: 10%; bottom: 14%; background: var(--blue); transform: rotate(60deg); }
.split-copy p { max-width: 700px; }
.text-link { display: inline-flex; gap: 0.4rem; margin-top: 0.6rem; font-weight: 900; }

.topic-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.topic-list div { display: grid; grid-template-columns: minmax(150px, 0.7fr) 1.3fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.topic-list div:nth-child(odd) { padding-right: 1.5rem; }
.topic-list div:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.topic-list strong { color: var(--ink); }
.topic-list span { color: var(--muted); }
.centered-action { text-align: center; margin-top: 2.4rem; }
.development-section { text-align: center; background: var(--yellow-soft); }
.narrow-section { max-width: 820px; }

.page-hero {
  background:
    radial-gradient(circle at 90% 30%, rgba(14, 118, 216, 0.13), transparent 25%),
    linear-gradient(180deg, #fff, #f6f9fc);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { min-height: 460px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; padding: 4rem 0; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 13ch; }
.page-mascot { width: min(30vw, 320px); filter: drop-shadow(0 20px 28px rgba(23, 32, 51, 0.13)); }
.simple-page-hero { padding: 5.2rem 0; }
.simple-page-hero h1,
.standards-hero h1 { max-width: 17ch; }
.effective-date { margin: 1.1rem 0 0; font-weight: 800; color: var(--blue-dark); }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose-main { max-width: 760px; }
.prose-main h2,
.privacy-copy h2 { margin-top: 2.8rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.prose-main h2:first-child,
.privacy-copy h2:first-child { margin-top: 0; }
.prose-main p,
.privacy-copy p { color: var(--muted); }
.prose-aside {
  position: sticky;
  top: 110px;
  padding: 1.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prose-aside h2 { font-size: 1.55rem; }
.check-list { margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 0.65rem 0; padding-left: 1.55rem; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.coverage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.coverage-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(29, 54, 86, 0.06); }
.coverage-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 2rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-weight: 900; }
.coverage-card h2 { margin: 0 0 0.8rem; font-size: 1.6rem; line-height: 1.15; }
.coverage-card p { color: var(--muted); }
.coverage-note { padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.94rem; }
.split-text-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
.stacked-copy p { margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.stacked-copy strong { color: var(--ink); }

.standards-hero { padding: 5.8rem 0; background: linear-gradient(135deg, var(--yellow-soft), #fff 50%, var(--blue-soft)); }
.article-width { max-width: 900px; }
.standard-item { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.standard-number { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: white; font-size: 1.2rem; font-weight: 900; }
.standard-item h2 { margin: 0 0 0.65rem; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; }
.standard-item p { margin: 0; color: var(--muted); }
.article-callout { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 1.5rem; margin-top: 3rem; padding: 1.8rem; border-radius: var(--radius); background: var(--yellow-soft); }
.article-callout img { width: 150px; }
.article-callout h2 { margin: 0 0 0.5rem; }
.article-callout p { margin: 0; }

.contact-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-intro { padding-top: 1rem; }
.contact-intro h2 { font-size: 2rem; }
.small-note { font-size: 0.92rem; }
.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2 { font-size: 2rem; }
.form-grid { display: grid; gap: 1rem; }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; margin-bottom: 0.4rem; font-weight: 800; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1px solid #bfc9d6;
  border-radius: 11px;
}
.form-field textarea { resize: vertical; min-height: 180px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(14, 118, 216, 0.18); border-color: var(--blue); }
.field-help { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.84rem; }
.field-error { display: block; margin-top: 0.35rem; color: #a61b1b; font-size: 0.88rem; font-weight: 750; }
.form-status { margin-bottom: 1rem; padding: 0.9rem 1rem; border-radius: 11px; font-weight: 750; }
.form-success { background: #e9f8ed; color: #155f2b; border: 1px solid #bfe4c9; }
.form-error { background: #fff0f0; color: #8a1717; border: 1px solid #efc1c1; }
.form-privacy { margin: 1rem 0 0; color: var(--muted); font-size: 0.84rem; }
.field-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.privacy-copy { max-width: 820px; }
.not-found-section { padding: 7rem 0; }
.not-found-inner { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: center; max-width: 900px; }
.not-found-section h1 { font-size: clamp(3rem, 7vw, 5rem); }

.footer-cta { padding: 3.5rem 0; color: white; background: var(--blue-dark); }
.footer-cta .eyebrow { color: #cfe8ff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-cta h2 { margin-bottom: 0.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.footer-cta p:last-child { margin: 0; color: #d8eaff; max-width: 760px; }
.site-footer { padding: 2.8rem 0; background: #111827; color: #dce3ec; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand strong,
.footer-brand span { display: block; }
.footer-brand strong { color: white; }
.footer-brand span { color: #9ba7b8; font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.8rem 1.2rem; }
.site-footer nav a { color: #dce3ec; font-size: 0.92rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid #2d3748; color: #8e9aad; font-size: 0.85rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-copy { max-width: 780px; }
  .hero-art { max-width: 760px; margin-inline: auto; }
  .four-cards { grid-template-columns: repeat(2, 1fr); }
  .split-section,
  .contact-layout { grid-template-columns: 1fr; }
  .mascot-panel { max-width: 520px; margin-inline: auto; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-mascot { display: none; }
  .prose-layout { grid-template-columns: 1fr; }
  .prose-aside { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { min-height: 70px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.05rem; }
  .hero-inner { padding: 3.4rem 0 4rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .four-cards,
  .coverage-grid,
  .topic-list,
  .split-text-section,
  .two-columns { grid-template-columns: 1fr; }
  .topic-list div { grid-template-columns: 1fr; padding: 1.1rem 0 !important; border-left: 0 !important; }
  .feature-card { min-height: 235px; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .simple-page-hero,
  .standards-hero { padding: 4rem 0; }
  .standard-item { grid-template-columns: 48px 1fr; gap: 1rem; }
  .standard-number { width: 44px; height: 44px; }
  .article-callout { grid-template-columns: 1fr; text-align: center; }
  .article-callout img { margin-inline: auto; }
  .footer-cta-inner { display: grid; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .not-found-inner { grid-template-columns: 1fr; text-align: center; }
  .not-found-inner img { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
