/* ==========================================================================
   EKF Digital — SaaS Bento, production
   v.production.02 · 2026
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --red: #DA001A;
  --red-soft: #FFF1F2;
  --red-deep: #9B0014;
  --black: #0F1011;
  --ink: #16181C;
  --ink-soft: #2A2D33;
  --muted: #6F7378;
  --muted-2: #9CA0A6;
  --line: #E7E8EA;
  --line-strong: #D2D5D9;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --card-2: #F4F4F5;
  --radius: 20px;
  --radius-sm: 14px;

  /* Typography */
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
  --max-w: 1280px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

main, header, footer { position: relative; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip {
  position: absolute;
  left: 12px; top: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 1000;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip:focus { transform: translateY(0); }

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

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  z-index: 999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ---------- 4. Nav ---------- */
nav.top {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 14px auto 0;
  max-width: var(--max-w);
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 9px 9px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
  transition: box-shadow .25s var(--ease-out);
}
nav.top.scrolled .nav-pill {
  box-shadow: 0 8px 36px rgba(0,0,0,.08);
}
.brand { display: inline-flex; align-items: center; height: 28px; }
.brand img { height: 100%; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  color: var(--ink-soft);
  transition: background .15s var(--ease-out), color .15s var(--ease-out);
}
.nav-links a:hover { background: var(--card-2); color: var(--ink); }
.nav-links a.is-active { color: var(--red); }
.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform .25s var(--ease-out); }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  background: var(--card-2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 14px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0;
}
.nav-burger span::before { top: -4px; }
.nav-burger span::after { top: 4px; }

/* ---------- 5. Hero ---------- */
.hero {
  padding: 64px 0 24px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(218, 0, 26, .15);
}
.hero-badge strong { color: var(--ink); font-weight: 600; }
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: 1000px;
  margin: 0 auto 22px;
  color: var(--ink);
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--red) 0%, #FF5A6B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--red); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(218,0,26,.18); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- 6. Section heads ---------- */
.section { padding: var(--section-y) 0; }

.sec-head {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.sec-head-left { max-width: 720px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
}
.h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  max-width: 720px;
  color: var(--ink);
}
.h2 + .h2-sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.55;
}

