/* ==========================================================================
   Eastbox — B2B Website & Web App Landing Page
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography
   5. Buttons & links
   6. Header / navigation
   7. Hero + interface mock
   8. Problem
   9. Consequence chain
   10. Solutions
   11. Process
   12. Differentiation (dark)
   13. Services (split)
   14. Fit / not-fit
   15. Work placeholders
   16. Price + lead form
   17. Objections
   18. FAQ
   19. Final CTA
   20. Footer
   21. Mobile sticky CTA
   22. Motion & responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* surfaces — cool, neutral, slightly blue */
  --paper: #f6f8fb;
  --paper-2: #edf1f6;
  --white: #ffffff;

  /* ink */
  --ink: #0a1628;
  --ink-2: #3b4658;
  --ink-3: #5a6577;

  /* structure */
  --line: #dde3ec;
  --line-strong: #bfc9d8;

  /* brand */
  --brand: #0d2744;
  --brand-2: #081a2e;
  --brand-soft: #e5edf8;
  --accent: #0f62fe;
  --accent-2: #0b47b8;
  --dark: #081422;
  --dark-line: rgba(255, 255, 255, 0.12);

  --display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --sec-y: clamp(56px, 7vw, 104px);
  --radius: 3px;
}

/* 2. RESET & BASE ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 0.9rem;
}
.skip:focus { left: 12px; top: 12px; }

/* 3. LAYOUT PRIMITIVES ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sec-y); }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--dark {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 88% 78% at 50% 0%, rgba(8, 20, 34, 0) 0%, rgba(8, 20, 34, 0.72) 58%, var(--dark) 82%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 76px 76px, 76px 76px;
  color: rgba(255, 255, 255, 0.7);
  border: 0;
}
.section--dark h2,
.section--dark h3 { color: #eef3fa; }


/* 4. TYPOGRAPHY ------------------------------------------------------------ */
.h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.55rem, 2.3vw, 2rem); }
.h3 {
  font-family: var(--display);
  font-size: 1.06rem;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.label::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex: none;
}
.label--light { color: rgba(255, 255, 255, 0.52); }
.label--light::before { background: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12);
}

.sec-head { max-width: 780px; }
.sec-head__intro { margin-top: 20px; font-size: 1rem; color: var(--ink-2); max-width: 60ch; }
.sec-head__intro + .sec-head__intro { margin-top: 14px; }
.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.sec-head__aside {
  font-size: 0.94rem;
  color: var(--ink-3);
  max-width: 42ch;
  padding-bottom: 4px;
}
.section--dark .sec-head__aside { color: rgba(255, 255, 255, 0.58); }
.section--dark .sec-head__aside em { color: #eef3fa; font-style: italic; }

.pull {
  margin: clamp(38px, 4.6vw, 60px) 0 0;
  padding: 0 0 0 clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--accent);
  max-width: 800px;
}
.pull p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.62rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}

.note {
  margin-top: clamp(34px, 4.2vw, 52px);
  font-size: 0.96rem;
  color: var(--ink-3);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.note__in { display: block; max-width: 68ch; }
.note strong { color: var(--ink); font-weight: 600; }
.note--tight { margin-top: 38px; }

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.flow span[aria-hidden] { color: var(--accent); font-weight: 500; }

.fine { font-size: 0.8rem; color: var(--ink-3); margin-top: 16px; max-width: 40ch; }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
              0 1px 2px rgba(8, 20, 34, 0.16);
}
.btn--primary:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 4px 14px -6px rgba(8, 20, 34, 0.45);
}

.btn--ghost { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }

