/* Ecommercify LLC — ecommercifyco.com
   Static site. Zero third-party requests. */

:root {
  --bg:        #06080a;
  --bg-2:      #0a0e13;
  --surface:   #0f151c;
  --surface-2: #141c25;
  --border:    #1d2833;
  --border-2:  #2a3846;
  --text:      #eef2f7;
  --text-2:    #b3bfcd;
  --muted:     #7e8b9c;
  --accent:    #00d9a3;
  --accent-dim:#0a2e26;
  --accent-2:  #7c8cff;
  --warn:      #ffb020;

  --max: 1180px;
  --r:   14px;
  --r-sm: 9px;

  --f-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
            "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 640;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); letter-spacing: -0.022em; }

p { margin: 0; }

::selection { background: var(--accent); color: #04120e; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--accent);
  color: #04120e;
  padding: 11px 18px;
  border-radius: 0 0 10px 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: top .2s ease;
}
.skip:focus { top: 0; }

/* ---------- layout primitives ---------- */

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

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.715rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
  flex: none;
}

.lede {
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 62ch;
  line-height: 1.7;
}

.stack > * + * { margin-top: 22px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 0.945rem;
  font-weight: 570;
  letter-spacing: -0.012em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1),
              background .18s ease, border-color .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #04120e;
  font-weight: 620;
}
.btn--primary:hover { background: #23edb8; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover { border-color: var(--muted); background: rgba(255,255,255,.03); }

.btn--sm { padding: 9.5px 17px; font-size: .875rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 540;
  font-size: .935rem;
}
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 8, 10, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.hdr.is-stuck { border-bottom-color: var(--border); }

.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 660;
  font-size: 1.045rem;
  letter-spacing: -0.03em;
  flex: none;
}
.logo__mark {
  width: 27px; height: 27px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent) 0%, #0f9d7c 100%);
  display: grid;
  place-items: center;
  color: #04120e;
}
.logo__mark svg { fill: currentColor; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: .925rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.045); }
.nav a[aria-current="page"] { color: var(--text); }

.hdr__side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: .715rem;
  letter-spacing: .06em;
}
.lang a {
  padding: 6px 11px;
  color: var(--muted);
  transition: background .16s ease, color .16s ease;
}
.lang a:hover { color: var(--text); }
.lang a.is-on { background: var(--surface-2); color: var(--text); }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background .2s ease;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transition: transform .24s cubic-bezier(.2,.7,.3,1);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top:  5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(72px, 11vw, 132px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 130vw);
  height: 720px;
  background: radial-gradient(closest-side, rgba(0,217,163,.13), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 22%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 22%, #000 20%, transparent 78%);
  pointer-events: none;
}
/* Note: .hero__in shares its element with .wrap, so it must not override
   the wrap's max-width — otherwise the hero stops aligning with the header
   and the sections below it. Constrain the children instead. */
