:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --ink: #101828;
  --text: #1d2939;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #d9e0e8;
  --line-soft: #e9edf2;
  --brand: #1d5f91;
  --brand-dark: #164c74;
  --brand-soft: #e7f1f8;
  --dark: #0b1220;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.section-padding {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-logo {
  width: 142px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.12);
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.18s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.header-cta,
.btn-primary {
  background: var(--ink);
  color: white;
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-light {
  background: white;
  color: var(--ink);
  border-color: transparent;
}

.btn-light:hover {
  background: var(--surface-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(29, 95, 145, 0.08), transparent 38%),
    var(--bg);
}

.hero.section-padding {
  padding: 72px 0;
}

.hero-grid,
.product-grid,
.contact-grid,
.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.hero-text,
.section-heading p,
.product-grid p,
.use-cases-grid p,
.highlight p,
.contact-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

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

.hero-panel {
  min-width: 0;
}

.brand-animation {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(45, 177, 232, 0.16), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), transparent 42%);
  border: 0;
  box-shadow: none;
  isolation: isolate;
}

.brand-animation::before {
  content: "";
  position: absolute;
  width: min(72%, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 95, 145, 0.1);
  border-radius: 50%;
}

.brand-animation::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(45, 177, 232, 0.16);
  filter: blur(42px);
  animation: glowBreath 5.5s ease-in-out infinite;
}

.brand-logo-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 10px);
  color: var(--ink);
  animation: logoFloat 5.5s ease-in-out infinite;
}

.animated-mark {
  position: relative;
  width: clamp(68px, 8vw, 94px);
  height: clamp(88px, 10vw, 122px);
  display: inline-block;
  animation: markDraw 4.8s ease-in-out infinite;
}

.mark-ring,
.mark-stem {
  position: absolute;
  display: block;
}

.mark-ring {
  top: 0;
  left: 0;
  width: 100%;
  height: 72%;
  border: clamp(12px, 1.25vw, 16px) solid #2db1e8;
  border-bottom-color: #287ee6;
  border-left-color: #1677df;
  border-radius: 999px;
  background: transparent;
}