/* ---------- 7. Bento (About) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 196px;
  gap: 14px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  border-color: var(--line-strong);
}
.tile-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}
.tile-h {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.2;
  color: var(--ink);
}
.tile-p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.tile-1 {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.tile-1 .tile-tag { color: var(--red); }
.tile-1 .tile-h { color: #fff; font-size: 30px; line-height: 1.18; max-width: 480px; }
.tile-1 .tile-mock {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
}
.tile-mock .k { color: #FF8A95; }
.tile-mock .s { color: #A7E8C7; }
.tile-mock .n { color: #F1C77B; }
.tile-mock .b { color: #B8A6F0; }

.tile-2 {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--red);
  color: #fff;
  border-color: transparent;
}
.tile-2 .tile-tag { color: rgba(255,255,255,.78); }
.tile-2 .tile-h { color: #fff; }

.tile-3 { grid-column: span 2; }
.tile-4 { grid-column: span 3; }
.tile-5 { grid-column: span 3; }
.tile-6 { grid-column: span 2; }
.tile-7 {
  grid-column: span 4;
}
.metric-row {
  display: flex;
  gap: 28px;
  margin-top: 16px;
}
.metric-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.metric-num .red { color: var(--red); }
.metric-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- 8. Services ---------- */
.services {
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.svc {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color .2s var(--ease-out), transform .25s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.svc:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 22px;
}
.svc h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.018em;
  margin-bottom: 10px;
  color: var(--ink);
}
.svc p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.svc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.svc li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 9. Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,.07);
}
.product-img {
  aspect-ratio: 16 / 10;
  background: var(--card-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
}
.product-card:hover .product-img img { transform: scale(1.03); }
.product-img.alt {
  background: linear-gradient(135deg, #fff, var(--red-soft));
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Sales mock */
.sales-mock {
  width: 86%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sales-mock .row {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.sales-mock .row.feat {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sales-mock .l {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.sales-mock .row.feat .l { color: rgba(255,255,255,.55); }
.sales-mock .v { font-weight: 600; color: var(--ink); font-size: 13px; }
.sales-mock .row.feat .v { color: #fff; }
.sales-mock .r { color: var(--red); font-weight: 600; font-size: 12px; }
.sales-mock .row.feat .r { color: #FF8A95; }

.product-meta {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-meta .pm-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
  font-weight: 600;
}
.product-meta h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.018em;
  margin-bottom: 8px;
  color: var(--ink);
}
.product-meta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}
.product-meta .pm-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.product-meta .pm-list span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 9px;
  background: var(--card-2);
  border-radius: 100px;
  color: var(--ink-soft);
  font-weight: 500;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  align-self: flex-start;
  transition: color .2s var(--ease-out);
}
.product-cta .arrow {
  display: inline-block;
  transition: transform .2s var(--ease-out);
}
.product-cta:hover { color: var(--red); }
.product-cta:hover .arrow { transform: translateX(4px); }

/* ---------- 10. Team ---------- */
.team {
  background: #fff;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.member {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color .2s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.member:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.05);
}
.member.lead {
  grid-column: span 3;
  align-items: center;
  background: linear-gradient(135deg, var(--ink), #1f2329);
  border-color: transparent;
  color: #fff;
  padding: 36px 40px;
  gap: 32px;
}
.member.lead:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(0,0,0,.18); }
.member-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-2);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.member.lead .member-avatar {
  width: 132px; height: 132px;
  border: 2px solid rgba(255,255,255,.1);
}
.member-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.member-text { flex: 1; min-width: 0; }
.member-role {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}
.member.lead .member-role { color: #FF8A95; }
.member-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--ink);
}
.member.lead .member-name {
  font-size: 30px;
  letter-spacing: -.02em;
  color: #fff;
}
.member-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.member.lead .member-bio { color: rgba(255,255,255,.7); font-size: 16px; max-width: 520px; }

/* ---------- 11. News / cases ---------- */
.news-list {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .2s var(--ease-out);
}
.news-item:hover { padding-left: 8px; }
.news-item .date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.news-item h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ink);
}
.news-arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform .2s var(--ease-out), color .2s var(--ease-out);
}
.news-item:hover .news-arrow { transform: translateX(4px); color: var(--red); }

/* ---------- 12. Contact ---------- */
.contact-block {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.contact-block::before {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218,0,26,.55), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 2; }
.contact-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: #FF8A95;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.contact-block h2 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 620px;
}
.contact-lead {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 40px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-channels .phone-block {
  margin: 0;
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-channels .phone-block:last-child { border-bottom: none; }

.phone-block {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr auto;
  gap: 8px 28px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  margin-bottom: 40px;
  text-decoration: none;
  color: inherit;
  transition: color .25s var(--ease-out);
}
.phone-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.phone-num {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  transition: color .25s var(--ease-out);
}
.phone-block:hover .phone-num,
.phone-block:focus-visible .phone-num { color: #FF8A95; }
.phone-cta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #FF8A95;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone-cta .arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out);
}
.phone-block:hover .phone-cta .arrow { transform: translateX(3px); }

.contact-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
}
.c-block h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #FF8A95;
  margin-bottom: 12px;
  font-weight: 600;
}
.c-block p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}
.c-block p.aux {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  margin-top: 4px;
}

