@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #03060c;
  --ink-soft: #070c14;
  --panel: #0a111d;
  --panel-bright: #0e1828;
  --blue: #2f7df7;
  --blue-bright: #69b1ff;
  --blue-deep: #1557bd;
  --white: #f5f8ff;
  --text: #e7edf8;
  --muted: #97a5ba;
  --quiet: #64728a;
  --rule: rgba(139, 164, 204, 0.2);
  --rule-strong: rgba(105, 177, 255, 0.38);
  --danger: #ff7b83;
  --success: #75d6b0;
  --nav-height: 76px;
}

html {
  scroll-padding-top: calc(var(--nav-height) + 68px);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(98, 135, 191, 0.035) 50%, transparent calc(50% + 1px)),
    var(--ink);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(102, 143, 205, 0.035) 1px, transparent 1px);
  background-size: min(9vw, 132px) 100%;
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.container {
  width: min(1260px, calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.section {
  position: relative;
  padding: clamp(92px, 10vw, 148px) 0;
}

.section-alt {
  border-block: 1px solid var(--rule);
  background: rgba(7, 12, 20, 0.72);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.section-header .section-title:only-child {
  grid-column: 1 / -1;
}

.section-title,
.page-hero h1,
.hero h1,
.cta-banner h2 {
  margin: 0;
  color: var(--white);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.section-title {
  max-width: 830px;
  font-size: clamp(2.75rem, 5.3vw, 5.4rem);
  line-height: 0.98;
}

.section-subtitle {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.btn-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  border-color: var(--blue-bright);
  background: var(--blue-bright);
  color: #031022;
  box-shadow: none;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--blue-bright);
  background: rgba(47, 125, 247, 0.09);
  color: var(--blue-bright);
  transform: translateY(-2px);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: rgba(3, 6, 12, 0.88);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transform: none;
}

nav::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: clamp(90px, 13vw, 210px);
  height: 1px;
  background: var(--blue);
  content: "";
}

nav.scrolled {
  border-color: var(--rule-strong);
  background: rgba(3, 6, 12, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  width: min(1260px, calc(100% - 64px));
  height: 100%;
  padding: 0;
}

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--white);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.nav-logo span {
  color: var(--blue-bright);
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-links a {
  min-height: var(--nav-height);
  padding: 0 17px;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: var(--white);
}

.nav-links a.active {
  box-shadow: inset 0 -2px 0 var(--blue);
}

.nav-cta {
  min-height: 42px;
  margin: 0;
  padding-inline: 18px;
  border-radius: 2px;
}

.nav-hamburger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: transparent;
}

.nav-hamburger span {
  border-radius: 0;
  background: var(--white);
}

.nav-mobile {
  top: var(--nav-height);
  right: 0;
  left: 0;
  gap: 0;
  padding: 10px 24px 20px;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  background: rgba(5, 9, 16, 0.99);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.44);
}

.nav-mobile a {
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: transparent;
  color: var(--blue-bright);
}

.nav-mobile a.btn-primary {
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

/* Home hero */
.hero {
  min-height: auto;
  display: block;
  padding: calc(var(--nav-height) + clamp(76px, 9vw, 132px)) 0 clamp(88px, 9vw, 138px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 75% 34%, rgba(47, 125, 247, 0.14), transparent 25rem),
    linear-gradient(135deg, rgba(13, 27, 50, 0.38), transparent 48%);
}

.hero::before {
  display: none;
}

.hero-bg,
.hero-grid,
.signal-map {
  display: none;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, 0.86fr);
  gap: clamp(62px, 9vw, 132px);
  align-items: end;
}

.hero-content {
  max-width: 790px;
  padding: 0;
}

.hero .hero-intro {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--blue-bright);
  font-size: clamp(1.03rem, 1.5vw, 1.26rem);
  font-weight: 600;
  line-height: 1.45;
}

.hero h1 {
  max-width: 830px;
  margin: 0 0 30px;
  font-size: clamp(4rem, 7vw, 7.2rem);
  line-height: 0.87;
}

.hero h1 .highlight {
  color: var(--blue-bright);
}

