:root {
  --ink: #07111f;
  --ink-soft: #25364b;
  --muted: #62738a;
  --paper: #f6f9fc;
  --paper-deep: #e9f3f8;
  --white: #ffffff;
  --green: #061a33;
  --green-2: #0b2d57;
  --teal: #149bdd;
  --brass: #2ed9f0;
  --cyan: #61eff2;
  --blue: #1674e8;
  --clay: #315fb8;
  --line: #dbe8f1;
  --shadow: 0 22px 60px rgba(7, 17, 31, 0.13);
  --glow: 0 24px 70px rgba(20, 155, 221, 0.2);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 222, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(219, 232, 241, 0.95);
  box-shadow: 0 14px 38px rgba(7, 17, 31, 0.08);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
}

.brand-logo-mark {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.brand-word {
  line-height: 1;
}

.brand-domain {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green);
  background: #eef8fd;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(6, 26, 51, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-2);
  box-shadow: 0 18px 42px rgba(20, 155, 221, 0.22);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--green);
  background: transparent;
  border-color: var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: #eef8fd;
}

.section {
  padding: 78px 0;
}

.section-tight {
  padding: 54px 0;
}

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

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

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

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-green .eyebrow {
  color: #a7e1d3;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: 68px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.section-dark .lead,
.section-green .lead {
  color: rgba(255, 255, 255, 0.74);
}

.home-hero {
  position: relative;
  min-height: 638px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #050b14;
}

.home-hero .container {
  position: relative;
}

.home-hero .container::after {
  display: none;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(3, 8, 16, 0.98) 0%, rgba(5, 11, 20, 0.78) 42%, rgba(5, 11, 20, 0.2) 86%),
    url("../images/hero-workspace.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 38%, rgba(46, 217, 240, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.28));
  opacity: 0.72;
}

.hero-content {
  width: min(670px, 100%);
  padding: 92px 0 64px;
  animation: contentRise 760ms ease both;
}

.hero-kicker {
  margin: 0 0 14px;
  color: #a7e1d3;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 22px;
  line-height: 1.45;
}

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

.hero-actions .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
}

.split,
.split-balanced {
  display: grid;
  gap: 54px;
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.split-balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-list li:hover {
  border-color: rgba(20, 155, 221, 0.32);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.feature-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.feature-list span {
  color: var(--muted);
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid transparent;
  background: linear-gradient(135deg, rgba(20, 155, 221, 0.12), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.card:hover {
  border-color: rgba(20, 155, 221, 0.34);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

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

.card h3 {
  margin-bottom: 10px;
}

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

.card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
}

.card-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.card-link:hover::after,
.card-link:focus-visible::after {
  transform: scaleX(1);
}

.service-icon,
.step-number,
.article-tag {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.service-icon.teal {
  background: var(--teal);
}

.service-icon.brass {
  background: var(--brass);
}

.service-icon.blue {
  background: var(--blue);
}

.service-icon.clay {
  background: var(--clay);
}

.dark-step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dark-step-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 5px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dark-step-list li:hover {
  border-color: rgba(97, 239, 242, 0.36);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.dark-step-list span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--cyan);
  font-weight: 950;
}

.dark-step-list strong {
  display: block;
  color: var(--white);
  font-size: 19px;
  line-height: 1.2;
}

.dark-step-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.trust-logo-section {
  padding-top: 68px;
}

.trust-logo-heading {
  max-width: 820px;
}

.company-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.company-logo-tile {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), #f7fafc);
  color: var(--ink-soft);
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.company-logo-tile:hover {
  border-color: rgba(20, 155, 221, 0.34);
  background: var(--white);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.company-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 142px;
  max-height: 42px;
  object-fit: contain;
}

.company-wordmark {
  min-width: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.08;
}

.company-logo-wide {
  max-width: 154px;
}

.company-logo-icon {
  max-width: 36px;
  max-height: 36px;
}

.company-wordmark-tight {
  font-size: 16px;
  line-height: 1.18;
}

.company-text-only .company-wordmark {
  letter-spacing: 0;
}

.quote {
  position: relative;
  margin: 0;
  padding: 30px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 155, 221, 0.22), transparent 44%),
    var(--green);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.22);
}

.quote p {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.quote cite {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.page-hero {
  padding: 78px 0 46px;
  background:
    linear-gradient(90deg, rgba(3, 8, 16, 0.96), rgba(6, 26, 51, 0.78)),
    url("../images/hero-workspace.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero .lead {
  max-width: 760px;
}

.breadcrumb {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-media {
  min-height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform 420ms ease;
}

.case-card:nth-child(1) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.28), rgba(20, 155, 221, 0.1)),
    url("../images/service-product.jpg");
  background-position: center 52%;
}

.case-card:hover .case-media {
  transform: scale(1.035);
}

.case-card:nth-child(2) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.26), rgba(23, 105, 170, 0.1)),
    url("../images/case-product.jpg");
  background-position: center 48%;
}

.case-card:nth-child(3) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.22), rgba(20, 155, 221, 0.1)),
    url("../images/service-backend.jpg");
  background-position: center 46%;
}

.case-card:nth-child(4) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.2), rgba(20, 155, 221, 0.08)),
    url("../images/service-infra.jpg");
  background-position: center 44%;
}

.case-card:nth-child(5) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.22), rgba(20, 155, 221, 0.1)),
    url("../images/case-education.jpg");
  background-position: center 48%;
}

