/* Evalix marketing site. Tokens: the Pliyt palette from the Claude Design handoff (2026-10-27). */

@font-face {
  font-family: "DM Sans";
  font-weight: 100 1000;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-mono-400-latin.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-weight: 500 700;
  font-display: swap;
  src: url(assets/fonts/dm-mono-500-latin.woff2) format("woff2");
}

:root {
  color-scheme: light dark;
  --ink: #0c1631;
  --muted: #4a5573;
  --bg: #fafaf0;
  --surface: #ffffff;
  --sunk: #f2f2e6;
  --rule: #e4e3d6;
  --accent: #2a385f;
  --accent-hover: #0c1631;
  --on-accent: #fafaf0;
  --brand: #00cccc;
  --pass: #166534;
  --fail: #b42318;
  --fail-tint: #fbe9e7;
  --tag-bg: #ece4fb;
  --tag-ink: #2a385f;
  --tag-rule: #c8b4f3;
  --term: #0c1631;
  --term-ink: #fafaf0;
  --term-muted: #8a97b8;
  --term-fail: #ff968b;
  --term-pass: #68f37f;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fafaf0;
    --muted: #a3acc4;
    --bg: #0c1631;
    --surface: #142042;
    --sunk: #101a38;
    --rule: #26345c;
    --accent: #00cccc;
    --accent-hover: #5ee0e0;
    --on-accent: #0c1631;
    --pass: #68f37f;
    --fail: #ff968b;
    --fail-tint: #3a1f26;
    --tag-bg: #2a2750;
    --tag-ink: #c8b4f3;
    --tag-rule: #4a427a;
    --term: #081024;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

code,
.mono {
  font-family: var(--mono);
}
p code,
li code {
  font-size: 0.9em;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}

/* Layout */

.wrap {
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  border-top: 1px solid var(--rule);
}
.section--surface {
  background: var(--surface);
}
.section > .wrap {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.split > * {
  flex: 1 1 380px;
  min-width: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}

/* Icons: SVG files used as masks so they take the text colour */

.icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon--accent {
  color: var(--accent);
}
.icon--lg {
  width: 28px;
  height: 28px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  text-decoration: none;
}
.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: progress;
}

/* Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand span {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
}
.site-header .btn {
  margin-left: auto;
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

/* Hero */

.hero {
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 34em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding-top: 8px;
}
.hero-ctas a:not(.btn) {
  font-weight: 500;
}
.hero-visual {
  flex: 1.3 1 480px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 {
  margin-top: 8px;
  font-size: 20px;
}
.card p {
  color: var(--muted);
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--rule);
}
.steps li {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
}
.step-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.steps p {
  color: var(--muted);
}

.terminal {
  background: var(--term);
  color: var(--term-ink);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgb(227 230 235 / 12%);
  color: var(--term-muted);
  font-size: 12px;
}
.terminal-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(227 230 235 / 22%);
}
.terminal-bar span {
  margin-left: 8px;
}
.terminal pre {
  margin: 0;
  padding: 20px 20px 24px;
  font: inherit;
  white-space: pre;
  overflow-x: auto;
}
.t-muted {
  color: var(--term-muted);
}
.t-fail {
  color: var(--term-fail);
}
.t-strong {
  font-weight: 600;
}

/* The gate */

.halt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.halt-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.halt-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 20px;
  background: var(--fail-tint);
  color: var(--fail);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
}
.halt-badge .icon {
  width: 20px;
  height: 20px;
}
.halt-card h3 {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.halt-card .claim {
  font-size: 19px;
  line-height: 1.5;
}
.halt-card .claim strong {
  font-weight: 600;
}
.halt-card p:last-child {
  color: var(--muted);
}

.divergences {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule);
}
.divergences th {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 24px 10px 0;
  border-bottom: 1px solid var(--rule);
}
.divergences td {
  padding: 14px 24px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.divergences td:first-child {
  width: 240px;
  font-family: var(--mono);
  font-size: 14px;
}
.divergences td:last-child {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 560px) {
  .divergences thead {
    display: none;
  }
  .divergences tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }
  .divergences td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .divergences td:first-child {
    width: auto;
  }
}

/* Oracle integrity */

.callout {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 16px;
  font-weight: 500;
}

/* Evidence */

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.columns > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.columns p {
  color: var(--muted);
}
.chain-h {
  display: block;
}
.chain-v {
  display: none;
  max-width: 320px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .chain-h {
    display: none;
  }
  .chain-v {
    display: block;
  }
}

/* Inputs */

.inputs-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: flex-end;
  justify-content: space-between;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.badges li {
  font-family: var(--mono);
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid var(--tag-rule);
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--tag-ink);
}
.framed {
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

/* Self-host */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 24px;
}
.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* What's next */

.next > .wrap {
  padding-top: 56px;
  padding-bottom: 56px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 48px;
  align-items: baseline;
}
.next h2 {
  flex: 0 0 220px;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--muted);
}
.next ul {
  flex: 1 1 400px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}
.next li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 8px;
  border: 1px solid var(--tag-rule);
  background: var(--tag-bg);
  color: var(--tag-ink);
  border-radius: 10px;
}

/* Waitlist */

.waitlist > .wrap {
  align-items: center;
}
.waitlist-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.waitlist-card h2 {
  font-size: clamp(26px, 3vw, 34px);
}
.waitlist-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 14px;
  font-weight: 500;
}
.field .optional {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select {
  height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.field input[aria-invalid="true"] {
  border-color: var(--fail);
}
.field-error {
  font-size: 14px;
  color: var(--fail);
}
.consent {
  font-size: 13px;
  color: var(--muted);
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
}
.notice--error {
  background: var(--fail-tint);
  color: var(--fail);
}
.notice--ok {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.notice img {
  width: 24px;
  height: 24px;
  flex: none;
}
[hidden],
.waitlist-card [hidden] {
  display: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule);
}
.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
}
.site-footer .brand img {
  width: 22px;
  height: 22px;
}
.site-footer .brand span {
  font-size: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
.footer-links a,
.footer-legal {
  color: var(--muted);
}
.footer-legal {
  margin-left: auto;
  font-size: 14px;
}

/* Privacy page */

.prose {
  max-width: 680px;
  padding-top: 56px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
}
.prose h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