.mark-stem {
  left: 0;
  bottom: 0;
  width: clamp(13px, 1.35vw, 17px);
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(180deg, #2db1e8, #1677df);
  animation: stemPulse 4.8s ease-in-out infinite;
}

.animated-word {
  display: flex;
  align-items: baseline;
  color: var(--ink);
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.animated-word span {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  animation: letterPulse 3.8s ease-in-out infinite;
}

.animated-word span:nth-child(1) {
  display: none;
}

.animated-word span:nth-child(2) {
  animation-delay: 0.16s;
}

.animated-word span:nth-child(3) {
  animation-delay: 0.24s;
}

.animated-word span:nth-child(4) {
  animation-delay: 0.32s;
}

.animated-word span:nth-child(5) {
  animation-delay: 0.4s;
}

.animated-word span:nth-child(6) {
  animation-delay: 0.48s;
}

.animated-word span:nth-child(7) {
  animation-delay: 0.56s;
}

.animated-word span:nth-child(8) {
  animation-delay: 0.64s;
}

.brand-orbit,
.signal-dot {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.brand-orbit {
  width: min(68%, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 95, 145, 0.12);
  border-radius: 50%;
}

.brand-orbit-one {
  animation: rotateOrbit 16s linear infinite;
}

.brand-orbit-two {
  width: min(50%, 290px);
  border-color: rgba(45, 177, 232, 0.16);
  animation: rotateOrbit 11s linear reverse infinite;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2db1e8;
  box-shadow: 0 0 18px rgba(45, 177, 232, 0.55);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.signal-dot-one {
  top: 23%;
  right: 18%;
}

.signal-dot-two {
  left: 16%;
  bottom: 24%;
  animation-delay: 0.8s;
}

.signal-dot-three {
  right: 29%;
  bottom: 16%;
  animation-delay: 1.4s;
}

.stats {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220, #101827);
  padding: 54px 0;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 177, 232, 0.52), transparent);
  transform: rotate(-1.2deg);
}

.stats::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -5%;
  width: 110%;
  height: 18px;
  background: rgba(45, 177, 232, 0.06);
  transform: rotate(-1.2deg);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats article {
  position: relative;
  min-height: 166px;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.stats article::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 22px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: #2db1e8;
}

.stats strong {
  display: block;
  margin: 34px 0 12px;
  color: white;
  font-size: 25px;
  letter-spacing: -0.01em;
}

.stats span {
  color: #c8d3df;
  font-size: 15px;
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 44px;
}

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

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

.digital-quality-section {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.digital-quality-section::before,
.digital-quality-section::after {
  content: "";
  position: absolute;
  left: -5%;
  width: 110%;
  pointer-events: none;
  z-index: 0;
}

.digital-quality-section::before {
  top: 0;
  height: 22px;
  background:
    linear-gradient(90deg, transparent, rgba(45, 177, 232, 0.42), transparent),
    rgba(45, 177, 232, 0.055);
  transform: rotate(-1.2deg);
  transform-origin: left top;
}

.digital-quality-section::after {
  bottom: 0;
  height: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(29, 95, 145, 0.28), transparent),
    rgba(29, 95, 145, 0.045);
  transform: rotate(1.2deg);
  transform-origin: left bottom;
}

.digital-quality-section .container {
  position: relative;
  z-index: 1;
}

.digital-quality-section .section-heading {
  max-width: 860px;
}

.digital-quality-section .cards-grid {
  gap: 18px;
}

.digital-quality-section .service-card {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.05);
}

.service-card,
.method-card,
.feature-item,
.use-list article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card {
  padding: 26px;
}

.service-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service-card:hover,
.method-card:hover,
.feature-item:hover,
.use-list article:hover {
  border-color: #b8c7d6;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.service-icon {
  width: auto;
  height: auto;
  display: inline-block;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h4 {
  margin-top: 8px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.service-card p,
.method-card p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 0;
}

.service-card p + p {
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
}

.text-link:hover {
  color: var(--brand-dark);
}

.seo-hero {
  padding: 86px 0 56px;
  background:
    linear-gradient(90deg, rgba(29, 95, 145, 0.08), transparent 42%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

.seo-hero-inner {
  max-width: 860px;
}

.seo-hero h1 {
  max-width: 840px;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.seo-content {
  display: grid;
  gap: 42px;
}

.seo-content section {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-soft);
}

.seo-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.seo-content h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.seo-content p,
.seo-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.seo-content ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
}

.seo-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.seo-aside h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.seo-aside p {
  color: var(--muted);
  line-height: 1.6;
}

.seo-link-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.seo-link-list a {
  padding: 12px 0;
  color: var(--text);
  border-top: 1px solid var(--line-soft);
  font-weight: 700;
}

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

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-item h3 {
  margin-bottom: 8px;
}

.product-section {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 128px;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 177, 232, 0.16), transparent 32%),
    linear-gradient(135deg, #0b1220, #11182a 58%, #0c1324);
  border: 0;
}

.product-section::before,
.product-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 120%;
  pointer-events: none;
  z-index: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.product-section::before {
  top: -74px;
  left: -10%;
  height: 132px;
  background: var(--bg);
  transform: rotate(-2.5deg) translateZ(0);
  transform-origin: left bottom;
  box-shadow: 0 22px 0 rgba(45, 177, 232, 0.08);
}

.product-section::after {
  bottom: -74px;
  left: -10%;
  height: 132px;
  background: var(--bg);
  transform: rotate(2.5deg) translateZ(0);
  transform-origin: left top;
  box-shadow: 0 -22px 0 rgba(45, 177, 232, 0.08);
}

.product-section .product-grid {
  position: relative;
  z-index: 2;
}

.product-section h2,
.product-section h3 {
  color: white;
}

.product-section .eyebrow {
  color: #9bd0f0;
}

.product-section p {
  color: #c7d2df;
}

.product-grid h2 {
  font-size: clamp(44px, 6vw, 78px);
}

.product-grid h3 {
  font-size: 25px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-item {
  padding: 18px;
  color: #eaf2f8;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 16px;
  letter-spacing: 0;
}

.feature-item span {
  display: block;
  color: #c7d2df;
  font-size: 14px;
  line-height: 1.55;
}

.feature-item::before,
.use-list article::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: #2db1e8;
  transform: translateY(-1px);
}

.feature-item::before {
  margin-bottom: 12px;
}

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

.method-card {
  padding: 26px;
}

.method-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.use-cases {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.use-cases::before {
  content: "";
  position: absolute;
  top: -42px;
  left: -5%;
  width: 110%;
  height: 86px;
  background: var(--surface);
  box-shadow: 0 -1px 0 var(--line-soft);
  pointer-events: none;
  transform: rotate(-1.1deg);
  transform-origin: left bottom;
  z-index: -1;
}

.use-cases .container {
  position: relative;
  z-index: 1;
}

.use-cases-grid {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.use-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.use-list article {
  padding: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border-top: 1px solid var(--line-soft);
}

.contact::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 46%;
  height: 136%;
  background:
    radial-gradient(circle at 32% 30%, rgba(45, 177, 232, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.08), transparent 58%);
  transform: skewX(-6deg);
  transform-origin: top;
  pointer-events: none;
}

.contact .contact-grid {
  position: relative;
  z-index: 1;
}

.contact-mail {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink) !important;
  background: var(--surface);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.16);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29, 95, 145, 0.12);
}

.character-count {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.form-message {
  margin: 0;
  min-height: 24px;
  color: var(--brand);
}

.hidden {
  display: none;
}

.site-footer {
  padding: 26px 0;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes rotateOrbit {
  from {
    transform: rotate(0deg) scaleX(1.12);
  }

  to {
    transform: rotate(360deg) scaleX(1.12);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.45);
  }
}

@keyframes letterReveal {
  from {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markDraw {
  0% {
    opacity: 0.88;
    transform: rotate(-2deg) scale(0.985);
  }

  50% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  100% {
    opacity: 0.88;
    transform: rotate(-2deg) scale(0.985);
  }
}

@keyframes stemPulse {
  0% {
    opacity: 0.82;
    transform: scaleY(0.96);
    transform-origin: bottom;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    opacity: 0.82;
    transform: scaleY(0.96);
    transform-origin: bottom;
  }
}

@keyframes letterPulse {
  0%,
  100% {
    opacity: 0.88;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.12);
  }
}

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

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .main-nav a::after {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0.35);
    transform-origin: center;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: var(--surface-soft);
  }

  .main-nav a.is-active::after {
    transform: scaleY(1);
  }

  .hero-grid,
  .product-grid,
  .contact-grid,
  .use-cases-grid,
  .highlight,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-aside {
    position: static;
  }

  .stats-grid,
  .cards-grid,
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-animation {
    min-height: 360px;
  }

  .section-padding {
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
  }
}

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

  .brand span {
    display: none;
  }

  .stats-grid,
  .cards-grid,
  .method-grid,
  .feature-list,
  .use-list {
    grid-template-columns: 1fr;
  }

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

  .brand-animation {
    min-height: 300px;
    border-radius: 16px;
  }

  .brand-logo-stage {
    transform: scale(0.92);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .highlight,
  .contact-form {
    padding: 24px;
  }

}