/* ---------- 13. Footer ---------- */
footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}
.foot-brand .brand {
  height: 32px;
  margin-bottom: 16px;
}
.foot-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 320px;
}
.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.foot-col a, .foot-col span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color .15s var(--ease-out);
}
.foot-col a:hover { color: var(--red); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background .2s var(--ease-out);
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover { background: var(--red); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 14. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .42s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.on-load > * { opacity: 0; animation: rise .9s var(--ease-out) forwards; }
.on-load > *:nth-child(1) { animation-delay: .1s; }
.on-load > *:nth-child(2) { animation-delay: .22s; }
.on-load > *:nth-child(3) { animation-delay: .34s; }
.on-load > *:nth-child(4) { animation-delay: .46s; }
.on-load > *:nth-child(5) { animation-delay: .58s; }

/* ---------- 15. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99;
  padding: 88px var(--gutter) 32px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.mobile-menu a .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
}
.mobile-menu .nav-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 28px;
  font-size: 14px;
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-1 { grid-column: span 4; grid-row: span 2; }
  .tile-2 { grid-column: span 2; }
  .tile-3 { grid-column: span 2; }
  .tile-4 { grid-column: span 2; }
  .tile-5 { grid-column: span 2; }
  .tile-6 { grid-column: span 2; }
  .tile-7 { grid-column: span 4; }
  .contact-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  nav.top { top: 10px; margin-top: 10px; }
  .nav-pill { grid-template-columns: auto 1fr auto; padding: 8px 8px 8px 18px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1 !important; grid-row: span 1 !important; min-height: 180px; }
  .services-grid, .products-grid, .team-grid { grid-template-columns: 1fr; }
  .member.lead {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 32px;
    gap: 20px;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: flex-start;
  }
  .news-item .news-arrow { display: none; }
  .phone-block { grid-template-columns: 1fr; gap: 8px; }
  .contact-cols { grid-template-columns: 1fr; gap: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .hero { padding: 48px 0 16px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .tile-1 .tile-h { font-size: 24px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .contact-block { padding: 32px 24px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- 18. Product dialog ---------- */
.dlg {
  border: none;
  padding: 0;
  margin: auto;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  border-radius: 24px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}
.dlg[open] { opacity: 1; transform: none; }
.dlg::backdrop {
  background: rgba(15, 16, 17, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .28s var(--ease-out);
}
.dlg[open]::backdrop { opacity: 1; }
.dlg-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .15s var(--ease-out), color .15s var(--ease-out), transform .15s var(--ease-out);
}
.dlg-close:hover {
  background: var(--ink);
  color: var(--card);
  transform: rotate(90deg);
}

.dlg-content {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 0 0 32px;
}

.dlg-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.dlg-figure {
  position: relative;
  background: var(--card-2);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dlg-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dlg-head {
  padding: 40px 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dlg-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dlg-eyebrow::before {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
}
.dlg-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
}
.dlg-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 460px;
}
.dlg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dlg-actions .btn {
  padding: 11px 20px;
  font-size: 14px;
}

.dlg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--card-2);
}
.dlg-stats > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dlg-stats > div:last-child { border-right: none; }
.dlg-stats strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1;
}
.dlg-stats strong span { color: var(--red); }
.dlg-stats > div > span:not(strong span) {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.4;
}

.dlg-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 40px 0;
}
.dlg-cols h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -.005em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dlg-cols h3::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.dlg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.dlg-list li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.dlg-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
}
.dlg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dlg-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--card-2);
  border-radius: 100px;
  color: var(--ink-soft);
  font-weight: 500;
  border: 1px solid var(--line);
}

/* Bold inline labels inside dialog lists */
.dlg-list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Phone-mock figure variant — shows real product screenshot */
/* Higher specificity to override base .dlg-figure aspect-ratio */
.dlg .dlg-figure-mock {
  background: linear-gradient(160deg, #F8F8F9, #E8E9EC);
  aspect-ratio: auto;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  overflow: hidden;
}
.dlg .dlg-figure-mock img {
  width: auto;
  height: 100%;
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.12));
}
@media (max-width: 760px) {
  .dlg .dlg-figure-mock {
    min-height: auto;
    padding: 24px 20px 28px;
    aspect-ratio: 4/5;
    max-height: 64vh;
  }
  .dlg .dlg-figure-mock img {
    max-height: 100%;
  }
}

@media (max-width: 760px) {
  .dlg { width: min(640px, calc(100vw - 16px)); border-radius: 18px; }
  .dlg-grid { grid-template-columns: 1fr; }
  .dlg-figure { aspect-ratio: 16/10; }
  .dlg-head { padding: 28px 24px 24px; }
  .dlg-stats { grid-template-columns: 1fr; }
  .dlg-stats > div { border-right: none; border-bottom: 1px solid var(--line); }
  .dlg-stats > div:last-child { border-bottom: none; }
  .dlg-cols { grid-template-columns: 1fr; padding: 24px 24px 0; gap: 24px; }
}

/* ---------- 18b. Legal link (inside contact-block) ---------- */
.legal-link {
  margin-top: 28px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  color: rgba(255, 255, 255, .55);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 760px;
  transition: color .2s var(--ease-out);
}
.legal-link:hover {
  color: #fff;
}
.legal-link .arrow {
  display: inline-block;
  color: #FF8A95;
  transition: transform .2s var(--ease-out);
}
.legal-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- 18c. Legal dialog (text-only variant) ---------- */
.dlg.dlg-text .dlg-content {
  padding: 0 0 32px;
}
.dlg-text-head {
  padding: clamp(40px, 5vw, 56px) clamp(36px, 5vw, 48px) clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.dlg-text-head .dlg-eyebrow {
  margin-bottom: 12px;
}
.dlg-text-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
.dlg-text-head .dlg-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 12px;
}
.dlg-text-head .dlg-lead:last-child {
  margin-bottom: 0;
}
.dlg-text-head .dlg-lead a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(218, 0, 26, .35);
  text-underline-offset: 2px;
}
.dlg-text-head .dlg-lead a:hover {
  text-decoration-color: var(--red);
}