.case-card:nth-child(6) .case-media {
  background-image:
    linear-gradient(135deg, rgba(3, 8, 16, 0.24), rgba(20, 155, 221, 0.12)),
    url("../images/service-migration-support.jpg");
  background-position: center 50%;
}

.case-body {
  padding: 24px;
}

.service-visual-grid .case-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
}

.service-visual-grid .case-card:nth-child(n + 4) {
  grid-column: span 2;
}

.service-visual-grid .case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-visual-grid .tag-list {
  margin-top: auto;
  padding-top: 18px;
}

.case-meta {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline-item:hover {
  border-color: rgba(20, 155, 221, 0.32);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.step-number {
  margin: 0;
  background: var(--green);
}

.timeline-item h2 {
  font-size: 28px;
}

.timeline-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.stack-table {
  display: grid;
  gap: 12px;
}

.stack-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stack-row:hover {
  border-color: rgba(20, 155, 221, 0.32);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.stack-row h2 {
  font-size: 24px;
}

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

.price-card {
  position: relative;
}

.price-card.highlight {
  border-color: rgba(13, 59, 51, 0.42);
  box-shadow: var(--shadow);
}

.price-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.02);
}

#project-form {
  scroll-margin-top: 96px;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-method {
  position: relative;
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-method strong {
  display: block;
  margin-bottom: 4px;
}

.contact-method span {
  display: block;
}

.contact-social-card {
  padding: 14px 16px 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  --social-brand: var(--green-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 155, 221, 0.22);
  border-radius: 6px;
  color: var(--social-brand);
  background: var(--white);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-link span {
  display: inline;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--white);
  border-color: var(--social-brand);
  background: var(--social-brand);
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.12);
  transform: translateY(-1px);
}

.social-linkedin {
  --social-brand: #0a66c2;
}

.social-facebook {
  --social-brand: #1877f2;
}

.contact-method-link {
  padding-right: 60px;
  color: var(--ink);
  border-color: #b9ddee;
  background: #f3faff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-method-link span {
  color: var(--green-2);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(20, 155, 221, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-method-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--green);
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-method-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 29px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease;
}

.contact-method-link:hover,
.contact-method-link:focus-visible {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(20, 155, 221, 0.14);
  transform: translateY(-1px);
}

.contact-method-link:hover span,
.contact-method-link:focus-visible span {
  text-decoration-color: var(--teal);
}

.contact-method-link:hover::before,
.contact-method-link:focus-visible::before {
  background: var(--green-2);
  transform: translateY(-50%) scale(1.03);
}

.contact-method-link:hover::after,
.contact-method-link:focus-visible::after {
  transform: translate(2px, -50%) rotate(45deg);
}

.form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 119, 124, 0.2);
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--green);
  background: rgba(15, 137, 128, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.form-status:not(:empty) {
  display: block;
}

.form-status[data-status="success"] {
  border-color: rgba(15, 137, 128, 0.24);
  color: var(--green);
  background: rgba(15, 137, 128, 0.1);
}

.form-status[data-status="pending"] {
  border-color: rgba(20, 155, 221, 0.24);
  color: var(--green-2);
  background: rgba(20, 155, 221, 0.1);
}

.form-status[data-status="error"] {
  border-color: rgba(167, 42, 42, 0.24);
  color: #8b2424;
  background: rgba(167, 42, 42, 0.08);
}

.form button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

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

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-card .card-link {
  margin-top: auto;
  padding-top: 20px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 155, 221, 0.18), transparent 28%),
    var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.65fr));
  gap: 34px;
  padding: 58px 0;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-domain {
  color: rgba(255, 255, 255, 0.58);
}

.footer-text {
  max-width: 360px;
  margin: 18px 0 0;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social-item {
  margin-top: 2px;
}

.footer-social-links {
  gap: 8px;
  margin-top: 0;
}

.footer-social-links .social-link {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social-links .social-link span {
  display: none;
}

.footer-social-links .social-link:hover,
.footer-social-links .social-link:focus-visible {
  border-color: var(--social-brand);
  background: var(--social-brand);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-18px, -8px, 0);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .button {
    display: none;
  }

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

  .company-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .service-visual-grid .case-card,
  .service-visual-grid .case-card:nth-child(n + 4) {
    grid-column: auto;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .brand-logo-mark {
    width: 48px;
    height: 38px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-domain {
    font-size: 11px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 20px;
  }

  .lead,
  .hero-subtitle {
    font-size: 18px;
  }

  .section {
    padding: 54px 0;
  }

  .home-hero {
    min-height: 510px;
  }

  .home-hero .container::after {
    display: none;
  }

  .home-hero::before {
    background-image:
      linear-gradient(90deg, rgba(3, 8, 16, 0.96) 0%, rgba(5, 11, 20, 0.77) 68%, rgba(5, 11, 20, 0.52) 100%),
      url("../images/hero-workspace.jpg");
    background-position: 60% center;
  }

  .hero-content {
    padding: 58px 0 44px;
  }

  .company-logo-grid,
  .card-grid,
  .card-grid.two,
  .service-visual-grid,
  .pricing-grid,
  .article-grid,
  .field-group {
    grid-template-columns: 1fr;
  }

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

  .company-logo-tile {
    min-height: 84px;
    justify-content: flex-start;
  }

  .company-logo-wide {
    max-width: 128px;
  }

  .company-wordmark {
    font-size: 17px;
  }

  .company-wordmark-tight {
    font-size: 15px;
  }

  .timeline-item,
  .stack-row,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .timeline-item h2 {
    font-size: 24px;
  }

  .timeline-item {
    gap: 14px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