.hero__in { position: relative; z-index: 1; }
.hero__in > h1 { max-width: 900px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: rgba(255,255,255,.022);
  font-size: .82rem;
  color: var(--text-2);
  margin-bottom: 26px;
}
.pill b {
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.hero h1 { margin-bottom: 26px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { max-width: 60ch; font-size: clamp(1.04rem, 1.6vw, 1.2rem); }
.hero .btn-row { margin-top: 34px; }

/* ---------- hero layout + dashboard mockup ---------- */

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy > h1 { max-width: 15ch; }

.viz {
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: linear-gradient(168deg, var(--surface-2) 0%, var(--surface) 55%);
  box-shadow: 0 28px 70px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3.5deg) rotateX(1.2deg);
}
.viz__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.018);
}
.viz__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 3px rgba(0,217,163,.16); }
.viz__title { font-size: .885rem; font-weight: 570; letter-spacing: -.015em; }
.viz__period {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .655rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.viz__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.viz__kpi { background: var(--surface); padding: 16px 16px 18px; }
.viz__kpi dt {
  font-family: var(--f-mono);
  font-size: .615rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.viz__kpi dd {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 620;
  letter-spacing: -.035em;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.viz__delta { font-size: .68rem; font-weight: 560; color: var(--accent); letter-spacing: 0; }

.viz__chart { padding: 20px 18px 16px; border-top: 1px solid var(--border); }
.viz__chart-l {
  font-family: var(--f-mono);
  font-size: .615rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.viz__bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; }
.viz__bars i {
  flex: 1;
  display: block;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(0,217,163,.28) 100%);
  opacity: .55;
  animation: grow .9s cubic-bezier(.2,.7,.3,1) backwards;
}
.viz__bars i:nth-last-child(-n+4) { opacity: 1; }
@keyframes grow { from { transform: scaleY(.08); transform-origin: bottom; } }

.viz__rows { border-top: 1px solid var(--border); }
.viz__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  font-size: .845rem;
}
.viz__row:last-child { border-bottom: 0; }
.viz__row svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.viz__row span { color: var(--text-2); }
.viz__row b {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .755rem;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  padding: 3px 9px;
  font-weight: 600;
}

.viz__note {
  margin-top: 14px;
  font-size: .72rem;
  color: var(--muted);
  text-align: right;
}

/* ---------- creative phone mockups ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 30px);
  max-width: 860px;
  margin-inline: auto;
}
.phone {
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: 0 24px 60px -32px rgba(0,0,0,.9);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease;
}
.phone:hover { transform: translateY(-5px); border-color: var(--muted); }
.phone:nth-child(2) { transform: translateY(-16px); }
.phone:nth-child(2):hover { transform: translateY(-22px); }

.phone__scr {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  isolation: isolate;
}
.phone__scr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
.phone--a .phone__scr::before { background: linear-gradient(155deg,#0b3d33,#0a1a26 55%,#12233a); }
.phone--b .phone__scr::before { background: linear-gradient(155deg,#2b1f3d,#161426 55%,#0e1a22); }
.phone--c .phone__scr::before { background: linear-gradient(155deg,#3a2a12,#241a14 55%,#101a1c); }
.phone__scr::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.13), transparent 42%),
    linear-gradient(to top, rgba(0,0,0,.62), transparent 55%);
}

.phone__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(6,8,10,.62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 4px 8px;
  border-radius: 100px;
}
.phone__metric {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .05em;
  background: var(--accent);
  color: #04120e;
  padding: 4px 8px;
  border-radius: 100px;
  font-weight: 700;
}
/* Abstract stand-in for the product shot — no stock photography, and no
   client creative, which we never publish. */
.phone__blob {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 60%, transparent);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(2px);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.6);
}

.phone__over {
  font-family: var(--f-mono);
  font-size: .585rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 7px;
}

.phone__cap {
  color: #fff;
  font-size: .785rem;
  font-weight: 560;
  line-height: 1.4;
  margin-bottom: 11px;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.phone__cta {
  display: block;
  text-align: center;
  background: rgba(255,255,255,.94);
  color: #0b0f14;
  font-size: .72rem;
  font-weight: 660;
  padding: 8px 10px;
  border-radius: 8px;
}
/* Sits in the media area, clear of the caption block — whose height varies
   with the copy length, so anchoring these to the bottom collides with it. */
.phone__ui {
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  gap: 12px;
}
.phone__ui i {
  display: block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
}

/* ---------- platform strip ---------- */

.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding: 26px 0;
}
.strip__in {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  flex-wrap: wrap;
  justify-content: center;
}
.strip__label {
  font-family: var(--f-mono);
  font-size: .69rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.plat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
  font-weight: 560;
  font-size: .96rem;
  letter-spacing: -.015em;
}
.plat svg { width: 19px; height: 19px; flex: none; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--bg-2); padding: 28px 26px; }
.stat__n {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__n span { color: var(--accent); }
.stat__l {
  margin-top: 11px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- generic grid + cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 28px;
  position: relative;
  transition: border-color .22s ease, background .22s ease, transform .22s cubic-bezier(.2,.7,.3,1);
}
.card--hover:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 11px; }
.card p { color: var(--text-2); font-size: .945rem; line-height: 1.66; }

.card__ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,217,163,.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.card__ico svg { width: 19px; height: 19px; }

