/* normaix.com: one page, light only. The app's own plum as the single flat accent; the
   computer's own fonts; hairlines and space rather than boxes. No gradients, blur or
   coloured shadows (the AI-look tells: Normaix-Build-Context interface-design-direction). */

:root {
  color-scheme: light;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --page: #fff;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --line: #e2e0e5;
  --tint: #f6f5f8;        /* every other section: the app's own soft grey */
  --line-tint: #d9d7dd;   /* hairlines on that grey */
  --soft: #e6dcee;        /* text on the plum band */
  --line-plum: #7a5a90;   /* hairlines on the plum band */
  --accent: #4a2a5e;      /* deep plum, as in the app: buttons, links, the status label */
  --accent-hover: #351d44;
  --on-accent: #fff;
  --measure: 40rem;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* The top bar: the name and the way in for pilot firms, nothing else. */
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.wordmark { color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.login { font-weight: 600; }

/* The opening: left-aligned, one decision, the proof right under the buttons, and the product
   beside it (under it on a phone). */
.hero { padding-block: 4.5rem 4rem; }
.hero-shot { margin: 2.5rem 0 0; }
.hero-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-tint); border-radius: 8px; }
.hero-shot figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9375rem; }
.status {
  display: inline-block;
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  max-width: 22ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lead { max-width: var(--measure); margin: 0 0 2rem; font-size: 1.1875rem; }
.proof { max-width: var(--measure); margin: 1.75rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.proof strong { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: transparent; color: var(--accent-hover); border-color: var(--accent-hover); }

/* Sections: white and soft grey in turn, one plum band for the pilot. The change of colour
   separates them; nothing is boxed. */
.band { padding-block: 3.5rem; }
.tint { background: var(--tint); }
.tint .plain li { border-bottom-color: var(--line-tint); }
.pilot { background: var(--accent); color: #fff; }
.pilot a { color: #fff; }
.pilot .small, .pilot .facts dt { color: var(--soft); }
.pilot .facts div { border-bottom-color: var(--line-plum); }
.pilot .plain li { border-bottom-color: var(--line-plum); }
.pilot :focus-visible { outline-color: #fff; }
.pilot .button { background: #fff; border-color: #fff; color: var(--accent); }
.pilot .button:hover { background: var(--soft); border-color: var(--soft); color: var(--accent-hover); }
.pilot .button.secondary { background: transparent; border-color: #fff; color: #fff; }
.pilot .button.secondary:hover { background: transparent; border-color: var(--soft); color: var(--soft); }
h2 { margin: 0 0 1.25rem; font-size: 1.625rem; line-height: 1.25; letter-spacing: -0.01em; }
h3 { margin: 0 0 0.5rem; font-size: 1.125rem; line-height: 1.35; }
.band p { max-width: var(--measure); }

/* What it does: a numbered list, not three rounded cards. */
.steps { display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; }

.columns { display: grid; gap: 2rem; margin-top: 1.5rem; }
.plain { margin: 0; padding: 0; list-style: none; }
.plain li { padding-block: 0.45rem; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }

.facts { display: grid; gap: 0; margin: 0 0 1.5rem; max-width: 48rem; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }

.small { color: var(--muted); font-size: 0.9375rem; }

.faq { margin: 0; max-width: 48rem; }
.faq dt { margin-top: 1.5rem; font-weight: 700; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 0.35rem 0 0; }

/* One above the other, wide enough to read. */
.shots { display: grid; gap: 2.5rem; max-width: 56rem; margin-top: 1.5rem; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.shots figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9375rem; }

.founder { display: grid; gap: 2rem; align-items: start; }
.founder img { width: 9rem; height: 9rem; border-radius: 4px; object-fit: cover; }

.foot { padding-block: 2.5rem 3rem; background: var(--tint); color: var(--muted); font-size: 0.9375rem; }
.foot p { margin: 0.25rem 0; }

.page-text { max-width: var(--measure); padding-block: 3rem 4rem; }
.page-text h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.page-text h2 { margin-top: 2.5rem; }

/* The 404 page: one large number in the plum, the way home, and nothing else. */
.missing { padding-block: 4.5rem 6rem; }
.missing-code {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.page-text h3 { margin-top: 1.5rem; }
.page-text table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: 0.9375rem; }
.page-text th, .page-text td { padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
/* Long cookie names break rather than push the page sideways on a phone. */
.page-text code { overflow-wrap: anywhere; }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .columns { grid-template-columns: 2fr 1fr; }
  .founder { grid-template-columns: auto 1fr; }
  .hero { padding-block: 6rem 5rem; }
}
@media (min-width: 64rem) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
  .hero-grid h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
  .hero-shot { margin: 0; }
}

/* Motion, only for computers that haven't asked for less of it. Nothing moves after the
   page settles. Browsers without scroll-driven animation simply show each section. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .button { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, text-decoration-thickness 150ms ease; }
  .hero .wrap { animation: rise 400ms ease-out both; }
  @supports (animation-timeline: view()) {
    .band .wrap { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}
