:root {
  --bg: #f7f7f4;
  --bg-raise: #ffffff;
  --ink: #14171c;
  --ink-soft: #4b5260;
  --line: #dcdcd4;
  --accent: #1f47c8;
  --accent-ink: #ffffff;
  --wrap: 1200px;
  --r: 6px;
  --r-s: 3px;
  --accent-strong: #1739a8;
  --accent-soft: #9db3ff;
  --accent-wash: #eef1fb;
  --accent-line: rgb(31 71 200 / .18);
  --sh-1: 0 1px 2px rgb(20 23 28 / .04), 0 4px 14px rgb(20 23 28 / .05);
  --sh-2: 0 10px 30px rgb(20 23 28 / .09);
  --sh-3: 0 24px 64px rgb(20 23 28 / .18);
  --ease: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  font-family: "Manrope", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:where(a, button, summary, [data-modal-open]):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); box-shadow: 0 2px 0 var(--accent); }
.head-cta {
  font-size: 14px; font-weight: 700;
  background: var(--ink); color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-s);
  transition: transform .15s ease, background .15s ease;
}
.head-cta:hover { background: var(--accent); }
.head-cta:active { transform: translateY(1px); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; left: -180px; top: -220px;
  background: radial-gradient(circle, rgb(31 71 200 / .07), transparent 62%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 14s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: translate(120px, 60px) scale(1.15); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end;
}
.hero h1 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  max-width: 21ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 34ch;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 15px 28px; border: 1px solid var(--ink);
  border-radius: var(--r-s);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-1); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero-note {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 20px;
  color: var(--ink-soft); font-size: 16px;
  max-width: 36ch;
}
.hero-note strong { color: var(--ink); }
.hero-grid { align-items: center; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: 440px; object-fit: cover; display: block;
  filter: saturate(.85) contrast(1.05);
  border-radius: var(--r);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgb(20 23 28 / .55));
  pointer-events: none;
  border-radius: var(--r);
}
.hero-chip {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: var(--bg-raise); border-left: 3px solid var(--accent);
  padding: 16px 20px; max-width: 300px;
  border-radius: var(--r-s);
  box-shadow: var(--sh-3);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
  pointer-events: none; z-index: 3;
}
.hero-chip b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.hero-chip span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-chip { animation: chipFloat 5s ease-in-out 1.4s infinite alternate; }
}
@keyframes chipFloat { to { transform: translateY(-8px); } }

