:root {
  --ink: #151917;
  --muted: #56615b;
  --line: #d8ddd8;
  --paper: #f7f6f1;
  --white: #ffffff;
  --field: #eef1ec;
  --green: #1e4d38;
  --green-2: #2e6b4d;
  --gold: #c8943f;
  --rust: #a24f32;
  --shadow: 0 22px 70px rgba(15, 25, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 246, 241, 0.96);
  box-shadow: 0 1px 0 rgba(21, 25, 23, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  font-weight: 800;
  font-size: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  opacity: 0.78;
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.header-call {
  position: relative;
}

.site-nav a::after,
.header-call::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.header-call:hover::after {
  transform: scaleX(1);
}

.header-call {
  font-size: 14px;
  font-weight: 800;
  justify-self: end;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 110px clamp(18px, 4vw, 54px) 72px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.78), rgba(12, 17, 15, 0.4) 47%, rgba(12, 17, 15, 0.1)),
    linear-gradient(0deg, rgba(12, 17, 15, 0.38), rgba(12, 17, 15, 0.04) 42%);
}

.hero-content {
  position: relative;
  align-self: end;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-2);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 34px;
  display: grid;
  gap: 4px;
  min-width: 245px;
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: rgba(13, 18, 16, 0.72);
  backdrop-filter: blur(10px);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel a {
  font-weight: 800;
}

.band,
.section,
.work-band,
.quote-section,
.conversion-strip {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 54px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro p:last-child,
.work-copy p,
.area-copy p,
.quote-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-icon {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

.work-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  color: var(--white);
  background: var(--green);
}

.work-copy .section-kicker {
  color: #e0b969;
}

.work-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  display: grid;
  gap: 1px;
  align-self: center;
  background: rgba(255, 255, 255, 0.2);
}

.steps div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  background: var(--green);
}

.steps strong {
  color: #e0b969;
  font-size: 18px;
}

.steps span {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  font-weight: 800;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--white);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-size: 22px;
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cdd4cd;
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(200, 148, 63, 0.28);
  border-color: var(--gold);
}

.quote-form .button {
  width: fit-content;
  cursor: pointer;
}

.ad-hero .hero-content {
  max-width: 820px;
}

.landing-page .hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.82), rgba(12, 17, 15, 0.46) 48%, rgba(12, 17, 15, 0.16)),
    linear-gradient(0deg, rgba(12, 17, 15, 0.42), rgba(12, 17, 15, 0.08) 42%);
}

.tech-hero .hero-content {
  max-width: 880px;
}

.tech-page .hero-panel {
  min-width: 270px;
}

.tech-page .hero-panel strong,
.tech-page .hero-panel small {
  display: block;
}

.tech-page .hero-panel strong {
  font-size: 20px;
  line-height: 1.15;
}

.tech-page .hero-panel small {
  color: rgba(255, 255, 255, 0.72);
}

.tech-grid .service-card {
  min-height: 315px;
}

.tech-band {
  background: #173f35;
}

.portal-preview-section {
  background: #101411;
  color: var(--white);
}

.portal-preview-section .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.portal-mockup {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #f3f4ef;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-bottom: 1px solid #dfe3dc;
  background: #e9ece6;
  color: #39413d;
}

.mockup-topbar strong {
  margin-left: 8px;
  font-size: 13px;
}

.mockup-topbar small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 800;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d0c8;
}

.mockup-dot:first-child {
  background: var(--rust);
}

.mockup-dot:nth-child(2) {
  background: var(--gold);
}

.mockup-dot:nth-child(3) {
  background: var(--green-2);
}

.mockup-hero,
.mockup-body,
.mockup-ticket-row {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.mockup-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border-bottom: 1px solid #dfe3dc;
  background:
    linear-gradient(120deg, rgba(30, 77, 56, 0.1), rgba(200, 148, 63, 0.08)),
    #fbfbf7;
}

.mockup-hero h3 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 46px);
}

.mockup-hero span,
.mockup-status,
.mockup-ticket-row span {
  color: var(--muted);
  font-weight: 800;
}

