/* =============================================================================
   Insuriant AI Trust Center
   Tokens and chrome aligned with insuriant.ai
   ============================================================================= */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/GeistVF.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate: #1e293b;
  --slate-deep: #0f172a;
  --burgundy: #6e1a33;
  --burgundy-hover: #8b2240;
  --rose: #d4627a;
  --steel: #6b7280;
  --cloud: #edf2f8;
  --fog: #e2e8f0;
  --white: #ffffff;
  --ink: #1e293b;
  --muted: #6b7280;
  --paper: #ffffff;
  --paper-2: #edf2f8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --brand-primary: var(--slate);
  --brand-primary-hover: var(--slate-deep);
  --brand-primary-light: var(--cloud);
  --brand-accent: var(--burgundy);
  --brand-accent-hover: var(--burgundy-hover);

  --text-primary: var(--slate);
  --text-secondary: var(--steel);
  --text-tertiary: #94a3b8;

  --background: var(--paper);
  --background-elevated: var(--cloud);
  --background-secondary: #f8fafc;
  --background-brand: var(--cloud);
  --border-color: var(--fog);
  --border-light: var(--fog);

  --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(30, 41, 59, 0.12);
  --shadow-lg: 0 16px 40px -12px rgba(30, 41, 59, 0.16);
  --shadow-brand: 0 8px 20px -8px rgba(110, 26, 51, 0.35);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --header-h: 64px;
  --page: 1120px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--burgundy);
}

/* -----------------------------------------------------------------------------
   Utilities
   ----------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--burgundy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.print-only {
  display: none;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */

.trust-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fog);
}

.trust-header-content {
  max-width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  min-width: 0;
}

.trust-logo-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--radius-sm);
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
}

.trust-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  line-height: 1;
}

.brand-insuriant {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.brand-ai {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--burgundy);
}

.brand-product {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.trust-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.25rem;
}

.trust-nav > a,
.nav-parent {
  color: var(--steel);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.15s ease;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.trust-nav > a:hover,
.nav-parent:hover,
.nav-item:hover .nav-parent,
.nav-parent[aria-current="page"] {
  color: var(--slate);
}

.nav-item {
  position: relative;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 16.5rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  padding: 0.4rem 0;
  background: #fff;
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 120;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: var(--cloud);
  color: var(--burgundy);
}

.nav-dropdown a:first-child {
  color: var(--steel);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fog);
  margin-bottom: 0.2rem;
}

.nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}

.nav-hamburger span,
.nav-hamburger span::before,
.nav-hamburger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-hamburger span::before { top: -6px; }
.nav-hamburger span::after { top: 6px; }

/* Language toggle — matches insuriant.ai EN | ES pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--cloud);
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--steel);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-toggle button:hover {
  color: var(--slate);
}

.lang-toggle button.is-active {
  background: var(--white);
  color: var(--slate);
  box-shadow: var(--shadow-sm);
}

/* -----------------------------------------------------------------------------
   Landing hero
   ----------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 1.5rem 2.75rem;
  background-color: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
  max-width: 40rem;
}

.hero-aside {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.hero-aside h2 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-aside dl {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.hero-aside dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.hero-aside dd {
  margin: 0.15rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}

.hero-aside a {
  color: var(--burgundy);
  text-decoration: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--cloud);
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-kicker svg {
  width: 16px;
  height: 16px;
  color: var(--burgundy);
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--slate);
}

.hero .subtitle {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--steel);
  font-weight: 400;
  text-wrap: balance;
}

.hero-meta {
  margin: 1.15rem 0 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* -----------------------------------------------------------------------------
   Equal pillars (summaries only — no document lists)
   ----------------------------------------------------------------------------- */

.pillars {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.25rem 1.35rem 1.2rem;
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pillar:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.pillar p {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--steel);
}

.pillar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--burgundy);
}

/* -----------------------------------------------------------------------------
   Document directory (balanced 2-column, not 3 stretched cards)
   ----------------------------------------------------------------------------- */

