:root {
  color-scheme: dark;
  --ink: #f6f7fb;
  --ink-muted: #b8bdc9;
  --ink-quiet: #848b99;
  --night: #090c13;
  --night-raised: #0f131d;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --open-blue: #5d8cff;
  --open-violet: #b89af8;
  --open-amber: #f3b85b;
  --focus: #9db9ff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--night);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--night);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(157, 185, 255, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--focus);
}

a:focus-visible,
button:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  color: #090c13;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  width: 40px;
  height: 32px;
  object-fit: contain;
}

.home-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 620;
}

.trust-main {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 88px 0 104px;
}

.trust-hero {
  max-width: 780px;
  margin-bottom: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--open-blue);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--open-blue);
  content: "";
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dt,
dd {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 56px;
  font-weight: 660;
  line-height: 1.05;
}

.lede {
  max-width: 710px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 21px;
  line-height: 1.55;
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 38px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.document-meta div {
  min-width: 0;
}

.document-meta dt {
  margin-bottom: 7px;
  color: var(--ink-quiet);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
  text-transform: uppercase;
}

.document-meta dd {
  margin: 0;
  color: var(--open-amber);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.trust-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 88px;
  align-items: start;
}

.page-index {
  position: sticky;
  top: 28px;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
}

.page-index-title {
  margin: 0 0 16px;
  color: var(--ink-quiet);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.page-index ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-index a {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.page-index a:hover {
  color: #ffffff;
}

.trust-content > section {
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
}

.trust-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}

h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 29px;
  font-weight: 650;
  line-height: 1.22;
}

h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.4;
}

p,
li {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.75;
}

p {
  margin: 0 0 20px;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

ul,
ol {
  margin: 18px 0 24px;
  padding-left: 22px;
}

li + li {
  margin-top: 9px;
}

.plain-list {
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.plain-list strong {
  display: block;
  margin-bottom: 4px;
}

.principle {
  margin: 32px 0 12px;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--open-violet);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.55;
}

.closing-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.closing-note p {
  margin-bottom: 6px;
  color: var(--ink);
}

.closing-note p:first-child {
  font-weight: 700;
}

.review-note {
  margin: 36px 0 8px;
  padding: 22px 24px;
  border: 1px solid rgba(243, 184, 91, 0.36);
  border-radius: 6px;
  background: rgba(243, 184, 91, 0.06);
}

.review-note h3 {
  margin-top: 0;
  color: var(--open-amber);
}

.review-note p,
.review-note li {
  color: #d4c5ad;
  font-size: 14px;
  line-height: 1.65;
}

.review-note p:last-child,
.review-note ul:last-child {
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.trust-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--night-raised);
  color: var(--ink);
  font-size: 15px;
  font-weight: 690;
  text-align: center;
  text-decoration: none;
}

.trust-button.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #090c13;
}

.trust-button:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.trust-button.primary:hover {
  background: #dfe7ff;
  color: #090c13;
}

.support-target {
  color: var(--open-amber);
  font-weight: 680;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 0 42px;
  color: var(--ink-quiet);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
}

.footer-line {
  margin: 0;
  color: var(--ink-quiet);
  font-size: 13px;
}

@media (max-width: 820px) {
  .trust-main {
    padding-top: 64px;
  }

  .trust-hero {
    margin-bottom: 64px;
  }

  h1 {
    font-size: 46px;
  }

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .page-index {
    position: static;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .page-index ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .trust-main {
    width: min(100% - 40px, 1120px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-lockup span {
    font-size: 16px;
  }

  .trust-main {
    padding: 48px 0 72px;
  }

  .trust-hero {
    margin-bottom: 52px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .document-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lede {
    font-size: 18px;
  }

  .page-index a {
    min-height: 44px;
  }

  .trust-content > section {
    padding-top: 40px;
  }

  h2 {
    font-size: 25px;
  }

  .contact-actions {
    display: grid;
  }

  .trust-button {
    width: 100%;
  }
}

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