:root {
  --bg: #f7f8fb;
  --paper: #ffffff;
  --milk: #f4f2ec;
  --ink: #11131a;
  --muted: #656b78;
  --line: #e5e7ed;
  --blue: #0a5cff;
  --blue-dark: #0646c9;
  --blue-soft: #edf3ff;
  --radius: 28px;
  --shadow: 0 22px 70px rgba(32, 46, 86, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: #bdd2ff;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid rgba(224, 227, 235, 0.85);
  background: rgba(250, 251, 253, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 790;
  letter-spacing: -0.045em;
}

.logo span {
  margin-left: 2px;
  color: var(--blue);
  font-size: 8px;
  vertical-align: top;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 72px;
}

.main-nav > a {
  position: relative;
  color: #606572;
  font-size: 14px;
  font-weight: 510;
  transition: color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--ink);
}

.main-nav > a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(10, 92, 255, 0.23);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(10, 92, 255, 0.3);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(24, 32, 53, 0.04);
}

.button-secondary:hover {
  border-color: #cdd2dd;
  background: #fff;
}

.benefits-cta {
  width: 100%;
  grid-column: 2;
  justify-self: stretch;
  margin-top: 0;
}

.page-hero-button {
  margin-top: 28px;
}

.about-role-grid,
.terms-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-role-card,
.term-summary-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(32, 46, 86, 0.05);
}

.about-role-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.about-role-card p,
.term-summary-card p,
.terms-stage-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-terms-section {
  background: var(--surface-soft);
}

.home-terms-layout {
  margin-top: 72px;
}

.about-principles-section,
.client-input-section {
  padding-top: 0;
}

.about-principles,
.client-input-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.about-principles h2,
.client-input-card h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.about-principle-list {
  display: grid;
  gap: 12px;
}

.about-principle-list > div {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}

.about-principle-list svg { color: #78a7ff; flex: 0 0 auto; margin-top: 2px; }
.about-principle-list span { display: grid; gap: 5px; }
.about-principle-list small { color: #aeb5c2; line-height: 1.45; }

.terms-summary-section { padding-bottom: 36px; }
.term-summary-card > div { display: flex; align-items: center; gap: 12px; }
.term-summary-card small { color: var(--muted); font-weight: 650; }
.term-summary-card strong { display: block; margin: 24px 0 10px; font-size: 32px; letter-spacing: -0.05em; }

.terms-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
}

.terms-layout h2 { margin: 12px 0 0; font-size: 46px; letter-spacing: -0.055em; }
.terms-stage-list { display: grid; }
.terms-stage-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.terms-stage-list article:last-child { border-bottom: 1px solid var(--line); }
.terms-stage-list > article > span { color: var(--blue); font-weight: 700; }
.terms-stage-list h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }

