/* DevOps CY build: 4.1-readable */
:root {
  --bg: #07111d;
  --bg-deep: #030a12;
  --panel: #0c1b2b;
  --panel-2: #102438;
  --panel-3: #132b42;
  --line: rgba(137, 184, 210, 0.18);
  --line-strong: rgba(103, 226, 220, 0.38);
  --text: #edf8ff;
  --muted: #b8c9d5;
  --muted-2: #91a9ba;
  --cyan: #66e2dc;
  --cyan-soft: #adf6f1;
  --green: #76f0ad;
  --amber: #f1ca74;
  --danger: #ff8f9e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --max: 1240px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color-scheme: dark;
  min-width: 320px;
  background:
    linear-gradient(rgba(20, 46, 67, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 46, 67, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 74% 8%, rgba(53, 172, 188, 0.10), transparent 31%),
    radial-gradient(circle at 12% 76%, rgba(26, 96, 124, 0.08), transparent 29%),
    var(--bg);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea, a { font: inherit; }
a { color: inherit; }
button { color: inherit; appearance: none; -webkit-appearance: none; }
img { max-width: 100%; }
::selection { background: var(--cyan); color: #031016; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cyan);
  color: #021016;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; pointer-events: none; filter: blur(100px); opacity: .24; z-index: -1; }
.ambient-one { width: 300px; height: 300px; right: -120px; top: 24%; background: #147b8d; }
.ambient-two { width: 260px; height: 260px; left: -120px; bottom: 10%; background: #0b4f68; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 24px 0;
  background: linear-gradient(to bottom, rgba(7,17,29,.98) 0%, rgba(7,17,29,.90) 68%, rgba(7,17,29,0) 100%);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 20, 33, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.23);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(102, 226, 220, .35);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(102,226,220,.12), rgba(102,226,220,.03));
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -2px;
}
.brand-mark.small { width: 30px; height: 30px; border-radius: 8px; }
.brand-copy { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13px; letter-spacing: .08em; }
.brand-copy strong { font-weight: 900; }
.brand-copy b { color: var(--cyan); }

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(102,226,220,.045); transform: translateY(-1px); }
.nav-link.is-active { color: var(--text); background: rgba(102,226,220,.09); box-shadow: inset 0 0 0 1px rgba(102,226,220,.12); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(102,226,220,.44);
  border-radius: 10px;
  color: var(--cyan-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--cyan); color: #031016; transform: translateY(-1px); }
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.015);
  cursor: pointer;
}
.mobile-menu-button span,
.mobile-menu-button::before,
.mobile-menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-button[aria-expanded="true"] span { opacity: 0; }
.mobile-menu-button[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

main, .site-footer { max-width: var(--max); margin: 0 auto; padding-left: 26px; padding-right: 26px; }
.section-anchor { scroll-margin-top: 108px; }
.eyebrow, .section-label, .panel-code, .micro-label {
  margin: 0;
  color: var(--cyan-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(118,240,173,.76); }

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  align-items: center;
  gap: 68px;
  padding-top: 56px;
  padding-bottom: 66px;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(50px, 5.2vw, 76px);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 790;
}
.hero h1 em,
.page-hero h1 em { color: var(--cyan-soft); font-style: normal; }
.hero-lead,
.page-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button-primary { background: var(--cyan); color: #041116; box-shadow: 0 14px 36px rgba(44, 201, 198, .20); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(44, 201, 198, .30); }
.button-quiet { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.015); }
.button-quiet:hover { border-color: var(--line-strong); background: rgba(102,226,220,.06); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 14px; font-size: 12px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 27px; color: var(--muted-2); font-size: 11px; }
.trust-line span::before { content: "+"; margin-right: 7px; color: var(--green); }

.problem-console {
  overflow: hidden;
  border: 1px solid rgba(137,184,210,.23);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16,36,56,.94), rgba(8,21,35,.97));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025);
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.console-head div { display: grid; gap: 5px; }
.console-head strong { font-size: 15px; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(118,240,173,.78); }
.console-options { display: grid; }
.console-option {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease;
}
.console-option:last-child { border-bottom: 0; }
.console-option:hover { background: rgba(102,226,220,.055); }
.console-option > span:first-child {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}
.console-option div { display: grid; gap: 4px; }
.console-option strong { font-size: 13px; }
.console-option small { color: var(--muted); font-size: 11px; }
.console-option > span:last-child { color: var(--cyan-soft); font-size: 16px; }
.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(3,11,19,.28);
}
.console-foot p { margin: 0; color: var(--muted); font-size: 11px; }
.console-foot a { color: var(--cyan-soft); text-decoration: none; font-size: 11px; font-weight: 800; white-space: nowrap; }

