/* Computer and Network Integration LLC: site styles.
   Served as a same-origin file to satisfy the CSP (no inline styles). System fonts only. */
:root {
  /* Witness Line palette (D25). Dark is the site's only look (Jorge, 2026-12-02). */
  color-scheme: dark;
  --bg: #1b1e22;
  --bg-alt: #23272c;
  --fg: #ecebe6;
  --muted: #b4b7bd;
  --line: #3a3f46;
  --accent: #ff5a3c;
  --accent-fg: #1b1e22;
  --link: #ecebe6;
  --step: #ff5a3c;
  --step-fg: #1b1e22;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration-color: var(--accent); text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
.muted { color: var(--muted); }

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

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { text-decoration: none; color: var(--fg); display: flex; align-items: center; gap: 1rem; }
.brand-mark { display: block; height: 2.6rem; width: auto; }
.brand-lines { display: flex; flex-direction: column; padding-left: 1rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.35; }
.brand-lines span:first-child { color: var(--fg); }
@media (max-width: 62.5rem) { .brand-lines { display: none; } }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; font-size: .95rem; }
.nav li { margin: 0; }
.nav a { text-decoration: none; color: var(--fg); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* Sections */
main section { padding: 2.5rem 0; }
.hero { padding: 3.5rem 0 2.5rem; }
.hero .lead { font-size: 1.2rem; max-width: 46rem; }
.lead { font-size: 1.1rem; }
.alt { background: var(--bg-alt); }
.prose { max-width: 46rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 1rem; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; background: var(--bg); }
.card h3 { margin-top: 0; }
.card ul { padding-left: 1.2rem; }
.card > :last-child { margin-bottom: 0; }

.button { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: .65rem 1.25rem; border: 1px solid var(--accent); border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 1.17rem; line-height: 1.4; }
.button:hover { opacity: .9; }
.button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.button.secondary { background: transparent; color: var(--fg); border-color: var(--fg); }
.button.secondary:hover { border-color: var(--accent); opacity: 1; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.book { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.book-alt { color: var(--muted); font-size: .95rem; }

/* Outcomes and credibility (home) */
.outcomes { list-style: none; padding: 0; display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.outcomes li { margin: 0; padding-left: 1.6rem; position: relative; }
.outcomes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.cred { border-left: 4px solid var(--accent); padding: .25rem 0 .25rem 1.25rem; }
.cred-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .25rem; }
.cred-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
.cred-tags li { margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: .1rem .7rem; font-size: .9rem; background: var(--bg); }

/* Tables */
.table-scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
th, td { border-bottom: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
th { background: var(--bg-alt); }

/* Pricing */
.price { font-size: 1.8rem; font-weight: 700; margin: .25rem 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }

/* "Work in progress" label for deliverables not yet built */
.wip { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.5; color: var(--muted); background: var(--bg-alt); white-space: nowrap; vertical-align: .1em; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.5rem; margin-bottom: 1rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--step); color: var(--step-fg); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }

/* CTA + footer */
.cta { background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta .wrap { max-width: 46rem; }
.site-footer { border-top: 1px solid var(--line); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
