:root {
  --ink: #070806;
  --paper: #f4ff3b;
  --white: #f5f5ef;
  --muted: #c7c7c0;
  --line: rgba(7, 8, 6, 0.22);
  --light-line: rgba(245, 245, 239, 0.24);
  --cyan: #58ddff;
  --coral: #ff6548;
  --violet: #b9a0ff;
  --green: #9cff63;
  --max: 1440px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper); background: var(--ink); }
h1, h2, h3, p, ul, ol { margin-top: 0; }
p { max-width: 760px; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  min-height: 72px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(245, 245, 239, 0.18);
  padding: 0 24px;
  color: var(--white);
  background: rgba(7, 8, 6, 0.94);
  backdrop-filter: blur(16px);
}
.site-logo {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}
.site-logo-img { display: block; width: 38px; height: 38px; }
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.top-nav a {
  position: relative;
  padding: 26px 0;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.top-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.top-nav a:hover::after,
.top-nav a:focus-visible::after,
.top-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}
.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}
.header-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 101, 72, 0.18);
  animation: status-pulse 1.8s ease-in-out infinite;
}
@keyframes status-pulse {
  50% { opacity: 0.35; transform: scale(0.75); }
}
.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--paper);
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--paper);
  background: transparent;
}
.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid var(--paper);
  mix-blend-mode: difference;
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  mix-blend-mode: difference;
}
.cursor-ring.is-active { width: 68px; height: 68px; }

.page-main { padding-top: 72px; }
.page-hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 96px 34px 38px;
  background: var(--paper);
  isolation: isolate;
}
.page-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 6, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 8, 6, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(120deg, transparent 0%, #000 34%, #000 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: var(--max);
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 52px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.breadcrumb li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 3px; content: ""; background: currentColor; }
h1 {
  max-width: 1050px;
  margin-bottom: 24px;
  font-size: 6.2rem;
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
}
.hero-intro {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.18;
}
.hero-panel {
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(245, 245, 239, 0.42);
  backdrop-filter: blur(8px);
}
.hero-panel h2 {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.signal-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.signal-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.95rem;
  font-weight: 750;
}
.signal-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 900;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 0 20px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button:hover,
.button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover,
.button-dark:focus-visible { color: var(--ink); background: var(--white); }

.quick-nav {
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--light-line);
}
.quick-nav-inner {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  border-left: 1px solid var(--light-line);
}
.quick-nav a {
  min-height: 76px;
  border-right: 1px solid var(--light-line);
  padding: 18px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}
.quick-nav a:hover,
.quick-nav a:focus-visible { color: var(--ink); background: var(--paper); }

.section {
  padding: 104px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.section-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--light-line);
}
.section-accent { background: var(--coral); }
.section-paper { background: var(--paper); }
.section-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  margin-bottom: 60px;
}
.section-index {
  padding-top: 10px;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}
.display-title {
  max-width: 1030px;
  margin-bottom: 0;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}
.lede {
  max-width: 880px;
  margin-bottom: 36px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.content-card {
  position: relative;
  min-height: 250px;
  grid-column: span 4;
  overflow: hidden;
  padding: 24px;
  background: var(--white);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.section-dark .content-card {
  background: #11120f;
  border-color: var(--light-line);
}
.content-card::before {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
  transition: border-radius 240ms ease, transform 240ms ease;
}
.content-card:hover {
  color: var(--ink);
  background: var(--accent, var(--paper));
  transform: translateY(-3px);
}
.content-card:hover::before {
  border-radius: 4px;
  transform: rotate(45deg);
}
.content-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}
.content-card p {
  margin-bottom: 0;
  color: inherit;
  font-weight: 650;
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.sticky-label {
  position: sticky;
  top: 104px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.rich-copy {
  display: grid;
  gap: 24px;
  max-width: 920px;
}
.rich-copy p {
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 650;
}
.check-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}
.section-dark .check-list { border-color: var(--light-line); background: var(--light-line); }
.check-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  font-weight: 720;
}
.section-dark .check-list li { background: #11120f; }
.check-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "+";
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid var(--light-line);
  border-radius: 0;
  outline: 0;
  padding: 10px 0;
  color: var(--white);
  background: transparent;
}
.field select { color-scheme: dark; }
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--paper); }
.field input::placeholder,
.field textarea::placeholder { color: #777871; }
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 750;
}
.contact-form .button {
  width: max-content;
  min-width: 180px;
  border-color: var(--white);
  color: var(--ink);
  background: var(--paper);
}
.contact-form .button:hover,
.contact-form .button:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.process-list { border-top: 1px solid var(--line); }
.section-dark .process-list { border-color: var(--light-line); }
.process-step {
  display: grid;
  grid-template-columns: 84px minmax(180px, 0.7fr) minmax(240px, 1fr);
  gap: 40px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.section-dark .process-step { border-color: var(--light-line); }
.process-step span {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.process-step h3 {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}
.process-step p {
  margin-bottom: 0;
  font-weight: 650;
}
.faq-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.faq-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  gap: 34px;
  padding: 26px;
  background: var(--white);
}
.faq-item h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.faq-item p {
  margin-bottom: 0;
  font-weight: 650;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--light-line);
  background: var(--light-line);
}
.related-card {
  min-height: 190px;
  padding: 24px;
  background: #11120f;
  color: var(--white);
  transition: color 180ms ease, background 180ms ease;
}
.related-card:hover,
.related-card:focus-visible {
  color: var(--ink);
  background: var(--paper);
}
.related-card span {
  display: block;
  margin-bottom: 28px;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.related-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.contact-strip {
  color: var(--ink);
  background: var(--paper);
}
.contact-strip .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}
.contact-strip h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: 4rem;
  line-height: 0.95;
  text-transform: uppercase;
}
.site-footer {
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--light-line);
}
.footer-inner {
  display: grid;
  max-width: var(--max);
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(160px, 0.35fr));
  gap: 30px;
  margin: 0 auto;
  padding: 46px 34px;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}