.mockup-status {
  padding: 9px 12px;
  border: 1px solid #d7ded6;
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  white-space: nowrap;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dfe3dc;
}

.mockup-metrics div {
  display: grid;
  gap: 7px;
  min-height: 126px;
  align-content: center;
  padding: 20px;
  background: var(--white);
}

.mockup-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-metrics strong {
  color: var(--green);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.mockup-body {
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.8fr);
  background: #f7f6f1;
}

.mockup-map {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #d7ded6;
  border-radius: 10px;
  background:
    linear-gradient(25deg, transparent 47%, rgba(200, 148, 63, 0.5) 48%, rgba(200, 148, 63, 0.5) 51%, transparent 52%),
    linear-gradient(115deg, transparent 42%, rgba(30, 77, 56, 0.28) 43%, rgba(30, 77, 56, 0.28) 45%, transparent 46%),
    linear-gradient(0deg, rgba(30, 77, 56, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 77, 56, 0.08) 1px, transparent 1px),
    #edf1ea;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.map-route {
  position: absolute;
  top: 34%;
  left: 10%;
  width: 78%;
  height: 7px;
  border-radius: 999px;
  background: rgba(30, 77, 56, 0.48);
  transform: rotate(-7deg);
}

.truck-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(15, 25, 19, 0.24);
  font-size: 13px;
  font-weight: 900;
}

.pin-a {
  top: 29%;
  left: 24%;
}

.pin-b {
  top: 48%;
  left: 54%;
  background: var(--rust);
}

.pin-c {
  top: 24%;
  right: 16%;
  background: #225d7a;
}

.map-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #d7ded6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.map-caption span,
.mockup-trucks span {
  color: var(--muted);
}

.mockup-trucks {
  display: grid;
  gap: 12px;
}

.mockup-trucks article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #d7ded6;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.mockup-ticket-row {
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid #dfe3dc;
  background: #fbfbf7;
}

.mockup-ticket-row strong {
  padding: 10px 12px;
  border: 1px solid #d7ded6;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-size: 13px;
  text-align: center;
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.conversion-strip div {
  display: grid;
  gap: 3px;
  min-height: 112px;
  align-content: center;
  padding: 22px;
  background: var(--white);
}

.conversion-strip strong {
  font-size: 18px;
}

.conversion-strip span {
  color: var(--muted);
}

.landing-grid .service-card {
  min-height: 285px;
}

.landing-quote {
  background: var(--paper);
}

.content-page {
  background: var(--paper);
}

.content-page .site-header {
  color: var(--ink);
  background: rgba(247, 246, 241, 0.96);
  box-shadow: 0 1px 0 rgba(21, 25, 23, 0.1);
  backdrop-filter: blur(14px);
}

.content-hero {
  display: grid;
  min-height: 62vh;
  align-items: end;
  padding: 132px clamp(18px, 4vw, 54px) clamp(58px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.84), rgba(12, 17, 15, 0.58)),
    url("assets/doyle-transit-hero-with-red-truck.png") center / cover;
}

.content-hero > div {
  max-width: 900px;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  display: grid;
  align-content: start;
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 31, 23, 0.06);
}

.content-card h3 a:hover,
.text-link:hover {
  color: var(--green-2);
}

.content-card p:not(.section-kicker) {
  color: var(--muted);
}

.text-link {
  align-self: end;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.content-feature {
  background: #eef1ec;
}

.proof-section {
  background: var(--white);
}

.proof-grid,
.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-grid article,
.project-preview-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 31, 23, 0.06);
}

.proof-grid article {
  border-top: 3px solid var(--gold);
}

.proof-grid strong,
.project-preview-card h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.proof-grid span,
.project-preview-card dd {
  color: var(--muted);
}

.project-preview-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.project-preview-card div {
  display: grid;
  gap: 3px;
}

.project-preview-card dt {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-preview-card dd {
  margin: 0;
}

.good-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.good-fit-list strong,
.good-fit-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.good-fit-list strong {
  color: var(--green);
  background: #edf4ee;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.article-layout {
  background: var(--paper);
}

.article-header {
  padding: 132px clamp(18px, 4vw, 54px) 48px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.84), rgba(12, 17, 15, 0.52)),
    url("assets/doyle-transit-hero-with-red-truck.png") center / cover;
}

