/* ================================================================
   COMPONENTS.CSS  —  B2B Premium Edition
   Nav · Buttons · Cards · Grid · Forms · Footer · Hero
   ================================================================ */

/* ── Site header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 160;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background  400ms var(--ease-out),
    border-color 400ms var(--ease-out),
    backdrop-filter 400ms var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: 100%;
  padding: 0 var(--pad-x);
  max-width: calc(var(--max-width) + var(--pad-x) * 2);
  margin: 0 auto;
  font-size: 14px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.nav__logo::before { display: none; }
.nav__logo:hover { text-decoration: none; color: var(--color-ink); }
.nav__logo-sub {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}
.nav__logo-pavel { color: var(--color-accent); }

.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0; padding: 0;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav__link:hover { color: var(--color-ink); text-decoration: none; }
.nav__link--active { color: var(--color-ink); }

/* Hamburger — visible by default (mobile-first), hidden on desktop */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 4px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-md);
}
.nav__burger:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.nav__burger-bar {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav__burger--open .nav__burger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger--open .nav__burger-bar:nth-child(2) { opacity: 0; }
.nav__burger--open .nav__burger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Bottom sheet — block layout (more reliable than flex in iOS Safari) */
.nav__mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 80vh;
  overflow-y: auto;
  padding: 0 28px max(32px, env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,.10);
  z-index: 150;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), visibility 0.35s;
  visibility: hidden;
}
/* Drag handle */
.nav__mobile::before {
  content: '';
  display: block;
  width: 36px; height: 4px;
  background: rgba(0,0,0,.12);
  border-radius: 2px;
  margin: 14px auto 24px;
}
.nav__mobile.is-open {
  transform: translateY(0);
  visibility: visible;
}
.nav__mobile ul {
  list-style: none; padding: 0; margin: 0;
}
.nav__mobile li { border-bottom: 1px solid var(--color-border); }
.nav__mobile li:last-child { border-bottom: none; }
.nav__mobile .nav__link {
  display: block;
  font-size: 20px; font-weight: 600;
  color: var(--color-ink);
  padding: 16px 0;
}
.nav__mobile .btn {
  display: block;
  margin: 24px 0 0;
  text-align: center;
  box-sizing: border-box;
}

/* Backdrop overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* Mobile: header always has background (hamburger bars visible) */
@media (max-width: 900px) {
  .nav__links, .nav .btn--nav { display: none !important; }
  .site-header {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--color-border);
  }
}

/* Desktop: show nav links + CTA, hide hamburger */
@media (min-width: 901px) {
  .nav__burger { display: none; }
  .nav__links { display: flex; }
  .nav .btn--nav { display: inline-flex; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-ink);
  color: #fff;
  padding: 13px 24px;
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  color: #fff;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn:active { transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
}
.btn--blue {
  background: #2856e5;
  border-color: #2856e5;
  color: #fff;
  font-size: 15px;
  padding: 15px 28px;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(40,86,229,.3);
}
.btn--blue:hover {
  background: #1f47c4;
  border-color: #1f47c4;
  box-shadow: 0 8px 22px rgba(40,86,229,.38);
  color: #fff;
}
.btn--ghost:hover {
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  color: var(--color-ink);
}

.btn--nav {
  padding: 9px 18px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--accent:hover { background: var(--color-accent-h); border-color: var(--color-accent-h); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--s-4);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid), border-color var(--transition-mid);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-md);
}
.card__icon {
  width: 44px; height: 44px;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: var(--s-3);
  border: 1px solid var(--color-border);
}
.card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: var(--s-1);
}
.card__body {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── Project cards ─────────────────────────────────────────── */
.project-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-card__img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--color-surface-2);
}
.project-card__body { padding: var(--s-4); display: flex; flex-direction: column; flex: 1; }
.project-card__title { font-size: 17px; font-weight: 600; color: var(--color-ink); margin-bottom: var(--s-1); }
.project-card__desc { font-size: 14px; color: var(--color-muted); line-height: 1.55; flex: 1; margin-bottom: var(--s-2); }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}
.badge--accent {
  background: rgba(37,99,235,.08);
  color: var(--color-accent);
  border-color: rgba(37,99,235,.15);
}

