/* ValoMath static site — tokens and type scale aligned with docs/design/exam-app/ux-1/kit.css */
@font-face {
  font-family: "Manrope";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Manrope-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Manrope-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Manrope-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/Manrope-ExtraBold.ttf") format("truetype");
}

:root {
  color-scheme: light dark;
  --paper: #f5f2eb;
  --sheet: #fffdf8;
  --ink: #17161a;
  --muted: #6b655c;
  --line: #e2dcd0;
  --coral: #ff5c3e;
  --ledge: #c93a20;
  --coral-soft: #ffe9e1;
  --yellow: #ffd84a;
  --yellow-line: #e2b92b;
  --ok: #2f7a4f;
  --dot: #d9d2c4;
  --link: #c93a20;
  --font-sans: "Manrope", -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191816;
    --sheet: #22211e;
    --ink: #f2eee6;
    --muted: #a39c90;
    --line: #36332e;
    --coral-soft: #3a221c;
    --dot: #2e2c28;
    --link: #ff8a70;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

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

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-wide {
  max-width: 860px;
}

header.top {
  padding: 26px 0 8px;
}

header.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-text img {
  display: block;
  flex: none;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 15px;
  font-weight: 700;
}

nav.links a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}

nav.links a:hover,
nav.links a[aria-current="page"] {
  color: var(--ink);
}

main {
  flex: 1;
  padding: 24px 0 56px;
}

.sheet {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 3px 0 var(--line);
  padding: 38px 42px 42px;
  overflow-wrap: break-word;
}

h1 {
  font-weight: 800;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}

h2 {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 34px 0 8px;
}

h3 {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin: 22px 0 4px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 700;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.note {
  background: var(--coral-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
}

.key {
  display: inline-block;
  background: var(--coral);
  color: #17161a;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ledge);
}

.key:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ledge);
}

footer.bottom {
  padding: 0 0 38px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.disclaimer {
  margin: 0 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

footer.bottom a {
  color: var(--muted);
}

footer.bottom a:hover {
  color: var(--ink);
}

.home {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 44px 0 68px;
}

.hero {
  margin: 0 0 36px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 10px 0 16px;
}

.lede {
  font-size: 18px;
  line-height: 1.56;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 24px;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--sheet);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.soon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}

.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.point-card {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 3px 0 var(--line);
  padding: 20px 20px 22px;
}

.point-card .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.point-card h2 {
  font-size: 18px;
  line-height: 1.26;
  margin: 0 0 6px;
}

.point-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.not-found {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 3px 0 var(--line);
  padding: 36px 38px;
  max-width: 520px;
}

.not-found h1 {
  margin-top: 8px;
}

@media (max-width: 780px) {
  .points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  header.top {
    padding-top: 20px;
  }
  .home {
    padding: 28px 0 48px;
  }
  .sheet,
  .not-found {
    padding: 26px 20px 30px;
    border-radius: 18px;
  }
  h1 {
    font-size: 27px;
  }
  .lede {
    font-size: 16.5px;
  }
}
