/* ==========================================================================
   Pro PC Tuner - design system
   Single stylesheet. No framework, no jQuery, no icon font.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Brand blue, pulled from the logo and darkened for AA contrast on white */
  --brand-50:  #eef5fd;
  --brand-100: #d8e8fa;
  --brand-200: #b4d2f4;
  --brand-300: #82b4ea;
  --brand-400: #4b91dd;
  --brand-500: #2578d3;
  --brand-600: #1660b4;
  --brand-700: #124d91;
  --brand-800: #133f75;
  --brand-900: #13355e;

  --ink:    #0d1520;
  --ink-2:  #2c3a4f;
  --muted:  #61708a;
  --line:   #e3e9f1;
  --line-2: #f0f4f9;
  --surface:#ffffff;
  --bg:     #f6f8fc;

  --ok:   #0f7b52;
  --ok-bg:#e7f6ef;
  --warn: #9a5b00;
  --warn-bg:#fdf3e2;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 26px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(13,21,32,.05);
  --sh-2: 0 2px 6px rgba(13,21,32,.06), 0 1px 2px rgba(13,21,32,.04);
  --sh-3: 0 12px 32px -12px rgba(13,21,32,.18), 0 4px 10px -6px rgba(13,21,32,.10);
  --sh-4: 0 28px 60px -24px rgba(19,53,94,.35);

  --wrap: 1160px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);

  --font: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keep in-page anchor targets clear of the sticky header */
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); letter-spacing: -.033em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.16rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; }
a  { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--section) 0; }
small { font-size: .85rem; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand-200); color: var(--ink); }