.client-input-card { grid-template-columns: 1fr .8fr auto; align-items: center; }
.client-input-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.client-input-card li { display: flex; align-items: center; gap: 10px; color: #dce2ec; }
.client-input-card li svg { color: #78a7ff; }

@media (max-width: 820px) {
  .about-role-grid,
  .terms-summary-grid { grid-template-columns: 1fr; }
  .about-principles,
  .terms-layout,
  .client-input-card { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  .terms-layout { padding: 0; }
  .client-input-card .button { width: 100%; }
}

.mobile-nav-button,
.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 58% 68% at 84% 24%,
      rgba(225, 233, 248, 0.58) 0%,
      rgba(238, 243, 251, 0.24) 48%,
      rgba(244, 246, 250, 0) 78%
    ),
    radial-gradient(
      ellipse 62% 46% at 36% 100%,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(250, 251, 253, 0.32) 52%,
      rgba(244, 246, 250, 0) 82%
    ),
    #f4f6fa;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: stretch;
  gap: 56px;
  min-height: 600px;
}

.hero-copy {
  align-self: center;
  padding: 46px 0 42px;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid #dce5f6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #556172;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(30, 55, 100, 0.04);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21b06b;
  box-shadow: 0 0 0 4px rgba(33, 176, 107, 0.12);
}

.hero h1,
.page-hero h1,
.case-title {
  margin: 0;
  font-size: clamp(48px, 4.7vw, 70px);
  font-weight: 630;
  line-height: 0.98;
  letter-spacing: -0.067em;
}

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

.hero-text {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.016em;
}

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

.badge-row {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(10, 92, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 24px rgba(37, 75, 144, 0.05);
  color: #434c5e;
  font-size: 13px;
  font-weight: 620;
}

.tag svg {
  color: var(--blue);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hero-art {
  position: relative;
  align-self: end;
  height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 1%;
  bottom: 8px;
  width: 92%;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(75, 82, 104, 0.16) 0%,
    rgba(128, 136, 158, 0.08) 38%,
    rgba(221, 218, 211, 0) 76%
  );
  filter: blur(14px);
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 505px;
  max-width: 100%;
  max-height: 530px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 28px rgba(44, 54, 84, 0.1));
}

.orbit {
  display: none;
}

.orbit-one {
  width: 510px;
  height: 510px;
}

.orbit-two {
  width: 570px;
  height: 570px;
  opacity: 0.5;
}

.floating-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(211, 219, 236, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 40px rgba(27, 50, 95, 0.1);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.note-top {
  top: 155px;
  right: -15px;
  padding: 12px 15px;
  border-radius: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.note-bottom {
  left: -25px;
  bottom: 75px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 13px 17px;
  border-radius: 16px;
}

.note-bottom span {
  color: var(--muted);
  font-size: 10px;
}

.note-bottom strong {
  color: var(--ink);
  font-family: var(--font-geist-mono);
  font-size: 17px;
  letter-spacing: -0.04em;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.reveal {
  animation: reveal 0.75s ease both;
}

.reveal-delay {
  animation-delay: 0.12s;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 118px 0;
}

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

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 590;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p,
.split-heading > p {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.split-heading > p {
  margin: 0 0 5px;
}

.comparison-section {
  background: #fff;
}

.comparison-card {
  display: grid;
  grid-template-columns: 1fr 0.74fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fafbfc;
  box-shadow: var(--shadow);
}

.comparison-column {
  padding: 42px;
}

.comparison-label {
  display: block;
  margin-bottom: 25px;
  font-size: 13px;
  font-weight: 680;
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  border-bottom: 1px solid rgba(225, 228, 235, 0.82);
  color: #5c6370;
  font-size: 14px;
}

.comparison-item:last-child {
  border: 0;
}

.minus {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edeff3;
  color: #a0a5b0;
  font-weight: 700;
}

.comparison-center {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(145deg, #1269ff 0%, var(--blue) 52%, #064bd8 100%);
  color: white;
  text-align: center;
  box-shadow:
    inset 1px 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 rgba(0, 39, 130, 0.1);
}

.comparison-center span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.comparison-center strong {
  margin: 13px 0 -5px;
  font-size: 104px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.09em;
  text-shadow: 0 12px 35px rgba(0, 31, 113, 0.18);
}

.comparison-center em {
  font-size: 17px;
  font-style: normal;
  font-weight: 580;
  letter-spacing: -0.025em;
  opacity: 0.94;
}

.accent-column {
  background: #fff;
}

.accent-column .comparison-item {
  color: var(--ink);
  font-weight: 520;
}

.accent-column svg {
  color: var(--blue);
}

.process-section {
  background: var(--bg);
}

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

.process-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  color: #a0a6b2;
  font-family: var(--font-geist-mono);
  font-size: 12px;
}

.icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}

.process-card h3,
.benefit-card h3 {
  margin: 82px 0 13px;
  font-size: 24px;
  font-weight: 610;
  letter-spacing: -0.035em;
}

.process-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-line {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: #eceef2;
}

.card-line::after {
  content: "";
  display: block;
  width: 34%;
  height: 100%;
  background: var(--blue);
  transition: width 0.35s ease;
}

.process-card:hover .card-line::after {
  width: 100%;
}

.benefits-section {
  background: #fff;
}

.benefits-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  column-gap: 68px;
  row-gap: 14px;
  padding: 60px;
  border-radius: 32px;
  background: #f5f7fb;
}

.benefits-heading {
  align-self: center;
  margin: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.benefit-card {
  min-height: 215px;
  padding: 23px;
  border: 1px solid #e5e8ef;
  border-radius: 20px;
  background: #fff;
}

.benefit-card h3 {
  margin: 32px 0 9px;
  font-size: 17px;
}

.projects-section {
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}

.text-link svg,
.round-link svg {
  transition: transform 0.2s ease;
}

.text-link:hover svg,
.round-link:hover svg {
  transform: translate(2px, -2px);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px 20px;
}

.project-card {
  min-width: 0;
}

.project-card > a {
  display: block;
}

.project-visual {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #f3f5f8;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card > a:hover .project-visual {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(27, 39, 69, 0.13);
}

.project-visual::before,
.project-visual::after {
  display: none;
}

.project-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.project-visual-besy {
  background: #100b1d;
}

.besy-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translateY(-2%) scale(1.03);
  transition: transform 0.45s ease;
}

.project-visual-besy::after {
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  display: block;
  border: 0;
  background: linear-gradient(180deg, rgba(16, 11, 29, 0.2), #100b1d 24%);
}

.besy-preview-logo {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10%;
  left: 0;
  color: #f4f0ff;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 620;
  text-align: center;
  letter-spacing: -0.035em;
}

.project-card > a:hover .besy-preview-image,
.commercial-case-card:hover .besy-preview-image {
  transform: translateY(-3%) scale(1.06);
}

.project-visual-forma {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #e8f5ff;
  color: #172033;
}

.project-visual-forma .forma-preview-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 24px 24px 24px 7px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -0.06em;
}

.project-visual-forma strong {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.05em;
}

.project-visual-forma > span {
  color: #64728a;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.project-visual-pottery {
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  background: #f3ecdf;
  border-color: #e8dfd0;
}

.pottery-preview-brand {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #171411;
}

.pottery-preview-logo {
  width: clamp(112px, 12vw, 168px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #171411;
  color: #f7f0e4;
  font-size: clamp(23px, 2.6vw, 38px);
  font-weight: 850;
  letter-spacing: -0.1em;
}

.pottery-preview-brand span {
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pottery-preview-photo {
  position: relative;
  overflow: hidden;
}

.pottery-preview-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 49%;
  transform: scale(1.08);
  transition: transform 0.45s ease;
}

.project-card > a:hover .pottery-preview-photo img {
  transform: scale(1.12);
}

.project-visual-rewind {
  isolation: isolate;
  border-color: #252525;
  background: #0a0a0a;
}

.rewind-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  filter: contrast(1.08);
  transform: scale(1.015);
  transition: transform 0.45s ease;
}

.rewind-preview-logo {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 6%;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.project-card > a:hover .rewind-preview-image {
  transform: scale(1.055);
}

.project-visual-mellow {
  isolation: isolate;
  border-color: #dfd2bb;
  background: #f2e5cc;
}

.mellow-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.015);
  transition: transform 0.45s ease;
}

.mellow-preview-logo {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 6%;
  color: #171715;
  font-size: clamp(21px, 2.5vw, 36px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(255, 245, 224, 0.75);
}

.mellow-preview-logo span {
  color: #9d2f3d;
}

.project-card > a:hover .mellow-preview-image {
  transform: scale(1.055);
}

.project-visual-pravo {
  display: grid;
  place-items: center;
  border-color: #252525;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.035), transparent 38%),
    #111212;
  color: #f6f5f1;
}

.pravo-preview-logo {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.7vw, 24px);
}

.pravo-preview-logo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.pravo-preview-logo span {
  max-width: 104px;
  padding-left: clamp(13px, 1.7vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(246, 245, 241, 0.58);
  font-size: clamp(8px, 0.8vw, 11px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.11em;
}

.project-visual-cupcake {
  isolation: isolate;
  background:
    radial-gradient(circle at 68% 48%, rgba(255, 255, 255, 0.48), transparent 36%),
    linear-gradient(145deg, #f9dce7 0%, #f3bfd2 100%);
  border-color: #efbdd0;
}

.cupcake-preview-logo {
  position: absolute;
  z-index: 3;
  top: 9%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4b2633;
}

.cupcake-preview-logo > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d93670;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.cupcake-preview-logo strong {
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 680;
  letter-spacing: -0.04em;
}

.cupcake-preview-image {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: -22%;
  width: 84%;
  height: 118%;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(121, 54, 78, 0.18));
  transition: transform 0.45s ease;
}

.project-card > a:hover .cupcake-preview-image {
  transform: translateY(-2px) scale(1.025);
}

.project-card > a:hover .project-screenshot {
  transform: scale(1.025);
}

.project-visual::before {
  top: -22%;
  right: -8%;
  width: 56%;
  height: 85%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.22);
}

.project-visual::after {
  bottom: -45%;
  left: -5%;
  width: 65%;
  height: 90%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.project-blue {
  background: linear-gradient(145deg, #155bff, #82a9ff);
}

.project-green {
  background: linear-gradient(145deg, #396b4b, #b4cf95);
}

.project-violet {
  background: linear-gradient(145deg, #6555e9, #b8adff);
}

.project-coral {
  background: linear-gradient(145deg, #c66c5f, #f2c0ae);
}

.project-yellow {
  background: linear-gradient(145deg, #c79719, #f2da8c);
}

.project-clay {
  background: linear-gradient(145deg, #9b5d45, #dfaf8c);
}

.mock-browser {
  position: absolute;
  z-index: 2;
  top: 12%;
  right: -4%;
  width: 82%;
  height: 82%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px 15px 0 0;
  background: #fff;
  box-shadow: 0 26px 65px rgba(29, 32, 48, 0.24);
  transform: rotate(-2deg);
  transition: transform 0.35s ease;
}

.project-card > a:hover .mock-browser {
  transform: rotate(0deg) translateY(-4px);
}

.mock-bar {
  height: 23px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid #eceef2;
  background: #fafafa;
}

.mock-bar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd0d9;
}

.mock-bar em {
  margin-left: 8px;
  color: #9a9faa;
  font-size: 5px;
  font-style: normal;
}

.mock-site {
  height: calc(100% - 23px);
  padding: 16px;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mock-nav b {
  margin-right: auto;
  color: #171a20;
  font-size: 8px;
  letter-spacing: -0.06em;
}

.mock-nav i {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: #e2e5ea;
}

.mock-content {
  height: calc(100% - 18px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 12px;
}

.mock-copy span {
  display: block;
  margin-bottom: 7px;
  color: #89909d;
  font-size: 5px;
  text-transform: uppercase;
}

.mock-copy strong {
  display: block;
  color: #151820;
  font-size: clamp(14px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.mock-copy p {
  max-width: 140px;
  margin: 8px 0;
  color: #8a909b;
  font-size: clamp(5px, 0.65vw, 8px);
  line-height: 1.35;
}

.mock-copy button {
  height: 16px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: #11141a;
  color: white;
  font-size: 5px;
}

.mock-shape {
  aspect-ratio: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 48% 48% 15px 15px;
  background: currentColor;
  color: #2c61f4;
}

.mock-shape span {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 760;
  letter-spacing: -0.09em;
}

.project-green .mock-shape {
  color: #4b7557;
}
.project-violet .mock-shape {
  color: #6a59e8;
}
.project-coral .mock-shape {
  color: #d47a68;
}
.project-yellow .mock-shape {
  color: #d9a817;
}
.project-clay .mock-shape {
  color: #b36d4e;
}

.project-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 5px 0;
}

.project-meta > div {
  min-width: 0;
}

.project-meta span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 8px 0 7px;
  font-size: 25px;
  font-weight: 610;
  letter-spacing: -0.045em;
}

.project-meta p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.home-project-grid .project-meta {
  align-items: flex-start;
}

.home-project-grid .project-meta p {
  max-width: 280px;
}

.home-project-grid .round-link {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.round-link {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.round-link:hover {
  background: var(--blue);
  color: #fff;
}

.pricing-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f8fb;
}

.centered-heading {
  text-align: center;
}

.centered-heading h2,
.centered-heading p {
  margin-right: auto;
  margin-left: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(30, 37, 56, 0.035);
}

.price-card.featured {
  border: 1.5px solid var(--blue);
  box-shadow: 0 20px 60px rgba(10, 92, 255, 0.12);
  transform: translateY(-10px);
}

.popular-label {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-name {
  color: #777e8b;
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.price {
  margin: 26px 0 24px;
  font-size: 37px;
  font-weight: 620;
  letter-spacing: -0.055em;
}

.price-rule {
  height: 1px;
  background: var(--line);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 28px 0 35px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4e5562;
  font-size: 14px;
}

.price-card li svg {
  color: var(--blue);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.faq-layout .section-heading {
  margin: 0;
}

.faq-layout .text-link {
  margin-top: 22px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 570;
  text-align: left;
  cursor: pointer;
}

.faq-item button svg {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.faq-item.open button svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 25px;
}

.cta-section {
  padding-top: 100px;
  background: #fff;
}

.cta-card {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe6f3;
  border-radius: 34px;
  background: #f3f6fc;
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: 65px;
}

.cta-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.cta-copy p {
  max-width: 580px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cta-art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cta-art img {
  position: absolute;
  z-index: 2;
  bottom: -470px;
  left: 50%;
  width: auto;
  height: 900px;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 20px rgba(28, 48, 85, 0.12));
}

.footer {
  padding: 75px 0 28px;
  border-top: 1px solid var(--line);
  background: #f7f8fb;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 70px;
}

.footer-logo {
  font-size: 22px;
}

.footer-top p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 68px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 110px;
}

.footer-nav span {
  margin-bottom: 7px;
  color: #a0a5af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #555c68;
  font-size: 13px;
}

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

.footer-socials {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: #fff;
  color: #586170;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  border-color: #b9cdf7;
  color: var(--blue);
  transform: translateY(-2px);
}

.footer-socials b {
  font-size: 9px;
  letter-spacing: -0.03em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #9a9faa;
  font-size: 11px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
}

.footer-documents a {
  color: #777e8b;
  text-decoration: underline;
  text-decoration-color: #cfd3dc;
  text-underline-offset: 3px;
}

.footer-documents a:hover {
  color: var(--blue);
}

/* Inner pages */
.legal-page {
  padding-bottom: 110px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h1 {
  max-width: 820px;
  font-size: clamp(40px, 5vw, 68px);
}

.legal-content > p {
  max-width: 760px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.legal-content h2 + p {
  margin-top: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.page-hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 30%, rgba(10, 92, 255, 0.1), transparent 28%),
    #fbfcfe;
}

.page-hero .section-kicker {
  margin-bottom: 22px;
}

.page-hero h1 {
  max-width: 950px;
}

.page-hero p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.filter-button {
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #59606d;
  font-size: 12px;
  font-weight: 580;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.service-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.service-side {
  display: grid;
  gap: 18px;
}

.service-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.service-card.primary-service {
  display: flex;
  flex-direction: column;
  padding: 46px;
  background:
    radial-gradient(circle at 90% 10%, rgba(10, 92, 255, 0.12), transparent 35%),
    #fff;
}

.service-card .service-number {
  display: block;
  margin-bottom: 50px;
  color: #a0a6b2;
  font-family: var(--font-geist-mono);
  font-size: 11px;
}

.service-card h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.service-card > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  color: #414854;
  font-size: 13px;
}

.service-list svg {
  color: var(--blue);
}

.service-timing {
  width: fit-content;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.compact-service {
  min-height: 290px;
}

.compact-service .service-number {
  margin-bottom: 40px;
}

.compact-service .service-list {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

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

.service-offer {
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.service-offer .service-number {
  margin-bottom: 64px;
}

.service-offer .service-list {
  grid-template-columns: 1fr;
  margin: 28px 0 30px;
}

.service-offer .text-link {
  margin-top: auto;
}

.advantages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.small-advantage {
  min-height: 142px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.small-advantage svg {
  color: var(--blue);
}

.small-advantage h3 {
  margin: 26px 0 0;
  font-size: 15px;
  font-weight: 590;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.contact-card span {
  color: #949aa5;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 580;
  text-overflow: ellipsis;
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span {
  color: #555d6b;
  font-size: 12px;
  font-weight: 620;
}

.contact-form label em {
  color: #9aa1ad;
  font-size: 10px;
  font-style: normal;
  font-weight: 520;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe3ea;
  border-radius: 13px;
  outline: none;
  background: #fafbfc;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input {
  height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a8adb6;
}

.contact-form .consent-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.contact-form .consent-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.contact-form .consent-row > span {
  color: #666e7c;
  font-size: 12px;
  font-weight: 480;
  line-height: 1.5;
}

.consent-row a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-row a:hover {
  color: var(--blue-dark);
}

.contact-form .marketing-consent,
.popup-form .marketing-consent {
  margin-top: -3px;
  padding: 11px 12px;
  border: 1px solid rgba(10, 92, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 92, 255, 0.045);
}

.contact-form .marketing-consent > span,
.popup-form .marketing-consent > span {
  color: #4f5868;
  font-size: 12px;
  font-weight: 570;
}

.contact-form .marketing-consent small,
.popup-form .marketing-consent small {
  display: block;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(10, 92, 255, 0.09);
  color: var(--blue);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}

.form-success {
  margin: 0;
  padding: 13px;
  border-radius: 11px;
  background: #edf9f3;
  color: #23764e;
  font-size: 12px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 21, 34, 0.48);
  backdrop-filter: blur(10px);
  animation: modal-fade 0.2s ease both;
}

.request-modal,
.success-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(224, 228, 237, 0.95);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(18, 27, 51, 0.24);
  animation: modal-rise 0.28s ease both;
}

.request-modal {
  padding: 38px;
}

.request-modal h2,
.success-modal h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.modal-lead {
  max-width: 440px;
  margin: 13px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #e4e7ed;
  border-radius: 50%;
  background: #f7f8fb;
  color: #596170;
  cursor: pointer;
}

.contact-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  border-radius: 16px;
  background: #f2f4f8;
}

.contact-tabs button {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #717886;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.contact-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 18px rgba(24, 37, 68, 0.08);
}

.popup-form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.popup-form > label {
  display: grid;
  gap: 7px;
}

.popup-form label > span {
  font-size: 12px;
  font-weight: 610;
}

.popup-form label em {
  color: #9aa1ad;
  font-size: 10px;
  font-style: normal;
  font-weight: 520;
}

.popup-form input[type="tel"],
.popup-form input[type="text"],
.popup-form input:not([type]),
.popup-form textarea {
  width: 100%;
  border: 1px solid #dfe3ea;
  border-radius: 13px;
  outline: none;
  background: #fafbfc;
  color: var(--ink);
}

.popup-form input[type="tel"],
.popup-form input[type="text"],
.popup-form input:not([type]) {
  height: 50px;
  padding: 0 14px;
}

.popup-form textarea {
  padding: 13px 14px;
  resize: vertical;
}

.popup-form input:focus,
.popup-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.1);
}

.popup-form .consent-row {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
}

.popup-form .consent-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--blue);
}

.popup-form .consent-row span {
  color: #68707d;
  font-size: 11px;
  font-weight: 480;
  line-height: 1.5;
}

.popup-form .button {
  width: 100%;
  min-height: 50px;
}

.messenger-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.messenger-choice label {
  cursor: pointer;
}

.messenger-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.messenger-choice span {
  min-height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  color: #656d7a;
  font-size: 12px;
  font-weight: 650;
}

.messenger-choice input:checked + span {
  border-color: rgba(10, 92, 255, 0.34);
  background: var(--blue-soft);
  color: var(--blue);
}

.success-modal {
  width: min(100%, 650px);
  min-height: 390px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.success-character {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef3ff, #f7f9fd);
}

.success-character img {
  position: absolute;
  bottom: -16px;
  left: 50%;
  width: 330px;
  max-width: none;
  transform: translateX(-51%);
}

.success-copy {
  align-self: center;
  padding: 54px 42px 46px;
}

.success-check {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
}

.success-copy p {
  margin: 13px 0 25px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-notice {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
  border: 1px solid #dfe4ec;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(23, 34, 61, 0.16);
  backdrop-filter: blur(16px);
}

.cookie-notice p {
  margin: 0;
  color: #596170;
  font-size: 12px;
  line-height: 1.5;
}

.cookie-notice .button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 12px;
}

.case-hero {
  padding: 65px 0 0;
  background: #fbfcfe;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 55px;
  color: #68707e;
  font-size: 13px;
  font-weight: 560;
}

.back-link:hover {
  color: var(--blue);
}

.case-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 52px;
}

.case-heading-action {
  width: min(100%, 480px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
}

.case-heading-action > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.case-heading-action .button {
  gap: 8px;
}

.site-preview-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(12, 17, 29, 0.72);
  backdrop-filter: blur(12px);
  animation: modal-fade 0.2s ease both;
}

.site-preview-modal {
  width: min(1500px, 96vw);
  height: min(920px, 92dvh);
  overflow: hidden;
  display: grid;
  grid-template-rows: 62px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: #eef1f6;
  box-shadow: 0 40px 120px rgba(4, 8, 18, 0.42);
  animation: modal-rise 0.28s ease both;
}

.site-preview-header {
  padding: 0 14px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dfe3eb;
  background: #fff;
}

.site-preview-header > div,
.site-preview-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-preview-header strong {
  font-size: 14px;
  font-weight: 650;
}

.site-preview-dots {
  display: flex;
  gap: 6px;
}

.site-preview-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7dbe2;
}

.site-preview-dots i:first-child { background: #ff6b66; }
.site-preview-dots i:nth-child(2) { background: #f6c957; }
.site-preview-dots i:nth-child(3) { background: #64c77a; }

.site-preview-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e4ea;
  border-radius: 50%;
  background: #f7f8fa;
  color: #424955;
  font-size: 23px;
  font-weight: 300;
  cursor: pointer;
}

.site-preview-frame-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #eef1f6;
}

.site-preview-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #737b89;
  font-size: 13px;
}

.site-preview-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-preview-frame.loaded {
  opacity: 1;
}

.case-title {
  max-width: 680px;
}

.case-banner .project-visual {
  aspect-ratio: 2.05;
  border-radius: 28px;
}

.visual-large .mock-browser {
  top: 10%;
  right: 7%;
  width: 72%;
  height: 89%;
}

.case-details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
}

.case-description h2 {
  margin: 0 0 22px;
  font-size: 38px;
  font-weight: 590;
  letter-spacing: -0.05em;
}

.case-description > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.case-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.case-fact {
  padding: 20px;
  background: #fff;
}

.case-fact span {
  display: block;
  margin-bottom: 7px;
  color: #a0a6b1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-fact strong {
  font-size: 14px;
  font-weight: 570;
}

.case-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 80px;
}

.case-list-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
}

.case-list-card h3 {
  margin: 0 0 25px;
  font-size: 22px;
  font-weight: 590;
  letter-spacing: -0.035em;
}

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

.case-list-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #535b68;
  font-size: 14px;
}

.case-list-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.gallery-panel {
  min-height: 440px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #f1f3f8;
}

.gallery-panel:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 380px;
}

.gallery-screen {
  height: 100%;
  min-height: inherit;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 29, 45, 0.1);
}

.gallery-screen .screen-label {
  display: block;
  color: #a0a6b0;
  font-size: 8px;
  font-weight: 690;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.screen-title {
  max-width: 430px;
  margin-top: 40px;
  font-size: 38px;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.065em;
}

.screen-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.screen-blocks span {
  height: 90px;
  border-radius: 10px;
  background: #edf1f8;
}

.gallery-panel:nth-child(2) .screen-blocks {
  grid-template-columns: 1fr;
}

.gallery-panel:nth-child(2) .screen-blocks span {
  height: 54px;
}

.gallery-panel:nth-child(3) .gallery-screen {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}

.gallery-panel:nth-child(3) .screen-blocks {
  align-self: center;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

/* Rebuilt home page */
.fit-section {
  background: #fff;
}

.compact-heading {
  max-width: 720px;
}

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

.fit-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #e5e9f0;
  border-radius: 22px;
  background: #f8faff;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.fit-card:hover {
  transform: translateY(-4px);
  border-color: #cedbf5;
  box-shadow: 0 18px 45px rgba(36, 58, 105, 0.08);
}

.fit-number {
  color: var(--blue);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 650;
}

.fit-card h3 {
  margin: auto 0 10px;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.fit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.audience-row span {
  padding: 9px 13px;
  border: 1px solid #e2e7f0;
  border-radius: 999px;
  background: #fff;
  color: #626a78;
  font-size: 11px;
  font-weight: 580;
}

.home-services-section {
  background: #f4f6fa;
}

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

.home-service-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #e0e5ed;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(31, 42, 72, 0.035);
}

.home-service-card.featured {
  border-color: #c9d9fb;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(10, 92, 255, 0.11),
      transparent 32%
    ),
    #fff;
}

.home-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-service-top > span:first-child {
  color: #9ba2ae;
  font-family: var(--font-geist-mono);
  font-size: 11px;
}

.home-service-card h3 {
  margin: 56px 0 13px;
  font-size: 32px;
  font-weight: 610;
  letter-spacing: -0.05em;
}

.home-service-card > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.home-service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.home-service-card li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f3f6fb;
  color: #535c6a;
  font-size: 11px;
  font-weight: 550;
}

.home-service-card li svg {
  color: var(--blue);
}

.home-service-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.home-service-footer > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home-service-footer > .home-service-actions {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.home-service-footer strong {
  font-size: 25px;
  font-weight: 630;
  letter-spacing: -0.04em;
}

.home-service-footer > div > span {
  color: #8b929e;
  font-size: 10px;
}

.service-discuss-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 17px;
  font-size: 13px;
}

.service-details-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.result-section {
  padding-top: 0;
  background: #f4f6fa;
}

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.72fr);
  min-height: 476px;
  overflow: hidden;
  padding: 52px 62px 0;
  border: 1px solid #d7e2f7;
  border-radius: 32px;
  background:
    radial-gradient(
      ellipse 70% 100% at 0 100%,
      rgba(255, 255, 255, 0.72),
      transparent 74%
    ),
    #eaf1ff;
}

.result-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 52px;
}

.result-kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-content h2 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 630;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.result-text {
  max-width: 640px;
  margin: 28px 0 34px;
  color: #697180;
  font-size: 17px;
  line-height: 1.55;
}

.result-button {
  min-width: 128px;
}

.result-character {
  position: relative;
  min-height: 424px;
  align-self: end;
}

.result-character img {
  position: absolute;
  right: -6px;
  bottom: -350px;
  width: auto;
  height: 780px;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 30px rgba(47, 61, 96, 0.11));
}

.home-process-section {
  background: #f7f8fb;
}

.process-list-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 72px;
  align-items: start;
}

.process-list-heading {
  margin-bottom: 0;
}

.process-list-heading h2 {
  max-width: 470px;
  font-family: inherit;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 590;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

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

.process-list-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}

.process-list-item > span {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.process-list-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.process-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.home-process-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.home-process-card:last-child {
  border-right: 0;
}

.home-process-card > span {
  color: var(--blue);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 650;
}

.home-process-card h3 {
  margin: auto 0 14px;
  font-size: 26px;
  font-weight: 610;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-contact-section {
  background: #fff;
}

.home-contact-shell {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 70px;
  padding: 62px;
  border: 1px solid #dce5f5;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 0 0,
      rgba(10, 92, 255, 0.1),
      transparent 28%
    ),
    #f4f7fd;
}

.home-contact-copy {
  display: flex;
  flex-direction: column;
}

.home-contact-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.home-contact-copy > p {
  max-width: 500px;
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.home-contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-contact-methods a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 17px;
  border: 1px solid #e1e6ef;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.home-contact-methods a:hover {
  transform: translateY(-2px);
  border-color: #bdd0f6;
}

.home-contact-methods a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.home-contact-methods span {
  color: #8b929e;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-contact-methods strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-promise {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 30px;
  color: #596372;
  font-size: 12px;
}

.contact-promise svg {
  color: var(--blue);
}

.home-contact-form-wrap {
  overflow: hidden;
  border: 1px solid #dde3ec;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(28, 43, 77, 0.1);
}

.home-contact-form-wrap .contact-form {
  padding: 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .main-nav {
    margin-left: 20px;
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 32px;
  }

  .hero-art img {
    width: 430px;
  }

  .orbit-one {
    width: 430px;
    height: 430px;
  }

  .orbit-two {
    width: 480px;
    height: 480px;
  }

  .comparison-column {
    padding: 30px;
  }

  .benefits-shell {
    grid-template-columns: 1fr;
  }

  .benefits-cta {
    grid-column: 1;
  }

  .faq-layout,
  .contact-layout,
  .case-details {
    gap: 50px;
  }

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

  .result-card,
  .home-contact-shell {
    gap: 45px;
    padding: 45px;
  }
}

@media (max-width: 760px) {
  .benefits-cta {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    margin-top: 4px;
  }

  .contacts-hero {
    display: none;
  }

  .contacts-content {
    padding-top: 42px;
  }

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

  .site-header {
    height: 66px;
  }

  .header-button {
    display: none;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px 16px 25px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 50px rgba(26, 35, 55, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    padding: 16px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .main-nav > a.active::after {
    display: none;
  }

  .main-nav .mobile-nav-button {
    display: inline-flex;
    margin-top: 16px;
    border: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(252, 253, 255, 0.96) 0%,
        rgba(249, 250, 251, 0.7) 45%,
        rgba(239, 237, 232, 0.08) 78%
      ),
      radial-gradient(
        ellipse 94% 24% at 54% 82%,
        rgba(255, 255, 255, 0.62) 0%,
        rgba(255, 255, 255, 0) 74%
      );
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }

  .hero-copy {
    padding: 48px 0 18px;
  }

  .hero h1,
  .page-hero h1,
  .case-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 0 0 auto;
    padding: 0 18px;
  }

  .badge-row {
    gap: 7px;
  }

  .tag {
    min-width: 0;
    min-height: 42px;
    gap: 5px;
    padding: 8px 9px;
    font-size: 10px;
    white-space: nowrap;
  }

  .tag svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
  }

  .hero-art {
    position: relative;
    width: 100%;
    height: 390px;
    margin-top: 0;
    margin-bottom: -1px;
    overflow: hidden;
  }

  .hero-art::before {
    display: none;
  }

  .hero-art img {
    position: absolute;
    right: 50%;
    bottom: -1px;
    width: 430px;
    max-width: 118%;
    max-height: none;
    transform: translateX(50%);
    object-position: center bottom;
  }

  .orbit-one {
    width: 370px;
    height: 370px;
  }

  .orbit-two {
    display: none;
  }

  .note-top {
    top: 70px;
    right: 0;
  }

  .note-bottom {
    left: 0;
    bottom: 50px;
  }

  .section {
    padding: 82px 0;
  }

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

  .section-heading h2 {
    font-size: 39px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .comparison-center {
    min-height: 240px;
    order: -1;
  }

  .comparison-center strong {
    font-size: 85px;
  }

  .comparison-column {
    padding: 28px;
  }

  .process-grid,
  .project-grid,
  .pricing-grid,
  .service-main-grid,
  .services-four-grid,
  .advantages-row,
  .contact-layout,
  .case-details,
  .case-columns,
  .gallery {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 45px;
  }

  .fit-grid,
  .home-services-grid,
  .result-card,
  .home-process-grid,
  .home-contact-shell {
    grid-template-columns: 1fr;
  }

  .fit-card {
    min-height: 235px;
  }

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

  .home-service-card h3 {
    margin-top: 44px;
    font-size: 29px;
  }

  .home-service-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-service-footer > .home-service-actions {
    width: 100%;
  }

  .home-service-actions .button {
    flex: 1 1 0;
  }

  .result-card {
    gap: 26px;
    min-height: auto;
    padding: 34px 24px 0;
  }

  .result-content {
    padding-bottom: 0;
  }

  .result-content h2 {
    max-width: 520px;
    font-size: 42px;
  }

  .result-character {
    min-height: 380px;
  }

  .result-character img {
    right: 50%;
    bottom: -185px;
    width: auto;
    height: 470px;
    max-width: none;
    max-height: none;
    transform: translateX(50%);
  }

  .home-process-grid {
    overflow: visible;
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .home-process-card {
    min-height: 250px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
  }

  .home-contact-shell {
    gap: 36px;
    padding: 34px 16px 40px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: #f4f7fd;
  }

  .home-contact-section {
    background: #f4f7fd;
  }

  .home-contact-section .container {
    width: 100%;
  }

  .home-contact-copy h2 {
    font-size: 42px;
  }

  .contact-promise {
    margin-top: 0;
  }

  .home-contact-form-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-contact-form-wrap .contact-form {
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-contact-form-wrap .contact-form input {
    height: 56px;
  }

  .home-contact-form-wrap .contact-form textarea {
    min-height: 140px;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .project-visual {
    aspect-ratio: 1.18;
  }

  .benefits-shell {
    gap: 20px;
    padding: 34px 22px;
  }

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

  .price-card.featured {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding-top: 72px;
  }

  .cta-copy {
    padding: 42px 28px 0;
  }

  .cta-art {
    min-height: 320px;
  }

  .cta-art img {
    bottom: -302px;
    width: auto;
    height: 580px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    gap: 55px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding: 80px 0 60px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .service-card.primary-service,
  .service-card {
    padding: 28px;
  }

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

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

  .contact-form {
    padding: 25px;
  }

  .cookie-notice {
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-notice .button {
    width: 100%;
  }

  .case-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .case-heading-action {
    width: 100%;
    gap: 18px;
  }

  .case-heading-action .button {
    width: 100%;
  }

  .case-banner .project-visual {
    aspect-ratio: 1.25;
  }

  .visual-large .mock-browser {
    right: -2%;
    width: 91%;
  }

  .gallery-panel:nth-child(3) {
    grid-column: auto;
  }

  .gallery-panel:nth-child(3) .gallery-screen {
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    min-height: 360px;
    padding: 16px;
  }

  .screen-title {
    font-size: 30px;
  }
}

@media (max-width: 760px) {
  .modal-backdrop {
    align-items: end;
    padding: 10px;
  }

  .request-modal,
  .success-modal {
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .request-modal {
    padding: 28px 20px 22px;
  }

  .request-modal h2,
  .success-modal h2 {
    font-size: 32px;
  }

  .modal-lead {
    padding-right: 25px;
    margin-bottom: 18px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .site-preview-backdrop {
    padding: 8px;
  }

  .site-preview-modal {
    width: 100%;
    height: calc(100dvh - 16px);
    grid-template-rows: 56px 1fr;
    border-radius: 18px;
  }

  .site-preview-header {
    padding: 0 9px 0 14px;
  }

  .site-preview-dots {
    display: none;
  }

  .site-preview-header strong {
    max-width: 110px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-preview-actions {
    gap: 9px;
  }

  .site-preview-actions button {
    width: 36px;
    height: 36px;
  }

  .popup-form {
    gap: 12px;
  }

  .success-modal {
    grid-template-columns: 1fr;
  }

  .success-character {
    min-height: 190px;
  }

  .success-character img {
    bottom: -95px;
    width: 300px;
  }

  .success-copy {
    padding: 28px 24px 26px;
    text-align: center;
  }

  .success-check {
    margin: 0 auto 18px;
  }

  .success-copy .button {
    width: 100%;
  }
}

/* SEO and commercial pages */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: #8a919e;
  font-size: 12px;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.commercial-hero {
  padding: 72px 0 84px;
}

.commercial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: 76px;
}

.commercial-hero-copy h1 {
  max-width: 820px;
}

.commercial-hero-copy > p {
  max-width: 700px;
}

.commercial-offer-card {
  padding: 32px;
  border: 1px solid rgba(10, 92, 255, 0.16);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.commercial-offer-card > span {
  color: #8d94a1;
  font-family: var(--font-geist-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.commercial-offer-card > strong {
  display: block;
  margin-top: 14px;
  font-size: 38px;
  font-weight: 640;
  letter-spacing: -0.055em;
}

.commercial-offer-card > p {
  margin: 6px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.commercial-offer-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.commercial-offer-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4d5563;
  font-size: 13px;
}

.commercial-offer-card li svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.commercial-offer-card .button {
  width: 100%;
}

.commercial-summary-section {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.commercial-summary {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: start;
  gap: 64px;
}

.commercial-summary h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.commercial-summary p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.commercial-info-card {
  min-height: 250px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.commercial-info-card > span,
.commercial-step > span {
  color: #a1a7b2;
  font-family: var(--font-geist-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.commercial-info-card h3 {
  margin: 78px 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.commercial-info-card p,
.commercial-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.commercial-process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f1f4f9;
}

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

.commercial-step {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(218, 223, 233, 0.9);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.88);
}

.commercial-step h3 {
  margin: 56px 0 11px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.commercial-fit-section {
  padding-top: 0;
}

.commercial-fit-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 60px;
  padding: 48px;
  border-radius: 28px;
  background: #111a32;
  color: #fff;
}

.commercial-fit-shell h2 {
  margin: 10px 0 0;
  font-size: 38px;
  font-weight: 590;
  letter-spacing: -0.05em;
}

.commercial-fit-shell .section-kicker {
  color: #7ea7ff;
}

.commercial-fit-shell ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commercial-fit-shell li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf1fb;
  font-size: 14px;
}

.commercial-fit-shell li svg {
  color: #72a0ff;
}

.commercial-cases-section {
  background: #fff;
}

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

.commercial-case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.commercial-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 40, 68, 0.09);
}

.commercial-case-card > .project-visual {
  aspect-ratio: 1.38;
  border-radius: 0;
}

.commercial-case-card > div:last-child {
  padding: 23px;
}

.commercial-case-card > div:last-child > span {
  color: #9aa1ad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commercial-case-card h3 {
  margin: 10px 0 8px;
  font-size: 23px;
  font-weight: 610;
  letter-spacing: -0.04em;
}

.commercial-case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.commercial-case-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
}

.related-section {
  padding-top: 58px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.related-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.related-shell h2 {
  margin: 9px 0 0;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #505866;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.case-index-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 48px;
  color: #9299a5;
  font-size: 12px;
}

.case-index-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4f5765;
  font-weight: 620;
}

.case-index-links a:hover {
  color: var(--blue);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.case-actions .button {
  gap: 8px;
}

.not-found-section {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
}

.not-found-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: 60px;
}

.not-found-grid h1 {
  margin: 14px 0 0;
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.not-found-grid p {
  max-width: 530px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.not-found-grid > img,
.not-found-grid > picture > img {
  align-self: end;
  width: 100%;
  max-height: 610px;
  object-fit: contain;
  object-position: center bottom;
}

.footer-nav {
  gap: 68px;
}

/* Proof, reviews and editorial content */
.proof-section {
  border-top: 1px solid #e4e8f0;
  border-bottom: 1px solid #e4e8f0;
  background: #f1f4f9;
}

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

.proof-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(216, 222, 233, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 38px rgba(35, 48, 79, 0.045);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(35, 48, 79, 0.09);
}

.proof-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.proof-avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-geist-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.proof-card-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proof-card-head strong {
  font-size: 14px;
  font-weight: 680;
}

.proof-card-head > div span {
  color: #9299a5;
  font-size: 10px;
}

.proof-status {
  padding: 6px 9px;
  border: 1px solid rgba(10, 92, 255, 0.13);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.proof-card > p {
  margin: 55px 0 24px;
  color: #252a35;
  font-size: 22px;
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.proof-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.proof-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #697180;
  font-size: 12px;
}

.proof-card li svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.proof-card .text-link {
  margin-top: auto;
}

.proof-action {
  margin-top: 14px;
}

.testimonials-section {
  background: #fff;
}

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

.testimonial-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(32, 46, 86, 0.06);
}

.testimonial-draft {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-card blockquote {
  margin: 28px 0 30px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 520;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-author > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #11131a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-author div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-author strong {
  font-size: 14px;
}

.testimonial-author small {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 0;
  }
}

.blog-preview-section,
.article-related-section {
  background: #fff;
}

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

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

.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 65px rgba(29, 41, 73, 0.11);
}

.blog-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-visual {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.25), transparent 26%),
    linear-gradient(145deg, #0b61ff, #0647c7);
  color: #fff;
}

.blog-card-visual::before,
.blog-card-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.blog-card-visual::before {
  top: -78px;
  right: -54px;
  width: 190px;
  height: 190px;
}

.blog-card-visual::after {
  right: 48px;
  bottom: -102px;
  width: 230px;
  height: 230px;
}

.blog-grid .blog-card:nth-child(2n) .blog-card-visual {
  background:
    radial-gradient(circle at 12% 92%, rgba(10, 92, 255, 0.18), transparent 35%),
    linear-gradient(145deg, #171d2d, #2b344b);
}

.blog-grid .blog-card:nth-child(3n) .blog-card-visual {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.45), transparent 25%),
    linear-gradient(145deg, #dbe7ff, #8cb1ff);
  color: #10234e;
}

.blog-card-visual > span {
  position: relative;
  z-index: 2;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-grid .blog-card:nth-child(3n) .blog-card-visual > span {
  border-color: rgba(16, 35, 78, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.blog-card-visual > strong {
  position: relative;
  z-index: 2;
  max-width: 310px;
  margin-top: auto;
  font-size: 30px;
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.blog-card-visual > i {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 10px;
  font-style: normal;
  opacity: 0.72;
}

.blog-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9ba1ac;
  font-size: 10px;
}

.blog-card-copy h3 {
  margin: 20px 0 10px;
  font-size: 23px;
  font-weight: 610;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
}

.blog-card-link svg {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-link svg {
  transform: translate(2px, -2px);
}

.blog-hero {
  background:
    radial-gradient(circle at 78% 28%, rgba(10, 92, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fc 100%);
}

.blog-index-section {
  background: var(--bg);
}

.blog-index-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.blog-index-intro > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 710;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blog-index-intro p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.article-hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 25%, rgba(10, 92, 255, 0.15), transparent 28%),
    #f8faff;
}

.article-hero-inner h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 610;
  line-height: 0.99;
  letter-spacing: -0.067em;
}

.article-hero-inner > p {
  max-width: 760px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.article-meta span {
  padding: 8px 11px;
  border: 1px solid #dfe5ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #727a88;
  font-size: 10px;
  font-weight: 600;
}

.article-section {
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 1.42fr);
  align-items: start;
  gap: 96px;
}

.article-summary {
  position: sticky;
  top: 110px;
  padding: 29px;
  border-radius: 23px;
  background: #111a32;
  color: #fff;
}

.article-summary > span {
  color: #86adff;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-summary > p {
  margin: 22px 0 28px;
  color: #eef2fb;
  font-size: 17px;
  font-weight: 520;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.article-summary .text-link {
  color: #8fb4ff;
}

.article-body {
  max-width: 760px;
}

.article-body > section {
  margin-bottom: 66px;
  scroll-margin-top: 100px;
}

.article-body h2 {
  margin: 0 0 22px;
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.article-body p {
  margin: 0 0 17px;
  color: #555e6c;
  font-size: 17px;
  line-height: 1.78;
}

.article-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.article-body li {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfc;
  color: #4f5765;
  font-size: 13px;
}

.article-body li svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.article-cta-inline {
  margin-top: 20px;
  padding: 38px;
  border: 1px solid rgba(10, 92, 255, 0.15);
  border-radius: 26px;
  background: var(--blue-soft);
}

.article-cta-inline > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-cta-inline h2 {
  max-width: 560px;
  margin: 14px 0 25px;
  font-size: 36px;
}

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

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid rgba(10, 92, 255, 0.3);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .commercial-hero-grid {
    gap: 40px;
  }

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

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

  .commercial-case-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
  }

  .proof-card {
    padding: 24px;
  }

  .proof-card-head {
    grid-template-columns: auto 1fr;
  }

  .proof-status {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .article-layout {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .process-list-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-list-heading h2 {
    max-width: 360px;
    font-size: 39px;
  }

  .process-list-item {
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 24px 0 26px;
  }

  .process-list-item h3 {
    font-size: 22px;
  }

  .process-list-item p {
    font-size: 14px;
  }

  .commercial-hero {
    padding: 38px 0 64px;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .commercial-hero-grid,
  .commercial-summary,
  .commercial-step-grid,
  .commercial-fit-shell,
  .not-found-grid {
    grid-template-columns: 1fr;
  }

  .commercial-hero-grid {
    gap: 34px;
  }

  .commercial-hero-copy .hero-actions .button {
    flex: 1 1 140px;
  }

  .commercial-offer-card {
    padding: 26px;
  }

  .commercial-summary {
    gap: 24px;
  }

  .commercial-summary h2 {
    font-size: 39px;
  }

  .commercial-summary p {
    font-size: 16px;
  }

  .commercial-card-grid,
  .commercial-case-grid {
    grid-template-columns: 1fr;
  }

  .commercial-info-card {
    min-height: 220px;
  }

  .commercial-info-card h3 {
    margin-top: 58px;
  }

  .commercial-step {
    min-height: 210px;
  }

  .commercial-fit-shell {
    gap: 30px;
    padding: 31px 24px;
  }

  .commercial-fit-shell h2 {
    font-size: 33px;
  }

  .commercial-case-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .related-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .related-links {
    justify-content: flex-start;
  }

  .case-index-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-actions .button {
    width: 100%;
  }

  .not-found-section {
    min-height: auto;
    padding: 76px 0 0;
  }

  .not-found-grid {
    gap: 30px;
  }

  .not-found-grid > img,
.not-found-grid > picture > img {
    max-height: 390px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .proof-grid,
  .blog-grid,
  .blog-index-section .blog-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .proof-card {
    min-height: 330px;
  }

  .proof-card-head {
    grid-template-columns: auto 1fr auto;
  }

  .proof-status {
    grid-column: auto;
  }

  .proof-card > p {
    margin-top: 42px;
  }

  .blog-index-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .blog-index-intro p {
    text-align: left;
  }

  .blog-card-visual {
    min-height: 215px;
  }

  .article-hero {
    padding: 44px 0 66px;
  }

  .article-hero-inner h1 {
    font-size: clamp(41px, 12vw, 58px);
  }

  .article-hero-inner > p {
    font-size: 16px;
  }

  .article-layout {
    gap: 46px;
  }

  .article-summary {
    position: static;
  }

  .article-body p {
    font-size: 16px;
    line-height: 1.72;
  }

  .article-body ul {
    grid-template-columns: 1fr;
  }

  .article-body > section {
    margin-bottom: 52px;
  }

  .article-cta-inline {
    padding: 28px 22px;
  }

  .article-cta-inline h2 {
    font-size: 32px;
  }
}

@media (max-width: 430px) {
  .proof-card-head {
    grid-template-columns: auto 1fr;
  }

  .proof-status {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   Планшет 761–1024 px: подвал не помещался в экран
   ==========================================================
   Раскладка «в строку» с четырьмя колонками по 110 px и
   отступами 68 px требует 644 px только под меню — плюс блок
   с логотипом. На планшете это не влезало, и страница ехала
   вбок. Переносим подвал в колонку раньше, чем на телефоне. */
@media (max-width: 1024px) {
  .footer-top { flex-direction: column; gap: 42px; }
  .footer-nav { flex-wrap: wrap; gap: 34px 40px; }
  .footer-nav > div { flex: 1 1 150px; min-width: 0; }
}

/* Карточка услуги: две кнопки в подвале карточки стояли в строку
   и не сжимались (flex:0 0 auto). Когда карточек две в ряд —
   а это ширины примерно от 760 до 1100 px — вторая кнопка вылезала
   за карточку и тянула страницу вбок. Разрешаем перенос. */
.home-service-footer > .home-service-actions { flex-wrap: wrap; }