.directory {
  max-width: var(--page);
  margin: 0 auto 3rem;
  padding: 1.75rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 3rem;
  border-top: 1px solid var(--fog);
}

.directory-col h2,
.directory-stack h2 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.directory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.directory-list.single {
  grid-template-columns: 1fr;
}

.directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--fog);
  text-decoration: none;
  color: var(--slate);
  font-size: 0.9375rem;
  font-weight: 500;
}

.directory-list li:last-child a,
.directory-list li:nth-last-child(2):nth-child(odd) a {
  border-bottom-color: transparent;
}

.directory-list a:hover {
  color: var(--burgundy);
}

.directory-list a span:last-child {
  color: var(--text-tertiary);
  font-weight: 400;
}

.directory-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.directory-subhead {
  margin-top: 1.65rem !important;
}

.directory-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--steel);
}

.directory-note a {
  color: var(--burgundy);
}

/* -----------------------------------------------------------------------------
   Contact
   ----------------------------------------------------------------------------- */

.trust-contact {
  max-width: var(--page);
  margin: 0 auto 3.5rem;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--cloud);
  text-align: left;
}

.trust-contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.trust-contact p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--steel);
  font-size: 1rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button {
  background: var(--burgundy);
  color: #fff;
  border: 1px solid var(--burgundy);
  box-shadow: var(--shadow-brand);
}

.button:hover {
  background: var(--burgundy-hover);
  border-color: var(--burgundy-hover);
}

.button-secondary {
  background: #fff;
  color: var(--slate);
  border: 1px solid var(--fog);
}

.button-secondary:hover {
  border-color: var(--slate);
}

/* -----------------------------------------------------------------------------
   Site footer (marketing-site dark band)
   ----------------------------------------------------------------------------- */

.site-footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #1e293b 100%);
  color: #fff;
  padding: 3rem 1.5rem 1.5rem;
}

.site-footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.site-footer .footer-brand .trust-logo-icon {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer .brand-insuriant,
.site-footer .brand-ai {
  color: #fff;
  font-size: 1.0625rem;
}

.site-footer .footer-tagline {
  margin: 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
  line-height: 1.55;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer-bottom {
  max-width: var(--page);
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.powered-by {
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Policy pages
   ----------------------------------------------------------------------------- */

.breadcrumb {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1rem 1.5rem 0.25rem;
  font-size: 0.8125rem;
  color: var(--steel);
}

.breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--burgundy);
}

.breadcrumb span {
  color: var(--slate);
  font-weight: 500;
}

.policy-content {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  height: fit-content;
}

.toc {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  margin-bottom: 0.85rem;
  max-height: calc(100vh - 280px);
  overflow: auto;
}

.toc h3 {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 0.28rem 0.5rem;
  color: var(--steel);
  text-decoration: none;
  font-size: 0.8125rem;
  border-radius: 6px;
}

.toc a:hover {
  color: var(--slate);
  background: var(--cloud);
}

.policy-meta {
  background: var(--cloud);
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  border: 1px solid var(--fog);
}

.policy-meta p {
  margin: 0 0 0.7rem;
  font-size: 0.875rem;
  color: var(--steel);
}

.policy-meta p:last-child {
  margin-bottom: 0;
}

.policy-meta strong {
  display: block;
  color: var(--slate);
  margin-bottom: 0.15rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.policy-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-actions .button-secondary {
  width: 100%;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
}

.policy-document {
  max-width: 46rem;
  min-width: 0;
}

.policy-header {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--fog);
}

.policy-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  background: var(--cloud);
  color: var(--slate);
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-header h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--slate);
}

.policy-header .subtitle {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--steel);
}

.policy-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.policy-body {
  font-size: 1.03125rem;
  line-height: 1.7;
  color: var(--slate);
}

.policy-body h2 {
  margin: 2.25rem 0 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--fog);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.policy-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-body h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.policy-body h4 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.policy-body p {
  margin: 0 0 1.05rem;
}

