/* =========================================================
   Verilium.in — neo-brutalist stylesheet
   Palette taken from print proofing: non-photo blue,
   highlighter yellow, correction red, approval green.
   ========================================================= */

:root {
  --ink: #000000;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --blue: #A7DDEC;      /* non-photo blue */
  --yellow: #FFD93B;    /* highlighter */
  --red: #FF5A3C;       /* correction pen */
  --green: #3CCB7F;     /* approved stamp */
  --grey: #D9DEE6;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-code: "JetBrains Mono", Consolas, monospace;

  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--yellow);
  border: var(--border);
  padding: 8px 14px;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--ink);
  border: var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }

.btn-yellow { background: var(--yellow); }
.btn-white { background: var(--white); }
.btn-black { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 var(--white), 6px 6px 0 3px var(--ink); }
.btn-black:hover { box-shadow: 8px 8px 0 var(--white), 8px 8px 0 3px var(--ink); }
.btn-black:active { box-shadow: 2px 2px 0 var(--white), 2px 2px 0 3px var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 0.95rem; box-shadow: 4px 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Tags & chips ---------- */
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
}
.tag-red { background: var(--red); }
.tag-green { background: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips > span {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  line-height: 1.4;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--green);
  border: var(--border);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav > a:not(.btn) {
  padding: 8px 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
}
.site-nav > a:not(.btn):hover {
  border-color: var(--ink);
  background: var(--blue);
}
.site-nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none;
  font: 700 1rem var(--font-display);
  padding: 8px 14px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: var(--border);
  padding: 72px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.lead {
  margin-top: 24px;
  font-size: 1.2rem;
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.proof-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof-list li::before {
  content: "";
  width: 18px; height: 18px;
  flex: none;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E") center/100% no-repeat;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

/* ---------- Converter (hero signature) ---------- */
.converter {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  justify-items: center;
}

.conv-in,
.conv-out {
  width: 100%;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-lg);
}
.conv-in { transform: rotate(-1.5deg); }
.conv-out { transform: rotate(0.8deg); }

.conv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: var(--border);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.conv-label {
  font-weight: 700;
  font-family: var(--font-display);
}
.conv-file {
  font-family: var(--font-code);
  font-size: 0.82rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scan {
  padding: 16px 18px 18px;
  background: repeating-linear-gradient(0deg, #eef0f3 0 2px, #f6f7f9 2px 4px);
}
.scan-page {
  position: relative;
  background: #F1EEE4;
  border: 2px solid var(--ink);
  padding: 16px 18px;
  transform: rotate(1.2deg);
  display: grid;
  gap: 8px;
  filter: contrast(1.05);
}
.s-line {
  display: block;
  height: 7px;
  background: #8b8b8b;
  border-radius: 1px;
  opacity: .7;
}
.s-line:nth-of-type(2) { width: 94%; }
.s-line:nth-of-type(3) { width: 88%; opacity: .45; }
.s-title { height: 13px; width: 55%; background: #3d3d3d; }
.s-short { width: 60%; }
.s-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border: 1.5px solid #6b6b6b;
  margin: 4px 0;
  transform: skewX(-2deg);
}
.s-table span {
  height: 16px;
  border: 1px solid #9a9a9a;
  background: linear-gradient(90deg, #a5a5a5 0 55%, transparent 55%) 6px 6px / 70% 4px no-repeat;
}
.s-stain {
  position: absolute;
  right: 18px; bottom: 10px;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 5px solid rgba(140, 95, 40, .22);
}
.s-mark {
  position: absolute;
  top: 6px; right: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font: 800 1.3rem var(--font-display);
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 50%;
  transform: rotate(12deg);
}

.conv-arrow {
  position: relative;
  z-index: 2;
  margin: -14px 0;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}

.conv-tabs {
  display: flex;
  border-bottom: var(--border);
}
.conv-tabs button {
  flex: 1;
  padding: 12px 8px;
  font: 700 0.95rem var(--font-display);
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-right: var(--border);
  cursor: pointer;
}
.conv-tabs button:last-child { border-right: 0; }
.conv-tabs button:hover { background: var(--blue); }
.conv-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--yellow);
}

.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 2px dashed var(--ink);
  font-family: var(--font-code);
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.code-panel pre {
  margin: 0;
  padding: 14px 16px 18px;
  min-height: 210px;
  overflow-x: auto;
  font-family: var(--font-code);
  font-size: 0.8rem;
  line-height: 1.65;
  background: #FFFDF2;
}
.code-panel code { white-space: pre; }
.code-panel code.is-swapping { animation: typeIn .35s ease-out; }
@keyframes typeIn {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ---------- Ribbon ---------- */
.ribbon {
  background: var(--ink);
  color: var(--white);
  border-bottom: var(--border);
  overflow: hidden;
  transform: rotate(-1deg);
  margin: -14px 0 0;
  position: relative;
  z-index: 3;
}
.ribbon-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  padding: 14px 20px;
  font: 700 1.05rem var(--font-display);
}
.ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ribbon-track span + span::before {
  content: "";
  width: 10px; height: 10px;
  margin-right: 6px;
  background: var(--yellow);
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.section-grid {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(0,0,0,.18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.section-dark { background: var(--ink); color: var(--white); }
.section-yellow { background: var(--yellow); border-top: var(--border); }

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.15rem;
  max-width: 60ch;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}
.problem:nth-child(1) { border-top: 14px solid var(--red); }
.problem:nth-child(2) { border-top: 14px solid var(--yellow); }
.problem:nth-child(3) { border-top: 14px solid var(--blue); }
.problem h3 { font-size: 1.45rem; margin-bottom: 12px; }

/* Services */
.service-panels {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}
.panel {
  border: var(--border);
  box-shadow: var(--shadow-lg);
}
.panel-blue { background: var(--blue); }
.panel-yellow { background: var(--yellow); }
.panel-title {
  font-size: 1.5rem;
  padding: 20px 24px;
  border-bottom: var(--border);
  background: var(--ink);
  color: var(--white);
}
.service-list li {
  padding: 22px 24px;
  border-bottom: 2px solid var(--ink);
}
.service-list li:last-child { border-bottom: 0; }
.service-list h4 { font-size: 1.25rem; margin-bottom: 6px; }
.service-list p { margin-bottom: 12px; max-width: 58ch; }

/* Formats table */
.route-table {
  border: var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.route-row {
  display: grid;
  grid-template-columns: 1fr 64px 1.25fr;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}
.route-row:last-child { border-bottom: 0; }
.route-row > span[role="cell"],
.route-row > span[role="columnheader"] { padding: 18px 22px; }
.route-row > span[role="cell"]:first-child { font-weight: 600; }
.route-head {
  background: var(--ink);
  color: var(--white);
  font: 800 1.2rem var(--font-display);
}
.route-row:not(.route-head):nth-child(even) { background: #EEF6FA; }
.route-arrow {
  align-self: stretch;
  padding: 0 !important;
  background: var(--yellow);
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  position: relative;
}
.route-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M3 14h20M15 6l8 8-8 8' fill='none' stroke='black' stroke-width='3.5'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.route-gap { align-self: stretch; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: none;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 30px; right: calc((100% - 80px) / 5 - 30px);
  top: 30px;
  height: 6px;
  background: var(--ink);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
}
.step-num {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  font: 800 1.8rem var(--font-display);
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 20px;
}
.step:nth-child(4) .step-num { background: var(--green); }
.step:nth-child(5) .step-num { background: var(--blue); }
.step h3 {
  display: inline-block;
  font-size: 1.3rem;
  margin-bottom: 8px;
  background: var(--white);
  padding: 2px 8px 4px;
  border: 2px solid var(--ink);
}
.step p {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 12px 14px;
  font-size: 0.98rem;
}

/* Comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border);
  box-shadow: var(--shadow-lg);
}
.compare-col { padding: 32px; }
.compare-bad { background: var(--white); border-right: var(--border); }
.compare-good { background: var(--green); }
.compare h3 { font-size: 1.7rem; margin-bottom: 20px; }
.compare li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 2px solid var(--ink);
  font-weight: 500;
}
.compare li::before {
  content: "";
  flex: none;
  width: 24px; height: 24px;
  margin-top: 1px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.compare-bad li::before {
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat;
}
.compare-good li::before {
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border);
  box-shadow: var(--shadow-lg);
}
.industry {
  padding: 28px;
  border-right: var(--border);
  border-bottom: var(--border);
  background: var(--paper);
}
.industry:nth-child(3n) { border-right: 0; }
.industry:nth-child(n+4) { border-bottom: 0; }
.industry:nth-child(2), .industry:nth-child(4) { background: var(--blue); }
.industry:nth-child(6) { background: var(--yellow); }
.industry h3 { font-size: 1.35rem; margin-bottom: 10px; }

/* Security */
.security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.section-dark .section-head { margin-bottom: 0; }
.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.security-list li {
  padding: 18px 20px;
  border: 3px solid var(--white);
  box-shadow: 5px 5px 0 var(--green);
  color: #E9EDF2;
}
.security-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.faq {
  display: grid;
  gap: 14px;
}
.faq details {
  background: var(--white);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
}
.faq details[open] { box-shadow: 6px 6px 0 var(--ink); background: #FFFBE6; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font: 700 1.12rem var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  font-size: 1.4rem;
  line-height: 1;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 6px;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); }
.faq details p {
  padding: 0 22px 20px;
  max-width: 68ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
}
.contact-copy > p { margin-top: 18px; font-size: 1.15rem; max-width: 46ch; }
.contact-direct {
  margin-top: 32px;
  border: var(--border);
  background: var(--white);
}
.contact-direct li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
}
.contact-direct li:last-child { border-bottom: 0; }
.contact-direct li > span { font-weight: 700; font-family: var(--font-display); }
.contact-direct a { font-weight: 600; }

.contact-form {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: #444; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: 6px;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: #FFFBE6;
  box-shadow: 4px 4px 0 var(--ink);
}
.field input[aria-invalid="true"] { background-color: #FFE3DD; }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.form-error {
  padding: 10px 14px;
  background: var(--red);
  border: 2px solid var(--ink);
  font-weight: 600;
}
.form-note {
  padding: 10px 14px;
  background: var(--green);
  border: 2px solid var(--ink);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 24px;
  border-top: var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.brand-light .brand-mark { box-shadow: 3px 3px 0 var(--white); border-color: var(--white); color: var(--ink); }
.footer-about { margin-top: 14px; color: #C9CFD8; max-width: 34ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.footer-links a,
.footer-contact a { text-decoration: none; font-weight: 500; }
.footer-links a:hover,
.footer-contact a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.footer-contact { display: grid; gap: 8px; }
.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 2px solid #333;
  font-size: 0.9rem;
  color: #A9B0BA;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero h1 { max-width: 18ch; }
  .service-panels { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { left: 27px; right: auto; top: 30px; bottom: 30px; width: 6px; height: auto; }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .step h3 { justify-self: start; }
  .security { grid-template-columns: 1fr; gap: 36px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: var(--border);
    padding: 8px 24px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) {
    padding: 14px 4px;
    border: 0;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
  }
  .site-nav > a:not(.btn):hover { background: transparent; }
  .site-nav .btn { margin: 18px 0 0; }

  .problem-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry:nth-child(n) { border-right: var(--border); border-bottom: var(--border); }
  .industry:nth-child(2n) { border-right: 0; }
  .industry:nth-child(n+5) { border-bottom: 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-bad { border-right: 0; border-bottom: var(--border); }
  .security-list { grid-template-columns: 1fr; }

  .route-row { grid-template-columns: 1fr; }
  .route-head { display: none; }
  .route-arrow {
    height: 34px;
    border-left: 0; border-right: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }
  .route-arrow::after { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .brand-word { font-size: 1.35rem; }
  .brand-mark { width: 36px; height: 36px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry:nth-child(n) { border-right: 0; border-bottom: var(--border); }
  .industry:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form .btn { justify-self: stretch; }
  .compare-col { padding: 24px; }
  .conv-tabs button { font-size: 0.85rem; padding: 10px 4px; }
  .code-panel pre { font-size: 0.72rem; }
  .contact-direct li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .btn:active { transform: none; }
}