.btn--invert { background: #f2f6fb; border-color: #f2f6fb; color: var(--dark); }
.btn--invert:hover { background: #fff; border-color: #fff; }

.btn--lg { padding: 16px 26px; font-size: 0.98rem; }
.btn--sm { padding: 10px 16px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* 6. HEADER ---------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease;
}
.site-head.is-stuck {
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  transition: min-height 0.25s ease;
}
.site-head.is-stuck .head__inner { min-height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #fff;
  border-radius: 1px;
}
.brand__word {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__list a {
  font-size: 0.9rem;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  position: relative;
  padding-block: 6px;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.22s ease;
}
.nav__list a:hover { color: var(--ink); text-decoration: none; }
.nav__list a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 7. HERO ------------------------------------------------------------------ */
.hero {
  padding-block: clamp(40px, 5vw, 68px) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(to bottom, rgba(246, 248, 251, 0) 0%, rgba(246, 248, 251, 0.55) 46%, var(--paper) 76%),
    linear-gradient(to right, rgba(13, 39, 68, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 39, 68, 0.05) 1px, transparent 1px);
  background-size: auto, 76px 76px, 76px 76px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.9vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-top: 18px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 24px;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  max-width: 46ch;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 32px;
  max-width: 306px;
}
.hero__micro {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-3);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.hero__facts li + li::before {
  content: "";
  width: 1px;
  height: 11px;
  background: var(--line-strong);
  margin-inline: 14px;
}

/* --- interface mock --- */
.hero__visual {
  position: relative;
  padding-bottom: 34px;
}
.mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(8, 20, 34, 0.05),
              0 30px 60px -40px rgba(8, 20, 34, 0.38);
  overflow: hidden;
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
}
.mock__dots { display: flex; gap: 4px; flex: none; }
.mock__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfd8e5;
}
.mock__url {
  flex: 1;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--paper-2);
  border-radius: 20px;
  padding: 3px 10px;
  max-width: 220px;
  margin-inline: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__chrome-sp { width: 24px; flex: none; }

.mock__body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}
.mock__site {
  padding: 18px 18px 20px;
  border-right: 1px solid var(--line);
  min-height: 290px;
}
.mock__sitenav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mock__logo {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.mock__links { display: flex; gap: 7px; }
.mock__links i {
  display: block;
  width: 17px;
  height: 2.5px;
  background: #cdd7e4;
}
.mock__tag {
  margin-top: 26px;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
}
.mock__h {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 17ch;
}
.mock__p {
  margin-top: 7px;
  font-size: 8.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.mock__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 11px;
  background: var(--brand);
  color: #fff;
  font-size: 7.5px;
  font-weight: 500;
  border-radius: 1px;
}
.mock__blocks {
  display: flex;
  gap: 5px;
  margin-top: 18px;
}
.mock__blocks i {
  position: relative;
  display: block;
  height: 50px;
  flex: 1;
  border: 1px solid #dbe3ee;
  border-radius: 1px;
  background: #fff;
  overflow: hidden;
}
.mock__blocks i::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 58%;
  height: 3px;
  background: #c2d0e2;
}
.mock__blocks i::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 19px;
  width: 78%;
  height: 2px;
  background: #e2eaf4;
  box-shadow: 0 6px 0 #e2eaf4, 0 12px 0 #e2eaf4;
}
.mock__blocks .b2::before { background: #0f62fe; opacity: 0.55; width: 42%; }
.mock__blocks .b3::before { width: 70%; }

.mock__panel {
  padding: 14px 13px;
  background: #f9fbfd;
}
.mock__phead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.mock__pill {
  font-size: 6.5px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-3);
  border: 1px solid var(--line);
  background: #fff;
  padding: 2px 6px;
  border-radius: 20px;
}
.mock__rows { margin-top: 10px; }
.mock__row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid #e6ecf4;
}
.mock__row:last-child { border-bottom: 0; }
.mock__av {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e3eaf3;
  color: var(--ink-2);
  font-size: 7px;
  font-weight: 600;
  flex: none;
}
.mock__rtxt { flex: 1; min-width: 0; }
.mock__rtxt b {
  display: block;
  font-size: 8px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__rtxt em {
  display: block;
  font-style: normal;
  font-size: 7px;
  color: var(--ink-3);
  margin-top: 1px;
}
.mock__state {
  font-size: 6.2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 1px;
  flex: none;
}
.s-new { background: var(--brand-soft); color: var(--brand); }
.s-prog { background: #fdf1da; color: #8a5a15; }
.s-done { background: #e9eef5; color: var(--ink-3); }

.mock__chart { margin-top: 14px; }
.mock__chead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7.5px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mock__cval { color: var(--brand); font-size: 9px; }
.mock__svg { width: 100%; height: 46px; }

.mock__float {
  position: absolute;
  left: -22px;
  bottom: -24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 11px 13px;
  box-shadow: 0 18px 34px -22px rgba(8, 20, 34, 0.38);
  min-width: 186px;
}
.mock__flabel {
  display: block;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}
.mock__steps { display: flex; gap: 3px; }
.mock__steps span {
  font-size: 6.6px;
  letter-spacing: 0.03em;
  padding: 3px 5px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  border-radius: 1px;
  white-space: nowrap;
}
.mock__steps .is-done { background: var(--brand); border-color: var(--brand); color: #fff; }
.mock__steps .is-now { border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* 8. PROBLEM --------------------------------------------------------------- */
.probs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
}
.prob {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  padding-bottom: clamp(28px, 3.5vw, 44px);
}
.prob__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.prob .h3 { max-width: 24ch; }
.prob p { margin-top: 8px; font-size: 0.95rem; max-width: 44ch; }

/* 9. CONSEQUENCE ----------------------------------------------------------- */
.chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.chain li {
  background: var(--paper);
  padding: 24px 18px 26px;
  font-size: 0.93rem;
  line-height: 1.4;
  color: var(--ink-2);
  position: relative;
  counter-increment: chain;
}
.chain li::before {
  content: "0" counter(chain);
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.chain { counter-reset: chain; }
.chain__start { color: var(--ink) !important; font-weight: 500; }
.chain__end { color: var(--accent) !important; font-weight: 500; }

/* 10. SOLUTIONS ------------------------------------------------------------ */
.sols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 60px);
}
.sol {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.sol__head .h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.sol__for {
  margin-top: 10px;
  font-size: 0.96rem;
  max-width: 42ch;
}
.ticks {
  margin-top: 24px;
  display: grid;
  gap: 9px;
}
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.sol__cta { margin-top: auto; padding-top: 0; align-self: flex-start; }
.sol .ticks { margin-bottom: 28px; }

/* 11. PROCESS -------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 60px);
}
.step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.step__num {
  display: block;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
}
.step .h3 { font-size: 1rem; }
.step p { margin-top: 8px; font-size: 0.92rem; }

/* 12. DIFFERENTIATION ------------------------------------------------------ */
.diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.diff__item {
  background: var(--dark);
  padding: clamp(24px, 3vw, 36px);
}
.diff__item .h3 { font-size: 1.02rem; }
.diff__item p {
  margin-top: 8px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 44ch;
}
.section--dark :focus-visible { outline-color: #f2f6fb; }

/* 13. SERVICES SPLIT ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 88px);
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.split--rev .split__left { order: 2; }
.split--rev .split__list { order: 1; }
.split__left .h3 { max-width: 26ch; }
.split__left p { margin-top: 12px; font-size: 0.96rem; max-width: 40ch; }
.split__left .btn { margin-top: 26px; }
.split__list { margin-top: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  margin-top: 0;
}
.chips li {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  border-radius: 2px;
}
.section--alt .chips li { background: var(--paper); }

/* 14. FIT ------------------------------------------------------------------ */
.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.fit__col {
  background: var(--white);
  padding: clamp(26px, 3.5vw, 44px);
}
.fit__col--no { background: var(--paper-2); }
.fit__col .h3 { max-width: 26ch; font-size: 1rem; }
.fit__list { margin-top: 22px; display: grid; gap: 12px; }
.fit__list li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.mark {
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  line-height: 1;
  margin-top: 2px;
  border-radius: 50%;
}
.mark--yes { background: var(--brand); color: #fff; }
.mark--no { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-3); }
.fit__end {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 500;
  max-width: 40ch;
}

/* 15. WORK ----------------------------------------------------------------- */
.works {
  display: grid;
  margin-top: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}
.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(26px, 3.2vw, 42px) 0;
  border-top: 1px solid var(--line-strong);
  align-items: start;
}
.work__img {
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  overflow: hidden;
}
.work__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.work__img:hover img,
.work__img:focus-visible img { transform: scale(1.02); }
.work__body { padding-top: 2px; }
.work__type {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work__body .h3 { margin-top: 10px; font-size: 1.12rem; line-height: 1.35; }
.work__meta {
  margin: 22px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
}
.work__meta dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.work__meta dd { margin: 0 0 16px; color: var(--ink-2); }
.work__meta dd:last-of-type { margin-bottom: 0; }

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding-bottom: 3px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.work__link span { transition: transform 0.25s ease; }
.work__link:hover { color: var(--accent); border-color: var(--accent); }
.work__link:hover span { transform: translate(2px, -2px); }

/* 16. PRICE + FORM --------------------------------------------------------- */
.price { margin-top: clamp(36px, 4.5vw, 52px); }
.price__row {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  padding-block: 24px;
}
.price__row p { font-size: 0.96rem; max-width: 62ch; }

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(36px, 4.5vw, 56px);
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 90px;
}
.lead__intro .label { margin-bottom: 18px; }
.lead__copy { margin-top: 18px; font-size: 0.96rem; max-width: 42ch; }
.lead__points { margin-top: 24px; display: grid; gap: 8px; }
.lead__points li {
  font-size: 0.88rem;
  color: var(--ink-3);
  padding-left: 16px;
  position: relative;
}
.lead__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 1px;
  background: var(--ink-3);
}
.lead__alt { margin-top: 26px; font-size: 0.88rem; color: var(--ink-3); }
.lead__alt a { text-decoration: underline; text-underline-offset: 3px; }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  align-content: start;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 7px;
}
.req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 13px;
  width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%237d8378' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.14);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--accent); }

.err {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #b42318;
}
.field-hint {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 32ch;
  align-self: end;
  padding-bottom: 12px;
}
.form__submit { margin-top: 4px; }
.form__note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

/* 17. OBJECTIONS ----------------------------------------------------------- */
.obj {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.obj__item { background: var(--white); padding: clamp(24px, 3vw, 36px); }
.obj__q {
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
.obj__a { margin-top: 12px; font-size: 0.94rem; max-width: 44ch; }

/* 18. FAQ ------------------------------------------------------------------ */
.faq { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.008em;
  transition: color 0.16s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__item summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  background: var(--ink-3);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.faq__item summary i::before {
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1px;
}
.faq__item summary i::after {
  left: 6.5px;
  top: 0;
  width: 1px;
  height: 14px;
}
.faq__item[open] summary i::after { transform: scaleY(0); opacity: 0; }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 40px 24px 0; }
.faq__a p { font-size: 0.95rem; max-width: 68ch; }

/* 19. FINAL CTA ------------------------------------------------------------ */
.cta-final {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 88% 78% at 50% 0%, rgba(8, 20, 34, 0) 0%, rgba(8, 20, 34, 0.72) 58%, var(--dark) 82%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 76px 76px, 76px 76px;
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(72px, 10vw, 132px);
  text-align: center;
}
.cta-final__inner { max-width: 720px; margin-inline: auto; }
.cta-final__title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.8vw, 2.95rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #f2f6fb;
  text-wrap: balance;
}
.cta-final__copy {
  margin: 20px auto 0;
  font-size: 1rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.66);
}
.cta-final .btn { margin-top: 32px; }
.cta-final__micro {
  margin-top: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.56);
}

/* 20. FOOTER --------------------------------------------------------------- */
.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 5vw, 72px) 28px;
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.foot__pos {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--ink-3);
  max-width: 34ch;
}
.foot__nav { display: flex; gap: clamp(36px, 6vw, 88px); }
.foot__col h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.foot__col ul { display: grid; gap: 9px; }
.foot__col a {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.foot__col a:hover { color: var(--brand); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-3);
}
.foot__bottom p { text-wrap: balance; }