/* ── Grid ──────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s-4); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── Stat cards ────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-2); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
.stat-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--s-4) var(--s-3);
  text-align: center;
}
.stat-card__number { font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--color-ink); line-height: 1; margin-bottom: var(--s-1); letter-spacing: -0.04em; }
.stat-card__label { font-size: 13px; color: var(--color-muted); }

/* ── Process steps ─────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-4); counter-reset: step; }
@media (max-width: 860px) { .process-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .process-steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--s-8); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 700;
  color: var(--color-ink);
  opacity: .06;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: var(--s-1); color: var(--color-ink); }
.step p  { font-size: 15px; color: var(--color-muted); }

/* ── Contact section ───────────────────────────────────────── */
.contact-section {
  padding: calc(var(--nav-height) + 64px) var(--pad-x) 80px;
  min-height: 100vh;
  background: #fff;
}
.contact-inner {
  max-width: 620px;
  margin: 0 auto;
}
.contact-inner h1 {
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 28px;
  color: #0b1020;
}
.contact-lead {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 28px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.contact-card .form { max-width: none; }
@media (max-width: 560px) {
  .contact-card { padding: 24px 20px; }
}

/* ── Pricing headings ──────────────────────────────────────── */
.prices-heading { font-size: clamp(28px,4vw,42px); font-weight:700; letter-spacing:-0.03em; color:#0b1020; margin-bottom:8px; }
.prices-subheading { color:#6b7280; font-size:16px; margin-bottom:40px; }

/* ── Contact form heading ──────────────────────────────────── */
.contact-form-heading { font-size:16px; font-weight:600; color:#0b1020; margin-bottom:20px; }

/* ── Prices section wrapper ────────────────────────────────── */
.prices-section {
  background: #EEF2FF;
  padding: calc(var(--nav-height) + 48px) var(--pad-x) 72px;
  min-height: 100vh;
}
.prices-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

/* ── Scroll fade-in ────────────────────────────────────────── */
.anim-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Pricing cards (editorial) ─────────────────────────────── */
@keyframes pc-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.pc-card {
  background: #fff;
  border: 1px solid rgba(37,99,235,.10);
  border-radius: 20px;
  padding: 27px 25px 25px;
  box-shadow: 0 4px 16px rgba(37,99,235,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: pc-fadein 0.45s ease both;
}
.pc-card:nth-child(1) { animation-delay: 0.05s; }
.pc-card:nth-child(2) { animation-delay: 0.15s; }
.pc-card:nth-child(3) { animation-delay: 0.25s; }
.pc-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
  max-width: none;
}
.pc-tier {
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 11px 0 9px;
  color: #0b1020;
}
.pc-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
  min-height: 38px;
  max-width: none;
}
.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 25px 0 4px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
.pc-price-od {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
}
.pc-price-num {
  font-size: 49px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #0b1020;
}
.pc-price-unit {
  font-size: 16px;
  font-weight: 500;
  color: #2a2f45;
}
.pc-price-qual {
  font-size: 12px;
  color: var(--color-muted);
  margin: 0 0 20px;
  max-width: none;
}
.pc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 43px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #0b1020;
  color: #fff;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.pc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  text-decoration: none;
  background: #1a2035;
  color: #fff;
}
.pc-cta:hover .pc-cta-arrow { transform: translateX(3px); }
.pc-cta-arrow { transition: transform 120ms ease; }
.pc-divider {
  height: 1px;
  background: #e6e8f0;
  margin: 22px -4px 16px;
  flex-shrink: 0;
}
.pc-delta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: #2856e5;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 13px;
}
.pc-delta-plus {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #2856e5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pc-features li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: #2a2f45;
}
.pc-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2856e5;
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 1023px) {
  .pc-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pc-price-num { font-size: 40px; }
}
@media (max-width: 639px) {
  .pc-card { padding: 24px 20px 20px; }
  .pc-price-num { font-size: 36px; }
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-items: start; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--s-6) var(--s-4);
  position: relative;
  box-shadow: var(--shadow-xs);
}
.pricing-card--featured {
  background: var(--color-ink);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price { color: #fff; }
.pricing-card--featured p,
.pricing-card--featured li { color: rgba(255,255,255,.6); }
.pricing-card--featured li::before { color: rgba(255,255,255,.7) !important; }
.pricing-card__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.pricing-card__price { font-size: clamp(1.4rem,2vw,1.9rem); font-weight: 700; color: var(--color-ink); line-height: 1; margin: var(--s-2) 0 var(--s-1); letter-spacing: -0.03em; }
.pricing-card__price span { font-size: 13px; font-weight: 400; opacity: .5; }
.pricing-card ul { list-style:none; padding:0; margin: var(--s-4) 0; display:flex; flex-direction:column; gap: var(--s-1); }
.pricing-card li { font-size: 14px; color: var(--color-muted); padding-left: 18px; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--color-ink); font-weight: 700; }
.pricing-card__divider {
  padding-left: 0 !important;
  margin-top: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3) !important;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 10px !important;
}
.pricing-card:not(.pricing-card--featured) .pricing-card__divider {
  color: var(--color-subtle) !important;
  border-top-color: var(--color-border);
}
.pricing-card__divider::before { display: none !important; }
.pricing-card__type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-subtle);
  margin-bottom: 16px;
}
.pricing-card--featured .pricing-card__type { color: rgba(255,255,255,.35); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--s-6) var(--s-4);
  box-shadow: var(--shadow-xs);
}
.testimonial blockquote { font-size: 17px; line-height: 1.65; color: var(--color-ink); margin: 0 0 var(--s-3); font-style: normal; }
.testimonial blockquote::before { content: '"'; font-size: 3rem; line-height: 0; vertical-align: -0.6em; color: var(--color-accent); margin-right: 4px; font-family: Georgia, serif; opacity: .5; }
.testimonial cite { font-size: 13px; font-style: normal; font-weight: 600; color: var(--color-muted); }

