/* ============================================================
   Boltaic LLC — brand system per the Boltaic identity guide
   IBM Plex Sans/Mono · flat navy · electric accent
   ============================================================ */

:root {
  --navy-900:      #0B1220;  /* hero, footer mark, dark surfaces */
  --navy-800:      #111C33;  /* mark tile on navy */
  --navy-border:   #1A2947;  /* hairline on navy */
  --navy-border-2: #2C3A55;  /* ghost button border on navy */
  --electric:      #2F6BFF;  /* accent — links, primary button, bolt */
  --electric-deep: #1D4FD7;  /* accent hover */
  --electric-light:#7FA9FF;  /* accent on navy */
  --ink:           #101828;  /* headings */
  --body:          #475467;  /* body copy */
  --muted:         #667085;  /* labels, secondary */
  --muted-2:       #98A2B3;  /* eyebrows, tertiary */
  --border:        #E4E8F0;  /* card + section borders */
  --border-soft:   #EEF1F6;  /* inner dividers */
  --surface:       #FFFFFF;
  --surface-alt:   #F7F9FC;  /* brands section, table label cells */
  --on-navy:       #B7C2D4;  /* body copy on navy */
  --on-navy-strong:#E8EDF6;
  --radius-lg: 16px;         /* cards, tables */
  --radius-md: 12px;         /* notice block */
  --radius-sm:  9px;         /* buttons */
  --radius-xs:  8px;         /* header pill */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--electric); }
a:hover { color: var(--electric-deep); }

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy-900);
}

.wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark-llc {
  font-weight: 400;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--electric); }

.nav-links a.nav-pill {
  color: #fff;
  background: var(--navy-900);
  padding: 9px 18px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav-links a.nav-pill:hover {
  color: #fff;
  background: var(--navy-border);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy-900);
  color: #fff;
  border-bottom: 1px solid var(--navy-border);
}

.hero-pad { padding: 72px 0 80px; }

.hero-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-mark { flex: none; }

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--on-navy);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--electric);
  color: #fff;
}

.btn-primary:hover {
  background: var(--electric-deep);
  color: #fff;
}

.btn-ghost {
  color: var(--on-navy-strong);
  border: 1px solid var(--navy-border-2);
}

.btn-ghost:hover {
  color: var(--on-navy-strong);
  border-color: #5A6B8A;
}

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

.section { padding: 68px 0; }

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section-cols {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* ---------- About ---------- */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
}

.about-content > p {
  font-size: 17px;
  color: var(--body);
}

.dba-notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--electric);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  background: var(--surface-alt);
}

.dba-notice p {
  font-size: 15px;
  color: #344054;
}

/* ---------- Our Brands ---------- */

.brands-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brands-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}

.section-lede {
  font-size: 17px;
  color: var(--body);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.brand-card:hover {
  border-color: #B9CCFF;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.07);
}

.brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-head img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

.brand-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
  white-space: nowrap;
}

.brand-card > p {
  font-size: 15px;
  color: var(--body);
}

.brand-card > p.brand-tagline {
  font-weight: 500;
  color: var(--ink);
}

.brand-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--electric);
  text-decoration: none;
}

.brand-email {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

/* ---------- Text links ---------- */

.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--electric);
  text-decoration: none;
}

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

.page-hero-pad { padding: 64px 0 72px; }

.page-hero-eyebrow {
  color: var(--electric-light);
  margin-bottom: 0;
}

.page-hero-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.mission-callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--electric);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px;
  background: var(--surface-alt);
}

.mission-callout p {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.values-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.value-card p {
  font-size: 15px;
  color: var(--body);
}

.brand-mini-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  background: var(--surface);
}

.brand-mini img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: none;
}

.brand-mini h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mini p {
  font-size: 14px;
  color: var(--body);
}

.brand-mini .brand-link {
  margin-left: auto;
  white-space: nowrap;
}

/* ---------- Hobby projects (subordinate to the brands) ---------- */

.h2-sub {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.brand-mini-plain {
  background: var(--surface-alt);
}

/* ---------- Document pages (product privacy / support) ---------- */

.doc {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.doc h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.doc-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.doc-lead {
  font-size: 17px;
  color: var(--ink);
}

.doc h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.doc h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

.doc p {
  font-size: 16px;
  color: var(--body);
}

.doc a {
  color: var(--electric);
  text-decoration: none;
  font-weight: 500;
}

.doc a:hover { text-decoration: underline; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child { border-bottom: 0; }

.nav-doc { white-space: nowrap; }

.footer-dba a {
  color: var(--muted);
  text-decoration: none;
}

.footer-dba a:hover { color: var(--electric); }

/* ---------- Navy band ---------- */

.band {
  background: var(--navy-900);
  color: #fff;
  border-block: 1px solid var(--navy-border);
}

.band-inner {
  padding: 52px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.band-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.band h2 {
  font-size: 26px;
  color: #fff;
}

.band p {
  font-size: 16px;
  color: var(--on-navy);
}

/* ---------- Contact ---------- */

.contact-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
}

.contact-row:not(:last-child) {
  border-bottom: 1px solid var(--border-soft);
}

.contact-label {
  padding: 22px 26px;
  background: var(--surface-alt);
  border-right: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  padding: 22px 26px;
  font-size: 15.5px;
  color: var(--ink);
}

.contact-value a {
  color: var(--electric);
  text-decoration: none;
  font-weight: 500;
}

.contact-address { line-height: 1.65; }

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

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

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal {
  font-size: 13.5px;
  color: var(--muted);
}

.footer-dba {
  font-size: 13.5px;
  color: var(--muted-2);
}

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

@media (max-width: 900px) {
  .section-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .hero-pad { padding: 56px 0 60px; }
  .hero-brand-row {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-mark {
    width: 52px;
    height: 52px;
  }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .section { padding: 48px 0; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .contact-row { grid-template-columns: 1fr; }
  .contact-label { border-right: 0; }
  .page-hero-pad { padding: 48px 0 56px; }
  .page-hero-title { font-size: clamp(28px, 8.5vw, 40px); }
  .band-inner { padding: 44px 0; }
  .brand-mini {
    flex-wrap: wrap;
  }
  .brand-mini .brand-link {
    margin-left: 56px;
    width: 100%;
  }
  .brand-mini-plain .brand-link { margin-left: 0; }
}

/* Narrow phones: the lockup + three nav items can't share one row.
   Keep the lockup and the Contact pill; the hero's own buttons cover
   the About/Our Brands anchors. */
@media (max-width: 480px) {
  .nav-links a:not(.nav-pill):not(.nav-doc) { display: none; }
  .nav-links-doc { gap: 15px; }
  .nav-doc { font-size: 13px; }
  /* Product doc pages carry three nav links; drop the wordmark so they
     fit on one row. The bolt mark still links back to the site root. */
  .header-doc .wordmark { display: none; }
}