/* 21. MOBILE STICKY CTA ---------------------------------------------------- */
.m-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(246, 248, 251, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.m-cta.is-visible { transform: translateY(0); }
.m-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius);
}
.m-cta__btn:hover { text-decoration: none; background: var(--brand-2); }
.m-cta__btn .ico { width: 18px; height: 18px; }

/* 22. MOTION --------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

/* --- responsive --- */
@media (max-width: 1080px) {
  .hero__title { max-width: 18ch; }
  .mock__site { min-height: 270px; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__title { max-width: 20ch; }
  .hero__visual { max-width: 100%; }
  .mock__float { left: auto; right: 10px; bottom: 0; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .sec-head__aside { max-width: 56ch; }
  .sols { gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .work { grid-template-columns: 1fr; gap: 20px; padding: 26px 0; }
  .work__body { max-width: 30rem; }
  .work__body .h3 { font-size: 1.2rem; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__left { order: 1; }
  .split--rev .split__list { order: 2; }
  .lead { grid-template-columns: 1fr; gap: 36px; }
  .price__row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 860px) {
  .form { grid-template-columns: 1fr; }
  .field-hint { align-self: start; padding-bottom: 0; max-width: 46ch; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 4px var(--pad) 22px;
    box-shadow: 0 24px 32px -32px rgba(8, 20, 34, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .nav__toggle { display: block; }

  .m-cta { display: block; }
  body { padding-bottom: 84px; }
  .site-head.is-stuck { box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 760px) {
  :root { --sec-y: 68px; }
  html { scroll-padding-top: 78px; }
  .hero { padding-top: 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts li { font-size: 0.74rem; }

  .probs { grid-template-columns: 1fr; }
  .prob { padding-bottom: 28px; }

  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain li { padding: 18px 14px 20px; font-size: 0.88rem; }

  .sols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 22px; }
  .step:first-child { border-top: 1px solid var(--line-strong); }
  .step__num { margin-bottom: 10px; font-size: 1.2rem; }

  .diff { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .obj { grid-template-columns: 1fr; }

  .form { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }

  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { gap: 40px; flex-wrap: wrap; }

  .mock__body { grid-template-columns: 1fr; }
  .mock__site { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .mock__float { display: none; }
  .hero__visual { padding-bottom: 0; }
  .mock__blocks i { height: 38px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.15rem; }
  .btn--lg { padding: 15px 18px; font-size: 0.94rem; }
  .mock__url { font-size: 8px; }
  .chain { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; }
}

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}

/* --- print --- */
@media print {
  .site-head, .m-cta, .cta-final .btn { display: none; }
  body { color: #000; background: #fff; }
}