.policy-body ul,
.policy-body ol {
  margin: 0 0 1.05rem;
  padding-left: 1.25rem;
}

.policy-body li {
  margin-bottom: 0.45rem;
}

.policy-body a {
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.policy-body a:hover {
  border-bottom-color: var(--burgundy);
}

.policy-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--fog);
  font-size: 0.95rem;
}

.policy-body th,
.policy-body td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--fog);
}

.policy-body thead th {
  background: var(--cloud);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.policy-body tbody tr:last-child td {
  border-bottom: none;
}

.policy-body code {
  background: var(--cloud);
  padding: 0.12rem 0.35rem;
  border-radius: 5px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: var(--burgundy);
}

.policy-body pre {
  background: var(--cloud);
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  border: 1px solid var(--fog);
}

.policy-body pre code {
  background: transparent;
  padding: 0;
  color: var(--slate);
}

.policy-body blockquote {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--burgundy);
  background: var(--cloud);
  color: var(--steel);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.policy-body strong {
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Related documents (screen + print)
   ----------------------------------------------------------------------------- */

.related-docs {
  max-width: var(--page);
  margin: 0 auto 3rem;
  padding: 1.75rem 1.5rem 0;
  border-top: 1px solid var(--fog);
}

.related-docs h2 {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.related-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.75rem 2rem;
}

.related-col h3 {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
}

.related-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-col:first-child ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
}

.related-col li {
  margin: 0;
}

.related-col a {
  display: block;
  padding: 0.32rem 0;
  color: var(--steel);
  text-decoration: none;
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
}

.related-col a:hover {
  color: var(--burgundy);
}

.related-col a[aria-current="page"] {
  color: var(--slate);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Category landings
   ----------------------------------------------------------------------------- */

.category-landing {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.category-hero {
  margin-bottom: 1.75rem;
}

.category-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.category-subtitle {
  margin: 0 0 0.85rem;
  max-width: 40rem;
  color: var(--slate);
  font-size: 1.125rem;
  font-weight: 500;
}

.category-intro {
  margin: 0;
  max-width: 42rem;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.6;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.05rem;
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cat-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cat-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--steel);
}

.cat-card-go {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--burgundy);
}

.cat-card-lang {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--cloud);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}

.doc-links {
  display: flex;
  flex-direction: column;
}

.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--fog);
  text-decoration: none;
  color: var(--slate);
}

.doc-link:hover .doc-link-title {
  color: var(--burgundy);
}

.doc-link-title {
  font-weight: 550;
  font-size: 1.02rem;
}

.doc-link-arrow {
  color: var(--text-tertiary);
}

/* -----------------------------------------------------------------------------
   Print masthead (real markup — not a background-image hack)
   ----------------------------------------------------------------------------- */

.print-masthead {
  display: none;
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  html,
  body {
    overflow: auto;
    height: auto;
  }
}