/* ── Tech badges ───────────────────────────────────────────── */
.tech-grid { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.tech-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 6px var(--s-2);
  font-size: 13px; font-weight: 500; color: var(--color-ink);
}

/* ── Forms ─────────────────────────────────────────────────── */
.form { max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-2); }
label { font-weight: 500; font-size: 14px; color: var(--color-ink); }
input, textarea, select {
  font-family: var(--font-sans); font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--color-border-md);
  border-radius: var(--radius-lg);
  background: var(--color-bg); color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
textarea { resize: vertical; min-height: 140px; }
.form-honeypot { display: none; }
.form-checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-weight: 400; font-size: 14px;
  color: var(--color-muted); line-height: 1.5;
}
.form-checkbox-label input[type="checkbox"] {
  width: 18px; min-width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--color-accent); cursor: pointer;
}
.form-checkbox-label a { color: var(--color-accent); text-decoration: underline; }

/* ── Legal / Privacy pages ─────────────────────────────────── */
.legal-section {
  padding: calc(var(--nav-height) + 64px) var(--pad-x) 80px;
  min-height: 100vh;
  background: #eef0f5;
}
.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal-inner h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0b1020;
  margin-bottom: 8px;
}
.legal-inner .legal-updated {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 40px;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 40px 44px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
@media (max-width: 560px) { .legal-card { padding: 28px 22px; } }
.legal-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: #0b1020;
  margin: 32px 0 10px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}