.article-header h1,
.article-header .hero-copy {
  max-width: 920px;
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 54px);
}

.article-body p {
  color: var(--muted);
  font-size: 19px;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(27px, 3vw, 38px);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.project-stats div {
  display: grid;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--white);
}

.project-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-stats strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.media-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(18, 31, 23, 0.07);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.media-card figcaption strong {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card figcaption span {
  color: var(--muted);
}

.authority-band {
  background: #101411;
  color: var(--white);
}

.authority-band .section-heading p,
.authority-band .section-heading h2 {
  color: inherit;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.authority-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.authority-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.authority-grid strong {
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.knowledge-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-links a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 31, 23, 0.05);
}

.knowledge-links a:hover {
  border-color: rgba(44, 99, 67, 0.3);
  box-shadow: 0 18px 44px rgba(18, 31, 23, 0.09);
}

.knowledge-links strong {
  color: var(--ink);
  line-height: 1.2;
}

.knowledge-links span {
  color: var(--muted);
}

.template-grid,
.diagnostics-list {
  display: grid;
  gap: 14px;
}

.diagnostics-list {
  padding: 0;
  list-style: none;
}

.diagnostics-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tools-page .content-hero {
  min-height: 68vh;
}

.tools-page .conversion-strip {
  border-bottom: 1px solid var(--line);
}

.tool-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(320px, 1fr) minmax(280px, 0.75fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.tool-copy,
.tool-output {
  position: sticky;
  top: 98px;
}

.tool-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(18, 31, 23, 0.08);
}

.tool-form label {
  min-width: 0;
}

.tool-form .button {
  grid-column: 1 / -1;
  width: 100%;
  cursor: pointer;
}

.tool-output {
  min-height: 220px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid #e4dccd;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 16px 38px rgba(18, 31, 23, 0.07);
}

.tool-output .small {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tool-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-result-grid div {
  min-height: 84px;
  padding: 13px;
  border: 1px solid #e7e0d3;
  border-radius: 6px;
  background: var(--white);
}

.tool-result-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-result-grid strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
}

.estimate-summary-block {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(30, 77, 56, 0.08);
}

.estimate-summary-block p:not(.section-kicker) {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
}

.estimate-summary-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.estimate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.tool-output .button.secondary,
.estimate-actions .button.secondary {
  color: var(--green);
  border-color: #c7d0c7;
  background: var(--white);
}

.estimate-lead-section {
  border-top: 1px solid var(--line);
}

.estimate-lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide-field,
.estimate-lead-form .button {
  grid-column: 1 / -1;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  background: var(--white);
}

.legal-page .site-header {
  position: sticky;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 110px) clamp(18px, 4vw, 54px);
}

.legal-content h1 {
  color: var(--ink);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content p {
  color: var(--muted);
  font-size: 18px;
}

.legal-content a {
  color: var(--green);
  font-weight: 800;
}

.legal-updated {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.74);
  background: #101411;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 930px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    gap: 7px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 4px;
    place-content: center;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-panel {
    display: none;
  }

  .intro,
  .work-band,
  .split,
  .quote-section,
  .conversion-strip,
  .tool-section,
  .content-card-grid,
  .proof-grid,
  .project-preview-grid,
  .mockup-hero,
  .mockup-metrics,
  .mockup-body,
  .mockup-ticket-row,
  .project-stats,
  .authority-grid,
  .knowledge-links {
    grid-template-columns: 1fr;
  }

  .tool-copy,
  .tool-output {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 92px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 17, 15, 0.84), rgba(12, 17, 15, 0.42)),
      linear-gradient(0deg, rgba(12, 17, 15, 0.46), rgba(12, 17, 15, 0.14));
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .check-list,
  .tool-form,
  .tool-result-grid,
  .estimate-actions,
  .estimate-lead-form,
  .content-card-grid,
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .service-icon {
    margin-bottom: 38px;
  }

  .steps div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }
}