.legal-list {
  padding: 8px clamp(36px, 5vw, 48px) 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 2fr;
  gap: 0;
}
.legal-list dt,
.legal-list dd {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}
.legal-list dt:first-of-type,
.legal-list dt:first-of-type + dd {
  border-top: none;
  padding-top: 24px;
}
.legal-list dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  padding-right: 32px;
}
.legal-list dt .aux {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}
.legal-list dd {
  color: var(--ink-soft);
}
.legal-list dd a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(218, 0, 26, .35);
  text-underline-offset: 2px;
  transition: text-decoration-color .15s var(--ease-out);
}
.legal-list dd a:hover {
  text-decoration-color: var(--red);
}
.legal-list dd p {
  margin-bottom: 10px;
}
.legal-list dd p:last-child {
  margin-bottom: 0;
}
.legal-list dd p.aux {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 8px;
}
.legal-list dd strong {
  font-weight: 600;
  color: var(--ink);
}

.legal-products {
  list-style: none;
  padding: 0;
  margin: 8px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: lp;
}
.legal-products li {
  padding-left: 28px;
  position: relative;
  counter-increment: lp;
  font-size: 14px;
  line-height: 1.5;
}
.legal-products li::before {
  content: counter(lp);
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.legal-tags span {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 10px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 760px) {
  .legal-list {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .legal-list dt {
    border-top: 1px solid var(--line);
    padding: 18px 0 6px;
  }
  .legal-list dd {
    border-top: none;
    padding: 0 0 18px;
  }
  .legal-list dt:first-of-type {
    border-top: none;
    padding-top: 8px;
  }
  .dlg-text-head {
    padding: 36px 24px 22px;
  }
}

/* ---------- 18d. Inline link button (button styled as a link) ---------- */
.legal-link-inline {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(218, 0, 26, .35);
  text-underline-offset: 2px;
  cursor: pointer;
  transition: text-decoration-color .15s var(--ease-out);
}
.legal-link-inline:hover {
  text-decoration-color: var(--red);
}

/* ---------- 18e. Price dialog ---------- */
.price-section {
  padding: clamp(28px, 4vw, 36px) clamp(36px, 5vw, 48px);
  border-top: 1px solid var(--line);
}
.price-section:first-of-type {
  border-top: none;
}
.price-section-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.price-section-h h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.price-section-h span {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 500;
}
.price-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
}
.price-text strong {
  color: var(--ink);
  font-weight: 600;
}
.price-text a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(218, 0, 26, .35);
  text-underline-offset: 2px;
}
.price-text a:hover {
  text-decoration-color: var(--red);
}

/* Pricing cards */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, #FFF8F9 0%, #fff 60%);
  box-shadow: 0 12px 32px rgba(218, 0, 26, .08);
}
.price-card-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 100px;
}
.price-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
.price-card.featured .price-tag {
  color: var(--red);
}
.price-audience {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  min-height: 2.8em;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price-amount strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.price-amount span {
  font-size: 12px;
  color: var(--muted);
}
.price-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-feats li {
  padding-left: 22px;
  position: relative;
}
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.price-sla {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--card-2);
  color: var(--ink);
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: .04em;
}
.price-note {
  margin: 18px 0 0;
  padding: 14px 18px;
  background: var(--card-2);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-note strong {
  color: var(--ink);
  font-weight: 600;
}
.price-section-callout {
  background: var(--card-2);
}
.price-section-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 8px;
}
.price-section-callout p:last-child {
  margin-bottom: 0;
}
.price-section-callout strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .price-cards {
    grid-template-columns: 1fr;
  }
  .price-section {
    padding: 24px 24px;
  }
  .price-card-badge {
    right: 14px;
  }
}

/* ---------- 19. Print ---------- */
@media print {
  nav.top, .to-top, .scroll-progress, .mobile-menu, .legal-link { display: none !important; }
  body { background: #fff; color: #000; }
  .contact-block { background: #fff; color: #000; border: 1px solid #000; }
  .contact-block::before { display: none; }
  .contact-block h2, .c-block p, .contact-lead, .phone-num { color: #000 !important; }
  .tile-1 { background: #fff; color: #000; border: 1px solid #000; }
  .tile-1 .tile-h, .tile-1 .tile-mock { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 24px 0; page-break-inside: avoid; }
}