.legal-card ul { padding-left: 20px; margin: 8px 0 16px; }
.legal-card li { margin-bottom: 4px; }
.legal-card a { color: var(--color-accent); }
.legal-placeholder {
  background: #fef9c3;
  border: 1px dashed #ca8a04;
  border-radius: 6px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #92400e;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { padding: var(--s-2) var(--pad-x); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.breadcrumb__inner { max-width: var(--max-width); margin: 0 auto; }
.breadcrumb ol { list-style:none; padding:0; margin:0; display:flex; gap: var(--s-1); align-items:center; font-size:13px; color: var(--color-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-1); opacity:.4; }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb [aria-current="page"] { color: var(--color-ink); font-weight: 500; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--color-ink); color: #fff; padding: var(--s-8) var(--pad-x) var(--s-4); }
.footer__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: var(--s-4); } }
.footer__logo { font-family: var(--font-sans); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #fff; display: flex; align-items: center; gap: 7px; margin-bottom: var(--s-2); }
.footer__logo::before { content:''; width:7px; height:7px; background: var(--color-accent); border-radius:50%; }
.footer__tagline { color: rgba(255,255,255,.4); font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer__heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: var(--s-2); }
.footer__links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: var(--s-1); }
.footer__links a { color: rgba(255,255,255,.55); text-decoration:none; font-size: 14px; transition: color var(--transition-fast); }
.footer__links a:hover { color: #fff; text-decoration:none; }
.footer__email { color: rgba(255,255,255,.55); text-decoration:none; font-size:14px; transition: color var(--transition-fast); display:block; }
.footer__email:hover { color: #fff; text-decoration:none; }
.footer__bottom { max-width: var(--max-width); margin: var(--s-4) auto 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: var(--s-1); }
.footer__bottom small { color: rgba(255,255,255,.5); font-size: 13px; }
.footer__credit { color: rgba(255,255,255,.5) !important; }
.footer__logo-sub { font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

/* ── Logo strip ────────────────────────────────────────────── */
.logo-strip {
  padding: var(--s-6) var(--pad-x);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.logo-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.logo-strip__label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-subtle);
  white-space: nowrap;
}
.logo-strip__logos {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  justify-content: center;
}
.logo-strip__item {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-surface-2);
  letter-spacing: -0.02em;
  opacity: .4;
  user-select: none;
  transition: opacity var(--transition-fast);
}
.logo-strip__item:hover { opacity: .7; }

/* ── Case study cards ──────────────────────────────────────── */
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card__eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: var(--s-2); }
.case-card__title { font-size: clamp(20px,2vw,26px); font-weight: 700; color: var(--color-ink); letter-spacing: -0.03em; margin-bottom: var(--s-2); }
.case-card__desc { font-size: 15px; color: var(--color-muted); line-height: 1.6; margin-bottom: var(--s-4); }
.case-card__results { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.case-result { }
.case-result__number { font-size: clamp(28px,3vw,36px); font-weight: 700; color: var(--color-ink); letter-spacing: -0.04em; line-height: 1; }
.case-result__label { font-size: 12px; color: var(--color-muted); margin-top: 2px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 48px) var(--pad-x) 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-bg);
}

/* Two-column grid */
.hero-2col {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: var(--max-width);
  animation: fadeUp 700ms var(--ease-out) both;
}