.section { padding-top: 78px; padding-bottom: 78px; border-top: 1px solid var(--line); }
.section-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .48fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 32px;
}
.section-intro > div { display: grid; gap: 12px; }
.section-intro h2,
.proof-heading h2,
.method-heading h2,
.contact-band h2,
.page-section h2 {
  margin: 0;
  letter-spacing: -.04em;
  line-height: 1.06;
}
.section-intro h2 { font-size: clamp(38px, 4vw, 56px); }
.section-intro > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.problem-workbench {
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: 455px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8,20,33,.74);
  box-shadow: 0 25px 70px rgba(0,0,0,.20);
}
.problem-tabs {
  display: grid;
  align-content: stretch;
  border-right: 1px solid var(--line);
  background: rgba(3,11,19,.28);
}
.problem-tab {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-content: center;
  min-height: 108px;
  padding: 19px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.problem-tab:last-child { border-bottom: 0; }
.problem-tab::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: transparent;
}
.problem-tab > span { grid-row: 1 / 3; align-self: start; margin-top: 2px; color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.problem-tab strong { color: var(--muted); font-size: 14px; line-height: 1.35; }
.problem-tab small { margin-top: 6px; color: var(--muted-2); font-size: 11px; line-height: 1.4; }
.problem-tab:hover { background: rgba(102,226,220,.035); }
.problem-tab.is-active { background: linear-gradient(90deg, rgba(102,226,220,.09), rgba(102,226,220,.015)); }
.problem-tab.is-active::after { background: var(--cyan); }
.problem-tab.is-active strong { color: var(--text); }
.problem-panels { min-width: 0; }
.problem-panel { height: 100%; padding: 42px; animation: panelIn .28s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.problem-panel-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(250px,.92fr); gap: 34px; }
.problem-copy { display: grid; align-content: start; gap: 13px; }
.problem-copy h3 { margin: 0; font-size: clamp(31px, 3.4vw, 47px); line-height: 1.04; letter-spacing: -.045em; }
.problem-copy > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
.problem-symptoms {
  display: grid;
  gap: 10px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.problem-symptoms li { position: relative; padding-left: 20px; color: var(--text); font-size: 13px; line-height: 1.5; }
.problem-symptoms li::before { content: "+"; position: absolute; left: 0; color: var(--green); }
.panel-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--cyan-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}
.problem-outcome {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(16,36,56,.78), rgba(9,22,36,.68));
}
.problem-outcome h4 { margin: 0; font-size: 13px; }
.problem-outcome ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.problem-outcome li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.problem-outcome li:last-child { padding-bottom: 0; border-bottom: 0; }
.problem-outcome strong { display: block; font-size: 13px; }
.problem-outcome small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.service-card {
  grid-column: span 2;
  min-height: 278px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(16,36,56,.78), rgba(7,18,30,.76));
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(155deg, rgba(18,43,64,.92), rgba(8,22,35,.88)); }
.service-card .service-index { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.service-card h3 { margin: 22px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.service-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.62; }
.service-card .service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-card .service-tags span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; }
.service-card .service-link { margin-top: auto; padding-top: 20px; color: var(--cyan-soft); font-size: 12px; font-weight: 850; }

