/*
 * Skalantech — conversion-focused public site
 * Zero external frontend dependencies · responsive · accessible
 */

:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --paper: #f6f8fc;
  --paper-warm: #edf3fb;
  --surface: #ffffff;
  --surface-dark: #13213a;
  --surface-dark-2: #1c2f4f;
  --accent: #4f7cff;
  --accent-strong: #3568f2;
  --accent-deep: #1d4ed8;
  --text: #334155;
  --text-muted: #64748b;
  --text-light: #e2e8f0;
  --border: #dbe3ef;
  --border-dark: rgba(226, 232, 240, 0.16);
  --success: #15803d;
  --danger: #b42318;
  --shadow-sm: 0 14px 38px rgba(32, 64, 128, 0.09);
  --shadow-lg: 0 32px 80px rgba(30, 64, 128, 0.16);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 30px;
  --shell: 1240px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--surface);
  background: var(--accent);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ink);
  background: rgba(246, 248, 252, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 248, 252, 0.96);
  border-color: rgba(30, 64, 128, 0.12);
  box-shadow: 0 8px 30px rgba(30, 64, 128, 0.06);
}

.site-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand__mark {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1.5px;
  display: block;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

.button,
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.button--accent,
.btn--primary {
  color: var(--ink);
  background: var(--accent);
}

.button--accent:hover,
.btn--primary:hover {
  background: var(--accent-strong);
}

.button--quiet,
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
}

.button--quiet:hover,
.btn--ghost:hover {
  color: var(--accent-deep);
  background: #ffffff;
  border-color: rgba(79, 124, 255, 0.7);
}

.button--outline-light {
  color: var(--surface);
  border-color: rgba(216, 226, 220, 0.28);
}

.button--outline-light:hover {
  color: var(--ink);
  background: var(--surface);
}

.button--submit {
  width: 100%;
  justify-content: space-between;
  border: 0;
}

.section {
  padding: 120px 0;
}

.section-label {
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label--light {
  color: var(--accent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 58px;
}

.section-heading h2,
.intro-grid h2,
.process-intro h2,
.about-copy h2,
.faq-grid > div:first-child h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
}

.section-heading > p {
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(79, 124, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f1f5fb 100%);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.11) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent 82%);
}

.hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -250px;
  left: 18%;
  border: 1px solid rgba(79, 124, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(79, 124, 255, 0.018),
    0 0 0 150px rgba(79, 124, 255, 0.012);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  padding-top: 80px;
  padding-bottom: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #475569;
}

.eyebrow__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(79, 124, 255, 0.08);
  animation: status-pulse 2.4s ease-out infinite;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: clamp(3.2rem, 6.7vw, 6.9rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 40px;
  color: #475569;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero__facts {
  max-width: 710px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.hero__facts li {
  padding-top: 22px;
}

.hero__facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.hero__facts span {
  color: #64748b;
  font-size: 11px;
}

.hero__visual {
  min-width: 0;
}

.system-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe3ef;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.system-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 1px;
  top: 0;
  left: -160px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan-line 5.5s linear infinite;
}

.system-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.system-card__header > div span,
.system-card__header > div strong {
  display: block;
}

.system-card__kicker {
  margin-bottom: 5px;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card__header strong {
  color: var(--ink);
  font-size: 14px;
}

.system-card__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #475569;
  background: #f8faff;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
}

.system-card__state i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.system-map {
  position: relative;
  min-height: 390px;
  margin: 28px 0 22px;
  background:
    linear-gradient(rgba(29, 78, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.06) 1px, transparent 1px),
    #f8faff;
  background-size: 28px 28px;
  border: 1px solid #e1e8f3;
  border-radius: 16px;
}