/* ---------- logos strip ---------- */
.logos { border-bottom: 1px solid var(--line); background: var(--bg-raise); }
.logos .wrap {
  padding: 26px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.logos .label { font-size: 13px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.logos .marks { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.logos .marks span {
  font-weight: 800; font-size: 17px; letter-spacing: .04em; color: #9aa0ab;
  opacity: .75; padding: 4px 0;
  transition: color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.logos .marks span:hover { color: var(--ink); opacity: 1; transform: translateY(-2px); }
.logos .marks span + span { border-left: 1px solid var(--line); padding-left: 28px; }
.logos .marks span:nth-child(2) { font-weight: 600; font-style: italic; }
.logos .marks span:nth-child(3) { letter-spacing: .18em; font-size: 15px; }
.logos .marks span:nth-child(4) { font-weight: 500; }
.logos .marks span:nth-child(5) { border: 2px solid currentColor; padding: 3px 9px; font-size: 13px; }

/* ---------- testimonials ---------- */
.tst { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst blockquote {
  background: var(--bg-raise); border: 1px solid var(--line);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  font-size: 16.5px; line-height: 1.55;
  border-radius: var(--r);
  border-top: 2px solid var(--accent-line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tst blockquote:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tst blockquote::before {
  content: "«"; font-size: 64px; line-height: .6; color: var(--accent-wash);
  display: block; margin-bottom: 8px;
}
.tst footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst .ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
}
.tst b { display: block; font-size: 14.5px; }
.tst small { color: var(--ink-soft); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 40px 24px 0;
  font-weight: 700; font-size: 18px; position: relative;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal__back {
  position: absolute; inset: 0; background: rgb(20 23 28 / .55);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative; background: var(--bg-raise); width: 460px; max-width: 100%;
  padding: 36px; max-height: 92vh; overflow: auto;
  border-radius: var(--r);
  box-shadow: var(--sh-3);
}
@media (prefers-reduced-motion: no-preference) {
  .modal.open .modal__box { animation: modalIn .35s cubic-bezier(.16,1,.3,1); }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.modal__close {
  position: absolute; top: 14px; right: 16px; border: 0; background: none;
  font-size: 26px; cursor: pointer; color: var(--ink-soft); line-height: 1;
}
.modal__close:hover { color: var(--ink); }
.modal h3 { font-size: 24px; letter-spacing: -0.015em; margin-bottom: 6px; }
.modal .sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.modal label { display: block; font-size: 13.5px; font-weight: 700; margin: 14px 0 6px; }
.modal input, .modal select, .modal textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  font: inherit; font-size: 15.5px; background: var(--bg); color: var(--ink);
  border-radius: var(--r-s);
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px;
}
.modal textarea { resize: vertical; min-height: 84px; }
.modal .send {
  margin-top: 22px; width: 100%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700;
  font-size: 16px; padding: 15px;
  border-radius: var(--r-s);
  transition: transform .15s ease, background .15s ease;
}
.modal .send:hover { background: var(--accent-strong); }
.modal .send:active { transform: scale(.985); }
.modal .fine { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.modal__ok { display: none; text-align: center; padding: 30px 0 16px; }
.modal__ok .ring {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 30px;
}
@media (prefers-reduced-motion: no-preference) {
  .modal__ok.show .ring { animation: pop .5s cubic-bezier(.16,1,.3,1); }
}
@keyframes pop { from { transform: scale(0); } }
.modal.sent form { display: none; }
.modal.sent .modal__ok { display: block; }

/* ---------- next case / footer nav ---------- */
.next-case { border-top: 1px solid var(--line); }
.next-case a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 44px 0; transition: background .2s ease;
}
.next-case .wrap:hover a { color: var(--accent); }
.next-case small { display: block; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 8px; }
.next-case h3 { font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.02em; transition: color .2s ease; }
.next-case .arr { font-size: 34px; color: var(--accent); flex: none; transition: transform .25s var(--ease); }
.next-case a:hover .arr { transform: translateX(8px); }

.site-foot .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding: 52px 24px 40px;
}
.site-foot .cols h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.site-foot .cols a { display: block; padding: 4px 0; color: var(--ink-soft); font-size: 15px; }
.site-foot .cols a:hover { color: var(--accent); }
.site-foot .cols .about-col p { color: var(--ink-soft); font-size: 15px; max-width: 34ch; margin-top: 10px; }
.site-foot .base {
  border-top: 1px solid var(--line);
  padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-soft);
}

/* ---------- stats strip ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-raise); border-top: 2px solid var(--accent); }
.stats .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 30px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat b::after {
  content: ""; display: block; width: 34px; height: 3px;
  background: var(--accent); margin-top: 12px;
}
.stat span { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
.block + .block { border-top: 1px solid var(--line); }
.block h2::before {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--accent); margin-bottom: 20px;
}
.block h2 {
  font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em;
  line-height: 1.1; font-weight: 800; max-width: 22ch;
}
.block .lead { margin-top: 16px; color: var(--ink-soft); max-width: 58ch; }

/* products */
.products { margin-top: 48px; display: grid; grid-template-columns: 1fr; }
.product {
  display: grid; grid-template-columns: 90px 1fr 220px; gap: 28px;
  padding: 34px 24px; margin: 0 -24px; border-top: 1px solid var(--line);
  align-items: baseline; position: relative;
  transition: background .25s var(--ease);
}
.product:hover { background: var(--accent-wash); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product .step {
  display: inline-block; padding: 5px 10px; border-radius: var(--r-s);
  font-weight: 800; font-size: 15px; color: var(--accent);
  background: var(--accent-wash);
}
.product:hover .step { background: var(--accent); color: #fff; }
.product h3 { font-size: 24px; letter-spacing: -0.02em; transition: color .2s var(--ease); }
.product:hover h3 { color: var(--accent); }
.product p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; max-width: 56ch; }
.product .term { text-align: right; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.product .term b { display: block; color: var(--ink); font-size: 18px; }
.product .term::after {
  content: "→"; margin-left: 12px; opacity: 0; color: var(--accent);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  display: inline-block; transform: translateX(-6px);
}
.product:hover .term::after { opacity: 1; transform: none; }

/* case teaser */
.case-teaser {
  margin-top: 48px;
  display: grid; grid-template-columns: 5fr 7fr; gap: 0;
  background: var(--ink); color: #fff;
}
.case-media { min-height: 360px; background: #2a2f3a center/cover no-repeat; border-radius: var(--r); }
.case-body { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.case-body h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.case-body .case-nums { display: flex; gap: 40px; }
.case-body .case-nums b {
  display: block; font-size: 34px; font-weight: 800;
  color: var(--accent-soft); font-variant-numeric: tabular-nums;
}
.case-body .case-nums span { font-size: 14px; color: #b8bdc9; }
.case-link {
  font-weight: 700; color: #fff; border-bottom: 2px solid var(--accent);
  padding-bottom: 2px; align-self: flex-start;
}
.case-link:hover { color: var(--accent-soft); }

/* method */
.method { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); }
.method div { background: var(--bg-raise); padding: 32px; transition: background .25s var(--ease); }
.method div:hover { background: var(--accent-wash); }
.method h3 { font-size: 19px; margin-bottom: 8px; }
.method p { color: var(--ink-soft); font-size: 15.5px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band .wrap {
  padding: 72px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2::before { display: none; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; max-width: 24ch; }
.cta-band .btn { border-color: #fff; background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- case page ---------- */
.case-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.case-hero h1 {
  font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.03em; line-height: 1.06; font-weight: 800;
  max-width: 24ch;
}
.case-meta { margin-top: 28px; display: flex; gap: 44px; flex-wrap: wrap; }
.case-meta div b { display: block; font-size: 15px; }
.case-meta div span { font-size: 14px; color: var(--ink-soft); }

.case-results { background: var(--ink); color: #fff; }
.case-results .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.case-results .stat + .stat { border-left: 1px solid #2c313c; }
.case-results .stat b { color: var(--accent-soft); }
.case-results .stat span { color: #b8bdc9; }

.case-article { padding: 72px 0; display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.case-article aside { position: sticky; top: 100px; align-self: start; }
.case-article aside nav { display: flex; flex-direction: column; gap: 10px; font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.case-article aside nav a:hover { color: var(--accent); }
.case-article h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.case-article h2:first-child { margin-top: 0; }
.case-article p { color: var(--ink-soft); margin-bottom: 14px; max-width: 62ch; }
.case-article ul { margin: 0 0 14px 20px; color: var(--ink-soft); }
.case-article li { margin-bottom: 6px; }
.case-quote {
  margin: 36px 0; padding: 28px 32px;
  background: var(--bg-raise); border-left: 3px solid var(--accent);
  font-size: 19px; line-height: 1.45; color: var(--ink);
}
.case-quote footer { margin-top: 12px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---------- about ---------- */
.about-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.about-hero h1 {
  font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; max-width: 20ch;
}
.about-hero .lead { margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 52ch; }

.principles { margin-top: 48px; }
.principle {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .no { font-weight: 800; color: var(--accent); font-size: 15px; }
.principle h3 { font-size: 21px; letter-spacing: -0.01em; }
.principle p { margin-top: 6px; color: var(--ink-soft); font-size: 16px; max-width: 60ch; }

.team-note {
  margin-top: 48px; padding: 36px;
  background: var(--bg-raise); border: 1px solid var(--line);
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center;
  border-radius: var(--r);
}
.team-note h3 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.team-note p { color: var(--ink-soft); }

/* ---------- cases hub ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--bg-raise); border: 1px solid var(--line); display: flex; flex-direction: column; border-radius: var(--r); transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.case-card__media { height: 200px; background: #2a2f3a center/cover no-repeat; border-radius: var(--r); }
.case-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__tag { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.case-card__body h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.case-card__nums { margin-top: auto; padding-top: 12px; }
.case-card__nums b { font-size: 26px; font-weight: 800; display: block; font-variant-numeric: tabular-nums; }
.case-card__nums span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: var(--bg-raise); border: 1px solid var(--line); padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.post-card time { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.post-card h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
.post-card p { color: var(--ink-soft); font-size: 15.5px; }
.post-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--accent); font-size: 15px; }

.article { padding: 64px 0 72px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 800; }
.article .meta { margin-top: 14px; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; border-radius: var(--r); }
.article figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.article h2 { font-size: 25px; letter-spacing: -0.015em; margin: 38px 0 12px; }
.article p { color: #3a4150; margin-bottom: 14px; font-size: 17.5px; line-height: 1.65; }
.article ul { margin: 0 0 14px 22px; color: #3a4150; font-size: 17px; }
.article li { margin-bottom: 6px; }
.article .note { background: var(--bg-raise); border-left: 3px solid var(--accent); padding: 18px 22px; margin: 26px 0; color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-raise); }
.site-foot .wrap {
  padding: 40px 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-soft);
}
.site-foot b { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* header shadow on scroll */
.site-head.scrolled { box-shadow: 0 6px 24px rgb(20 23 28 / .08); }

/* link underline animation */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { box-shadow: none; }

/* hero intro */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-sub, .hero-actions { opacity: 0; transform: translateY(22px); animation: heroIn .8s cubic-bezier(.16,1,.3,1) forwards; }
  .hero-sub { animation-delay: .12s; }
  .hero-actions { animation-delay: .22s; }
  .hero-visual { opacity: 0; transform: translateX(26px); animation: heroIn .9s cubic-bezier(.16,1,.3,1) .18s forwards; }
  .hero-visual.reveal { transition: none; }
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid, .case-teaser, .case-article, .team-note { grid-template-columns: 1fr; }
  .hero-visual img { height: 300px; }
  .case-article aside { position: static; }
  .stats .wrap, .case-results .wrap { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .case-results .stat + .stat { border-top-color: #2c313c; }
  .case-grid, .post-list, .tst { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px 28px; }
  .logos .marks { gap: 22px; }
  .logos .marks span + span { border: 0; padding-left: 0; }
  .product { grid-template-columns: 1fr; gap: 8px; }
  .product .term { text-align: left; }
  .method { grid-template-columns: 1fr; }
  section.block, .hero, .about-hero { padding: 56px 0; }
}