.footer-nav h2 {
  margin-bottom: 16px;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.footer-nav a {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--light-line);
  padding: 18px 34px;
  font-size: 0.68rem;
  font-weight: 780;
  text-transform: uppercase;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  h1 { font-size: 4.9rem; }
  .display-title { font-size: 3.35rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .content-card { grid-column: span 6; }
  .split-layout { gap: 44px; }
  .contact-strip h2 { font-size: 3.2rem; }
  .footer-inner { grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(160px, 0.35fr)); }
}
@media (max-width: 820px) {
  .site-header {
    min-height: 60px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 0 18px;
  }
  .top-nav,
  .header-status { display: none; }
  .header-actions { gap: 0; }
  .header-cta { min-height: 36px; }
  .site-logo-img { width: 32px; height: 32px; }
  .page-main { padding-top: 60px; }
  .page-hero { min-height: auto; padding: 72px 18px 30px; }
  h1 { font-size: 3.6rem; }
  .hero-intro { font-size: 1.12rem; }
  .hero-panel { padding: 18px; }
  .quick-nav-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 78px 18px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .display-title { font-size: 2.75rem; }
  .split-layout { grid-template-columns: 1fr; }
  .sticky-label { position: static; }
  .process-step { grid-template-columns: 54px 1fr; gap: 18px; }
  .process-step p { grid-column: 2; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-strip .section-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 38px 18px; }
  .footer-bottom { flex-direction: column; padding: 18px; }
}
@media (max-width: 600px) {
  .site-logo { font-size: 0.72rem; }
  .site-logo-img { width: 28px; height: 28px; }
  .header-cta { padding: 0 10px; font-size: 0.61rem; }
  h1 { font-size: 2.85rem; line-height: 0.88; }
  .breadcrumb { margin-bottom: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .button { padding: 0 12px; font-size: 0.68rem; }
  .quick-nav-inner { grid-template-columns: 1fr; }
  .display-title { font-size: 2.25rem; }
  .content-card { grid-column: span 12; min-height: 220px; }
  .signal-list li { grid-template-columns: 30px 1fr; }
  .check-list li { grid-template-columns: 38px 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full,
  .form-status { grid-column: auto; }
  .process-step h3 { font-size: 1.5rem; }
  .contact-strip h2 { font-size: 2.45rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (pointer: fine) {
  body, a, button, input, select, textarea { cursor: none; }
}
@media (pointer: coarse) {
  .cursor-ring,
  .cursor-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Guides, articles, and reference pages */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 26px;
  margin-bottom: 0;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}
.article-meta span {
  position: relative;
  padding-right: 16px;
}
.article-meta span:not(:last-child)::after {
  position: absolute;
  right: 0;
  content: "/";
  opacity: 0.45;
}
.signal-list a.toc-link {
  display: contents;
  color: inherit;
}
.toc-list li {
  cursor: pointer;
  transition: color 160ms ease;
}
.toc-list li:hover,
.toc-list li:focus-within {
  color: var(--paper);
}
.guide-heading {
  margin: 0 0 4px;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.rich-copy .guide-heading + p { margin-top: 0; }
.rich-copy ul.check-list { margin-top: 10px; }

/* Glossary */
.glossary-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.glossary-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: var(--white);
}
.glossary-term {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}
.glossary-item p {
  margin: 0;
  font-weight: 650;
}
@media (max-width: 820px) {
  .glossary-item { grid-template-columns: 1fr; gap: 10px; }
  .guide-heading { font-size: 1.7rem; }
}