.proof { display: grid; grid-template-columns: minmax(0,.72fr) minmax(600px,1.28fr); gap: 60px; align-items: start; }
.proof-heading { display: grid; gap: 14px; position: sticky; top: 120px; }
.proof-heading h2 { font-size: clamp(38px, 4.2vw, 56px); }
.proof-heading p:last-child { margin: 0; max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.68; }
.case-list { display: grid; gap: 12px; }
.case-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(10,24,39,.72);
}
.case-type { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { margin: 0; font-size: 17px; }
.case-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.case-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.case-card li { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-2); font-size: 9px; }

.method { display: grid; grid-template-columns: minmax(0,.84fr) minmax(520px,1.16fr); gap: 70px; align-items: center; }
.method-heading { display: grid; gap: 14px; }
.method-heading h2 { max-width: 540px; font-size: clamp(38px, 4.2vw, 56px); }
.method-heading p:last-child { margin: 0; max-width: 500px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-steps li { display: grid; grid-template-columns: 44px 118px 1fr; gap: 12px; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); }
.method-steps span { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.method-steps strong { font-size: 13px; }
.method-steps small { color: var(--muted); font-size: 11px; }

.contact-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
  padding: 31px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(11,30,47,.96), rgba(14,58,71,.73));
  box-shadow: 0 22px 70px rgba(0,0,0,.24);
}
.contact-band > div { display: grid; gap: 10px; }
.contact-band h2 { max-width: 760px; font-size: clamp(28px, 3.2vw, 44px); }
.contact-band p:last-child { margin: 0; color: var(--muted); font-size: 12px; }

.site-footer {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}
.footer-brand { color: var(--text); font-weight: 850; letter-spacing: .08em; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Inner pages */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr);
  gap: 64px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 70px;
}
.page-hero h1 { font-size: clamp(48px, 5vw, 72px); }
.page-hero-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16,36,56,.92), rgba(8,21,35,.96));
  box-shadow: var(--shadow);
}
.page-hero-card h2 { margin: 0; font-size: 16px; }
.check-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 0 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.check-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.check-list li::before { content: "+"; position: absolute; left: 0; color: var(--green); }
.page-section { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.page-section-head { display: grid; grid-template-columns: 1fr minmax(280px,.46fr); align-items: end; gap: 60px; margin-bottom: 30px; }
.page-section-head > div { display: grid; gap: 12px; }
.page-section h2 { font-size: clamp(36px, 3.8vw, 52px); }
.page-section-head > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card { min-height: 218px; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,24,39,.72); }
.feature-card span { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .1em; }
.feature-card h3 { margin: 24px 0 0; font-size: 17px; }
.feature-card p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.62; }
.outcome-strip { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; }
.outcome-item { min-height: 142px; padding: 20px; border-right: 1px solid var(--line); background: rgba(7,18,30,.66); }
.outcome-item:last-child { border-right: 0; }
.outcome-item strong { display: block; font-size: 13px; }
.outcome-item small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.related-services { display: flex; flex-wrap: wrap; gap: 10px; }
.related-services a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 11px; }
.related-services a:hover { border-color: var(--line-strong); color: var(--text); }

/* Contact */
.contact-page { padding-top: 72px; padding-bottom: 72px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); gap: 64px; align-items: start; }
.contact-copy { display: grid; gap: 18px; position: sticky; top: 116px; }
.contact-copy h1 { margin: 0; font-size: clamp(48px, 5vw, 70px); line-height: 1.02; letter-spacing: -.05em; }
.contact-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-routes { display: grid; gap: 10px; margin-top: 8px; }
.contact-route { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10,24,39,.66); }
.contact-route strong { font-size: 12px; }
.contact-route p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.contact-direct { margin-top: 4px; color: var(--cyan-soft); font-size: 12px; }
.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16,36,56,.90), rgba(8,21,35,.94));
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--muted); font-size: 11px; font-weight: 750; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(3,11,19,.62);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(102,226,220,.08); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field select option { background: var(--panel); }
.form-note { margin: -4px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.55; }
.form-status { min-height: 18px; margin: 0; color: var(--green); font-size: 10px; }

