:root {
  color-scheme: dark;
  --background: 220 20% 5%;
  --foreground: 0 0% 100%;
  --muted-foreground: 213 20% 65%;
  --primary: 195 100% 58%;
  --border: 213 30% 85%;
}

.agent-html-fallback,
.agent-trust-page main {
  box-sizing: border-box;
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-block: 3rem 4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.agent-html-fallback {
  min-height: 100vh;
  padding-inline: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.agent-trust-page {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.agent-trust-page main {
  min-height: calc(100vh - 7rem);
}

.agent-trust-page header,
.agent-trust-page footer {
  box-sizing: border-box;
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-block: 1.25rem;
}

.agent-trust-page header {
  border-bottom: 1px solid hsl(var(--primary) / 0.3);
}

.agent-trust-page footer {
  border-top: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.agent-trust-page nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.agent-trust-page a,
.agent-html-fallback a {
  color: hsl(var(--primary));
  text-underline-offset: 0.2em;
}

.agent-trust-page h1,
.agent-html-fallback h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

.agent-trust-page h2,
.agent-html-fallback h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.agent-trust-page p,
.agent-html-fallback p {
  max-width: 70ch;
}

.agent-trust-page address {
  font-style: normal;
}

.agent-trust-page a:focus-visible,
.agent-html-fallback a:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .agent-trust-page *,
  .agent-html-fallback * {
    scroll-behavior: auto;
  }
}