:root {
  color-scheme: light dark;
  --paper: #f5f0e8;
  --paper-2: #ebe3d8;
  --ink: #17191a;
  --muted: #666b6e;
  --line: rgba(23, 25, 26, .18);
  --line-soft: rgba(23, 25, 26, .10);
  --copper: #b85f3c;
  --teal: #009f98;
  --green: #167a5b;
  --yellow: #9a6711;
  --red: #a23d36;
  --dark: #15191a;
  --dark-ink: #f6f0e8;
  --dark-muted: #b8b9b5;
  --shell: min(1180px, calc(100vw - 48px));
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
  --paper: #111516;
  --paper-2: #191e1f;
  --ink: #f4eee6;
  --muted: #aeb2b3;
  --line: rgba(244, 238, 230, .20);
  --line-soft: rgba(244, 238, 230, .10);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --paper: #111516;
    --paper-2: #191e1f;
    --ink: #f4eee6;
    --muted: #aeb2b3;
    --line: rgba(244, 238, 230, .20);
    --line-soft: rgba(244, 238, 230, .10);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: rgba(184, 95, 60, .25); }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; }
.brand-mark { position: relative; width: 20px; height: 28px; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-mark-dark { opacity: 0; }
html[data-theme="dark"] .brand-mark-light { opacity: 0; }
html[data-theme="dark"] .brand-mark-dark { opacity: 1; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .brand-mark-light { opacity: 0; }
  html[data-theme="auto"] .brand-mark-dark { opacity: 1; }
}
.brand-word { font-size: .82rem; font-weight: 850; letter-spacing: .23em; }
.brand-word span { color: var(--copper); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.header-tools { justify-self: end; display: flex; gap: 8px; align-items: center; }
.tool-button, .menu-toggle {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; display: inline-grid; place-items: center; cursor: pointer; text-decoration: none;
}
.language-switch { font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.theme-toggle { position: relative; }
.theme-icon { position: absolute; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { opacity: 0; }
html[data-theme="dark"] .theme-icon-sun { opacity: 0; }
html[data-theme="dark"] .theme-icon-moon { opacity: 1; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .theme-icon-sun { opacity: 0; }
  html[data-theme="auto"] .theme-icon-moon { opacity: 1; }
}
.menu-toggle { display: none; position: relative; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; width: 15px; height: 1px; background: currentColor; transition: transform .2s ease; }
.menu-toggle::before { transform: translateY(-3px); }
.menu-toggle::after { transform: translateY(3px); }
.menu-open .menu-toggle::before { transform: rotate(45deg); }
.menu-open .menu-toggle::after { transform: rotate(-45deg); }

.section { padding: clamp(88px, 11vw, 150px) 0; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.kicker { margin: 0 0 20px; color: var(--copper); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; font-size: clamp(3.2rem, 7vw, 7.5rem); line-height: .93; letter-spacing: -.065em; }
.section-title { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .98; letter-spacing: -.05em; }
.lede { max-width: 700px; margin: 28px 0 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; }
.body-copy { max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.button-link {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 800; text-decoration: none;
}
.button-link--ghost { background: transparent; color: var(--ink); }

.hero { min-height: calc(100svh - 74px); display: grid; align-items: center; padding: 80px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.hero-title em { display: block; color: var(--copper); font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.hero-copy { max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 1px; height: 80%; background: linear-gradient(transparent, var(--line), transparent); transform: rotate(16deg); }
.hero-mark { position: relative; width: min(52vw, 310px); aspect-ratio: .68; }
.hero-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-mark .dark { opacity: 0; }
html[data-theme="dark"] .hero-mark .light { opacity: 0; }
html[data-theme="dark"] .hero-mark .dark { opacity: 1; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .hero-mark .light { opacity: 0; }
  html[data-theme="auto"] .hero-mark .dark { opacity: 1; }
}
.hero-art small { position: absolute; right: 0; bottom: 36px; max-width: 220px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.thinking { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.thinking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: clamp(50px, 9vw, 140px); }
.thinking-copy p { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.thinking-copy strong { color: var(--ink); }
.principles { grid-column: 1 / -1; margin-top: 70px; display: flex; flex-wrap: wrap; gap: 18px 36px; border-top: 1px solid var(--line); padding-top: 28px; }
.principles span { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 800; }
.principles span:not(:last-child)::after { content: "·"; color: var(--copper); margin-left: 36px; }

.products-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.product { border-top: 1px solid var(--line); padding: clamp(54px, 7vw, 90px) 0; }
.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.product-logo-wrap { min-height: 260px; display: grid; place-items: center; position: relative; }
.product-logo-wrap::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.exorda-wordmark { width: min(420px, 80%); }
.product h3 { margin: 0 0 16px; font-size: clamp(2rem, 3.7vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.product p { color: var(--muted); font-size: 1.06rem; }
.product p strong { color: var(--ink); }
.product-note { margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--teal); }
.product-actions { margin-top: 28px; }

.agmen { background: var(--dark); color: var(--dark-ink); }
.agmen .kicker { color: #d9a4ff; }
.agmen .product-grid { grid-template-columns: 1.05fr .95fr; }
.agmen .product-logo-wrap::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
.agmen-symbol { width: min(290px, 70%); }
.agmen .body-copy, .agmen p { color: var(--dark-muted); }
.agmen h3, .agmen p strong { color: var(--dark-ink); }
.agmen-rule { width: 120px; height: 3px; margin: 0 0 28px; background: linear-gradient(90deg, #7a54ff, #e85cb8, #f0bb5c); }
.agmen-tagline { font-size: 1rem !important; letter-spacing: .06em; color: var(--dark-ink) !important; }
.agmen aside { margin-top: 28px; color: #d8d0c9; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

.nosniff-home { border-top: 1px solid var(--line); }
.nosniff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.nosniff-copy p { color: var(--muted); font-size: 1.05rem; }
.nosniff-copy .nosniff-core { color: var(--ink); font-weight: 750; }
.nosniff-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.search-area { padding-top: 12px; }
.search-area h3 { margin: 0 0 8px; font-size: 1.8rem; letter-spacing: -.03em; }
.search-area > p { margin: 0 0 28px; color: var(--muted); }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.search-form input { min-width: 0; border: 0; background: transparent; color: var(--ink); outline: none; font-size: 1.05rem; }
.search-form input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.search-form button { border: 0; background: transparent; font-weight: 850; cursor: pointer; }
.search-message { min-height: 24px; margin: 12px 0 0; color: var(--red); font-size: .9rem; }
.search-result { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: start; margin-top: 26px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-result__heading strong { display: block; font-size: 1.45rem; }
.search-result__heading span { color: var(--muted); }
.search-result__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px 36px; color: var(--muted); }
.search-result .text-link { grid-column: 1 / -1; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--active { color: var(--green); }
.status--review { color: var(--yellow); }
.status--inactive { color: var(--red); }

.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contact-copy { max-width: 760px; }
.contact-copy p { color: var(--muted); }
.contact-email { font-size: clamp(1.45rem, 3vw, 2.7rem); font-weight: 850; text-underline-offset: 8px; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 34px; color: var(--muted); font-size: .86rem; }
.footer-inner p { margin: 0; }

/* Nosniff overview and designation pages */
.subpage-hero { padding: clamp(80px, 10vw, 140px) 0 70px; border-bottom: 1px solid var(--line); }
.subpage-hero .lede { max-width: 850px; }
.breadcrumb { margin-bottom: 50px; color: var(--muted); font-size: .86rem; }
.breadcrumb a { text-underline-offset: 4px; }
.standard-list { border-top: 1px solid var(--line); }
.standard-row { display: grid; grid-template-columns: 90px minmax(220px, .75fr) 1.25fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.standard-code { color: var(--copper); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.standard-row h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; }
.standard-row p { margin: 0; color: var(--muted); }
.verification-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
.verification-step { border-top: 2px solid var(--ink); padding-top: 18px; }
.verification-step b { display: block; margin-bottom: 10px; }
.verification-step p { margin: 0; color: var(--muted); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 120px); }
.note-block { border-left: 3px solid var(--copper); padding-left: 24px; }
.note-block p { margin: 0; color: var(--muted); }

.designation-hero { padding: clamp(72px, 9vw, 120px) 0 60px; border-bottom: 1px solid var(--line); }
.designation-top { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.designation-title { margin: 16px 0 8px; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .9; letter-spacing: -.065em; }
.designation-domain { color: var(--muted); }
.designation-score { text-align: right; }
.designation-score strong { display: block; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.designation-score span { font-size: .42em; color: var(--muted); }
.meta-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 60px; }
.meta-list div { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); }
.meta-list div:not(:nth-child(3n+1)) { padding-left: 18px; border-left: 1px solid var(--line); }
.meta-list dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.meta-list dd { margin: 6px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.attestation-head { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 40px; }
.attestation-head p { color: var(--muted); }
.commitment-list { border-top: 1px solid var(--line); }
.commitment { display: grid; grid-template-columns: 70px .75fr 1.25fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.commitment > span { color: var(--copper); font-weight: 850; }
.commitment h3 { margin: 0; font-size: 1.25rem; }
.commitment p { margin: 0; color: var(--muted); }
.check-list { border-top: 1px solid var(--line); }
.check-row { display: grid; grid-template-columns: 54px .7fr 1.2fr auto; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.check-index { color: var(--muted); font: 700 .78rem ui-monospace, monospace; }
.check-row h3 { margin: 0; font-size: 1.2rem; }
.check-row p { margin: 0; color: var(--muted); }
.check-result { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.status-explanation { margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }

@media (max-width: 880px) {
  :root { --shell: min(100% - 32px, 720px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 16px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-open .site-nav { display: flex; }
  .menu-toggle { display: inline-grid; }
  .header-tools { gap: 6px; }
  .hero { min-height: auto; }
  .hero-grid, .thinking-grid, .products-intro, .product-grid, .agmen .product-grid, .nosniff-grid, .contact-grid, .two-column, .attestation-head { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .hero-art small { position: static; margin-top: 16px; text-align: center; }
  .product-logo-wrap { min-height: 220px; }
  .agmen .product-logo-wrap { order: -1; }
  .principles { display: block; }
  .principles span { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .principles span::after { display: none; }
  .verification-steps { grid-template-columns: 1fr; }
  .standard-row, .commitment { grid-template-columns: 60px 1fr; }
  .standard-row p, .commitment p { grid-column: 2; }
  .check-row { grid-template-columns: 42px 1fr auto; }
  .check-row p { grid-column: 2 / -1; }
  .meta-list { grid-template-columns: 1fr 1fr; }
  .meta-list div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .meta-list div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { position: relative; }
  .hero { padding-top: 56px; }
  .hero-art { min-height: 290px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button-link { justify-content: center; }
  .search-form { grid-template-columns: 1fr; }
  .search-form button { justify-self: start; padding: 8px 0 0; }
  .search-result { grid-template-columns: 1fr; }
  .status { justify-self: start; }
  .designation-top { display: block; }
  .designation-score { text-align: left; margin-top: 36px; }
  .meta-list { grid-template-columns: 1fr; }
  .meta-list div, .meta-list div:nth-child(even) { padding-left: 0; border-left: 0; }
  .standard-row, .commitment, .check-row { grid-template-columns: 1fr; gap: 10px; }
  .standard-row p, .commitment p, .check-row p { grid-column: 1; }
  .check-result { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