.system-node {
  position: absolute;
  z-index: 2;
  width: 45%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.system-node--infra {
  top: 36px;
  left: 22px;
}

.system-node--flow {
  top: 145px;
  left: 22px;
}

.system-node--ai {
  top: 254px;
  left: 22px;
}

.system-node span,
.system-node strong,
.system-node small {
  display: block;
}

.system-node span {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
}

.system-node strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.system-node small {
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 8px;
}

.system-map__rail {
  position: absolute;
  z-index: 1;
  left: 47%;
  width: 22%;
  border-top: 1px dashed rgba(79, 124, 255, 0.4);
}

.system-map__rail::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.system-map__rail--one {
  top: 76px;
  height: 220px;
  border-right: 1px dashed rgba(79, 124, 255, 0.4);
  border-bottom: 1px dashed rgba(79, 124, 255, 0.4);
}

.system-map__rail--two {
  top: 186px;
}

.system-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 26px;
  width: 84px;
  height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(79, 124, 255, 0.18);
  transform: translateY(-50%);
}

.system-core strong {
  font-family: var(--font-mono);
  font-size: 14px;
}

.system-core small {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-core__orbit {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(79, 124, 255, 0.34);
  border-radius: 50%;
}

.system-core__orbit--two {
  inset: -20px;
  border-style: dashed;
  animation: orbit-spin 15s linear infinite;
}

.system-card__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 15px 16px;
  background: #f5f8fd;
  border-radius: 12px;
}

.system-card__footer div {
  text-align: center;
}

.system-card__footer div span,
.system-card__footer div strong {
  display: block;
}