/* --- 3. Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section-alt { background: var(--bg); }
.section-ink { background: var(--brand-900); color: #c9dcf3; }
.section-ink h2, .section-ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.15rem, 2.5vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.15fr .85fr; } }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.center-x { margin-inline: auto; }

/* --- 4. Section headings ------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .765rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--brand-400); border-radius: 2px; }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.075rem; color: var(--muted); margin-bottom: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.5rem; border-radius: var(--r-pill);
  font-size: .945rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: var(--sh-3); }

.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--brand-200); }
.btn-outline:hover { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-300); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--brand-200); }

.btn-invert { background: #fff; color: var(--brand-800); }
.btn-invert:hover { background: var(--brand-50); color: var(--brand-900); }

.btn-invert-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn-invert-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }

.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1rem; font-size: .86rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* --- 6. Header / navigation --------------------------------------------- */
.topbar {
  background: var(--brand-900); color: #a8c6e8;
  font-size: .82rem; line-height: 1;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cfe1f5; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-links, .topbar-meta { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.topbar-meta { gap: 1.1rem; }
.topbar-meta a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 550; }
.topbar-meta svg { width: 15px; height: 15px; }
@media (max-width: 720px) { .topbar-links { display: none; } .topbar .wrap { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img, .brand svg { height: 42px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: .3rem;
  padding: .62rem .78rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 550; color: var(--ink-2);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav > li > a:hover, .nav > li:hover > a { color: var(--brand-700); background: var(--brand-50); text-decoration: none; }
.nav > li > a[aria-current="page"] { color: var(--brand-700); font-weight: 650; }
.nav .caret { width: 11px; height: 11px; opacity: .5; transition: transform .18s var(--ease); }
.nav > li:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 246px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: .45rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav > li:hover .submenu, .nav > li:focus-within .submenu, .nav > li[data-open="true"] .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.submenu li { margin: 0; }
.submenu a {
  display: flex; align-items: center; gap: .65rem;
  padding: .56rem .7rem; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.submenu a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.submenu svg { width: 16px; height: 16px; color: var(--brand-500); flex: none; }

.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* backdrop-filter on .site-header would make it the containing block for
     any position:fixed descendant, which stops this drawer covering the
     viewport. Drop the blur below the breakpoint where the drawer exists. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav {
    position: fixed; inset: var(--chrome-h, 114px) 0 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 1rem var(--gutter) 3rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .26s var(--ease), visibility .26s;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav > li > a { padding: .85rem .25rem; font-size: 1.02rem; border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .nav > li > a:hover { background: transparent; }
  .nav .caret { margin-left: auto; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: .25rem 0 .6rem .25rem;
    display: none;
  }
  .nav > li[data-open="true"] .submenu { display: block; }
  .nav > li[data-open="true"] .caret { transform: rotate(180deg); }
  .submenu a { padding: .6rem .25rem .6rem 1.5rem; }
}

/* --- 7. Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(72rem 40rem at 82% -12%, rgba(37,120,211,.30), transparent 62%),
    radial-gradient(52rem 34rem at 4% 108%, rgba(19,53,94,.55), transparent 60%),
    linear-gradient(158deg, #10305a 0%, #133b6d 42%, #0f2947 100%);
  color: #d6e6f8;
  padding-block: clamp(3.75rem, 9vw, 7rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(58rem 40rem at 68% 22%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(58rem 40rem at 68% 22%, #000, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #b9d2ee; max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.hero .eyebrow { color: #7fb4ec; }
.hero .eyebrow::before { background: #3f83d0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem .4rem .5rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill); font-size: .84rem; font-weight: 500; color: #cfe3f8;
}
.hero-badge b { color: #fff; font-weight: 650; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #2f86e0; box-shadow: 0 0 0 4px rgba(47,134,224,.2); }

.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3vw, 2rem);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--sh-4);
}
.hero-card h2 { font-size: 1.15rem; color: #fff; margin-bottom: 1.1rem; }
.hero-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hero-list li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; font-size: .95rem; color: #c4dcf5; }
.hero-list svg { width: 19px; height: 19px; flex: none; margin-top: .2rem; color: #78b8f2; }

/* --- 8. Page header (interior pages) ------------------------------------ */
.page-head {
  background: linear-gradient(180deg, var(--brand-50), var(--surface));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 5vw, 3.6rem);
}
.page-head h1 { margin-bottom: .35rem; }
.page-head p { color: var(--muted); max-width: 58ch; margin-bottom: 0; font-size: 1.06rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; margin: 0 0 .9rem; padding: 0; font-size: .845rem; color: var(--muted); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "/"; color: var(--brand-300); }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --- 9. Cards ----------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card-link:hover { border-color: var(--brand-200); box-shadow: var(--sh-3); transform: translateY(-3px); text-decoration: none; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .955rem; margin-bottom: 1.1rem; }
.card-cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--brand-600); }
.card-link:hover .card-cta { gap: .65rem; }
.card-cta svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 1.1rem;
  background: var(--brand-50); color: var(--brand-600);
  border: 1px solid var(--brand-100); border-radius: 14px;
}
.icon-badge svg { width: 23px; height: 23px; }
.card-link:hover .icon-badge { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.icon-badge-sm { width: 38px; height: 38px; border-radius: 11px; margin-bottom: .85rem; }
.icon-badge-sm svg { width: 18px; height: 18px; }

/* Compact feature row */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon-badge { margin-bottom: 0; }
.feature h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --- 10. Stats ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 1.5rem 1.25rem; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 750; color: var(--brand-600); letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: .3rem; font-size: .855rem; color: var(--muted); }
.section-ink .stats { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.section-ink .stat { background: transparent; }
.section-ink .stat b { color: #fff; }
.section-ink .stat span { color: #a9c8e9; }

/* --- 11. Checklists ----------------------------------------------------- */
.checks { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .7rem; }
.checks.cols-2 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.checks li { display: flex; gap: .65rem; align-items: flex-start; margin: 0; font-size: .96rem; }
.checks svg { width: 19px; height: 19px; flex: none; margin-top: .18rem; color: var(--brand-500); }
.section-ink .checks svg { color: #78b8f2; }

/* --- 12. Spec table ----------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.spec { width: 100%; border-collapse: collapse; font-size: .945rem; min-width: 480px; }
table.spec th, table.spec td { text-align: left; padding: .95rem 1.15rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.spec thead th { background: var(--bg); font-size: .78rem; letter-spacing: .075em; text-transform: uppercase; color: var(--muted); font-weight: 650; border-bottom: 1px solid var(--line); }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td b { color: var(--ink); font-weight: 650; }
table.spec .yes { white-space: nowrap; width: 1%; }
.pill-yes {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .65rem; border-radius: var(--r-pill);
  background: var(--ok-bg); color: var(--ok); font-size: .8rem; font-weight: 650;
}
.pill-yes svg { width: 13px; height: 13px; }

/* --- 13. Pricing -------------------------------------------------------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--brand-500); box-shadow: var(--sh-3); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: .28rem .85rem; border-radius: var(--r-pill);
  background: var(--brand-600); color: #fff; font-size: .74rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.price-card h3 { margin-bottom: .2rem; }
.price-scope { font-size: .86rem; color: var(--muted); display: block; margin-bottom: 1.15rem; }
.price { display: flex; align-items: baseline; gap: .18rem; margin-bottom: 1.35rem; color: var(--ink); }
.price .cur { font-size: 1.25rem; font-weight: 600; color: var(--muted); align-self: flex-start; margin-top: .35rem; }
.price .amt { font-size: clamp(2.2rem, 4.5vw, 2.85rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.price .per { font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-card .checks { flex: 1; }
.price-card .checks li { font-size: .92rem; }
.price-note { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }

/* --- 14. Forms ---------------------------------------------------------- */
.form-grid { display: grid; gap: 1.05rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field .req { color: #c2410c; }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .9rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-100);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8bd; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #dc2626; }
.field-error { font-size: .82rem; color: #b91c1c; }
.form-note { font-size: .84rem; color: var(--muted); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .95rem 1.15rem; border-radius: var(--r); font-size: .93rem; margin-bottom: 1.3rem; border: 1px solid; }
.alert-ok   { background: var(--ok-bg);   border-color: #bfe6d3; color: var(--ok); }
.alert-warn { background: var(--warn-bg); border-color: #f4dcb2; color: var(--warn); }

/* --- 15. Contact rail --------------------------------------------------- */
.contact-item { display: flex; gap: .95rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-badge { margin-bottom: 0; }
.contact-item h3 { font-size: .98rem; margin-bottom: .15rem; }
.contact-item p { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-item a { font-weight: 600; }

/* --- 16. CTA band ------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--brand-800), var(--brand-600));
  color: #d5e5f9;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band::after {
  content: ""; position: absolute; width: 26rem; height: 26rem; right: -7rem; top: -11rem;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 68%); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #cde0f8; }

/* --- 17. Prose (legal / long-form) -------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 1.5rem; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg); font-weight: 650; color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .875em; background: var(--bg); padding: .15em .4em; border-radius: 4px; border: 1px solid var(--line); }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.6rem; margin-bottom: 2.5rem; }
.toc h2 { font-size: .8rem !important; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem !important; padding: 0 !important; border: 0 !important; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; columns: 2; column-gap: 2rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.updated { font-size: .855rem; color: var(--muted); }

/* --- 18. Sitemap grid --------------------------------------------------- */
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { margin: 0; }
.linklist a { display: block; padding: .5rem 0; font-size: .945rem; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.linklist a:hover { color: var(--brand-600); text-decoration: none; padding-left: .35rem; }
.linklist .ext::after { content: "↗"; font-size: .8em; margin-left: .35rem; color: var(--muted); }

/* --- 19. Media / embeds ------------------------------------------------- */
.frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-3); background: var(--bg); }
.ratio { position: relative; width: 100%; }
.ratio::before { content: ""; display: block; padding-top: 56.25%; }
.ratio > iframe, .ratio > video, .ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.embed-host { min-height: 520px; }

/* --- 20. Footer --------------------------------------------------------- */
.site-footer { background: var(--brand-900); color: #9fbfe2; padding-block: clamp(2.75rem, 6vw, 4.25rem) 0; font-size: .93rem; }
.site-footer h2 { font-size: .79rem; letter-spacing: .1em; text-transform: uppercase; color: #84acd9; margin-bottom: 1.1rem; font-weight: 650; }
.site-footer a { color: #c3daf3; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (min-width: 940px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .6rem; }
.footer-brand img, .footer-brand svg { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer-blurb { max-width: 34ch; color: #8fb3d9; margin-bottom: 1.35rem; }
.social { display: flex; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r); color: #c3daf3;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.social a:hover { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: clamp(2.25rem, 5vw, 3.25rem); padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .855rem; color: #7ea4ce;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --- 21. Utilities ------------------------------------------------------ */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; padding: .7rem 1.3rem; background: var(--brand-700); color: #fff;
  border-radius: 0 0 var(--r) var(--r); font-size: .9rem; font-weight: 600;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; text-decoration: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 50%; box-shadow: var(--sh-3); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 19px; height: 19px; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }

/* --- 22. Brand lockup --------------------------------------------------- */
.brand { gap: .68rem; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; flex: none; border-radius: 11px; box-shadow: var(--sh-2); }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark .wm-1 {
  font-size: 1.11rem; font-weight: 750; letter-spacing: -.035em; color: var(--ink);
}
.wordmark .wm-1 .reg { font-size: .58em; font-weight: 600; vertical-align: .55em; margin-left: .1em; color: var(--muted); }
.wordmark .wm-2 {
  font-size: .625rem; font-weight: 600; letter-spacing: .155em; text-transform: uppercase; color: var(--muted);
  margin-top: .16rem;
}
.footer-brand .brand { color: #fff; }
.footer-brand .wordmark .wm-1 { color: #fff; }
.footer-brand .wordmark .wm-1 .reg { color: #7ea4ce; }
.footer-brand .wordmark .wm-2 { color: #7ea4ce; }
@media (max-width: 420px) { .wordmark .wm-2 { display: none; } .brand .mark { width: 36px; height: 36px; } }

/* ========================================================================== 
   2026 redesign — technical service studio
   ========================================================================== */
:root {
  --brand-50: #eef6ff;
  --brand-100: #d7eaff;
  --brand-200: #add4fb;
  --brand-300: #78b8f2;
  --brand-400: #2f86e0;
  --brand-500: #216fbe;
  --brand-600: #185da4;
  --brand-700: #134d91;
  --brand-800: #113f76;
  --brand-900: #0c2f59;

  --ink: #0a0d12;
  --ink-2: #27313b;
  --muted: #66717d;
  --line: #dfe3e2;
  --line-2: #ecefed;
  --surface: #ffffff;
  --bg: #f3f5f3;
  --night: #070b12;
  --night-2: #0c121c;
  --night-3: #131c28;
  --accent: #2f86e0;
  --accent-bright: #4c9be8;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --sh-1: 0 1px 1px rgba(5,12,18,.05);
  --sh-2: 0 8px 24px -18px rgba(5,12,18,.28);
  --sh-3: 0 24px 50px -34px rgba(5,12,18,.42);
  --sh-4: 0 36px 80px -40px rgba(0,0,0,.7);
  --wrap: 1240px;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body { background: var(--surface); color: var(--ink-2); }
h1, h2, h3, h4, h5 { font-family: var(--display); letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); line-height: .96; }
h2 { font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.02; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { line-height: 1.7; }
:focus-visible { outline-color: var(--brand-400); }
::selection { background: var(--accent); color: var(--night); }

.utility-bar { position: sticky; top: 0; z-index: 62; background: var(--night); color: #90a1b3; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .77rem; }
.utility-bar .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.utility-status { display: inline-flex; align-items: center; gap: .55rem; letter-spacing: .02em; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(47,134,224,.16); }
.utility-links { display: flex; align-items: center; gap: 1.4rem; }
.utility-links a { color: #b9c5d1; font-weight: 600; }
.utility-links a:hover { color: var(--accent); text-decoration: none; }

.site-header { top: 36px; background: rgba(7,11,18,.94); border-bottom-color: rgba(255,255,255,.09); color: #fff; }
.site-header .wrap { min-height: 78px; }
.brand .mark { width: 42px; height: 42px; border-radius: 10px; box-shadow: none; }
.wordmark .wm-1, .site-header .wordmark .wm-1 { color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.035em; }
.wordmark .wm-1 .reg { color: #718096; }
.wordmark .wm-2, .site-header .wordmark .wm-2 { color: #7f8b99; font-size: .61rem; letter-spacing: .19em; }
.nav { gap: .35rem; }
.nav > li > a { color: #aeb9c6; padding: .62rem .82rem; font-size: .9rem; font-weight: 600; }
.nav > li > a:hover, .nav > li:hover > a { color: #fff; background: rgba(255,255,255,.06); }
.nav > li > a[aria-current="page"] { color: var(--accent); }
.nav .caret { color: #6f7d8d; }
.site-header .submenu {
  top: calc(100% + 13px); min-width: 310px; padding: .55rem;
  background: #111925; border-color: #273342; border-radius: 6px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.75);
}
.site-header .submenu a { min-height: 44px; padding: .65rem .75rem; color: #b9c4cf; border-radius: 4px; font-size: .88rem; }
.site-header .submenu a:hover { background: rgba(47,134,224,.12); color: #fff; }
.site-header .submenu a > svg { color: #5da4e9; }
.site-header .submenu-all { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid rgba(255,255,255,.09); }
.site-header .submenu-all a { color: #fff; font-weight: 700; }
.site-header .submenu-all .submenu-arrow { width: 14px; margin-left: auto; color: #7cb8f3; }
.mobile-only { display: none; }
.nav-toggle { background: transparent; border-color: rgba(255,255,255,.16); color: #fff; }

.btn { border-radius: 5px; min-height: 46px; padding-inline: 1.35rem; font-family: var(--font); font-weight: 700; }
.btn-sm { min-height: 40px; }
.btn-lg { min-height: 54px; padding-inline: 1.65rem; }
.btn-primary, .btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: none; }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-bright); color: #fff; border-color: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 25px -18px var(--accent); }
.btn-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.17); }
.btn-dark:hover { background: rgba(255,255,255,.11); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost { border-radius: 5px; box-shadow: none; }
.btn-invert { border-radius: 5px; }

.hero { min-height: 690px; display: flex; align-items: center; background: var(--night); padding-block: clamp(4.5rem, 10vw, 8rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 72% 28%, rgba(47,134,224,.20), transparent 27%), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 72px 72px, 72px 72px; mask-image: linear-gradient(to bottom, #000 20%, transparent 100%); }
.hero::after { content: ""; inset: auto 0 0; height: 1px; opacity: 1; background: linear-gradient(90deg, transparent, rgba(47,134,224,.48), transparent); mask-image: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.hero-label { display: inline-flex; gap: .75rem; color: #91a1b2; margin-bottom: 1.6rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-label span { color: var(--accent); }
.hero h1 { max-width: 11ch; margin-bottom: 1.6rem; color: #f7fafc; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { max-width: 58ch; color: #aebac8; font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.hero-actions { margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 2rem; color: #8f9bab; font-size: .83rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof svg { width: 15px; color: var(--accent); }
.hero-index { position: absolute; right: var(--gutter); bottom: 1.4rem; color: #526171; font: 600 .66rem/1 var(--mono); letter-spacing: .13em; }

.system-panel { position: relative; min-height: 470px; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(20,30,43,.96), rgba(10,16,24,.96)); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; box-shadow: var(--sh-4); overflow: hidden; }
.system-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 48%, rgba(47,134,224,.07) 48%, rgba(47,134,224,.07) 52%, transparent 52%); }
.panel-topline { position: relative; display: flex; justify-content: space-between; padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.09); color: #748496; font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.live-state { color: #91c9ff; display: inline-flex; align-items: center; gap: .4rem; }
.live-state i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.panel-core { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3rem); }
.signal-mark { width: 56px; height: 56px; display: grid; place-items: center; color: var(--accent-bright); border: 1px solid rgba(47,134,224,.4); border-radius: 4px; margin-bottom: 2rem; background: rgba(47,134,224,.07); }
.signal-mark svg { width: 26px; height: 26px; }
.panel-overline { margin: 0 0 .45rem; color: #718195; font: 600 .7rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.panel-core h2 { color: #f6f9fb; font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: .8rem; }
.panel-core > p:last-child { color: #8f9daf; max-width: 34ch; font-size: .94rem; margin: 0; }
.panel-metrics { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.09); }
.panel-metrics div { padding: 1.2rem 1rem; border-right: 1px solid rgba(255,255,255,.09); }
.panel-metrics div:last-child { border-right: 0; }
.panel-metrics strong { display: block; color: #f4f8fa; font: 600 1.3rem/1 var(--display); }
.panel-metrics span { display: block; color: #68798a; margin-top: .45rem; font-size: .67rem; }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .6fr); gap: 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-intro h2 { margin: 0; }
.section-intro > p { max-width: 47ch; margin: 0 0 .4rem; color: var(--muted); }
.eyebrow { color: var(--brand-600); font: 700 .72rem/1 var(--mono); letter-spacing: .15em; }
.eyebrow::before { width: 20px; height: 1px; background: var(--brand-400); }

.service-split { background: #f7f8f6; }
.service-paths { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #d8ddda; }
.service-path { position: relative; min-height: 520px; padding: clamp(2rem, 5vw, 4.3rem); overflow: hidden; }
.service-path + .service-path { border-left: 1px solid #d8ddda; }
.service-path::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border: 1px solid rgba(9,13,18,.07); border-radius: 50%; box-shadow: 0 0 0 45px rgba(9,13,18,.02), 0 0 0 90px rgba(9,13,18,.015); }
.path-number { color: #7b858d; font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.path-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 4.8rem 0 1.8rem; background: var(--night); color: var(--accent); border-radius: 4px; }
.path-icon svg { width: 25px; height: 25px; }
.service-path h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.service-path > p { max-width: 48ch; color: var(--muted); }
.path-links { list-style: none; margin: 2.1rem 0 0; padding: 0; border-top: 1px solid #d8ddda; }
.path-links li { margin: 0; border-bottom: 1px solid #d8ddda; }
.path-links a { display: flex; align-items: center; justify-content: space-between; padding: .9rem .15rem; color: var(--ink); font-weight: 700; }
.path-links a:hover { color: var(--brand-600); text-decoration: none; padding-left: .4rem; }
.path-links svg { width: 16px; height: 16px; }
.path-web { background: var(--surface); }

.principle-section { background: var(--surface); }
.principle-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 9vw, 9rem); }
.principle-heading { position: sticky; top: 135px; align-self: start; }
.principle-heading h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.principle-heading > p { color: var(--muted); max-width: 35ch; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: .25rem; }
.text-link:hover { color: var(--brand-600); border-color: var(--brand-600); text-decoration: none; }
.text-link svg { width: 16px; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 54px 1fr; gap: 1.5rem; padding: 2.3rem 0; border-bottom: 1px solid var(--line); }
.principle-list article > span { color: var(--brand-600); font: 700 .72rem/1.5 var(--mono); }
.principle-list h3 { margin-bottom: .4rem; }
.principle-list p { max-width: 58ch; margin: 0; color: var(--muted); }
.about-intro { align-items: center; }
.about-intro .principle-heading { position: static; }
.about-statement { padding: clamp(2rem, 5vw, 4rem); background: #f3f5f3; border-left: 3px solid var(--brand-300); }
.statement-lead { color: var(--ink); font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.35; letter-spacing: -.035em; }
.founder-signoff { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.founder-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--night); color: var(--accent); border-radius: 4px; font: 700 .75rem/1 var(--mono); }
.founder-signoff strong, .founder-signoff span { display: block; }
.founder-signoff strong { color: var(--ink); }
.founder-signoff div > span { color: var(--muted); font-size: .83rem; }
.about-numbers { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-numbers div { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid rgba(255,255,255,.12); }
.about-numbers div + div { padding-left: 1.5rem; }
.about-numbers div:last-child { border-right: 0; }
.about-numbers strong { display: block; color: #fff; font: 600 clamp(2.2rem, 5vw, 4.5rem)/1 var(--display); letter-spacing: -.05em; }
.about-numbers span { display: block; color: #778797; margin-top: .6rem; font-size: .82rem; }
.about-contact-card { background: #f7f8f6; }

.process-section { background: var(--night); color: #a9b6c4; }
.process-section h2, .process-section h3 { color: #f5f8fa; }
.process-section .eyebrow { color: var(--accent); }
.process-section .eyebrow::before { background: var(--accent); }
.process-intro > p { color: #8190a0; }
.process-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); counter-reset: none; }
.process-track li { position: relative; margin: 0; padding: 2rem 1.8rem 0 0; border-right: 1px solid rgba(255,255,255,.12); min-height: 230px; }
.process-track li + li { padding-left: 1.8rem; }
.process-track li:last-child { border-right: 0; }
.process-track li > span { display: inline-block; color: var(--accent); font: 700 .7rem/1 var(--mono); margin-bottom: 3.4rem; }
.process-track li > span::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.process-track li + li > span::after { left: 1.8rem; }
.process-track h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.process-track p { color: #7f8e9e; font-size: .9rem; margin: 0; }
.service-modes .feature { padding: 1.6rem; border: 1px solid rgba(255,255,255,.12); }
.service-modes .feature .icon-badge { background: rgba(47,134,224,.08); border-color: rgba(47,134,224,.24); color: var(--accent-bright); }
.service-modes .feature p { color: #8190a0; }

.closing-section { background: #eef1ee; }
.closing-panel { display: grid; grid-template-columns: 1.1fr .6fr; gap: 4rem; align-items: end; padding: clamp(2.4rem, 6vw, 5.5rem); background: var(--night-2); color: #9ba9b8; border-left: 4px solid var(--accent); }
.closing-panel h2 { color: #fff; margin: .65rem 0 0; }
.closing-label, .footer-cta-label { color: var(--accent); font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.closing-action p { margin-bottom: 1.6rem; }

.page-head { position: relative; overflow: hidden; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.09); padding-block: clamp(3.3rem, 7vw, 6rem); }
.page-head::after { content: ""; position: absolute; width: 360px; height: 360px; right: 7vw; top: -210px; border: 1px solid rgba(47,134,224,.17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(47,134,224,.035), 0 0 0 140px rgba(47,134,224,.022); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 13ch; color: #f7fafc; font-size: clamp(2.7rem, 6vw, 5.3rem); }
.page-head p { color: #98a8b9; font-size: 1.07rem; }
.page-kicker { display: inline-block; margin: 0 0 1.15rem; color: var(--accent); font: 700 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.crumbs { display: none; }

.section-alt { background: #f3f5f3; }
.section-ink { background: var(--night); }
.card { border-radius: 6px; box-shadow: none; border-color: var(--line); padding: clamp(1.5rem, 3vw, 2.1rem); }
.card-link:hover { border-color: var(--brand-300); box-shadow: var(--sh-3); transform: translateY(-4px); }
.card p { color: var(--muted); }
.icon-badge { border-radius: 4px; background: var(--brand-50); color: var(--brand-600); }
.card-link:hover .icon-badge { background: var(--night); border-color: var(--night); color: var(--accent); }
.stats { border-radius: 6px; }
.stat b { color: var(--brand-600); font-family: var(--display); }
.frame, .table-scroll { border-radius: 6px; }
input, textarea, select { border-radius: 4px; background: #fbfcfb; }
input:focus, textarea:focus, select:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(47,134,224,.15); }

.footer-cta { padding-block: clamp(3rem, 6vw, 5rem); background: #101823; color: #98a7b6; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-cta-inner { display: flex; justify-content: space-between; gap: 2.5rem; align-items: end; }
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: .6rem 0 .25rem; }
.footer-cta p { margin: 0; }
.site-footer { background: var(--night); color: #7f8d9b; padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-main { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer-brand .brand { margin-bottom: 1.4rem; }
.footer-brand > p { max-width: 37ch; color: #7f8d9b; }
.footer-location { display: inline-flex; align-items: center; gap: .5rem; color: #9aa8b6; font-size: .85rem; }
.footer-location svg { width: 15px; color: var(--accent); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav h2 { color: #697989; font: 700 .68rem/1 var(--mono); letter-spacing: .13em; }
.footer-nav a { display: block; margin: .7rem 0; color: #a7b3bf; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { margin-top: 0; color: #5f6e7d; }
.footer-bottom nav { margin-left: auto; }
.footer-bottom a { color: #71808e; }
.site-footer .social { margin-left: .5rem; }
.site-footer .social a { width: 34px; height: 34px; border-radius: 4px; }
.to-top { border-radius: 4px; background: var(--night-3); border-color: #283444; color: var(--accent); }

@media (max-width: 1020px) {
  .mobile-only { display: block; }
  .site-header { background: var(--night); }
  .nav { inset: var(--chrome-h, 114px) 0 0; background: var(--night); border-top-color: rgba(255,255,255,.09); }
  .nav > li > a { color: #c5ced8; border-bottom-color: rgba(255,255,255,.1); }
  .site-header .submenu {
    min-width: 0; margin: 0; padding: .35rem 0 .75rem .35rem;
    background: transparent; border: 0; box-shadow: none;
  }
  .site-header .submenu a { min-height: 46px; padding: .65rem .25rem .65rem 1.25rem; }
  .site-header .submenu-all { margin-top: .25rem; padding-top: .25rem; border-top-color: rgba(255,255,255,.09); }
  .hero-grid { grid-template-columns: 1fr; }
  .system-panel { min-height: 420px; max-width: 640px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-heading { position: static; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track li:nth-child(2) { border-right: 0; }
  .process-track li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-main { grid-template-columns: 1fr; }
  .about-numbers { grid-template-columns: repeat(2, 1fr); }
  .about-numbers div:nth-child(2) { border-right: 0; }
  .about-numbers div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 760px) {
  .utility-bar .wrap { justify-content: center; }
  .utility-status { display: none; }
  .utility-links { width: 100%; justify-content: space-between; }
  .utility-links a:nth-child(2) { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-grid { gap: 3.5rem; }
  .hero-actions .btn { width: 100%; }
  .system-panel { min-height: 400px; }
  .panel-metrics span { font-size: .61rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.4rem; }
  .service-paths { grid-template-columns: 1fr; }
  .service-path { min-height: auto; }
  .service-path + .service-path { border-left: 0; border-top: 1px solid #d8ddda; }
  .path-icon { margin-top: 3rem; }
  .process-track { grid-template-columns: 1fr; }
  .process-track li, .process-track li + li { min-height: auto; padding: 1.8rem 0 2.2rem 1.8rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .process-track li:nth-child(n+3) { border-top: 0; }
  .process-track li > span { margin-bottom: 1.5rem; }
  .process-track li > span::after, .process-track li + li > span::after { top: 2rem; left: 0; }
  .closing-panel { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .about-numbers { grid-template-columns: 1fr; }
  .about-numbers div, .about-numbers div + div { padding: 1.4rem 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .about-numbers div:first-child { border-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom nav { margin-left: 0; }
  .site-footer .social { margin-left: 0; }
}

@media (max-width: 480px) {
  .wordmark .wm-2 { display: block; }
  .hero-proof { display: grid; }
  .panel-core { padding: 1.6rem; }
  .panel-metrics div { padding: 1rem .7rem; }
  .service-path { padding: 1.7rem; }
  .principle-list article { grid-template-columns: 34px 1fr; gap: .8rem; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service pages — five distinct visual systems
   ========================================================================== */
.service-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--night);
  color: #aebac8;
  border-bottom: 1px solid #233040;
}
.service-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -230px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(47,134,224,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(47,134,224,.035), 0 0 0 144px rgba(47,134,224,.02);
  pointer-events: none;
}
.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.service-hero-copy { position: relative; z-index: 2; }
.service-code {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: #718296;
  font: 700 .68rem/1 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.service-hero h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  color: #f7fafc;
  font-size: clamp(3.2rem, 6.6vw, 6.4rem);
}
.service-hero h1 em { color: var(--accent); font-style: normal; }
.service-hero-copy > p {
  max-width: 57ch;
  margin-bottom: 1.8rem;
  color: #a6b3c1;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
}
.service-art {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,.15);
  background: #101722;
  box-shadow: 0 36px 80px -44px #000;
}
.service-art::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.service-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.art-status {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .8rem;
  background: rgba(7,11,18,.9);
  border: 1px solid rgba(255,255,255,.14);
  color: #c4d0dc;
  font: 700 .64rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.art-status span, .console-head i b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,134,224,.16);
}
.service-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.service-proof li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
.service-proof svg { width: 18px; flex: none; margin-top: .15rem; color: var(--accent); }
.service-proof b, .service-proof span { display: block; }
.service-proof b { color: #edf3f8; font-size: .84rem; }
.service-proof span { color: #718193; font-size: .74rem; }
.service-proof.compact { gap: 1rem 1.8rem; }
.security-note { display: flex; align-items: center; gap: .6rem; color: #8190a0 !important; font-size: .82rem !important; }
.security-note svg { width: 17px; color: #e88a6d; }

/* Repair */
.repair-diagnostic { background: #f5f7f6; }
.diagnostic-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #d8ddda;
  background: #fff;
}
.diagnostic-intake, .diagnostic-output { padding: clamp(1.8rem, 4vw, 3.2rem); }
.board-label {
  display: block;
  margin-bottom: 1.6rem;
  color: #76818d;
  font: 700 .68rem/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.diagnostic-intake ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.diagnostic-intake li {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}
.diagnostic-intake li span { color: var(--brand-500); font: 700 .7rem/1.8 var(--mono); }
.diagnostic-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  background: var(--night);
  color: var(--accent);
  border-inline: 1px solid #26313d;
}
.diagnostic-core svg { width: 37px; }
.diagnostic-core span { font: 700 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.diagnostic-output { display: flex; flex-direction: column; justify-content: center; }
.diagnostic-output > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.diagnostic-output > div:last-child { border-bottom: 0; }
.diagnostic-output b, .diagnostic-output span { display: block; }
.diagnostic-output b { color: var(--ink); }
.diagnostic-output span { color: var(--muted); font-size: .86rem; }
.device-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); }
.device-rail article { position: relative; min-height: 280px; padding: 1.7rem 1.5rem; border-right: 1px solid rgba(255,255,255,.13); }
.device-rail article:last-child { border-right: 0; }
.device-rail article > span { color: #556475; font: 700 .66rem/1 var(--mono); }
.device-rail article > svg { width: 31px; margin: 4rem 0 1.5rem; color: var(--accent); }
.device-rail h3 { color: #f4f8fb; margin-bottom: .5rem; }
.device-rail p { margin: 0; color: #798899; font-size: .9rem; }
.repair-journey { background: #fff; }
.repair-route { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 8rem); }
.route-heading p { max-width: 34ch; color: var(--muted); }
.repair-route ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.repair-route li { display: grid; grid-template-columns: 72px 1fr; margin: 0; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.repair-route li > span { color: var(--brand-600); font: 700 .72rem/1.7 var(--mono); }
.repair-route li h3 { margin-bottom: .3rem; }
.repair-route li p { margin: 0; color: var(--muted); }

/* Optimization */
.performance-console, .ops-console {
  position: relative;
  border: 1px solid #2b3745;
  background: #0d141e;
  box-shadow: 0 32px 70px -40px #000;
}
.console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1rem;
  border-bottom: 1px solid #26313e;
  color: #7b8b9c;
  font: 700 .65rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.console-head i { display: inline-flex; align-items: center; gap: .55rem; color: #8198ae; font-style: normal; }
.speed-dial { display: grid; grid-template-columns: 140px 1fr; gap: 1.7rem; align-items: center; padding: 2rem; }
.dial-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 12px solid #1c2a39;
  border-top-color: var(--accent);
  border-right-color: #205f9f;
  border-radius: 50%;
  transform: rotate(-24deg);
}
.dial-ring span { width: 68px; height: 68px; display: grid; place-items: center; background: #111b27; border-radius: 50%; transform: rotate(24deg); color: var(--accent); }
.dial-ring svg { width: 31px; }
.speed-dial small, .speed-dial strong { display: block; }
.speed-dial small { color: #6f8092; font: 700 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.speed-dial strong { margin: .55rem 0 .3rem; color: #f2f7fb; font: 600 1.7rem/1.1 var(--display); }
.speed-dial p { margin: 0; color: #7f8f9f; font-size: .85rem; }
.meter-stack { padding: 0 2rem 1.8rem; }
.meter-stack > div { display: grid; grid-template-columns: 118px 1fr 52px; gap: .8rem; align-items: center; margin-top: .85rem; color: #8493a2; font-size: .72rem; }
.meter-stack i { height: 5px; overflow: hidden; background: #202b38; }
.meter-stack i b { display: block; height: 100%; background: var(--accent); }
.meter-stack em { color: #a5b2bf; font: 700 .63rem/1 var(--mono); font-style: normal; text-align: right; text-transform: uppercase; }
.console-note { margin: 0; padding: .7rem 1rem; border-top: 1px solid #26313e; color: #546476 !important; font: 600 .6rem/1 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; }
.optimization-map { background: #f5f7f6; }
.bottleneck-map { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #d5dbd8; }
.bottleneck-map article { position: relative; min-height: 320px; padding: 1.5rem; border-right: 1px solid #d5dbd8; }
.bottleneck-map article:last-child { border-right: 0; }
.map-index { color: #85909a; font: 700 .66rem/1 var(--mono); }
.map-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 4.2rem 0 1.4rem; background: var(--night); color: var(--accent); }
.map-icon svg { width: 25px; }
.bottleneck-map h3 { margin-bottom: .45rem; }
.bottleneck-map p { margin: 0; color: var(--muted); font-size: .9rem; }
.optimization-flow { background: var(--night); color: #91a0b0; }
.optimization-flow-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.optimization-flow h2, .optimization-flow h3 { color: #f5f8fa; }
.flow-copy p { max-width: 36ch; }
.optimization-flow .text-link { color: #fff; border-color: #fff; }
.tune-sequence { margin: 0; padding: 0; list-style: none; border-top: 1px solid #293440; }
.tune-sequence li { display: grid; grid-template-columns: 105px 1fr; gap: 1.2rem; margin: 0; padding: 1.5rem 0; border-bottom: 1px solid #293440; }
.tune-sequence li > span { color: var(--accent); font: 700 .66rem/1.8 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tune-sequence h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.tune-sequence p { margin: 0; color: #7c8b9b; font-size: .88rem; }
.performance-outcomes { background: #eef2f0; }
.outcome-header { max-width: 700px; margin-bottom: 3rem; }
.outcome-board { border-top: 1px solid #cad2ce; }
.outcome-labels, .outcome-row { display: grid; grid-template-columns: 1fr 70px 1fr; gap: 1rem; align-items: center; }
.outcome-labels { padding: .8rem 0; color: #7b8781; font: 700 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.outcome-labels span:last-child { grid-column: 3; }
.outcome-row { padding: 1.3rem 0; border-top: 1px solid #cad2ce; }
.outcome-row p, .outcome-row strong { margin: 0; }
.outcome-row p { color: #6b7771; }
.outcome-row i { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; color: var(--brand-600); font-style: normal; }
.outcome-row i svg { width: 16px; }
.outcome-row strong { color: var(--ink); }

/* Security */
.service-hero-security { border-bottom-color: #4a2b27; }
.service-hero-security h1 em { color: #ef8b6d; }
.service-art-security { border-color: rgba(232,119,85,.28); }
.art-status.secure span { background: #ed825f; box-shadow: 0 0 0 4px rgba(237,130,95,.16); }
.infection-signals { background: #f7f5f2; }
.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #ded9d4; }
.signal-strip article { min-height: 260px; padding: 1.6rem; border-right: 1px solid #ded9d4; }
.signal-strip article:last-child { border-right: 0; }
.signal-strip article > span { display: block; margin-bottom: 5rem; color: #b85d41; font: 700 .68rem/1 var(--mono); }
.signal-strip h3 { margin-bottom: .45rem; }
.signal-strip p { margin: 0; color: var(--muted); font-size: .9rem; }
.security-protocol { background: #111015; color: #9c989f; }
.security-protocol h2, .security-protocol h3 { color: #faf7f5; }
.security-protocol .eyebrow { color: #ed825f; }
.security-protocol .eyebrow::before { background: #ed825f; }
.protocol-head { max-width: 780px; margin-bottom: 4rem; }
.protocol-head p { max-width: 55ch; color: #86828a; }
.protocol-track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid #393139; }
.protocol-track li { min-height: 270px; margin: 0; padding: 1.7rem 1.5rem; border-right: 1px solid #393139; }
.protocol-track li:last-child { border-right: 0; }
.protocol-track li > span { display: block; margin-bottom: 4.5rem; color: #dc7659; font: 700 .65rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.protocol-track p { margin: 0; color: #77747b; font-size: .88rem; }
.threat-library { background: #fff; }
.threat-library-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 7rem); }
.threat-title p { max-width: 37ch; color: var(--muted); }
.threat-matrix { border-top: 1px solid var(--line); }
.threat-matrix article { display: grid; grid-template-columns: 50px 1fr 70px; gap: 1.2rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.threat-matrix article > span { width: 42px; height: 42px; display: grid; place-items: center; background: #fbefeb; color: #b85d41; }
.threat-matrix article > span svg { width: 20px; }
.threat-matrix h3 { margin-bottom: .2rem; font-size: 1.08rem; }
.threat-matrix p { margin: 0; color: var(--muted); font-size: .85rem; }
.threat-matrix b { color: #a8543c; font: 700 .64rem/1 var(--mono); text-align: right; text-transform: uppercase; letter-spacing: .08em; }
.security-close { border-left-color: #ed825f; }
.security-close .closing-label { color: #ed825f; }

/* Development */
.service-hero-development { background: #081018; }
.development-showcase { background: #fff; }
.development-showcase-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.showcase-copy p { color: var(--muted); }
.showreel { padding: 1rem; background: var(--night); border: 1px solid #26323f; }
.showreel-label { display: flex; justify-content: space-between; padding: .2rem .15rem 1rem; color: #79899a; font: 700 .65rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.showreel-label b { color: var(--accent); }
.showreel .frame { border: 0; }
.build-process { background: #eef2f4; }
.build-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid #cfd8dc; }
.build-rail li { margin: 0; padding: 1.5rem 1.35rem 0; border-right: 1px solid #cfd8dc; }
.build-rail li:last-child { border-right: 0; }
.build-rail li > span { color: var(--brand-600); font: 700 .68rem/1 var(--mono); }
.build-rail li > div { min-height: 245px; margin-top: 2.5rem; padding: 1.5rem; background: #fff; border-top: 3px solid var(--brand-400); }
.build-rail svg { width: 23px; margin-bottom: 2.5rem; color: var(--brand-600); }
.build-rail h3 { margin-bottom: .35rem; }
.build-rail p { margin: 0; color: var(--muted); font-size: .88rem; }
.capability-section { background: var(--night); color: #8594a3; }
.capability-section h2, .capability-section h3 { color: #f6f9fb; }
.capability-heading { max-width: 750px; margin-bottom: 3.5rem; }
.capability-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #29333e; border: 1px solid #29333e; }
.capability-bento article { min-height: 220px; padding: 1.5rem; background: #101722; }
.capability-bento article > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 3.4rem; background: #172536; color: var(--accent); }
.capability-bento article > span svg { width: 20px; }
.capability-bento p { margin: 0; color: #778797; font-size: .88rem; }
.capability-bento .capability-featured { grid-column: span 2; display: grid; grid-template-columns: 54px 1fr; gap: 1.5rem; min-height: 270px; align-content: end; background: #132237; }
.capability-featured > span { margin: 0 !important; }
.capability-bento .capability-wide { grid-column: span 2; display: grid; grid-template-columns: 54px 1fr; gap: 1.5rem; align-items: start; }
.capability-wide > span { margin: 0 !important; }
.capability-wide .text-link { grid-column: 2; color: #fff; border-color: #fff; justify-self: start; }

/* Management */
.service-hero-management { background: #0a1017; }
.ops-console { padding-bottom: 0; }
.ops-score { display: flex; gap: 1rem; align-items: center; padding: 1.6rem; border-bottom: 1px solid #26313e; }
.ops-score > div { width: 56px; height: 56px; display: grid; place-items: center; background: #162436; color: var(--accent); }
.ops-score svg { width: 27px; }
.ops-score small, .ops-score strong { display: block; }
.ops-score small { color: #6e7f90; font: 700 .64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.ops-score strong { margin-top: .5rem; color: #f3f7fa; font: 600 1.35rem/1 var(--display); }
.ops-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.ops-grid article { position: relative; padding: 1.1rem 2rem 1.1rem 1.2rem; border-right: 1px solid #26313e; border-bottom: 1px solid #26313e; }
.ops-grid article:nth-child(2n) { border-right: 0; }
.ops-grid span, .ops-grid b { display: block; }
.ops-grid span { color: #6f8091; font-size: .7rem; }
.ops-grid b { color: #cbd5de; font-size: .86rem; }
.ops-grid i { position: absolute; top: 50%; right: 1rem; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; }
.status-good { background: #4ba782; }
.status-review { background: #d9a34d; }
.ops-activity { padding: 1.2rem; }
.ops-activity > span { display: block; margin-bottom: .8rem; color: #647688; font: 700 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.ops-activity p { margin: .45rem 0; color: #94a2b0; font-size: .78rem; }
.ops-activity p i { display: inline-block; width: 18px; height: 1px; margin: 0 .65rem .25rem 0; background: var(--accent); }
.management-scope { background: #f5f7f6; }
.management-lanes { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #d7ddda; }
.management-lanes article { display: grid; grid-template-columns: 62px 1fr; gap: 1.5rem; min-height: 220px; padding: 2rem; background: #fff; border-right: 1px solid #d7ddda; border-bottom: 1px solid #d7ddda; }
.management-lanes article:nth-child(2n) { border-right: 0; }
.management-lanes article:nth-last-child(-n+2) { border-bottom: 0; }
.management-lanes article > span { width: 54px; height: 54px; display: grid; place-items: center; background: var(--night); color: var(--accent); }
.management-lanes article > span svg { width: 25px; }
.management-lanes small { color: var(--brand-600); font: 700 .65rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.management-lanes h3 { margin: .7rem 0 .45rem; }
.management-lanes p { margin: 0; color: var(--muted); font-size: .9rem; }
.plan-section { background: #fff; }
.plan-heading { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 4rem; align-items: end; margin-bottom: 3rem; }
.plan-heading .eyebrow { grid-column: 1 / -1; }
.plan-heading p { max-width: 46ch; margin: 0; color: var(--muted); }
.plan-table { border-top: 1px solid #cad2cf; }
.plan-row { display: grid; grid-template-columns: 1.3fr 1fr .75fr 150px; gap: 1.2rem; align-items: center; margin: 0; padding: 1.35rem; border-bottom: 1px solid #cad2cf; }
.plan-row-head { padding-block: .75rem; color: #7d8883; font: 700 .65rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan-row > div small { color: var(--brand-600); font: 700 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.plan-row h3 { margin: .35rem 0 0; font-size: 1.12rem; }
.plan-row > p { margin: 0; color: var(--muted); }
.plan-row > strong { color: var(--ink); font: 600 1.85rem/1 var(--display); letter-spacing: -.04em; }
.plan-row > strong span { margin-right: .12rem; color: var(--muted); font-size: .8rem; vertical-align: top; }
.plan-row > strong small { margin-left: .15rem; color: var(--muted); font: 500 .72rem/1 var(--font); letter-spacing: 0; }
.plan-row.featured { background: #f0f6fc; border-left: 3px solid var(--brand-400); }
.plan-includes { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.3rem; background: var(--night); color: #9ba9b7; }
.plan-includes > span { color: #fff; font-weight: 700; }
.plan-includes ul { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin: 0; padding: 0; list-style: none; }
.plan-includes li { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .8rem; }
.plan-includes svg { width: 15px; color: var(--accent); }
.management-handoff { background: var(--night); color: #8593a1; }
.management-handoff h2, .management-handoff h3 { color: #f4f8fa; }
.handoff-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.handoff-grid > div p { max-width: 38ch; }
.handoff-grid ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #29343f; }
.handoff-grid li { display: grid; grid-template-columns: 70px 1fr; margin: 0; padding: 1.35rem 0; border-bottom: 1px solid #29343f; }
.handoff-grid li > span { color: var(--accent); font: 700 .68rem/1.8 var(--mono); }
.handoff-grid h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.handoff-grid li p { margin: 0; color: #788898; font-size: .86rem; }

@media (max-width: 1040px) {
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-copy { max-width: 760px; }
  .service-art, .performance-console, .ops-console { max-width: 760px; }
  .repair-route, .optimization-flow-grid, .threat-library-grid, .development-showcase-grid, .handoff-grid { grid-template-columns: 1fr; }
  .route-heading, .flow-copy, .threat-title, .handoff-grid > div { max-width: 700px; }
}

@media (max-width: 800px) {
  .diagnostic-board { grid-template-columns: 1fr; }
  .diagnostic-core { min-height: 120px; border-inline: 0; border-block: 1px solid #26313d; }
  .device-rail, .bottleneck-map, .signal-strip, .protocol-track, .build-rail { grid-template-columns: repeat(2, 1fr); }
  .device-rail article:nth-child(2), .bottleneck-map article:nth-child(2), .signal-strip article:nth-child(2), .protocol-track li:nth-child(2), .build-rail li:nth-child(2) { border-right: 0; }
  .device-rail article:nth-child(-n+2), .bottleneck-map article:nth-child(-n+2), .signal-strip article:nth-child(-n+2), .protocol-track li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .bottleneck-map article:nth-child(-n+2), .signal-strip article:nth-child(-n+2) { border-bottom-color: #d5dbd8; }
  .capability-bento { grid-template-columns: repeat(2, 1fr); }
  .plan-heading { grid-template-columns: 1fr; row-gap: 1rem; }
  .plan-row { grid-template-columns: 1fr 1fr; }
  .plan-row-head { display: none; }
  .plan-row .btn { justify-self: start; }
  .plan-includes { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .service-hero { min-height: auto; padding-block: 4rem; }
  .service-hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .service-hero-grid { gap: 3rem; }
  .service-hero .btn { width: 100%; }
  .service-proof { display: grid; }
  .art-status { position: static; border-width: 1px 0 0; }
  .speed-dial { grid-template-columns: 1fr; }
  .meter-stack > div { grid-template-columns: 92px 1fr 45px; }
  .device-rail, .bottleneck-map, .signal-strip, .protocol-track, .build-rail { grid-template-columns: 1fr; }
  .device-rail article, .bottleneck-map article, .signal-strip article, .protocol-track li, .build-rail li { min-height: auto; border-right: 0; border-bottom: 1px solid #d5dbd8; }
  .device-rail article { border-bottom-color: rgba(255,255,255,.13); }
  .device-rail article > svg, .map-icon, .signal-strip article > span, .protocol-track li > span { margin-top: 2.5rem; margin-bottom: 1.3rem; }
  .repair-route li, .tune-sequence li, .handoff-grid li { grid-template-columns: 52px 1fr; }
  .outcome-labels { display: none; }
  .outcome-row { grid-template-columns: 1fr 34px; }
  .outcome-row strong { grid-column: 1 / -1; padding-left: 0; }
  .threat-matrix article { grid-template-columns: 44px 1fr; }
  .threat-matrix b { grid-column: 2; text-align: left; }
  .capability-bento { grid-template-columns: 1fr; }
  .capability-bento .capability-featured, .capability-bento .capability-wide { grid-column: auto; grid-template-columns: 1fr; }
  .capability-wide .text-link { grid-column: 1; }
  .management-lanes { grid-template-columns: 1fr; }
  .management-lanes article, .management-lanes article:nth-child(2n), .management-lanes article:nth-last-child(-n+2) { grid-template-columns: 50px 1fr; border-right: 0; border-bottom: 1px solid #d7ddda; }
  .management-lanes article:last-child { border-bottom: 0; }
  .management-lanes article > span { width: 44px; height: 44px; }
  .plan-row { grid-template-columns: 1fr; }
  .plan-includes ul { display: grid; }
}