.card__num {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tag {
  font-family: var(--f-mono);
  font-size: .695rem;
  letter-spacing: .05em;
  color: var(--text-2);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 100px;
}

/* ---------- section head ---------- */

.head { margin-bottom: 46px; max-width: 68ch; }
.head h2 { margin-bottom: 18px; }

.head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: none;
}
.head--split > div { max-width: 62ch; }

/* ---------- client rows ---------- */

.clients {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.client {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
.client:last-child { border-bottom: 0; }
.client:hover { background: var(--surface-2); }
.client__name {
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.client__flag {
  font-size: .68rem;
  font-family: var(--f-mono);
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 2px 8px;
}
.client__desc { color: var(--text-2); font-size: .925rem; }
.client__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- process ---------- */

.steps { counter-reset: s; display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.step {
  background: var(--surface);
  padding: 30px 30px 30px 26px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
}
.step__n {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--accent);
  border: 1px solid rgba(0,217,163,.24);
  background: var(--accent-dim);
  border-radius: 8px;
  padding: 5px 0;
  text-align: center;
  letter-spacing: .04em;
}
.step h3 { margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: .945rem; }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(ellipse 70% 130% at 12% 0%, rgba(0,217,163,.11), transparent 62%),
    radial-gradient(ellipse 60% 120% at 92% 100%, rgba(124,140,255,.1), transparent 62%),
    var(--surface);
  overflow: hidden;
}
.cta h2 { max-width: 20ch; margin-bottom: 18px; }
.cta .lede { max-width: 54ch; }
.cta .btn-row { margin-top: 30px; }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  margin: 52px 0 16px;
  scroll-margin-top: 90px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.03rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: .98rem; line-height: 1.78; }
.prose p + p { margin-top: 15px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 44px 0; }

.legal-meta {
  font-family: var(--f-mono);
  font-size: .765rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-bottom: 44px;
  background: var(--bg-2);
  line-height: 1.7;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 560;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: -.005em;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  font-size: .93rem;
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.field input::placeholder, .field textarea::placeholder { color: #55616f; }

.ch {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}
.ch:last-child { border-bottom: 0; padding-bottom: 0; }
.ch__ico {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
}
.ch__ico svg { width: 17px; height: 17px; }
.ch__k {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ch__v { font-size: .985rem; color: var(--text); font-weight: 520; }
.ch__v a:hover { color: var(--accent); }
.ch__sub { font-size: .845rem; color: var(--muted); margin-top: 3px; }

/* ---------- footer ---------- */

.ftr {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 62px 0 34px;
  margin-top: 0;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.ftr__brand .logo { margin-bottom: 16px; }
.ftr__brand p {
  color: var(--muted);
  font-size: .895rem;
  max-width: 34ch;
  line-height: 1.68;
}
.ftr__legal-name {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: .745rem;
  color: var(--muted);
  line-height: 1.7;
}
.ftr h4 {
  font-family: var(--f-mono);
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
  font-weight: 600;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 10px; }
.ftr li a { color: var(--muted); font-size: .89rem; transition: color .16s ease; }
.ftr li a:hover { color: var(--accent); }

.ftr__bot {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .825rem;
  color: var(--muted);
}
.ftr__bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__bot a:hover { color: var(--accent); }

/* ---------- reveal ---------- */

.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .62s cubic-bezier(.2,.7,.3,1), transform .62s cubic-bezier(.2,.7,.3,1);
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .ftr__brand { grid-column: 1 / -1; }
  .client { grid-template-columns: 1fr; gap: 12px; }
  .client__meta { justify-content: flex-start; }
}

@media (max-width: 800px) {
  .burger { display: grid; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 22px;
    margin: 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 6px; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .hdr__side { margin-left: auto; }
  .nav-cta { display: none; }
  .grid--2, .grid--3, .contact-grid { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy > h1 { max-width: none; }
  .viz { transform: none; }
  .phones { grid-template-columns: 1fr; max-width: 330px; }
  .phone:nth-child(2) { transform: none; }
  .phone:nth-child(2):hover { transform: translateY(-5px); }
  .head--split { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step__n { width: 58px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 19px; }
  .stats { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bot { flex-direction: column; align-items: flex-start; gap: 14px; }
}