.system-card__footer div span {
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.system-card__footer div strong {
  color: var(--ink);
  font-size: 9px;
}

.system-card__arrow {
  color: var(--accent);
  font-size: 11px;
}

.hero__visual-note {
  display: flex;
  gap: 9px;
  margin: 16px 7px 0;
  color: #64748b;
  font-size: 11px;
}

.hero__visual-note span {
  color: var(--accent);
}

.signal-bar {
  color: #ffffff;
  background: linear-gradient(90deg, #1d4ed8, #3f73f4);
}

.signal-bar__inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 0.95fr 1.35fr;
  align-items: stretch;
}

.signal-bar__inner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.signal-bar__inner > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.signal-bar strong,
.signal-bar span {
  display: block;
}

.signal-bar strong {
  font-size: 19px;
  letter-spacing: -0.04em;
}

.signal-bar span {
  font-size: 10px;
}

.signal-bar__statement {
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.signal-bar__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 50%;
}

.section--intro {
  padding-top: 145px;
  padding-bottom: 100px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 120px;
}

.intro-copy {
  padding-top: 38px;
}

.intro-copy > p {
  margin-bottom: 30px;
  color: #334155;
  font-size: 20px;
  line-height: 1.65;
}

.check-list {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 14px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.check-list li span {
  color: var(--accent-deep);
  font-weight: 800;
}

.section--services {
  background: var(--surface);
}

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

.service-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  overflow: hidden;
  background: #f7f9fd;
  border: 1px solid #dbe3ef;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -130px;
  right: -100px;
  background: rgba(79, 124, 255, 0.5);
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  border-color: #b8c9ea;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  color: var(--text);
  background: linear-gradient(145deg, #eef4ff, #ffffff);
  border-color: #b9cdf6;
}

.service-card--featured h3 {
  color: var(--ink);
}

.service-card--featured p,
.service-card--featured li {
  color: var(--text-muted);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.service-card__number,
.service-card__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-card__number {
  color: var(--accent-deep);
}

.service-card--featured .service-card__number {
  color: var(--accent-deep);
}

.service-card__tag {
  padding: 7px 10px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.service-card--featured .service-card__tag {
  color: var(--text-muted);
  border-color: #c9d7f2;
}

.service-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.service-card--featured .service-card__icon {
  color: var(--accent-deep);
  background: #ffffff;
  border-color: #c9d7f2;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.service-card > p {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-card ul {
  padding: 0;
  margin-bottom: 34px;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 9px 0 9px 18px;
  color: #475569;
  border-top: 1px solid rgba(120, 138, 132, 0.19);
  font-size: 13px;
}

.service-card li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 18px;
  left: 0;
  background: var(--accent-deep);
  border-radius: 50%;
}

.service-card--featured li::before {
  background: var(--accent);
}

.service-card > a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-bottom: 6px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 750;
}

.service-card--featured > a {
  color: var(--accent-deep);
}

.service-card > a span {
  transition: transform 180ms ease;
}

.service-card > a:hover span {
  transform: translate(3px, -3px);
}

.section--dark {
  color: var(--text-light);
  background: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 120px;
}

.process-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-intro h2 {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--surface);
}

.process-intro > p:not(.section-label) {
  max-width: 520px;
  margin-bottom: 36px;
  color: #64748b;
  font-size: 17px;
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list > li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.process-list > li:last-child {
  margin-bottom: 0;
}

.process-list > li > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(79, 124, 255, 0.28);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
}

.process-list div > p:first-child {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-list h3 {
  margin-bottom: 14px;
  color: var(--surface);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.process-list div > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.section--models {
  padding-bottom: 90px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.model-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 38px;
}

.model-grid article + article {
  border-left: 1px solid var(--border);
}

.model-grid article > span {
  margin-bottom: 60px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-grid h3 {
  margin-bottom: 15px;
  font-size: 27px;
}

.model-grid p {
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 14px;
}

.model-grid strong {
  display: block;
  margin-top: auto;
  color: #475569;
  font-size: 11px;
  line-height: 1.55;
}

.section--work {
  background: var(--paper-warm);
}

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

.work-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid #dbe3ef;
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card__graphic {
  position: relative;
  height: 230px;
  margin-bottom: 32px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    var(--ink);
  background-size: 24px 24px;
  border-radius: 14px;
}

.work-card__graphic span {
  position: absolute;
  width: 72px;
  height: 42px;
  border: 1px solid rgba(79, 124, 255, 0.35);
  border-radius: 8px;
}

.work-card__graphic span:nth-child(1) {
  top: 34px;
  left: 32px;
}

.work-card__graphic span:nth-child(2) {
  top: 98px;
  right: 30px;
}

.work-card__graphic span:nth-child(3) {
  bottom: 28px;
  left: 50px;
}

.work-card__graphic::before,
.work-card__graphic::after {
  content: "";
  position: absolute;
  background: rgba(79, 124, 255, 0.35);
  transform-origin: left center;
}

.work-card__graphic::before {
  width: 130px;
  height: 1px;
  top: 75px;
  left: 92px;
  transform: rotate(18deg);
}

.work-card__graphic::after {
  width: 120px;
  height: 1px;
  top: 142px;
  left: 104px;
  transform: rotate(-22deg);
}

.work-card__graphic i {
  position: absolute;
  width: 38px;
  height: 38px;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border: 8px solid rgba(79, 124, 255, 0.2);
  border-radius: 50%;
  background-clip: padding-box;
  transform: translate(-50%, -50%);
}

.work-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.work-card > p {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.work-card > a {
  width: max-content;
  display: inline-flex;
  gap: 12px;
  margin-top: auto;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 750;
}

.work-card > a span {
  transition: transform 180ms ease;
}

.work-card > a:hover span {
  transform: translate(3px, -3px);
}

.section--about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 110px;
}

.about-visual__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(79, 124, 255, 0.32), transparent 45%),
    var(--ink);
  border-radius: var(--radius-lg);
}

.about-visual__frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

.about-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.about-visual__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 3px 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 30px;
}

.about-copy__lead {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.5;
}

.about-copy > p:not(.section-label):not(.about-copy__lead) {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.expertise-list span {
  padding: 9px 12px;
  color: #475569;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.about-links a {
  display: inline-flex;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--accent-deep);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 750;
}

.section--faq {
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 120px;
}

.faq-grid > div:first-child > p:not(.section-label) {
  max-width: 400px;
  color: var(--text-muted);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 27px 56px 27px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 1.5px;
  background: var(--accent-deep);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 740px;
  padding: 0 60px 28px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.contact-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(circle at 7% 85%, rgba(79, 124, 255, 0.08), transparent 26%),
    var(--surface-dark);
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -430px;
  right: -200px;
  border: 1px solid rgba(79, 124, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(79, 124, 255, 0.015);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 110px;
}

.contact-copy h2 {
  margin-bottom: 28px;
  color: var(--surface);
}

.contact-copy > p:not(.section-label) {
  max-width: 560px;
  color: #94a3b8;
  font-size: 17px;
}

.contact-fit {
  padding: 26px 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.contact-fit > p {
  margin-bottom: 14px;
  color: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.contact-fit ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-fit li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 5px 0;
  color: #94a3b8;
  font-size: 13px;
}

.contact-fit li span {
  color: var(--accent);
}

.contact-direct {
  margin-top: 30px;
}

.contact-direct > span {
  display: block;
  margin-bottom: 7px;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.contact-direct a {
  display: inline-flex;
  gap: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.contact-form-wrap {
  padding: 38px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  color: var(--text);
}

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

.field {
  position: relative;
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.field label span {
  color: var(--danger);
}

.field input,
.field textarea,
.field select,
.input-wrap input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f4f7fb;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  outline: 0;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.input-wrap input:focus {
  background: #ffffff;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.11);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field__hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 8px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 24px;
  color: #64748b;
  cursor: pointer;
  font-size: 10px;
  line-height: 1.55;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--accent-deep);
}

.privacy-check a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.button--submit.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.site-footer {
  color: #cbd5e1;
  background: #081429;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 120px;
  padding: 78px 0 62px;
}

.brand--footer {
  margin-bottom: 22px;
  color: var(--surface);
}

.footer-intro p {
  max-width: 430px;
  color: #94a3b8;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav__title {
  margin-bottom: 10px;
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  width: max-content;
  color: #94a3b8;
  font-size: 12px;
  transition: color 160ms ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.flash-stack {
  position: fixed;
  z-index: 200;
  top: 92px;
  right: 22px;
  width: min(390px, calc(100% - 44px));
  display: grid;
  gap: 8px;
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}

.flash--error {
  border-left-color: var(--danger);
}

.flash--success {
  border-left-color: var(--success);
}

.flash button {
  padding: 0;
  color: var(--text-muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Shared legal pages */
.legal-page {
  min-height: 70svh;
  padding: 90px 0 120px;
}

.legal-page__header {
  max-width: 820px;
  margin-bottom: 48px;
}

.legal-page__header h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.legal-page__header p {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 80px;
  align-items: start;
}

.legal-layout__aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-layout__aside a {
  color: var(--text-muted);
  font-size: 12px;
}

.legal-layout__aside a:hover {
  color: var(--accent-deep);
}

.legal-content {
  padding: 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-content h2,
.legal-content h3 {
  margin: 38px 0 12px;
  letter-spacing: -0.03em;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content h2 {
  font-size: 22px;
}

.legal-content h3 {
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.legal-back {
  margin-top: 28px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

/* Login compatibility */
.auth-shell {
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  padding: 50px 24px;
  background: var(--ink);
}

.auth-card {
  width: min(100%, 440px);
  padding: 38px;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.auth-card__header {
  margin-bottom: 28px;
}

.auth-card__header h1 {
  margin: 16px 0 0;
  font-size: 32px;
}

.badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  color: var(--accent-deep);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-deep);
  border-radius: 50%;
}

.auth-form .field {
  margin-bottom: 18px;
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  color: var(--text-muted);
  transform: translateY(-50%);
}

.input-wrap input {
  padding-left: 42px;
}

.btn--block {
  width: 100%;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 11px;
}

.spinner {
  animation: orbit-spin 1s linear infinite;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 124, 255, 0.25); }
  65% { box-shadow: 0 0 0 8px rgba(79, 124, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 124, 255, 0); }
}

@keyframes scan-line {
  from { left: -160px; }
  to { left: calc(100% + 160px); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .site-header__inner {
    gap: 28px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 7.5vw, 5.7rem);
  }

  .system-map {
    min-height: 360px;
  }

  .signal-bar__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .signal-bar__statement {
    display: none !important;
  }

  .intro-grid,
  .process-grid,
  .faq-grid,
  .contact-grid {
    gap: 70px;
  }

  .about-grid {
    gap: 70px;
  }

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

  .site-footer__top {
    gap: 70px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    z-index: 90;
    display: grid;
    gap: 0;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-top: 82px;
    padding-bottom: 74px;
  }

  .hero__copy {
    max-width: 780px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(3.35rem, 11vw, 6.3rem);
  }

  .hero__visual {
    width: min(100%, 610px);
  }

  .system-map {
    min-height: 390px;
  }

  .section {
    padding: 92px 0;
  }

  .section--intro {
    padding-top: 105px;
  }

  .intro-grid,
  .process-grid,
  .faq-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 35px;
  }

  .intro-copy {
    padding-top: 0;
  }

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

  .section-heading > p {
    max-width: 650px;
  }

  .process-intro {
    position: static;
  }

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

  .model-grid article {
    min-height: 270px;
  }

  .model-grid article + article {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .model-grid article > span {
    margin-bottom: 38px;
  }

  .about-visual {
    width: min(100%, 560px);
  }

  .faq-grid {
    gap: 45px;
  }

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

  .contact-copy {
    max-width: 720px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-layout__aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-cta {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .hero__inner {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .eyebrow {
    max-width: 300px;
    align-items: flex-start;
    margin-bottom: 26px;
    line-height: 1.5;
  }

  .eyebrow__pulse {
    margin-top: 4px;
  }

  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(3rem, 15vw, 4.8rem);
    line-height: 0.94;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
  }

  .button,
  .btn {
    width: 100%;
  }

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

  .hero__facts li {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .hero__facts li + li {
    padding-left: 0;
    border-left: 0;
  }

  .system-card {
    padding: 16px;
  }

  .system-map {
    min-height: 340px;
    margin-top: 20px;
  }

  .system-node {
    width: 51%;
  }

  .system-node--infra {
    top: 27px;
    left: 14px;
  }

  .system-node--flow {
    top: 129px;
    left: 14px;
  }

  .system-node--ai {
    top: 231px;
    left: 14px;
  }

  .system-map__rail {
    left: 52%;
    width: 13%;
  }

  .system-map__rail--one {
    top: 67px;
    height: 205px;
  }

  .system-map__rail--two {
    top: 170px;
  }

  .system-core {
    right: 15px;
    width: 70px;
    height: 70px;
  }

  .system-core__orbit--two {
    inset: -15px;
  }

  .system-card__footer {
    padding-inline: 8px;
  }

  .signal-bar__inner {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .signal-bar__inner > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid rgba(10, 23, 21, 0.17);
    border-left: 0;
  }

  .signal-bar__inner > div:first-child {
    border-top: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .intro-grid h2,
  .process-intro h2,
  .about-copy h2,
  .faq-grid > div:first-child h2,
  .contact-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.7rem);
  }

  .intro-copy > p {
    font-size: 17px;
  }

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

  .service-card {
    min-height: 0;
    padding: 26px;
  }

  .service-card__top {
    margin-bottom: 32px;
  }

  .service-card h3 {
    font-size: 32px;
  }

  .process-grid {
    gap: 62px;
  }

  .process-list > li {
    grid-template-columns: 42px 1fr;
    gap: 17px;
  }

  .process-list > li > span {
    width: 38px;
    height: 38px;
  }

  .model-grid article {
    min-height: auto;
    padding: 30px 4px;
  }

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

  .work-card {
    min-height: 490px;
  }

  .about-grid {
    gap: 55px;
  }

  .about-visual__caption {
    flex-direction: column;
    gap: 2px;
  }

  .about-copy__lead {
    font-size: 19px;
  }

  .about-links {
    gap: 18px;
  }

  .faq-list summary {
    padding-right: 44px;
    font-size: 15px;
  }

  .contact-section {
    padding: 78px 0;
  }

  .contact-form-wrap {
    padding: 24px 18px;
    margin-inline: -2px;
  }

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

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
  }

  .legal-page {
    padding: 65px 0 85px;
  }

  .legal-content {
    padding: 28px 20px;
  }
}

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

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

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
