:root {
  color-scheme: light;
  --ink: #17233b;
  --muted: #637089;
  --line: #d7dfec;
  --paper: #ffffff;
  --wash: #f2f6fb;
  --navy: #17233b;
  --blue: #315ca8;
  --blue-dark: #244f91;
  --lavender: #e7f0fb;
  --green: #14765d;
  --shadow: 0 20px 55px rgba(56, 80, 116, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(118, 164, 229, .17), transparent 30rem),
    radial-gradient(circle at 5% 38%, rgba(144, 195, 181, .11), transparent 34rem),
    linear-gradient(180deg, #fbfcff 0%, #f7f9fd 52%, #eef4fa 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-underline-offset: .16em; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .7rem 1rem;
  border-radius: .55rem;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 20;
  top: .75rem;
  padding-inline: 1rem;
  background: transparent;
}
.header-inner,
.footer-inner,
.content-shell,
.hero-inner,
.article-layout {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .75rem .65rem 1rem;
  border: 1px solid rgba(177, 192, 214, .9);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 .8rem 2.4rem rgba(56, 80, 116, .12);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 7.6rem;
  height: 2rem;
  overflow: hidden;
  border-radius: .48rem;
  background: #03070e url('/noid-logo.png') center / contain no-repeat;
  color: var(--navy);
  font-size: 0;
  text-decoration: none;
  box-shadow: 0 .32rem .85rem rgba(25, 42, 70, .14);
}
.brand-logo {
  display: block;
  width: 7.6rem;
  height: 2rem;
  border-radius: .48rem;
  object-fit: contain;
  object-position: left center;
  background: #03070e;
  box-shadow: 0 .32rem .85rem rgba(25, 42, 70, .14);
}
.brand-mark { display: none !important; }
.site-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.site-nav a {
  padding: .55rem .65rem;
  border-radius: .6rem;
  color: #33455f;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--lavender); color: var(--blue-dark); }
.site-nav .account-link {
  border: 1px solid rgba(49, 92, 168, .36);
  background: linear-gradient(180deg, #5681cf, #315ca8);
  color: #fff;
  box-shadow: 0 .55rem 1.35rem rgba(49, 92, 168, .18);
}
.site-nav .account-link:hover { color: #fff; background: linear-gradient(180deg, #638bd4, #3765b6); }

.hero {
  overflow: hidden;
  margin-top: -4.1rem;
  padding-top: 4.1rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(96, 145, 210, .18), transparent 27rem),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(237,244,252,.72));
  color: var(--ink);
}
.hero-inner { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1,
.article-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.65rem, 8vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 span { color: #3f6eb7; }
.hero-copy {
  max-width: 750px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: linear-gradient(180deg, #5681cf, #315ca8);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}
.button:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.button.secondary { border-color: #c7d3e4; background: rgba(255,255,255,.82); color: #31527e; }
.button.secondary:hover { color: #244f91; }
.button.dark { background: var(--navy); color: #fff; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--wash); }
.trust-grid {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.trust-grid div { display: flex; align-items: center; gap: .55rem; color: #354963; font-size: .9rem; font-weight: 750; }
.trust-grid i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); }

.content-shell { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-heading { max-width: 760px; margin-bottom: 1.75rem; }
.section-heading h2,
.content-section h2 {
  margin: 0 0 .65rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 9px 30px rgba(17, 43, 86, .05);
}
.card h3 { margin: 0 0 .55rem; color: var(--navy); font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: .9rem; font-weight: 800; }
.number { display: block; margin-bottom: .55rem; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }

.article-hero { border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #f5f7ff, #eef3f8); }
.article-hero .hero-inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.article-hero .eyebrow,
.content-shell .eyebrow { color: var(--blue); }
.article-hero h1 { max-width: 19ch; color: var(--navy); font-size: clamp(2.45rem, 6vw, 4.5rem); }
.article-summary { max-width: 760px; margin: 1rem 0 0; color: #4b5d77; font-size: 1.12rem; }
.updated { margin: 1rem 0 0; color: #687a92; font-size: .84rem; }

.article-layout { padding-block: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.article-body,
.article-content { min-width: 0; overflow-wrap: anywhere; }
.content-section { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }
.content-section p { margin: .75rem 0; }
.content-section li + li { margin-top: .55rem; }
.content-section ul,
.content-section ol { padding-left: 1.3rem; }
.article-nav {
  position: sticky;
  top: 94px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--wash);
}
.article-nav strong { color: var(--navy); }
.article-nav a { display: block; padding: .33rem 0; font-size: .9rem; font-weight: 700; text-decoration: none; }
.note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--blue);
  border-radius: .5rem;
  background: #f0f3ff;
}
.definition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.definition-grid div { padding: 1rem; border-radius: .75rem; background: var(--wash); }
.definition-grid dt { color: var(--navy); font-weight: 850; }
.definition-grid dd { margin: .35rem 0 0; color: var(--muted); }

.ad-disclosure {
  margin-top: 2.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  color: var(--muted);
  font-size: .86rem;
}

.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; color: var(--navy); font-weight: 800; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .78rem .85rem;
  border: 1px solid #bdc9da;
  border-radius: .65rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 3px solid rgba(36,73,216,.18); border-color: var(--blue); }
.contact-form button { cursor: pointer; border: 0; font: inherit; }
.field-help { color: var(--muted); font-size: .82rem; font-weight: 500; }
.form-status { padding: .9rem 1rem; border-radius: .65rem; background: #eef2f8; }
.form-status.success { background: #e6f6ef; color: #075b43; }
.form-status.error { background: #fff0ef; color: #8b1d16; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { border-top: 1px solid var(--line); background: rgba(238, 244, 250, .92); color: #54647c; }
.site-footer .brand { color: var(--navy); }
.footer-inner { padding: 2.2rem 0; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; }
.footer-inner p { max-width: 620px; margin: .5rem 0 0; color: #637089; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: .35rem .9rem; }
.footer-links a { color: #456083; font-size: .88rem; }
.footer-legal { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid #d3deeb; color: #6b778c; font-size: .78rem; }

@media (max-width: 920px) {
  .header-inner { align-items: flex-start; padding: .8rem; flex-direction: column; }
  .site-header { position: relative; top: .45rem; padding-inline: .5rem; }
  .site-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { position: static; order: -1; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .header-inner,.footer-inner,.content-shell,.hero-inner,.article-layout { width: min(calc(100% - 1.25rem), 1160px); }
  .card-grid,.definition-grid,.footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-legal { grid-column: 1; }
  .hero h1 { font-size: clamp(2.55rem, 15vw, 4.15rem); }
  .hero { margin-top: -7.4rem; padding-top: 7.4rem; }
}

.content-shell.compact-top { padding-top: 0; }

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