@media (max-height: 920px) {
  html,
  body {
    overflow: auto;
    height: auto;
  }

  .policy-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .pillars,
  .directory,
  .related-grid,
  .site-footer-inner,
  .policy-content,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .directory-list {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }

  .toc {
    max-height: 240px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .nav-hamburger {
    display: inline-flex;
  }

  .header-tools {
    gap: 0.5rem;
    position: static;
  }

  .trust-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.15rem 0.85rem;
    background: #fff;
    border-bottom: 1px solid var(--fog);
    box-shadow: var(--shadow-md);
  }

  .nav-toggle:checked ~ .header-tools .trust-nav,
  .trust-header:has(.nav-toggle:checked) .trust-nav {
    display: flex;
  }

  .trust-header:has(.nav-toggle:checked)::after {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(15, 23, 42, 0.28);
    z-index: 70;
    pointer-events: none;
  }

  .nav-dropdown {
    display: none !important;
  }

  .nav-parent::after {
    display: none;
  }

  .trust-nav > a,
  .nav-parent {
    padding: 0.75rem 0.35rem;
    border-bottom: 1px solid var(--fog);
    border-radius: 0;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.25rem 1.15rem 1.75rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pillars {
    grid-template-columns: 1fr;
    padding: 0 1.15rem 1.5rem;
  }

  .directory,
  .trust-contact,
  .related-docs,
  .policy-content,
  .category-landing {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .trust-contact {
    padding: 1.5rem 1.15rem;
  }

  .brand-product {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   Print
   ----------------------------------------------------------------------------- */

@media print {
  .print-only,
  .print-masthead {
    display: block !important;
  }

  .skip-link,
  .trust-header,
  .breadcrumb,
  .policy-sidebar,
  .policy-actions,
  .hero,
  .hero-aside,
  .nav-dropdown,
  .pillars,
  .directory,
  .trust-contact,
  .lang-toggle,
  .nav-hamburger,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  a {
    color: inherit;
  }

  .print-masthead {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16pt;
    padding: 0 0 12pt;
    margin: 0 0 16pt;
    border-bottom: 1.5pt solid #1e293b;
  }

  .print-masthead-brand {
    display: flex;
    align-items: center;
    gap: 10pt;
  }

  .print-masthead-brand img {
    width: 28pt;
    height: 28pt;
    border-radius: 4pt;
    background: #1e293b;
    padding: 4pt;
  }

  .print-wordmark {
    font-size: 13pt;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1e293b;
    line-height: 1.15;
  }

  .print-wordmark span {
    color: #6e1a33;
  }

  .print-product {
    font-size: 8.5pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 2pt;
  }

  .print-masthead-meta {
    text-align: right;
    font-size: 8.5pt;
    color: #64748b;
    line-height: 1.45;
  }

  .policy-content {
    display: block;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .policy-document {
    max-width: none;
  }

  .policy-badge {
    background: none;
    padding: 0;
    color: #64748b;
  }

  .policy-header {
    border-bottom: 0.75pt solid #cbd5e1;
    margin-bottom: 14pt;
    padding-bottom: 10pt;
    page-break-after: avoid;
  }

  .policy-header h1 {
    font-size: 20pt;
    color: #111;
  }

  .policy-header .subtitle {
    font-size: 11pt;
    color: #334155;
  }

  .policy-body {
    font-size: 10.5pt;
    line-height: 1.55;
    color: #111;
  }

  .policy-body h2 {
    font-size: 13.5pt;
    page-break-after: avoid;
    border-top-color: #cbd5e1;
  }

  .policy-body h3 {
    font-size: 11.5pt;
    page-break-after: avoid;
  }

  .policy-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8.5pt;
    color: #64748b;
  }

  .policy-body table {
    border: 0.6pt solid #94a3b8;
    border-radius: 0;
  }

  .policy-body th,
  .policy-body td {
    border-bottom: 0.5pt solid #cbd5e1;
  }

  .related-docs {
    display: block !important;
    margin: 22pt 0 0;
    padding: 14pt 0 0;
    border-top: 1.25pt solid #1e293b;
    page-break-inside: avoid;
  }

  .related-docs h2 {
    color: #1e293b;
    margin-bottom: 10pt;
  }

  .related-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 10pt 16pt;
  }

  .related-col h3 {
    font-size: 9pt;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4pt;
  }

  .related-col a {
    padding: 1.5pt 0;
    font-size: 8.5pt;
    color: #334155;
  }

  .related-col a[href]::after {
    content: none;
  }

  .site-footer {
    background: none;
    color: #334155;
    padding: 14pt 0 0;
    margin-top: 12pt;
    border-top: 0.6pt solid #cbd5e1;
  }

  .site-footer-inner {
    display: none;
  }

  .site-footer-bottom {
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
    color: #64748b;
    font-size: 8.5pt;
  }

  .site-footer a {
    color: #334155;
  }

  @page {
    margin: 0.7in 0.7in 0.8in;
  }
}

/* -----------------------------------------------------------------------------
   Focus + motion
   ----------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

@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;
  }
}
