/* Copied verbatim from spotvalue-website src/styles/globals.css by tools/sync-identity.ts. Do not edit here. */
/* Base, typography and controls. Shared vocabulary for the website and the
   product platform; layout for the marketing pages lives in site.css. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--substrate-30) var(--substrate-10);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--substrate-10);
  color: var(--ink-90);
  font: 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: proportional-nums;
  caret-color: var(--brand);
}
::selection {
  background: var(--brand-soft);
  color: var(--ink-90);
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
a {
  color: var(--cartographer-70);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 160ms ease-out;
}
a:hover {
  text-decoration-color: currentColor;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
svg {
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
p {
  max-width: 68ch;
}
strong {
  font-weight: 600;
}
h1,
h2,
h3,
h4 {
  font-weight: inherit;
  text-wrap: balance;
}
p,
li,
dd {
  text-wrap: pretty;
}
sup {
  line-height: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Type scale */
.display-1 {
  font: 400 clamp(40px, 5vw, 74px)/1.04 var(--font-display);
  letter-spacing: -0.035em;
}
.display-2,
.title-1 {
  font: 400 clamp(34px, 3.6vw, 52px)/1.1 var(--font-display);
  letter-spacing: -0.03em;
}
.title-2 {
  font: 400 clamp(28px, 2.6vw, 38px)/1.18 var(--font-display);
  letter-spacing: -0.025em;
}
.title-3 {
  font: 500 21px/1.3 var(--font-display);
  letter-spacing: -0.015em;
}
.lede {
  font: 400 19px/1.6 var(--font-body);
  color: var(--ink-70);
  max-width: 58ch;
}
.caption,
.note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
}
.micro {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-50);
}
.data,
.data-lg,
.data-sm,
.figure {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "zero" 0;
}
.data {
  font-size: 14px;
}
.data-lg {
  font-size: 22px;
}
.data-sm {
  font-size: 12px;
}
.ink-70 {
  color: var(--ink-70);
}
.ink-50 {
  color: var(--ink-50);
}

/* Controls */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 500 16px/1.4 var(--font-body);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-hover);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-secondary {
  border-color: var(--substrate-30);
  color: var(--ink-90);
  background: var(--substrate-20);
}
.btn-secondary:hover {
  border-color: var(--ink-50);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-90);
}
.form-row {
  display: flex;
  gap: 8px;
}
.field-input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--ink-50);
  border-radius: 4px;
  background: var(--substrate-20);
  color: var(--ink-90);
  transition: border-color 160ms ease-out;
}
.field-input::placeholder {
  color: var(--ink-50);
  opacity: 1;
}
.field-input:hover {
  border-color: var(--ink-70);
}
.field-input:focus-visible {
  outline-offset: 0;
  border-color: var(--brand);
}
.field-input:user-invalid {
  border-color: var(--ledger-rust-60);
}
.field-help {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-70);
}
.skip-link {
  position: absolute;
  z-index: 100;
  top: -100px;
  left: 24px;
  padding: 12px 20px;
  background: var(--substrate-20);
  border: 1px solid var(--substrate-30);
}
.skip-link:focus {
  top: 12px;
}

/* Verdict marks: a drawn mark, a word, and the ledger hue. */
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.verdict--hit {
  color: var(--ledger-green-60);
}
.verdict--missed {
  color: var(--ledger-rust-60);
}
.verdict--partial,
.verdict--reframed {
  color: var(--ledger-amber-60);
}
.verdict--open {
  color: var(--ink-50);
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .lede {
    font-size: 17px;
  }
}

/* Reduced motion: no smooth scrolling. Components that move define their
   own reduced alternative beside their motion (site.css). */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
