/* =========================================================
   X-Latency — fintech studio landing
   ========================================================= */

:root {
  --bg:        #070b14;
  --bg-2:      #0a1020;
  --surface:   #0e1526;
  --surface-2: #111b30;
  --line:      #1b2840;
  --line-2:    #26375a;
  --text:      #eaf1ff;
  --muted:     #97a6c4;
  --muted-2:   #6b7c9e;
  --accent:    #54f2c8;
  --accent-2:  #37b6ff;
  --accent-soft: rgba(84,242,200,.12);

  --maxw: 1200px;
  --radius: 16px;
  --radius-lg: 22px;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', var(--font);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #04110d; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--accent); color: #04110d; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(120,150,210,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,210,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 80%);
}
.bg-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5;
}
.bg-glow--a { width: 620px; height: 620px; top: -260px; left: -120px;
  background: radial-gradient(circle, rgba(84,242,200,.30), transparent 70%); }
.bg-glow--b { width: 560px; height: 560px; top: 320px; right: -180px;
  background: radial-gradient(circle, rgba(55,182,255,.22), transparent 70%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04110d;
  box-shadow: 0 8px 30px -8px rgba(84,242,200,.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(84,242,200,.6); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost {
  background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); background: rgba(84,242,200,.06); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,12,22,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.brand__mark { border-radius: 9px; }
.brand__name { font-size: 19px; }
.brand__x { color: var(--accent); }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px; color: var(--muted); font-weight: 500; position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width .25s var(--ease); border-radius: 2px;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 10px 18px; }

.nav__burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- typography helpers ---------- */
.grad-text {
  background: linear-gradient(110deg, var(--accent), var(--accent-2) 60%, #b69bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
  text-transform: uppercase;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.kicker {
  display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 8vw, 96px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: 1.04;
  font-size: clamp(38px, 6vw, 68px); margin: 22px 0 22px;
}
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 22px; }
.hero__trust { font-size: 14px; color: var(--muted-2); }

.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 56px; color: var(--muted-2); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.hero__scrollline { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }

/* hero visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.orbit { position: relative; width: min(460px, 92%); aspect-ratio: 1; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__ring--1 { transform-origin: center; animation: spin 40s linear infinite; }
.orbit__ring--2 { transform-origin: center; animation: spin 26s linear infinite reverse; }
.orbit__dot { transform-origin: 230px 230px; }
.orbit__dot--1 { animation: spin 14s linear infinite; }
.orbit__dot--2 { animation: spin 22s linear infinite reverse; }
.orbit__dot--3 { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.card3d {
  position: relative; width: min(330px, 82%);
  background: linear-gradient(160deg, rgba(20,30,52,.95), rgba(12,19,34,.95));
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 22px; backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
.card3d__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card3d__chip { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dot-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-weight: 600; }
.dot-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(84,242,200,.6);} 100%{ box-shadow: 0 0 0 9px rgba(84,242,200,0);} }
.card3d__metric { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.card3d__label { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.card3d__value { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.card3d__unit { font-size: 12px; color: var(--muted); }
.spark { margin: 14px 0 16px; height: 56px; }
.spark svg { width: 100%; height: 100%; }
.spark__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.card3d__rows { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 14px; }
.card3d__rows div { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.card3d__rows b { font-weight: 600; }
.card3d__rows .ok { color: var(--accent); }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: baseline; }
.stat__num i { font-style: normal; color: var(--accent); font-size: .55em; margin-left: 3px; }
.stat__label { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 22ch; }

/* ---------- generic section ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: none; }
.section__title { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(28px, 4vw, 44px); }
.section__lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; }

/* ---------- services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(84,242,200,.10), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
  border: 1px solid rgba(84,242,200,.2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- case studies ---------- */
.cases { display: grid; gap: 24px; }
.case {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px,4vw,48px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px); transition: border-color .3s, transform .3s var(--ease);
}
.case:hover { border-color: var(--line-2); transform: translateY(-4px); }
.case--rev .case__media { order: 2; }
.case__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.case__art { width: 100%; height: auto; display: block; }
.case__tag {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.case__title { font-family: var(--display); font-size: clamp(21px,2.4vw,28px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; line-height: 1.15; }
.case__challenge, .case__built { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.case b { color: var(--text); font-weight: 600; }
.case__results { display: grid; gap: 8px; margin: 16px 0 18px; }
.case__results li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.case__results li span {
  flex: none; min-width: 64px; font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 16px;
}
.case__stack { display: flex; flex-wrap: wrap; gap: 8px; }
.case__stack li {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.02);
}

/* ---------- process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 28px 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease);
}
.step:hover { border-color: var(--line-2); transform: translateY(-5px); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--accent); display: block; margin-bottom: 16px; letter-spacing: .1em; }
.step h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14px; }
.step::after {
  content: ""; position: absolute; top: 38px; right: -10px; width: 18px; height: 1px; background: var(--line-2);
}
.step:last-child::after { display: none; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--mono); font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 11px;
  transition: border-color .25s, color .25s, transform .25s var(--ease), background .25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: var(--accent-soft); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: border-color .3s, transform .3s var(--ease);
}
.member:hover { border-color: var(--line-2); transform: translateY(-5px); }
.avatar {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 20px; color: #04110d; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.member h3 { font-family: var(--display); font-size: 19px; font-weight: 600; }
.member__role { display: block; color: var(--accent); font-size: 13.5px; font-weight: 500; margin: 3px 0 11px; }
.member p { color: var(--muted); font-size: 14.5px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 20px;
  transition: border-color .3s, transform .3s var(--ease);
}
.quote:hover { border-color: var(--line-2); transform: translateY(-5px); }
.quote__mark { width: 38px; height: 30px; color: var(--accent); opacity: .55; }
.quote blockquote { font-size: 16px; color: var(--text); line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.q-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: #04110d;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption i { font-style: normal; color: var(--muted); font-size: 13.5px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact__meta { display: grid; gap: 18px; margin-top: 34px; }
.contact__meta li { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact__metaLabel { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.contact__meta a:hover { color: var(--accent); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2397a6c4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form__submit { justify-self: start; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--muted-2); }
.form__note.is-ok { color: var(--accent); }
.field input:invalid:not(:placeholder-shown) { border-color: #ff6b6b; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.socials { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); transition: .25s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__col h4 { font-family: var(--display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  border-top: 1px solid var(--line); padding: 22px 24px; font-size: 13.5px; color: var(--muted-2);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- reveal animation (fallback if GSAP absent) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.no-gsap .reveal { } /* handled by IntersectionObserver in JS */

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .card3d, .orbit__ring--1, .orbit__ring--2, .orbit__dot, .hero__scrollline, .dot-live span, .spark__line {
    animation: none !important;
  }
  .spark__line { stroke-dashoffset: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 360px; }
  .cards, .team, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .section__head--row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8,12,22,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.is-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links a::after { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }

  .case, .case--rev .case__media { grid-template-columns: 1fr; order: 0; }
  .case__media { order: -1; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .cards, .team, .quotes, .steps, .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}
