/* ─── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  --bg:      #f9f9f9;
  --bg-soft: #eeeeee;
  --panel:   #ffffff;
  --line:    rgba(26, 28, 28, 0.14);
  --text:    #1a1c1c;
  --muted:   #585858;
  --dark:    #1a1c1c;
  --black:   #000000;
  --display: "Montserrat", sans-serif;
  --body:    "Montserrat", sans-serif;
  --shadow:  0 22px 70px rgba(0, 0, 0, 0.28);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { padding: 0; margin: 22px 0 0; list-style: none; }
li { position: relative; margin-top: 15px; padding-left: 22px; color: #474747; font-size: 13px; line-height: 1.65; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ─── Accessibility ──────────────────────────────────────────────────────── */

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: #000000; color: #ffffff; padding: 10px 16px; font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: rgba(249, 249, 249, 0.9); backdrop-filter: blur(20px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; width: auto; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block; border: 0; color: #585858; background: transparent; padding: 12px 13px;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: #000000; }
.dropdown-toggle span { color: var(--muted); margin-left: 5px; }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 255px; padding: 10px;
  background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-5px); transition: 0.2s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 9px 10px; color: #474747; font-size: 12px; line-height: 1.45;
}
.dropdown a:hover, .dropdown a:focus-visible {
  background: rgba(26, 28, 28, 0.06); color: var(--text);
}
.dropdown small { display: block; color: #777777; }
.dropdown hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
.dropdown-feature {
  color: #000000 !important; border-top: 1px solid var(--line);
  margin-top: 6px; padding-top: 13px !important; font-weight: 800;
}
.dropdown-feature span { float: right; }
.menu-toggle { display: none; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px; border: 1px solid #000000; background: #000000; color: #f9f9f9;
  font-size: 13px; line-height: 1; font-weight: 800; transition: 0.2s ease;
}
.button:hover, .button:focus-visible {
  background: #1a1c1c; border-color: #1a1c1c; transform: translateY(-2px);
}
.button-outline {
  background: transparent; color: var(--text); border-color: rgba(26, 28, 28, 0.5);
  box-shadow: none;
}
.button-outline:hover, .button-outline:focus-visible {
  color: #000000; background: rgba(26, 28, 28, 0.06); border-color: #000000;
}
.button-small { padding: 12px 16px; margin-left: 8px; }
.inline-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #000000; font-size: 13px; font-weight: 800;
}
.inline-link:hover { text-decoration: underline; }

/* ─── Type ───────────────────────────────────────────────────────────────── */