.hero h1 .highlight::after {
  display: none;
}

.hero-content > p:not(.hero-intro):not(.hero-contact-line) {
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  margin: 0;
}

.hero .hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 28px 0 0;
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.7;
}

.hero .hero-contact-line a {
  color: var(--text);
}

.hero .hero-contact-line a:hover {
  color: var(--blue-bright);
}

.problem-index {
  align-self: end;
  border-top: 1px solid var(--rule-strong);
}

.problem-index__heading {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.problem-index a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  transition: color 160ms ease, padding-left 160ms ease, border-color 160ms ease;
}

.problem-index a:hover {
  padding-left: 8px;
  border-color: var(--blue);
  color: var(--blue-bright);
}

.problem-index__number,
.process-step__number,
.service-index,
.tool-number {
  color: var(--blue-bright);
  font-family: "Space Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.problem-index strong {
  display: block;
  color: inherit;
  font-size: 0.98rem;
  font-weight: 600;
}

.problem-index small {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.78rem;
}

.problem-index svg {
  stroke: currentColor;
}

/* Open service index */
.services-grid {
  display: block;
}

.service-card {
  display: grid;
  grid-template-columns: 68px minmax(220px, 0.72fr) minmax(320px, 1fr) 108px;
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  min-height: 150px;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card:last-child {
  grid-template-columns: 68px minmax(220px, 0.72fr) minmax(320px, 1fr) 108px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  border-color: var(--blue);
  background: linear-gradient(90deg, rgba(47, 125, 247, 0.07), transparent 72%);
  box-shadow: none;
  transform: none;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: rgba(47, 125, 247, 0.06);
  color: var(--blue-bright);
}

.service-card h3,
.service-card:last-child h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.service-card p,
.service-card:last-child p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-card .service-icon,
.service-card h3,
.service-card p,
.service-card .card-link,
.service-card:last-child .service-icon,
.service-card:last-child h3,
.service-card:last-child p,
.service-card:last-child .card-link {
  grid-column: auto;
  grid-row: auto;
}

.card-link,
.service-card:last-child .card-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--blue-bright);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.service-card:hover .card-link {
  gap: 10px;
}

/* Reasons and process */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 72px);
}

.why-card {
  display: block;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
}

.why-card:hover {
  border-color: var(--blue);
  background: transparent;
}

.why-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 34px;
  border-radius: 0;
  background: transparent;
  color: var(--blue-bright);
}

.why-card h3,
.why-card h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.why-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.process-section {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  background:
    linear-gradient(135deg, rgba(47, 125, 247, 0.09), transparent 45%),
    var(--ink-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}

.process-step {
  min-height: 270px;
  padding: 30px clamp(24px, 4vw, 54px) 34px 0;
}

.process-step + .process-step {
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid var(--rule);
}

.process-step__number {
  display: block;
  margin-bottom: 72px;
}

.process-step h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.process-step p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  padding: clamp(48px, 7vw, 86px);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background:
    linear-gradient(105deg, rgba(47, 125, 247, 0.24), transparent 48%),
    var(--panel);
  text-align: left;
}

.cta-banner::before,
.cta-banner::after {
  display: none;
}

.cta-banner h2 {
  max-width: 770px;
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 5.5vw, 5.6rem);
  line-height: 0.94;
}

.cta-banner p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-actions {
  justify-content: flex-start;
  align-self: end;
}

/* Inner-page hero */
.page-hero {
  min-height: auto;
  padding: calc(var(--nav-height) + clamp(72px, 8vw, 122px)) 0 clamp(76px, 8vw, 118px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 83% 18%, rgba(47, 125, 247, 0.13), transparent 24rem),
    var(--ink-soft);
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1.66fr);
  column-gap: clamp(42px, 8vw, 116px);
  padding: 0;
}

.page-hero .breadcrumb {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.page-hero .section-title,
.page-hero .section-subtitle {
  grid-column: 2;
}

.page-hero .section-title {
  max-width: 920px;
  margin: 0 0 26px;
  font-size: clamp(3.7rem, 7vw, 7rem);
  line-height: 0.9;
}

.page-hero .section-subtitle {
  max-width: 700px;
}

.breadcrumb {
  align-items: flex-start;
  margin: 9px 0 0;
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--blue-bright);
}