/* ── Left card — dark with dot texture ─────────────────────── */
.hero-card-wrap {
  border-radius: 22px;
  display: flex;
}
.hero-card {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(145deg, #1E40AF 0%, #2563EB 55%, #3B82F6 100%);
  border-radius: 22px;
  border-top: 2px solid rgba(253,230,138,.55);  /* warm gold accent line */
  padding: 24px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
/* soft warm glow in top-left corner */
.hero-card::after {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(253,230,138,.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-card__labels {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}
.hero-card__labels span:nth-child(even) {
  opacity: .65;
  font-size: 10px;
}

/* Heading */
.hero-head {
  font-weight: 600;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  position: relative;
}

/* Slot machine */
.slot {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}
.slot .word {
  display: inline-block;
  animation: slotIn 720ms cubic-bezier(.7,0,.2,1) both;
  will-change: transform, opacity;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  background: linear-gradient(90deg, #FDE68A 0%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  margin-top: var(--s-8);
  flex-wrap: wrap;
  position: relative;
}
.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.hero-stat__num {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.65);
  line-height: 1;
}
.hero-stat__lbl {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.3;
}
.hero-stat__div {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.12);
  align-self: center;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .hero-stats { gap: 8px; flex-wrap: nowrap; }
  .hero-stat__num { font-size: clamp(14px, 4.5vw, 18px); }
  .hero-stat__lbl { font-size: clamp(9px, 2.5vw, 11px); }
}

/* ── Right card — Consultation card ───────────────────────── */
.consult-card {
  background: #fff;
  border: 1px solid #ebedf2;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}

.consult-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #0f6f44;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}
.consult-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,.18);
  flex-shrink: 0;
}

.consult-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0b1220;
  margin: 0 0 18px;
}

.consult-subtitle {
  font-size: 15px;
  color: #6b7385;
  margin: 0 0 20px;
}

.consult-body {
  font-size: 15px;
  line-height: 1.65;
  color: #6b7385;
  margin: 0 0 28px;
}
.consult-body strong {
  color: #0b1220;
  font-weight: 600;
}

.consult-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}
.consult-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #6b7385;
}
.consult-check svg { flex-shrink: 0; }

.consult-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #eef0f4;
  margin-top: auto;
}

.consult-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.consult-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.consult-meta { font-size: 13px; line-height: 1.35; }
.consult-name  { font-weight: 600; color: #0b1220; }
.consult-role  { color: #6b7385; }

.consult-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.consult-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2456ec;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(36,86,236,.25);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.consult-cta-pill:hover {
  background: #1c46c8;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(36,86,236,.3);
  color: #fff;
  text-decoration: none;
}
.consult-cta-pill:focus-visible {
  outline: 3px solid rgba(36,86,236,.35);
  outline-offset: 3px;
}
.consult-cta-sub {
  font-size: 11px;
  font-weight: 500;
  color: #6b7385;
  letter-spacing: .03em;
}
.consult-cta-sub a { color: inherit; text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-2col {
    grid-template-columns: 1fr;
  }
  .hero-card { min-height: auto; }
  .consult-checks { grid-template-columns: 1fr; gap: 8px; }
  .consult-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .consult-cta-stack { align-items: flex-start; width: 100%; }
  .consult-cta-pill { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .hero { padding: calc(var(--nav-height) + 24px) var(--pad-x) 40px; }
  .hero-card { padding: 32px 28px 28px; }
  .consult-card { padding: 24px 20px; }
  .consult-title { font-size: 28px; }
}

/* ── Process accordion section ─────────────────────────────── */
.proces-section {
  background: var(--color-bg);
  padding: 80px var(--pad-x);
  scroll-margin-top: 80px;
}
.proces-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.proces-eyebrow {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 14px;
}
.proces-headline {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
  margin: 0 0 20px;
}
.proces-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 580px;
  margin: 0 0 52px;
}

.proc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proc-step {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  position: relative;
  z-index: 1;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s var(--ease-out);
}
.proc-step.is-open {
  background: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,.10);
  border-left: 3px solid #2563EB;
}
.proc-step:not(.is-open):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  border-color: rgba(0,0,0,.10);
}

.proc-row {
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 20px 20px 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}
.proc-row:focus-visible {
  outline: 2px solid #2456ec;
  outline-offset: -2px;
}


