:root {
  --ink: #061127;   /* brand navy, from polynomial-mark.svg */
  --paper: #ffffff; /* brand background, from logo.png / icon.png */
  --muted: rgba(6, 17, 39, 0.7);
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#curves {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* Soft halo keeps the text clear of the curves behind it. */
main::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(36rem, 92vw);
  height: min(28rem, 80vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--paper) 55%, rgba(255, 255, 255, 0));
  z-index: -1;
}

.mark {
  width: clamp(64px, 10vw, 96px);
  height: auto;
  margin-bottom: 1.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

p {
  margin: 0.75rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted);
  letter-spacing: 0.01em;
}