h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--display); letter-spacing: -1.5px; line-height: 1.05; }
h1 { max-width: 650px; font-size: clamp(58px, 6vw, 84px); }
h2 { font-size: clamp(38px, 4.2vw, 57px); }
h3 { font-size: 25px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.pulse {
  display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%;
  background: #1a1c1c; box-shadow: 0 0 0 4px rgba(26, 28, 28, 0.15);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative; display: grid; grid-template-columns: 1.06fr 0.94fr;
  align-items: center; gap: 56px; min-height: 640px; padding-block: 56px 72px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -390px; top: -100px;
  border: 1px solid rgba(26, 28, 28, 0.08); border-radius: 50%; pointer-events: none;
}
.hero-lead { max-width: 680px; margin: 20px 0 26px; color: #474747; font-size: 17px; line-height: 1.7; }
.hero .inline-link { margin-top: 26px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 42px;
  color: #585858; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.hero-trust span::before { content: "+"; color: #1a1c1c; margin-right: 7px; }


.hero-visual {
  position: relative; min-height: 520px; display: flex;
  align-self: center; flex-direction: column; justify-content: center; padding-block: 18px;
}
.hero-visual::before {
  content: ""; position: absolute; width: 82%; height: 74%; right: 0; top: 12%;
  border: 1px solid rgba(26, 28, 28, 0.1); background: rgba(255, 255, 255, 0.52);
  box-shadow: 20px 20px 0 #e2e2e2;
}
.hero-visual::after {
  content: ""; position: absolute; width: 160px; height: 160px; left: 0; bottom: 0;
  background-image: radial-gradient(rgba(26, 28, 28, 0.72) 1px, transparent 1px);
  background-size: 13px 13px;
}

/* ─── Terminal card ──────────────────────────────────────────────────────── */

.terminal-note {
  position: relative; z-index: 2; width: min(96%, 540px); margin: 0 auto 8px;
  color: #474747; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.terminal-card {
  position: relative; z-index: 2; width: min(96%, 540px); margin-inline: auto;
  padding: 24px; background: #000000; color: #ffffff;
  box-shadow: 12px 12px 0 #1a1c1c, 0 28px 60px rgba(0, 0, 0, 0.18);
  font-family: Consolas, monospace;
}
.terminal-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); }
.terminal-top small { color: rgba(255, 255, 255, 0.56); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.terminal-top b {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  color: rgba(255, 255, 255, 0.68); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
}
.terminal-top b i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}
.terminal-feed { padding-top: 16px; }
.terminal-feed p {
  display: flex; gap: 11px; margin: 12px 0; color: rgba(255, 255, 255, 0.8);
  font-size: 11px; line-height: 1.55;
  animation: terminal-entry 0.45s ease both;
}
.terminal-feed p:nth-child(2) { animation-delay: 0.25s; }
.terminal-feed p:nth-child(3) { animation-delay: 0.5s; }
.terminal-feed p:nth-child(4) { animation-delay: 0.75s; }
.terminal-feed p:nth-child(5) { animation-delay: 1s; }
.terminal-feed p:nth-child(6) { animation-delay: 1.25s; }
.terminal-feed p:nth-child(7) { animation-delay: 1.5s; }
.terminal-feed time { flex: 0 0 auto; color: rgba(255, 255, 255, 0.3); }
.terminal-feed b { flex: 0 0 10px; color: rgba(255, 255, 255, 0.68); }
.terminal-feed strong { color: #ffffff; font-weight: 500; }
.terminal-feed .ok  { color: #22c55e; }
.terminal-feed .arrow { color: #60a5fa; }
.terminal-feed .dim { opacity: 0.7; }
.terminal-feed .faint { opacity: 0.48; }
.terminal-feed .prompt { margin-top: 17px; color: #ffffff; }
.terminal-cursor { animation: cursor-blink 1s steps(1) infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes terminal-entry { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ─── Offer cards ────────────────────────────────────────────────────────── */

.offer-section { padding-bottom: 110px; }
.section-intro { max-width: 600px; }
.section-intro.compact { max-width: 700px; margin-bottom: 30px; }
.section-intro p:not(.eyebrow), .section-heading > p { color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.offer-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 25px;
  overflow: hidden; padding: 35px; border: 1px solid #1a1c1c; background: #1a1c1c;
  transition: 0.25s ease;
}
.offer-card::before { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: #000000; }
.offer-card.ai { background: #3b3b3b; border-color: #3b3b3b; }
.offer-card.ai::before { background: #777777; }
.offer-card:hover { transform: translateY(-5px); border-color: #000000; box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16); }
.offer-card.ai:hover { border-color: #777777; }
.card-number { color: rgba(255, 255, 255, 0.45); font: 700 12px var(--display); }
.ai .card-number, .ai .eyebrow, .ai .card-link { color: #e2e2e2; }
.offer-card h3 { color: #f9f9f9; font-size: 34px; }
.offer-card p:not(.eyebrow) { max-width: 410px; color: #dadada; font-size: 14px; }
.card-link { color: #e2e2e2; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; }

/* ─── Agents / three-steps section ──────────────────────────────────────── */

.agents-section {
  position: relative; overflow: hidden; padding-block: 104px;
  background: #000000; color: #ffffff;
}
.agents-section::before {
  content: ""; position: absolute; inset: 0; opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 82px 82px;
}
.agents-section .shell { position: relative; z-index: 1; }
.agents-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.agents-heading h2 { color: #ffffff; font-size: clamp(48px, 5vw, 68px); text-transform: uppercase; }
.agents-heading > p { max-width: 420px; margin: 0; color: #c6c6c6; font-size: 14px; }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agent-card {
  padding: 25px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025); transition: 0.25s ease;
}
.agent-card:hover {
  border-color: rgba(255, 255, 255, 0.46); background: rgba(255, 255, 255, 0.055);
  transform: translateY(-4px);
}
.agent-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.agent-icon {
  display: grid; width: 42px; height: 42px; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25); color: #c6c6c6; font-size: 10px;
}
.agent-top small { color: #c6c6c6; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.agent-top i {
  display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%;
  background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.agent-card h3 { color: #ffffff; font-size: 22px; }
.agent-card p { color: #dadada; font-size: 13px; }
.agent-card .agent-role { color: #a8a8a8; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.levelup-steps {
  display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 20px;
  margin-top: 72px; padding-top: 35px; border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.levelup-steps strong { color: #ffffff; font-size: 14px; }
.levelup-steps span { display: block; margin-bottom: 14px; color: #777777; font: 700 32px var(--display); }
.levelup-steps b { color: #ffffff; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; }
.levelup-steps p:not(.eyebrow) { color: #c6c6c6; font-size: 12px; }

/* ─── Comparison ─────────────────────────────────────────────────────────── */

.comparison-wrap { border-block: 1px solid var(--line); background: #eeeeee; }
.comparison { display: grid; grid-template-columns: 0.74fr 1.26fr; gap: 55px; padding-block: 95px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.comparison-card {
  position: relative; overflow: hidden; padding: 27px;
  border: 1px solid rgba(26, 28, 28, 0.2); background: #ffffff;
}
.comparison-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: currentColor; }
.comparison-card.old { color: #8a443e; border-color: rgba(138, 68, 62, 0.38); background: #f7efee; }
.comparison-card.new { color: #004248; border-color: rgba(0, 66, 72, 0.55); background: #ffffff; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07); }
.comparison-label { margin-top: 0; color: inherit; font: 700 20px var(--display); letter-spacing: -0.4px; text-transform: uppercase; }
.comparison-label span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 9px; border: 2px solid currentColor; font-size: 16px; }
li::before { position: absolute; left: 0; top: 0; font-size: 15px; font-weight: 700; }
.old li::before { content: "\00d7"; color: #8a443e; }
.new li::before { content: "\2713"; color: #004248; }

/* ─── Services ───────────────────────────────────────────────────────────── */

.services, .proof, .local { padding-block: 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 410px; margin: 0; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.service-card {
  position: relative; display: flex; min-height: 320px; overflow: hidden; padding: 24px;
  border: 1px solid var(--line); background: var(--panel); transition: 0.25s ease;
  flex-direction: column;
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 28, 28, 0.12), rgba(26, 28, 28, 0.94) 58%);
  pointer-events: none;
}
.service-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.46; transition: 0.3s ease;
}
.service-card:hover .service-image { opacity: 0.62; transform: scale(1.03); }
.service-card > *:not(.service-image) { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-5px); border-color: #000000; }
.service-icon {
  display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 37px;
  border: 1px solid rgba(255, 255, 255, 0.4); color: #e2e2e2; font-size: 9px; font-weight: 800;
}
.service-card h3 { color: #f9f9f9; font-size: 20px; letter-spacing: -0.7px; }
.service-card p { color: #c6c6c6; font-size: 13px; }
.service-card b { display: block; margin-top: auto; padding-top: 22px; color: #e2e2e2; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.accent-card { background: rgba(226, 226, 226, 0.06); border-color: rgba(226, 226, 226, 0.22); }
.accent-card .service-icon, .accent-card b { color: #e2e2e2; border-color: rgba(226, 226, 226, 0.35); }

/* ─── AI & Automation section ────────────────────────────────────────────── */

.ai-section {
  position: relative; overflow: hidden; border-block: 1px solid rgba(226, 226, 226, 0.18);
  background: #1a1c1c; color: #f9f9f9; padding-block: 105px;
}
.ai-section h2, .ai-section .workflow-step b { color: #f9f9f9; }
.ai-section .eyebrow, .ai-section .inline-link,
.workflow-top, .workflow-step span { color: #e2e2e2; }
.ai-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 55px; }
.ai-copy .eyebrow { color: #e2e2e2; }
.large-copy { max-width: 560px; margin-block: 24px 32px; color: #c6c6c6; font-size: 17px; }
.ai-copy .inline-link { margin-left: 4px; color: #e2e2e2; }
.workflow-card {
  position: relative; z-index: 1; border: 1px solid rgba(226, 226, 226, 0.3);
  padding: 24px; background: rgba(26, 28, 28, 0.72); box-shadow: var(--shadow);
}
.workflow-top {
  display: flex; justify-content: space-between; padding-bottom: 17px;
  border-bottom: 1px solid rgba(226, 226, 226, 0.32);
  color: #e2e2e2; font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
}
.workflow { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: stretch; gap: 8px; padding-block: 28px; }
.workflow > i { position: relative; align-self: center; height: 2px; background: #777777; }
.workflow > i::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  border-block: 5px solid transparent; border-left: 7px solid #777777;
}
.workflow-step {
  min-width: 0; padding: 15px 13px;
  border: 1px solid rgba(226, 226, 226, 0.3); background: rgba(255, 255, 255, 0.045);
}
.workflow-step span {
  display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4); color: #f9f9f9;
  background: rgba(255, 255, 255, 0.12); font-size: 10px; font-weight: 800;
}
.workflow-step b, .workflow-step small { display: block; }
.workflow-step b { color: #f9f9f9; font-size: 13px; line-height: 1.35; }
.workflow-step small { margin-top: 6px; color: #c6c6c6; font-size: 10px; line-height: 1.45; }
.workflow-result {
  display: flex; align-items: center; gap: 11px; padding: 14px; color: #e2e2e2;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(226, 226, 226, 0.35); font-size: 12px;
}
.workflow-result span {
  display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center;
  color: #000000; border-radius: 50%; background: #ffffff; font-weight: 800;
}
.workflow-result b { display: block; color: #e2e2e2; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; }

/* ─── Proof cards ────────────────────────────────────────────────────────── */

.deployment-grid { display: grid; grid-template-columns: 1.1fr 0.95fr 0.95fr; gap: 12px; }
.deployment-card {
  display: flex; min-height: 250px; padding: 24px; border: 1px solid var(--line);
  background: var(--panel); flex-direction: column;
}
.deployment-card.featured { background: #f3f3f4; border-color: #777777; }
.deployment-card .tag { align-self: flex-start; color: #ffffff; border-color: #004248; background: #004248; font-size: 9px; }
.deployment-card:not(.featured) .tag { color: #3d3d3d; border-color: #c6c6c6; background: #eeeeee; }
.deployment-card h3 { margin-top: 24px; font-size: 22px; }
.deployment-card p:not(.tag) { color: var(--muted); font-size: 13px; }
.deployment-card strong {
  display: block; margin-top: auto; padding-top: 24px;
  color: #3d3d3d; font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase;
}
.deployment-card strong span { color: #1a1c1c; font: 700 22px var(--display); letter-spacing: -0.5px; text-transform: none; }
.tag {
  display: inline-block; padding: 4px 8px; border: 1px solid var(--line);
  font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */

.testimonials-section { padding-block: 112px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.testimonial-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.testimonial-card blockquote { flex: 1; margin: 0 0 28px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.testimonial-card blockquote::before {
  content: "\201C"; display: block; font-size: 40px; line-height: 1;
  color: #1a1c1c; margin-bottom: 10px; font-family: var(--display);
}
.testimonial-card cite { font-style: normal; border-top: 1px solid var(--line); padding-top: 20px; }
.testimonial-card cite strong { display: block; font-size: 13px; font-weight: 700; }
.testimonial-card cite small { color: var(--muted); font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; }

/* ─── Tools ──────────────────────────────────────────────────────────────── */

.tools-wrap { border-block: 1px solid var(--line); background: #eeeeee; }
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-block: 90px; }
.tool-card { padding: 33px; border: 1px solid var(--line); background: #ffffff; }
.tool-card.assessment { border-color: rgba(26, 28, 28, 0.3); }
.tool-card.assessment .eyebrow { color: var(--muted); }
.tool-card h2 { font-size: 37px; }
.tool-card > p:not(.eyebrow) { max-width: 540px; color: var(--muted); font-size: 14px; }
.assessment-steps { display: flex; align-items: center; max-width: 360px; margin: 29px 0; }
.assessment-steps span {
  display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto;
  border: 1px solid rgba(26, 28, 28, 0.5); color: var(--text); font-size: 10px; font-weight: 800;
}
.assessment-steps .active { background: #000000; color: #ffffff; border-color: #000000; }
.assessment-steps i { height: 1px; flex: 1; background: rgba(26, 28, 28, 0.2); }
.health-preview {
  display: flex; align-items: center; justify-content: space-between;
  margin: 25px 0 18px; padding: 18px; border: 1px solid #1a1c1c; background: #1a1c1c;
}
.health-preview b { color: #ffffff; font: 700 48px var(--display); line-height: 0.95; }
.health-preview span { color: #c6c6c6; font-size: 15px; }
.health-preview small { display: block; margin-top: 8px; color: #c6c6c6; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.health-preview button {
  border: 1px solid rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.06);
  color: #ffffff; padding: 10px 12px; cursor: pointer; font-size: 10px;
  font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
}
.health-preview button:hover { background: rgba(255, 255, 255, 0.14); }

/* ─── Location ───────────────────────────────────────────────────────────── */

.location-strip { padding-block: 84px 0; }
.location-layout { display: grid; grid-template-columns: 1.35fr 0.65fr; min-height: 330px; }
.location-image { overflow: hidden; }
.location-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.location-caption {
  display: flex; padding: 42px; background: #1a1c1c; flex-direction: column; justify-content: center;
}
.location-caption h2 { color: #f9f9f9; font-size: 42px; }
.location-caption p:not(.eyebrow) { color: #dadada; font-size: 14px; }
.location-caption .eyebrow { color: #e2e2e2; }

/* ─── Local / founders ───────────────────────────────────────────────────── */

.local { display: grid; grid-template-columns: 1fr 0.7fr; align-items: center; gap: 80px; }
.local-copy > p:not(.eyebrow) { max-width: 710px; color: var(--muted); }
.local-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.local-points span { padding: 7px 10px; border: 1px solid var(--line); color: #474747; font-size: 11px; }
.local-points b { color: var(--text); }
.founder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.founder-card { overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.founder-card img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top; }
.founder-card div { padding: 15px; }
.founder-card strong, .founder-card small { display: block; }
.founder-card strong { font-size: 13px; }
.founder-card small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ─── Final CTA ──────────────────────────────────────────────────────────── */

.cta-wrap {
  position: relative; overflow: hidden; border-block: 1px solid #000000;
  background: #1a1c1c; color: #f9f9f9;
}
.cta-wrap::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -90px; top: -160px;
  border: 1px solid rgba(249, 249, 249, 0.13); border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(249, 249, 249, 0.025), 0 0 0 160px rgba(249, 249, 249, 0.018);
}
.cta { position: relative; z-index: 1; padding-block: 95px; }
.cta h2 { color: #f9f9f9; }
.cta .button-outline { color: #f9f9f9; border-color: rgba(249, 249, 249, 0.45); }
.cta .button-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(249, 249, 249, 0.7); }
.cta p:not(.eyebrow) { max-width: 610px; color: #dadada; }
.cta .button-row { margin-top: 29px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer-top {
  display: flex; align-items: start; justify-content: space-between;
  gap: 28px; padding-bottom: 28px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.footer-tagline { color: #585858; font-size: 12px; max-width: 280px; margin-top: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 0; flex-direction: column; }
.footer-nav a { color: #585858; font-size: 12px; font-weight: 600; padding: 3px 0; }
.footer-nav a:hover { color: #000000; }
.footer-contact { text-align: right; }
.footer-contact a { display: block; color: #585858; font-size: 12px; font-weight: 700; }
.footer-contact a + a { margin-top: 6px; }
.footer-contact a:hover { color: #000000; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a { color: #585858; font-size: 11px; }
.footer-bottom a:hover { color: #000000; }

/* ─── Responsive — tablet ────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .menu-toggle {
    display: grid; gap: 5px; width: 42px; height: 42px; place-content: center;
    border: 1px solid var(--line); background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--text); }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; display: none;
    align-items: stretch; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line); background: #ffffff; flex-direction: column;
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; padding: 13px 0; text-align: left; }
  .nav-cta { width: fit-content; margin: 10px 0 0; padding: 13px 17px; }
  .dropdown {
    position: static; display: none; min-width: auto; margin: 0 0 6px;
    opacity: 1; visibility: visible; transform: none; box-shadow: none;
  }
  .nav-item.open .dropdown { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 30px; padding-top: 72px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 480px; }
  .comparison { grid-template-columns: 1fr; gap: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-heading { display: block; }
  .agents-heading > p { margin-top: 18px; }
  .levelup-steps { grid-template-columns: repeat(3, 1fr); }
  .levelup-steps > div:first-child { grid-column: 1 / -1; }
  .ai-layout { grid-template-columns: 1fr; gap: 35px; }
  .deployment-grid { grid-template-columns: 1fr 1fr; }
  .deployment-card.featured { grid-column: 1 / -1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .local { grid-template-columns: 1fr; gap: 35px; }
  .location-layout { grid-template-columns: 1fr; }
  .location-image { min-height: 280px; }
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
}

/* ─── Responsive — mobile ────────────────────────────────────────────────── */

@media (max-width: 650px) {
  .shell { width: min(100% - 30px, 580px); }
  h1 { font-size: clamp(48px, 14vw, 68px); }
  h2 { font-size: 40px; }
  .hero { padding-block: 72px 74px; }
  .hero-lead { font-size: 16px; }
  .hero-trust { margin-top: 42px; }
  .hero-visual { min-height: 360px; }
  .terminal-card { width: 96%; padding: 16px; }
  .hero-visual::before { width: 94%; height: 82%; box-shadow: 14px 14px 0 #e2e2e2; }
  .hero-visual::after { width: 100px; height: 100px; }
  .offer-section { padding-bottom: 74px; }
  .offer-grid, .comparison-grid, .service-grid, .deployment-grid, .tools { grid-template-columns: 1fr; }
  .agents-section { padding-block: 76px; }
  .agent-grid, .levelup-steps { grid-template-columns: 1fr; }
  .levelup-steps > div:first-child { grid-column: auto; }
  .offer-card { gap: 14px; padding: 25px; }
  .offer-card h3 { font-size: 29px; }
  .comparison, .services, .proof, .local, .testimonials-section { padding-block: 74px; }
  .location-strip { padding-top: 62px; }
  .location-image { min-height: 220px; }
  .location-caption { padding: 27px; }
  .location-caption h2 { font-size: 34px; }
  .comparison-card { padding: 22px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 17px; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 26px; }
  .ai-section { padding-block: 78px; }
  .workflow-card { padding: 15px; }
  .workflow { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .workflow > i { width: 2px; height: 14px; margin-left: 20px; }
  .workflow > i::after {
    right: -4px; top: 9px;
    border-top: 7px solid #777777; border-right: 5px solid transparent;
    border-bottom: 0; border-left: 5px solid transparent;
  }
  .tools { padding-block: 65px; }
  .tool-card { padding: 24px; }
  .tool-card h2 { font-size: 34px; }
  .health-preview { align-items: start; gap: 8px; flex-direction: column; }
  .cta { padding-block: 75px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ─── Subpage components ─────────────────────────────────────────────────── */

.page-hero {
  position: relative; overflow: hidden; background: #1a1c1c; color: #f9f9f9;
  padding-block: 88px 96px; border-bottom: 1px solid rgba(226, 226, 226, 0.18);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #f9f9f9; max-width: 820px; margin-bottom: 0; }
.page-hero .lead { max-width: 640px; color: #c6c6c6; font-size: 17px; margin-block: 22px 36px; }
.page-hero .eyebrow { color: #e2e2e2; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 34px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
}
.breadcrumb a { color: #e2e2e2; }
.breadcrumb a:hover { color: #ffffff; text-decoration: underline; }
.breadcrumb-sep { color: #777777; }
.breadcrumb-current { color: #c6c6c6; }

.content-section { padding-block: 96px; }
.content-section.alt { background: #f3f3f4; border-block: 1px solid var(--line); }
.content-section h2 { max-width: 700px; margin-bottom: 18px; }
.content-section > .shell > p { max-width: 680px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col.wide-left { grid-template-columns: 1.25fr 1fr; }
.col-body p { color: var(--muted); font-size: 15px; }
.col-body p + p { margin-top: 16px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.checklist li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.checklist li::before { content: ""; width: 18px; height: 18px; background: url('/assets/logo-icon.png') center / contain no-repeat; top: 50%; transform: translateY(-50%); font-size: 0; }
.checklist li strong { color: var(--text); display: block; font-size: 14px; margin-bottom: 2px; }

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.process-step { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.process-step .step-num { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #1a1c1c; margin-bottom: 16px; }
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted); margin: 0; }

.proof-single { margin-top: 40px; }

/* ─── Article list (Resources page) ─────────────────────────────────────── */

.article-list { list-style: none; padding: 0; margin: 32px 0 0; }
.article-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.coming-soon-badge {
  flex-shrink: 0; padding: 4px 8px; border: 1px solid var(--line);
  color: var(--muted); font-size: 9px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
}

/* ─── Contact layout ─────────────────────────────────────────────────────── */

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.contact-form-col h2 { margin-bottom: 32px; }
.contact-details-col h2 { margin-bottom: 24px; }
.contact-email-link { display: table; font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none; }
.contact-email-link:hover { text-decoration: underline; }
.contact-email-link + .contact-email-link { margin-top: 10px; }
.contact-address { margin-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.contact-local-note { margin-top: 40px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.contact-local-note h3 { font-size: 18px; margin-bottom: 12px; }
.contact-local-note p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 0; }

/* ─── Contact form ───────────────────────────────────────────────────────── */

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text); }
.required-mark { color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font: 400 15px var(--body);
  appearance: none; -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid #000000; outline-offset: -2px; border-color: #000000; }
.form-group textarea { resize: vertical; min-height: 120px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--text); pointer-events: none;
}
.select-wrap select { width: 100%; padding-right: 36px; cursor: pointer; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }
.form-success { padding: 18px 22px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; }
.form-success strong { display: block; margin-bottom: 4px; font-size: 15px; }
.form-error { padding: 18px 22px; border: 1px solid rgba(138, 68, 62, 0.5); background: #f7efee; color: #8a443e; font-size: 14px; }
.form-error a { color: #8a443e; font-weight: 700; }

.related-section { padding-block: 96px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.related-card {
  display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line);
  background: var(--panel); text-decoration: none; color: inherit;
  transition: border-color 0.2s ease;
}
.related-card:hover { border-color: #000000; }
.related-card .eyebrow { margin-bottom: 8px; }
.related-card h3 { font-size: 17px; margin-bottom: 10px; }
.related-card p { font-size: 13px; color: var(--muted); flex: 1; margin: 0; }
.related-card b { display: block; margin-top: 20px; font-size: 12px; color: #000000; }

@media (max-width: 980px) {
  .page-hero { padding-block: 70px 76px; }
  .two-col, .two-col.wide-left { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 650px) {
  .page-hero { padding-block: 54px 60px; }
  .content-section, .related-section { padding-block: 64px; }
  .process-steps, .related-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── IT Health Check tool ───────────────────────────────────────────────── */

.hc-progress-track { height: 2px; background: var(--line); margin-bottom: 32px; }
.hc-progress-fill { height: 2px; background: #1a1c1c; width: 11.1%; transition: width 0.25s ease; }
.hc-question-card { padding: 32px; border: 1px solid var(--line); background: var(--panel); }
.hc-question-card p { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 28px; line-height: 1.45; }
.hc-yn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-yn-btn {
  padding: 22px; border: 2px solid var(--line); background: var(--panel);
  cursor: pointer; font: 700 11px var(--body); letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text); transition: 0.15s ease;
}
.hc-yn-btn:hover { border-color: #000000; background: #000000; color: #ffffff; }

.hc-results-grid { display: grid; grid-template-columns: 200px 1fr; gap: 12px; margin-bottom: 12px; align-items: start; }
.hc-score-panel {
  background: #1a1c1c; color: #ffffff; padding: 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 220px;
}
.hc-score-num { display: block; font: 700 56px var(--display); line-height: 1; }
.hc-score-total { color: rgba(255,255,255,0.45); font-size: 13px; margin-top: 4px; }
.hc-score-grade { margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.8px; }
.hc-score-sub { margin-top: 8px; font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.hc-gaps-panel { padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.hc-gaps-panel h4 { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.hc-gap-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hc-gap-item:last-child { border-bottom: none; padding-bottom: 0; }
.hc-gap-mark { color: #8a443e; font-weight: 700; font-size: 15px; flex-shrink: 0; line-height: 1.4; }
.hc-gap-item strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 3px; }
.hc-gap-item p { font-size: 12px; color: var(--muted); margin: 0; }
.hc-recs-panel { padding: 28px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 28px; }
.hc-recs-panel h4 { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.hc-rec-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.hc-rec-item:last-child { margin-bottom: 0; }
.hc-rec-num { color: var(--text); font-weight: 800; flex-shrink: 0; }

@media (max-width: 650px) {
  .hc-results-grid { grid-template-columns: 1fr; }
  .hc-yn-grid { grid-template-columns: 1fr; }
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
