/* ============================================================
   NEUVUM — Design System
   Palette pulled from the logo: near-black base, chrome/silver
   "N" mark, electric blue accent stroke.
   Display: Space Grotesk / Body: Inter / Labels: JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0B0E14;
  --bg-elevated: #12151D;
  --bg-elevated-2: #171B26;
  --border: #232838;
  --text-primary: #F5F6F7;
  --text-muted: #8B93A1;
  --text-dim: #565E70;
  --accent: #3B82F6;
  --accent-dim: #1E3A5F;
  --chrome: #C7CCD3;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(10px);
  z-index: 50;
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
}

header.site .logo img {
  height: 48px;
  width: auto;
}

nav.main {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.main a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

nav.main a:hover,
nav.main a:focus-visible {
  color: var(--text-primary);
}

nav.main a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-toggle { display: none; }

/* ---------- Skip link (accessibility) ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #05070B;
  padding: 12px 20px;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #05070B;
}

.btn-primary:hover { transform: translateY(-1px); background: #4C8CF8; }

.btn-ghost {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--chrome); }

/* ---------- Hero (signature diagonal motif, echoes the logomark) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  width: 34%;
  max-width: 420px;
  opacity: 0.05;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(59, 130, 246, 0.25));
}

.hero .wrap { position: relative; }

.hero-tag { margin-bottom: 22px; }

.hero h1 { max-width: 780px; margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }

.hero .lede {
  max-width: 560px;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

section.alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }

/* ---------- Value grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  list-style: none;
}

.grid-3 > li {
  background: var(--bg);
  padding: 40px 34px;
}

.grid-3 h3 { margin: 16px 0 12px; }

.num {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- CTA block (centered, narrow) ---------- */

.cta-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-centered h2 { margin-bottom: 20px; }
.cta-centered p { margin-bottom: 36px; }

/* ---------- Page hero variants ---------- */

.hero-compact { padding-bottom: 40px; }

.section-flush-top { padding-top: 0; }

/* ---------- Cards / pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tier {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 30px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
}

.tier.featured {
  border-color: var(--accent);
  background: var(--bg-elevated-2);
  position: relative;
}

.tier.featured::after {
  content: 'MOST CHOSEN';
  position: absolute;
  top: -12px;
  left: 30px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: #05070B;
  padding: 4px 10px;
  border-radius: 3px;
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 14px 0 4px;
}

.tier .price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.tier .tagline { margin-bottom: 24px; }

.tier ul { list-style: none; margin: 0 0 28px; flex-grow: 1; }

.tier li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.tier li:first-child { border-top: none; }

.tier li::before {
  content: '';
  min-width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}

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

footer.site img.logo { height: 34px; opacity: 0.85; }

footer.site .links {
  display: flex;
  gap: 28px;
}

footer.site .links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

footer.site .links a:hover { color: var(--text-primary); }

footer.site .fine {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Forms (contact) ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

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

.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }

form.contact {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

form.contact .btn { justify-self: start; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field textarea { resize: vertical; min-height: 120px; }

/* ---------- About page specifics ---------- */

.story { max-width: 680px; }
.story p { margin-bottom: 20px; font-size: 1.02rem; }
.story h2 { margin: 48px 0 18px; }

.who-list { list-style: none; margin-top: 20px; }
.who-list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}
.who-list li:first-child { border-top: none; }
.who-list li::before { content: '→'; color: var(--accent); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  nav.main { display: none; }
  .hero { padding: 80px 0 64px; }
  section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  header.site .bar { padding: 14px 20px; }
  .hero-mark { opacity: 0.09; width: 50%; }
}