.proc-content {
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.proc-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-subtle);
  min-width: 16px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.proc-step.is-open .proc-num {
  color: #2563EB;
}
.proc-krok {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.proc-title {
  font-size: 19px;
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.3;
}

.proc-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  justify-self: end;
}
.proc-step.is-open .proc-icon {
  transform: rotate(45deg);
}

.proc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.proc-step.is-open .proc-panel {
  grid-template-rows: 1fr;
}
.proc-body {
  overflow: hidden;
  min-height: 0;
}
.proc-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
  padding: 0 24px 22px 24px;
}

@media (max-width: 900px) {
  .proc-title { font-size: 17px; }
}
@media (max-width: 600px) {
  .proces-section { padding: 56px var(--pad-x); }
  .proc-body p { font-size: 14px; line-height: 1.55; padding-right: 16px; }
  .proc-title { font-size: 16px; }
}

/* ── Showcase section ──────────────────────────────────────── */
.showcase-section {
  background: #EEF2FF;
  padding: 80px var(--pad-x);
}
.showcase-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 55%;
  grid-template-areas:
    "header visual"
    "footer visual";
  column-gap: 64px;
  row-gap: 32px;
}

.showcase-right {
  grid-area: header;
}

.showcase-visual {
  grid-area: visual;
  position: relative;
  align-self: center;
  padding-bottom: 32px;
}


.showcase-header {
  text-align: left;
}

/* Browser mockup */
.showcase-browser {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.3);
  border: 1px solid var(--color-border);
  background: #1A1A1A;
}
.showcase-bar {
  background: #222222;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.showcase-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.showcase-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  display: block;
}
.showcase-url {
  flex: 1;
  background: #1A1A1A;
  border-radius: 6px;
  height: 24px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #555;
  border: 1px solid rgba(255,255,255,.08);
}
.showcase-screen {
  height: 360px;
  overflow: hidden;
  position: relative;
}
.showcase-img {
  width: 100%;
  display: block;
  animation: showcaseScroll 13s 1s ease-in-out infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}
@keyframes showcaseScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(calc(-100% + 360px)); }
}

/* Phone mockup — thin black line only */
.showcase-phone {
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 162px;
  border-radius: 44px;
  padding: 0;
  border: 2px solid #111;
  box-shadow: 0 28px 64px rgba(0,0,0,.20);
  overflow: hidden;
}
.showcase-phone-screen {
  display: block;
  overflow: hidden;
  height: 292px;
  background: #1A1A1A;
}
.showcase-phone-screen img {
  width: 100%;
  display: block;
  animation: showcaseScroll 13s 0s ease-in-out infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}
.showcase-section.showcase-anim-go .showcase-img,
.showcase-section.showcase-anim-go .showcase-phone-screen img {
  animation-play-state: running;
}

.showcase-eyebrow,
.proces-eyebrow,
.faq-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563EB;
  margin: 0 0 14px;
}
.showcase-headline {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
  margin: 0 0 16px;
}
.showcase-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
  max-width: 480px;
}
.showcase-footer {
  grid-area: footer;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .showcase-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .showcase-visual {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .showcase-section { padding: 56px var(--pad-x); }
  .showcase-phone { width: 116px; right: 0; border-radius: 34px; }
  .showcase-phone-screen { height: 208px; border-radius: 26px; }
  .showcase-screen { height: 280px; }
}

/* ── FAQ section ───────────────────────────────────────────── */
.faq-section {
  background: #EEF2FF;
  padding: 80px var(--pad-x);
}
.faq-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.faq-headline {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
  margin: 0 0 40px;
}

@media (max-width: 600px) {
  .faq-section { padding: 56px var(--pad-x); }
}

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes slotIn {
  0%   { transform: translateY(100%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-2col, .slot .word { animation: none; }
  .hero-2col { opacity: 1; transform: none; }
}

/* ── Form result message ──────────────────────────────────── */
.form-result { padding: 14px 18px; border-radius: 8px; font-size: 15px; margin-top: 16px; }
.form-result--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-result--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
