/* ==========================================================================
   Astute Computer Ribbs — content pages
   Standalone from the cinematic: no video, no scroll engine, no JS required.
   Same tokens as site.css so the two read as one brand.
   ========================================================================== */

:root {
  --void:  #050C18;
  --ink:   #0A1830;
  --slate: #14294D;
  --steel: #5F84AD;
  --paper: #EEF2F7;
  --cyan:  #2BB3C7;

  --gutter: clamp(20px, 5vw, 72px);
  --measure: 68ch;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--cyan); color: var(--void); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* --- skip link --- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cyan); color: var(--void); padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 0; }

/* --- header --- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 12, 24, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate);
}
.hdr__in { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand svg, .brand img { width: 66px; height: 27px; color: var(--paper); }
.brand b {
  font-weight: 800; font-size: .78rem; letter-spacing: .13em; white-space: nowrap;
  padding-left: 12px; border-left: 1px solid rgba(91,127,166,.3);
}
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel); text-decoration: none;
  padding: 9px 13px; border-radius: 2px; transition: color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--cyan); }
.hdr .call {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  background: var(--cyan); color: var(--void); text-decoration: none;
  padding: 11px 17px; border-radius: 2px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.hdr .call:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,179,199,.24); }
@media (max-width: 900px) { .nav { display: none; } }

/* --- breadcrumbs --- */
.crumbs {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
  color: var(--steel); padding-block: 22px 0;
}
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { opacity: .5; margin-inline: 7px; }

/* --- hero --- */
.hero { padding-block: clamp(28px, 5vh, 52px) clamp(36px, 6vh, 64px); }
.eyebrow {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cyan); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
h1 {
  font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.03; letter-spacing: -.03em; margin: 0;
  max-width: 20ch; text-wrap: balance;
}
.lede {
  margin: 22px 0 0; max-width: var(--measure);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--steel);
}
/* Cropped rather than shown whole — a 16:9 poster at full column width pushes
   the answer block below the fold, and the answer is the point of the page. */
.hero__img {
  margin-top: clamp(28px, 5vh, 48px);
  border: 1px solid var(--slate);
  width: 100%; height: clamp(180px, 30vh, 320px);
  object-fit: cover; object-position: center 45%;
}

/* --- prose --- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-weight: 800; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.12;
  letter-spacing: -.022em; margin-top: 2.2em; text-wrap: balance;
}
.prose h3 {
  font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  letter-spacing: -.012em; margin-top: 1.8em; color: var(--paper);
}
.prose p { color: #C3D2E2; }
.prose strong { color: var(--paper); font-weight: 700; }
.prose a { color: var(--cyan); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-top: .6em; color: #C3D2E2; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 9px; height: 1px; background: var(--cyan);
}
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: .05em;
  font-family: var(--font-mono); font-size: .74rem; color: var(--cyan);
}

/* the direct answer block — the bit AI engines lift */
.answer {
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(43,179,199,.07), transparent 70%);
  padding: 20px 24px; margin-top: 2em;
}
.answer p { margin: 0; color: var(--paper); font-size: 1.08rem; }
.answer p + p { margin-top: .7em; }

.callout {
  border: 1px solid var(--slate); background: rgba(20,41,77,.24);
  padding: 20px 24px; border-radius: 2px;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* --- section --- */
.sec { padding-block: clamp(52px, 8vh, 96px); }
.sec--edge { border-top: 1px solid var(--slate); }
.sec__head { max-width: var(--measure); margin-bottom: clamp(30px, 4vh, 48px); }
.sec__head h2 {
  font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.06; letter-spacing: -.026em; margin: 0; text-wrap: balance;
}
.sec__head p { margin: 16px 0 0; color: var(--steel); }

/* --- cards --- */
.grid { display: grid; gap: 1px; background: var(--slate); border: 1px solid var(--slate); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--void); padding: clamp(22px, 2.6vw, 34px); }
.card h3 { margin: 0 0 12px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.012em; }
.card p { margin: 0; color: var(--steel); font-size: .95rem; line-height: 1.6; }
.card__n { font-family: var(--font-mono); font-size: .7rem; color: var(--cyan); display: block; margin-bottom: 14px; }
a.card { text-decoration: none; color: inherit; transition: background .25s; }
a.card:hover { background: #0B1A33; }
a.card h3::after { content: " →"; color: var(--cyan); }
@media (max-width: 900px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* --- faq --- */
.faq { max-width: var(--measure); border-top: 1px solid var(--slate); }
.faq details { border-bottom: 1px solid var(--slate); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font-weight: 700; font-size: 1.04rem; color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  color: var(--cyan); font-size: 1.3rem; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 22px; color: #C3D2E2; max-width: 62ch; }
.faq details > div > *:first-child { margin-top: 0; }

/* --- CTA --- */
.cta { border-top: 1px solid var(--slate); background: var(--ink); }
.cta__in { padding-block: clamp(48px, 8vh, 88px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.026em; line-height: 1.08; max-width: 18ch; }
.cta p { margin: 14px 0 0; color: var(--steel); max-width: 46ch; }
.cta__act { display: flex; flex-direction: column; gap: 12px; }
.btn {
  font-family: var(--font-mono); font-size: .88rem; font-weight: 500;
  text-decoration: none; padding: 16px 26px; border-radius: 2px; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn--go { background: var(--cyan); color: var(--void); }
.btn--go:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(43,179,199,.24); }
.btn--ghost { border: 1px solid rgba(91,127,166,.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.tel-big {
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--paper);
  text-decoration: none; letter-spacing: -.01em;
}
.tel-big:hover { color: var(--cyan); }

/* --- related --- */
.rel { display: flex; flex-wrap: wrap; gap: 10px; }
.rel a {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--steel); text-decoration: none;
  border: 1px solid var(--slate); background: rgba(20,41,77,.28);
  padding: 9px 14px; border-radius: 2px; transition: color .2s, border-color .2s;
}
.rel a:hover { color: var(--cyan); border-color: var(--cyan); }

/* --- footer --- */
.ftr { border-top: 1px solid var(--slate); background: var(--void); padding-block: 52px 40px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; font-weight: 500;
}
.ftr p, .ftr li { color: var(--steel); font-size: .92rem; margin: 0 0 8px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr a { color: var(--steel); text-decoration: none; }
.ftr a:hover { color: var(--cyan); }
.ftr__base {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--slate);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--font-mono); font-size: .7rem; color: var(--steel);
}
@media (max-width: 820px) { .ftr__grid { grid-template-columns: 1fr; gap: 30px; } }

/* --- sticky mobile call bar --- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--cyan); color: var(--void); text-decoration: none;
    font-family: var(--font-mono); font-weight: 500; font-size: .92rem;
    align-items: center; justify-content: center;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  }
  body { padding-bottom: 64px; }
}