.not-found { min-height: calc(100vh - 180px); display: grid; place-items: center; text-align: center; }
.not-found > div { max-width: 650px; }
.not-found h1 { margin: 0; font-size: clamp(66px, 12vw, 140px); color: var(--cyan); line-height: .9; }
.not-found h2 { margin: 22px 0 0; font-size: 30px; }
.not-found p { color: var(--muted); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr 420px; gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card:nth-last-child(-n+2) { grid-column: span 1; }
  .proof { grid-template-columns: 1fr 1.45fr; gap: 38px; }
  .contact-layout { gap: 38px; }
}

@media (max-width: 940px) {
  html { scroll-padding-top: 88px; }
  .nav-wrap { padding: 12px 14px 0; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .mobile-menu-button { display: block; justify-self: end; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 82px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8,20,33,.98);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .nav-link { padding: 12px; }
  .nav-actions .nav-cta { display: none; }
  main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .hero, .page-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 60px; }
  .problem-console { max-width: 720px; }
  .section-intro, .page-section-head { grid-template-columns: 1fr; gap: 18px; }
  .problem-workbench { grid-template-columns: 1fr; }
  .problem-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); overflow-x: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-tab { min-height: 90px; border-right: 1px solid var(--line); border-bottom: 0; }
  .problem-tab::after { top: auto; right: 16px; bottom: 0; left: 16px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: 1fr; }
  .proof-heading { position: static; }
  .method { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-card { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .outcome-strip { grid-template-columns: repeat(2,1fr); }
  .outcome-item:nth-child(2) { border-right: 0; }
  .outcome-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 640px) {
  .nav-shell { min-height: 60px; }
  .brand-copy { font-size: 12px; }
  .hero { padding-top: 48px; padding-bottom: 54px; }
  .hero h1, .page-hero h1, .contact-copy h1 { font-size: clamp(41px, 12vw, 58px); }
  .hero-lead, .page-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-line { display: grid; grid-template-columns: 1fr 1fr; }
  .console-option { grid-template-columns: 28px 1fr auto; min-height: 72px; padding: 12px 16px; }
  .console-foot { align-items: flex-start; flex-direction: column; }
  .section, .page-section { padding-top: 58px; padding-bottom: 58px; }
  .section-intro h2, .proof-heading h2, .method-heading h2, .page-section h2 { font-size: 38px; }
  .problem-tabs { grid-template-columns: 1fr; overflow-x: visible; }
  .problem-panel { padding: 26px 20px; }
  .problem-panel-grid { grid-template-columns: 1fr; }
  .problem-copy h3 { font-size: 34px; }
  .service-grid, .feature-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-last-child(-n+2) { grid-column: span 1; }
  .service-card { min-height: 225px; }
  .case-card { grid-template-columns: 1fr; gap: 10px; }
  .method-steps li { grid-template-columns: 34px 92px 1fr; }
  .contact-band { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .contact-band .button { width: 100%; }
  .outcome-strip { grid-template-columns: 1fr; }
  .outcome-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome-item:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .site-footer { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 28px; gap: 10px; }
  .footer-links { flex-wrap: wrap; }
}

/* DevOps CY official logo integration, build 4.2-logo */

.brand,
.footer-brand {
  gap: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: 155px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  height: 29px;
  max-width: 150px;
  object-fit: contain;
  opacity: .96;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 27px;
    max-width: 140px;
  }

  .footer-logo {
    height: 27px;
    max-width: 140px;
  }
}

/* DevOps CY brand correction, build 4.3 */

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
  max-width: none;
  max-height: 42px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: 168px;
  height: auto;
  max-width: none;
  max-height: 40px;
  object-fit: contain;
}

.brand-mark,
.brand-copy,
.brand > b,
.brand > strong,
.footer-brand > span {
  display: none !important;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 148px;
    max-height: 36px;
  }

  .footer-logo {
    width: 150px;
    max-height: 36px;
  }
}
