:root {
  --ink: #18262a;
  --ink-2: #24373a;
  --forest: #244a3b;
  --mint: #a9c8a1;
  --mint-2: #e5ecdf;
  --coral: #d96c5f;
  --coral-dark: #9f4038;
  --gold: #d6b85b;
  --paper: #f4f1e8;
  --white: #fbfaf5;
  --muted: #65706b;
  --line: #d5d8cf;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(16, 33, 29, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--white); border: 2px solid var(--ink); }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--coral-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker-light { color: var(--gold); }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.65rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.42rem); }
p { margin: 0 0 1.05rem; }
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section-tight { padding: clamp(54px, 7vw, 88px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.band-dark { color: var(--white); background: var(--ink); }
.band-mint { background: var(--mint-2); }
.band-white { background: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); background: rgba(24,38,42,.97); border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 208px; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav > a, .nav-menu > button { font-size: .92rem; font-weight: 750; }
.nav > a:hover, .nav > a:focus-visible, .nav-menu > button:hover { color: var(--coral-dark); }
.nav-menu { position: relative; }
.nav-menu > button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: inherit; padding: 12px 0; }
.nav-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.nav-panel { display: none; position: absolute; top: calc(100% - 2px); left: -22px; width: 320px; padding: 12px; color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.nav-menu:hover .nav-panel, .nav-menu:focus-within .nav-panel { display: grid; }
.nav-panel a { padding: 11px 12px; border-radius: 5px; font-weight: 700; }
.nav-panel a:hover { background: var(--mint-2); }
.header-cta { padding: 11px 16px; color: #211616 !important; background: var(--coral); border: 1px solid var(--coral); border-radius: 5px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); background: transparent; border-radius: 5px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero { position: relative; min-height: min(820px, calc(100svh - 78px)); display: grid; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,22,.97) 0%, rgba(8,25,22,.88) 34%, rgba(8,25,22,.25) 70%, rgba(8,25,22,.08) 100%), url("assets/security-operations-hero.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(0deg, rgba(8,25,22,.72), transparent); }
.hero-inner { position: relative; z-index: 1; padding: clamp(92px, 12vh, 150px) 0 54px; }
.hero h1 { max-width: 770px; }
.hero-copy { max-width: 660px; margin-top: 24px; color: #dce9e3; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #25120f; background: var(--coral); }
.btn-secondary { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.48); }
.btn-dark { color: var(--white); background: var(--ink); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 760px; margin-top: 62px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22); }
.hero-proof div { min-height: 86px; padding: 18px 20px; background: rgba(7,29,25,.84); }
.hero-proof strong { display: block; font-size: 1rem; }
.hero-proof span { color: #b9cdc4; font-size: .88rem; }

.signal-strip { background: var(--gold); color: #2a2719; }
.signal-inner { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 28px; align-items: center; min-height: 88px; }
.signal-inner > strong { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.signal-item { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.signal-dot { width: 9px; height: 9px; background: var(--coral-dark); border-radius: 50%; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 270px; display: flex; flex-direction: column; padding: 30px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card .number { color: var(--coral-dark); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin-top: 34px; }
.service-card p { margin-top: 14px; color: var(--muted); }
.service-card .text-link { margin-top: auto; font-weight: 800; }
.service-card:hover { background: var(--mint-2); }
.text-link::after { content: "  →"; color: var(--coral-dark); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 8vw, 96px); align-items: center; }
.split-image { position: relative; min-height: 530px; overflow: hidden; border-radius: var(--radius); }
.split-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.split-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid rgba(16,33,29,.18); }
.check-list li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid rgba(16,33,29,.18); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-dark); font-weight: 900; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.18); }
.metric { padding: 30px; border-right: 1px solid rgba(255,255,255,.18); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--gold); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.metric span { display: block; margin-top: 11px; color: #c6d5ce; font-size: .9rem; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: steps; }
.process article { counter-increment: steps; padding-top: 24px; border-top: 3px solid var(--ink); }
.process article::before { content: "0" counter(steps); display: block; margin-bottom: 26px; color: var(--coral-dark); font-weight: 900; }
.process p { margin-top: 12px; color: var(--muted); }
.quote { max-width: 900px; font-size: clamp(1.65rem, 4vw, 3.1rem); line-height: 1.2; }
.quote-by { margin-top: 28px; color: var(--mint); }

.page-hero { color: var(--white); background: var(--ink); padding: clamp(92px, 13vw, 160px) 0 clamp(72px, 9vw, 110px); }
.page-hero h1 { max-width: 960px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lede { color: #cfddd7; margin-top: 24px; }
.breadcrumb { margin-bottom: 32px; color: #a8bdb4; font-size: .88rem; }
.breadcrumb a { color: var(--white); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr); gap: clamp(48px, 9vw, 110px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 18px; font-size: clamp(1.8rem, 3.8vw, 3rem); }
.prose h3 { margin: 34px 0 12px; }
.prose p, .prose li { color: #3f4d48; }
.prose ul { padding-left: 20px; }
.sidebar { position: sticky; top: 110px; padding: 26px; background: var(--mint-2); border-top: 4px solid var(--coral); border-radius: var(--radius); }
.sidebar h3 { margin-bottom: 13px; }
.sidebar .btn { width: 100%; margin-top: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature p { margin: 12px 0 0; color: var(--muted); }
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.2); }
.deliverables article { min-height: 190px; padding: 26px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.deliverables article:nth-child(3n) { border-right: 0; }
.deliverables p { color: #bfd0c8; margin-top: 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.price-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.price-card p { color: var(--muted); }
.price-card.featured p { color: #c7d6cf; }
.price-card ul { padding-left: 20px; }
.price-card .btn { width: 100%; margin-top: 22px; }

.form-shell { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.form-card { padding: clamp(24px, 5vw, 46px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #aebbb5; border-radius: 4px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(255,128,104,.28); border-color: var(--coral-dark); }
.honeypot { position: absolute !important; left: -10000px !important; }
.form-note { margin-top: 14px; color: var(--muted); font-size: .85rem; }
.contact-lines { margin-top: 30px; border-top: 1px solid var(--line); }
.contact-lines a, .contact-lines div { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.status-message { padding: 14px 16px; margin-bottom: 18px; background: var(--mint-2); border-left: 4px solid var(--forest); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 21px 34px 21px 0; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.faq details p { max-width: 820px; padding: 0 0 22px; color: var(--muted); }

.cta-band { color: var(--white); background: var(--coral-dark); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 44px; }
.cta-inner h2 { max-width: 760px; }
.cta-inner .btn { color: var(--ink); background: var(--white); flex: 0 0 auto; }

.site-footer { color: #d9e5df; background: #071b17; }
.footer-main { display: grid; grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, .45fr)); gap: 50px; padding: 70px 0 52px; }
.footer-brand { max-width: 330px; }
.footer-logo-wrap { display: inline-flex; padding: 0; background: transparent; }
.footer-logo-wrap img { width: 190px; height: auto; }
.footer-brand p { margin-top: 22px; color: #a9bdb4; }
.footer-col strong { display: block; color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #d9e5df; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0 34px; border-top: 1px solid rgba(255,255,255,.14); color: #8fa59b; font-size: .88rem; }

.chat-launcher { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; color: #23120f; background: var(--coral); border: 0; border-radius: 50%; box-shadow: 0 14px 35px rgba(10,31,27,.28); font-size: 0; }
.chat-launcher::before { content: ""; width: 22px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.chat-launcher::after { content: ""; position: absolute; width: 7px; height: 7px; right: 16px; bottom: 15px; border-left: 2px solid currentColor; transform: rotate(-35deg); }
.chat-panel { position: fixed; z-index: 90; right: 22px; bottom: 92px; width: min(390px, calc(100vw - 28px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(12px); transition: .2s ease; }
.chat-panel.open { visibility: visible; opacity: 1; transform: none; }
.chat-head { display: flex; justify-content: space-between; gap: 18px; padding: 20px; color: var(--white); background: var(--ink); }
.chat-head button { color: var(--white); background: transparent; border: 0; font-size: 1.5rem; }
.chat-body { padding: 20px; }
.chat-options { display: grid; gap: 10px; }
.chat-options a { padding: 13px 14px; background: var(--mint-2); border: 1px solid var(--line); border-radius: 4px; font-weight: 800; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; padding: 18px; color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch; }
  .nav.open { display: grid; }
  .nav > a, .nav-menu > button { width: 100%; padding: 11px 0; text-align: left; }
  .nav-menu > button { justify-content: space-between; }
  .nav-panel { position: static; display: grid; width: auto; padding: 5px 0 5px 14px; box-shadow: none; border: 0; }
  .header-cta { text-align: center !important; }
  .menu-toggle { display: block; }
  .section-head, .split, .detail-grid, .form-shell { grid-template-columns: 1fr; }
  .section-head { gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .deliverables { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .deliverables article:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.2); }
  .deliverables article:nth-child(2n) { border-right: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 172px; }
  .hero { min-height: auto; align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(8,25,22,.66) 0%, rgba(8,25,22,.91) 38%, rgba(8,25,22,.98) 100%), url("assets/security-operations-hero.png") 66% center/cover no-repeat; }
  .hero-inner { padding: 96px 0 34px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); overflow-wrap: anywhere; }
  .hero-copy { font-size: 1.04rem; }
  .actions { display: grid; }
  .btn { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 42px; }
  .hero-proof div { min-height: 70px; }
  .signal-inner { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .services-grid, .feature-grid, .deliverables, .metrics, .process, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .split-image { min-height: 360px; order: -1; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .deliverables article { border-right: 0 !important; }
  .field { grid-column: 1 / -1; }
  .cta-inner { display: grid; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { display: grid; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .chat-panel { right: 14px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Branded server error page */
.error-page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; color: var(--white); background: var(--ink); }
.error-page .error-header, .error-page .error-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.error-page .error-header { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.error-page .brand img { width: 190px; height: auto; }
.error-support-link { color: var(--gold); font-size: .88rem; font-weight: 800; }
.error-support-link:hover { color: var(--white); }
.error-page .error-main { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.72fr); gap: clamp(48px,8vw,110px); align-items: center; padding: clamp(70px,10vw,138px) 0; }
.error-page .error-copy h1 { max-width: 760px; font-size: clamp(3.2rem,7.5vw,6.7rem); }
.error-page .error-lede { max-width: 660px; margin-top: 25px; color: #cfddd7; font-size: clamp(1.05rem,1.9vw,1.28rem); }
.error-page .error-routes { display: grid; max-width: 720px; margin-top: clamp(48px,7vw,76px); border-top: 1px solid rgba(255,255,255,.18); }
.error-page .error-routes a { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.error-page .error-routes span { color: var(--white); font-weight: 800; }
.error-page .error-routes small { color: #9fb4ac; text-align: right; }
.error-page .error-routes a:hover span { color: var(--gold); }
.webenvy-error .error-visual { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(214,184,91,.32); background: #10201e; }
.signal-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(169,200,161,.42) 1px,transparent 1px),linear-gradient(90deg,rgba(169,200,161,.42) 1px,transparent 1px); background-size: 34px 34px; }
.signal-code { position: relative; z-index: 1; color: var(--gold); font-size: clamp(6.5rem,15vw,11rem); font-weight: 900; line-height: 1; }
.signal-line { position: absolute; inset: 50% 9% auto; display: grid; grid-template-columns: 1fr 16px 1fr; align-items: center; gap: 10px; }
.signal-line span { height: 1px; background: rgba(217,108,95,.8); }
.signal-line i { width: 16px; aspect-ratio: 1; border: 2px solid var(--coral); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 8px rgba(217,108,95,.12); }
.webenvy-error .error-visual p { position: absolute; right: 22px; bottom: 15px; margin: 0; color: #8da59c; font-size: .68rem; letter-spacing: .12em; }
.webenvy-error .error-visual strong { color: var(--coral); }
.error-page .error-footer { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #91a69e; font-size: .78rem; }
.error-page .error-footer address { font-style: normal; text-align: right; }

@media (max-width: 860px) {
  .error-page .error-main { grid-template-columns: 1fr; }
  .webenvy-error .error-visual { min-height: 300px; order: -1; }
}

@media (max-width: 560px) {
  .error-page .error-header, .error-page .error-footer, .error-page .error-main { width: calc(100% - 28px); }
  .error-page .error-header { min-height: 74px; }
  .error-page .brand img { width: 164px; }
  .error-support-link { max-width: 118px; text-align: right; }
  .error-page .error-main { gap: 34px; padding: 38px 0 52px; }
  .error-page .error-copy h1 { font-size: clamp(2.7rem,13vw,4rem); overflow-wrap: anywhere; }
  .webenvy-error .error-visual { min-height: 220px; }
  .signal-code { font-size: 6.2rem; }
  .error-page .error-routes a { display: grid; gap: 2px; }
  .error-page .error-routes small { text-align: left; }
  .error-page .error-footer { min-height: 108px; display: grid; gap: 6px; padding: 20px 0; }
  .error-page .error-footer address { text-align: left; }
}