/* Services page */
.services-subnav {
  top: var(--nav-height);
  padding: 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(3, 6, 12, 0.94);
}

.services-subnav-inner {
  width: 100%;
  max-width: none;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.subnav-link {
  min-height: 54px;
  flex: 1 0 auto;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--quiet);
  font-size: 0.68rem;
}

.subnav-link:first-child {
  border-left: 1px solid var(--rule);
}

.subnav-link:hover,
.subnav-link.active {
  border-color: var(--rule);
  background: rgba(47, 125, 247, 0.1);
  color: var(--blue-bright);
}

.services-subnav + .section {
  padding-top: 48px;
}

.service-block {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(66px, 8vw, 106px) 0;
  border-bottom: 1px solid var(--rule);
}

.service-block:first-child {
  padding-top: clamp(54px, 7vw, 84px);
}

.service-index {
  padding-top: 8px;
}

.service-block-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1.22fr);
  gap: 18px clamp(50px, 8vw, 118px);
}

.service-block-content h2 {
  grid-column: 1;
  grid-row: 1 / span 3;
  max-width: 430px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.service-block-content > p {
  grid-column: 2;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-list {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--rule);
}

.feature-list li {
  width: 100%;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.86rem;
}

.feature-check {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-check svg {
  width: 13px;
  height: 13px;
  stroke: var(--blue-bright);
}

.service-block-content > .btn {
  grid-column: 2;
  justify-self: start;
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--rule-strong);
}

.tool-card {
  min-height: 470px;
  gap: 0;
  padding: clamp(34px, 5vw, 62px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tool-card + .tool-card {
  border-left: 1px solid var(--rule);
}

.tool-card:hover {
  border-color: var(--rule);
  background: linear-gradient(145deg, rgba(47, 125, 247, 0.1), transparent 70%);
  box-shadow: none;
  transform: none;
}

.tool-number {
  display: block;
  margin-bottom: 56px;
}

.tool-card .service-icon {
  margin-bottom: 34px !important;
}

.tool-card h2,
.tool-card h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tool-card p {
  max-width: 480px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.tool-card .feature-list {
  grid-column: auto;
  margin-bottom: 32px;
}

.tool-card .btn {
  margin-top: auto;
}

.tool-note {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  line-height: 1.7;
}

/* Contact */
.contact-layout {
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1.26fr);
  gap: clamp(64px, 10vw, 148px);
}

.contact-info h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-info > p {
  max-width: 480px;
  margin: 0 0 54px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-facts {
  margin: 0;
  border-top: 1px solid var(--rule-strong);
}

.contact-facts > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-facts dt {
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.contact-facts a {
  color: var(--blue-bright);
}

.contact-form {
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 2px;
  background: var(--panel);
}

.contact-form h3 {
  margin: 0 0 38px;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.form-row {
  gap: 18px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background-color: var(--ink-soft);
  color: var(--white);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.92rem;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(47, 125, 247, 0.14);
}

.form-group [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(255, 123, 131, 0.12);
}

.field-error {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 0.76rem;
}

.form-errors {
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 123, 131, 0.52);
  border-radius: 2px;
  background: rgba(255, 123, 131, 0.07);
  color: var(--text);
  font-size: 0.84rem;
}

.form-errors ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.form-errors a {
  color: var(--danger);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-errors:focus {
  outline: 3px solid var(--danger);
  outline-offset: 3px;
}

.form-submit .btn {
  width: auto;
  min-width: 190px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--quiet);
  text-align: left;
}

.form-success {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(117, 214, 176, 0.42);
  border-radius: 2px;
  background: rgba(117, 214, 176, 0.07);
  color: var(--success);
  text-align: left;
}

/* Footer */
footer {
  padding: 78px 0 32px;
  border-top: 1px solid var(--rule);
  background: #020409;
}

footer::before {
  display: none;
}

.footer-grid {
  grid-template-columns: 1.7fr 0.75fr 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 84px);
  margin-bottom: 68px;
}

footer .nav-logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 340px;
  color: var(--quiet);
  font-size: 0.86rem;
}

.footer-col h4 {
  margin: 2px 0 20px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.footer-col ul {
  gap: 11px;
}

.footer-col a,
.footer-contact p {
  color: var(--quiet);
  font-size: 0.84rem;
}

.footer-col a:hover,
.footer-contact a {
  color: var(--blue-bright);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.footer-bottom p {
  color: var(--quiet);
  font-size: 0.72rem;
}

@media (max-width: 1060px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 56px;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .service-card,
  .service-card:last-child {
    grid-template-columns: 58px minmax(210px, 0.8fr) minmax(260px, 1fr) 98px;
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    max-width: 760px;
  }
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 800px;
  }

  .problem-index {
    max-width: 760px;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card,
  .service-card:last-child {
    grid-template-columns: 58px minmax(220px, 0.7fr) minmax(0, 1fr);
  }

  .service-card .card-link,
  .service-card:last-child .card-link {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    display: grid;
    grid-template-columns: 60px minmax(180px, 0.7fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .why-icon {
    margin: 0;
  }

  .why-card p {
    max-width: 520px;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .page-hero .breadcrumb,
  .page-hero .section-title,
  .page-hero .section-subtitle {
    grid-column: 1;
  }

  .page-hero .breadcrumb {
    grid-row: auto;
    margin-bottom: 50px;
  }

  .service-block-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-block-content h2,
  .service-block-content > p,
  .feature-list,
  .service-block-content > .btn {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 0.8fr);
  }

  .footer-col:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 66px;
  }

  body {
    font-size: 16px;
  }

  .container,
  .nav-inner {
    width: min(100% - 32px, 620px);
  }

  .section {
    padding: 82px 0;
  }

  .nav-logo {
    display: grid;
    gap: 0;
    line-height: 1.05;
  }

  .nav-logo span {
    margin-top: 3px;
    font-size: 0.56rem;
  }

  .nav-mobile {
    padding-inline: 16px;
  }

  .hero {
    padding: calc(var(--nav-height) + 62px) 0 78px;
  }

  .hero .container {
    gap: 62px;
  }

  .hero .hero-intro {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 16vw, 5.1rem);
    line-height: 0.89;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
  }

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

  .hero .hero-contact-line {
    display: grid;
  }

  .problem-index a {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
  }

  .section-title {
    font-size: clamp(2.75rem, 12vw, 4.2rem);
  }

  .service-card,
  .service-card:last-child {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .service-card .service-icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }

  .service-card h3,
  .service-card:last-child h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .service-card p,
  .service-card:last-child p,
  .service-card .card-link,
  .service-card:last-child .card-link {
    grid-column: 2;
  }

  .why-card {
    grid-template-columns: 42px 1fr;
  }

  .why-card h3,
  .why-card h4,
  .why-card p {
    grid-column: 2;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
    padding: 28px 0 38px;
    border-bottom: 1px solid var(--rule);
  }

  .process-step + .process-step {
    padding-left: 0;
    border-left: 0;
  }

  .process-step__number {
    margin-bottom: 42px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .cta-banner h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .page-hero {
    padding: calc(var(--nav-height) + 56px) 0 70px;
  }

  .page-hero .breadcrumb {
    margin-bottom: 38px;
  }

  .page-hero .section-title {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .services-subnav-inner {
    justify-content: flex-start;
  }

  .subnav-link {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .service-block {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;
    padding: 70px 0;
  }

  .service-block-content h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
    padding: 42px 0;
  }

  .tool-card + .tool-card {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .tool-number {
    margin-bottom: 38px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-facts > div {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .form-submit .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .problem-index small {
    display: none;
  }

  .service-card p,
  .service-card:last-child p,
  .service-card .card-link,
  .service-card:last-child .card-link {
    grid-column: 1 / -1;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-index {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .service-icon,
  .contact-form,
  .feature-list li {
    border: 1px solid ButtonText;
  }
}
