/* Victorifer design system — light, industrial, restrained.
   Shared tokens, reset, layout primitives, nav, footer, buttons, typography. */

:root {
  /* Surfaces — cool, blue-tinted neutrals */
  --bg: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f5f8fc;

  /* Ink */
  --ink: #112138;       /* headings */
  --body: #42526b;      /* body text */
  --muted: #67768f;     /* secondary */
  --faint: #93a1b6;     /* tertiary / captions */

  /* Lines */
  --line: #e0e7f0;
  --line-strong: #cad4e1;

  /* Brand — electric indigo (matches the Victorifer mark) */
  --accent: #1800ad;
  --accent-dark: #12007e;
  --accent-tint: #ebe9fb;

  /* Status — muted, not neon */
  --ok: #1f7a46;
  --ok-tint: #e7f3ec;
  --block: #b3261e;
  --block-tint: #fbeae8;
  --review: #9a6206;
  --review-tint: #fbf1e3;

  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 650; letter-spacing: -.01em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.accent { color: var(--accent); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px/1 var(--sans); cursor: pointer; white-space: nowrap;
  padding: 10px 16px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 13px; font-size: 13px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 17px/1 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.brand .mark {
  width: 24px; height: 22px;
  background: url("/static/img/logo-mark.png") center/contain no-repeat;
}
.nav .links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav .links a { padding: 4px 0; border-bottom: 1px solid transparent; }
.nav .links a:hover { color: var(--ink); }
.nav .links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav .nav-cta { margin-left: 4px; }
@media (max-width: 860px) { .nav .links { display: none; } .nav .nav-cta { margin-left: auto; } }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; flex-wrap: wrap; }
.footer .meta { color: var(--faint); font-size: 13px; }
.footer .links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.footer .links a:hover { color: var(--ink); }

/* Generic section rhythm — one calm background; whitespace does the dividing.
   The only structural lines on the page are under the hero and above the CTA. */
.section { padding: 72px 0; }
.section-head { max-width: 680px; }
.section-head h2 { font-size: 28px; line-height: 1.2; margin-top: 14px; }
.section-head p { color: var(--body); font-size: 16px; margin: 14px 0 0; }

code { font-family: var(--mono); font-size: .92em; color: var(--accent-dark); background: var(--accent-tint); padding: 1px 5px; border-radius: 4px; }
