:root {
  --navy-900: #0E1A33;
  --navy-800: #152444;
  --navy-700: #1A2B4C;
  --navy-600: #243C6A;
  --bone:     #F4F1EA;
  --bone-100: #FAF8F2;
  --bone-200: #EBE6DA;
  --ink:      #0F1830;
  --green:    #96C3A1;
  --orange:   #F5A623;
  --orange-600: #8A5A06;
  --rule:     rgba(26, 43, 76, 0.12);
  --mute:     rgba(15, 24, 48, 0.62);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; letter-spacing: -0.01em; color: var(--navy-700);
  text-decoration: none; font-size: 0.95rem;
}
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); display: inline-block; }
.nav-links { display: flex; gap: 1.5rem; font-size: 0.85rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--mute); }
.nav-links a:hover { color: var(--navy-700); }

/* Eyebrow */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy-600); opacity: 0.78;
}

/* Page header (interior pages) */
.page-head { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.page-head .eyebrow { margin-bottom: 1rem; }
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05; color: var(--navy-700);
  margin-bottom: 1rem; max-width: 18ch;
}
.page-head .lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--mute); max-width: 58ch; }

/* Hero (home) */
.hero { padding: 4rem 0 3.5rem; }
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(2.1rem, 6.5vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  color: var(--navy-700); margin-bottom: 1.25rem; max-width: 14ch;
}
.hero .sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--mute); max-width: 56ch; margin-bottom: 2rem; }

/* CTA */
.cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy-700); color: var(--bone-100);
  padding: 0.85rem 1.35rem; border-radius: 3px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta:hover { background: var(--navy-900); transform: translateY(-1px); }
.cta .arrow { transition: transform 0.15s ease; }
.cta:hover .arrow { transform: translateX(3px); }
.cta.ghost { background: transparent; color: var(--navy-700); border: 1px solid var(--navy-700); }
.cta.ghost:hover { background: var(--navy-700); color: var(--bone-100); }

/* Section */
section { padding: 4rem 0; border-top: 1px solid var(--rule); }
section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.02em; color: var(--navy-700);
  margin: 0.75rem 0 1.25rem; max-width: 22ch;
}
section .lede { font-size: 1.05rem; color: var(--mute); max-width: 60ch; margin-bottom: 2.5rem; }

/* Products grid */
.products { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product {
  position: relative; background: var(--bone-100);
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}
.product::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.product.md::before  { background: var(--green); }
.product.biz::before { background: var(--orange); }
.product.edu::before { background: var(--navy-600); }
.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 43, 76, 0.10);
  border-color: rgba(26, 43, 76, 0.25);
}
.product .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.product .eyebrow { font-size: 10px; }
.pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--mute);
}
.pill.live { color: #2F6E3F; border-color: rgba(47, 110, 63, 0.3); background: rgba(150, 195, 161, 0.18); }
.product .name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--navy-700); margin-bottom: 0.35rem; }
.product .tag { font-size: 0.9rem; color: var(--navy-600); font-weight: 500; margin-bottom: 0.6rem; }
.product .desc { font-size: 0.9rem; color: var(--mute); margin-bottom: 1.25rem; flex-grow: 1; }
.product .more { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--navy-700); font-weight: 500; text-transform: uppercase; }

/* Why grid */
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--navy-700); margin-bottom: 0.5rem; }
.why-item p { color: var(--mute); font-size: 0.95rem; }
.why-item .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--orange-600, #B07208); letter-spacing: 0.18em; margin-bottom: 0.4rem; display: block; font-weight: 600; }

/* Founder/card */
.card {
  background: var(--bone-100); border: 1px solid var(--rule);
  border-radius: 4px; padding: 2rem 1.75rem; max-width: 720px;
}
.card p { font-size: 1.05rem; color: var(--ink); margin-bottom: 1rem; line-height: 1.65; }
.card .sig {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); margin-top: 1.25rem;
}

/* Prose (about, legal, blog post) */
.prose { max-width: 64ch; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy-700); margin: 2.5rem 0 0.75rem; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy-700); margin: 1.75rem 0 0.5rem; }
.prose p { color: var(--ink); margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; color: var(--ink); }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--navy-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose strong { color: var(--navy-700); font-weight: 600; }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; background: var(--bone-100); padding: 1px 4px; border-radius: 3px; border: 1px solid var(--rule); }

/* Form */
.form { max-width: 520px; }
.form .field { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: 0.4rem;
}
.form input, .form textarea, .form select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bone-100); border: 1px solid var(--rule);
  border-radius: 3px; padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--navy-700); }
.form textarea { min-height: 140px; resize: vertical; }
.form .honeypot { position: absolute; left: -9999px; }

/* Pricing tier */
.tiers { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--bone-100); border: 1px solid var(--rule); border-radius: 4px; padding: 1.75rem 1.5rem; }
.tier h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy-700); margin-bottom: 0.35rem; }
.tier .price { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; color: var(--navy-600); margin-bottom: 1rem; }
.tier ul { list-style: none; }
.tier li { color: var(--mute); font-size: 0.9rem; padding: 0.4rem 0; border-top: 1px solid var(--rule); }
.tier li:first-child { border-top: none; }

/* Footer */
footer.site { background: var(--navy-700); color: var(--bone-100); padding: 3rem 0 2rem; margin-top: 4rem; }
footer .top { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 720px) { footer .top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
footer h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250, 248, 242, 0.78);
  margin-bottom: 1rem; font-weight: 500;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
footer a { text-decoration: none; color: rgba(250, 248, 242, 0.85); font-size: 0.9rem; }
footer a:hover { color: var(--bone-100); }
footer .blurb { color: rgba(250, 248, 242, 0.65); font-size: 0.9rem; max-width: 36ch; margin-top: 0.5rem; }
footer .strap {
  border-top: 1px solid rgba(250, 248, 242, 0.12);
  padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250, 248, 242, 0.78);
}

/* 404 */
.fourohfour { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.25rem; }
.fourohfour .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em; color: var(--orange);
  margin-bottom: 1rem;
}
.fourohfour h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy-700); margin-bottom: 1rem; max-width: 18ch;
}
.fourohfour p { color: var(--mute); max-width: 48ch; margin: 0 auto 2rem; }

/* Blog list */
.post-list { display: grid; gap: 0.75rem; max-width: 720px; }
.post-item {
  display: block; text-decoration: none; color: inherit;
  background: var(--bone-100); border: 1px solid var(--rule);
  border-radius: 4px; padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-item:hover { border-color: rgba(26, 43, 76, 0.3); transform: translateY(-1px); }
.post-item .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 0.4rem;
}
.post-item .title { font-size: 1.1rem; font-weight: 600; color: var(--navy-700); }

@media (max-width: 480px) {
  .hero, .page-head { padding-top: 2.5rem; padding-bottom: 2rem; }
  section { padding: 3rem 0; }
}
