:root {
  --bg: #f3f4f6;
  --bg-white: #ffffff;
  --bg-soft: #eceef2;
  --ink: #1a1f24;
  --ink-soft: #5a6570;
  --line: #e0e3e8;
  --red: #e31e24;
  --red-dark: #c0181d;
  --red-glow: rgba(227, 30, 36, 0.2);
  --pink: #ff6b7a;
  --teal: #1f6b5a;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --font: "Figtree", system-ui, sans-serif;
  --display: "Literata", Georgia, serif;
  --radius: 8px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-card: 0 8px 28px rgba(26, 31, 36, 0.06);
  --shadow-lift: 0 18px 44px rgba(26, 31, 36, 0.14);
  --shadow-bento: 0 12px 40px rgba(26, 31, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 35% at 100% 0%, rgba(198, 40, 40, 0.05), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--red {
  background: linear-gradient(180deg, #f03a40 0%, var(--red) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 30, 36, 0.35);
  border-radius: 999px;
}

.btn--red:hover {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(227, 30, 36, 0.45);
}

.btn--hero {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
  margin-top: 0.35rem;
}

.btn--line {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 8px 20px rgba(26, 31, 36, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.header-phone:hover {
  color: var(--red);
}

.hero {
  padding: 1.75rem 0 0.75rem;
  background: transparent;
  position: relative;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.bento-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-bento);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  animation: hero-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.bento-card--copy {
  background: var(--bg-white);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 1.35rem;
  animation-delay: 0.06s;
  min-height: 420px;
}

.bento-card--visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 1.5rem 1.35rem 1.25rem;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(145deg, #ff4d5e 0%, var(--red) 42%, #b01018 100%);
  color: #fff;
  animation-delay: 0.16s;
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
}

.bento-card--copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
  animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.platform-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.platform-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.platform-chip:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--red);
  border-color: rgba(227, 30, 36, 0.35);
}

.visual-kicker {
  margin: 0;
  position: relative;
  z-index: 2;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.95;
  max-width: 18ch;
  animation: hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.phone-stage {
  position: absolute;
  inset: 12% 0 18%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.phone-mock {
  width: min(220px, 52%);
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  background: linear-gradient(180deg, #2a3038 0%, #12151a 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  padding: 10px 9px 12px;
  position: relative;
  animation: phone-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.phone-mock__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 10px;
  border-radius: 999px;
  background: #0a0c0f;
  z-index: 2;
}

.phone-mock__screen {
  height: 100%;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 107, 122, 0.35), transparent 45%),
    linear-gradient(160deg, #f7f8fa 0%, #e8ebf0 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 2rem 0.85rem 1rem;
}

.phone-mock__brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.phone-mock__line {
  display: block;
  width: 78%;
  height: 7px;
  border-radius: 999px;
  background: rgba(26, 31, 36, 0.12);
}

.phone-mock__line--short {
  width: 52%;
}

.phone-mock__pill-row {
  margin-top: auto;
  display: flex;
  gap: 0.35rem;
}

.phone-mock__pill-row i {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.35);
  display: block;
}

.float-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.float-pill {
  position: absolute;
  pointer-events: auto;
}

.float-pill span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-pill:hover span {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.float-pill--1 { left: 6%; bottom: 28%; animation: pill-float 4.2s ease-in-out infinite; }
.float-pill--2 { right: 8%; bottom: 38%; animation: pill-float 5s ease-in-out infinite 0.4s; }
.float-pill--3 { left: 18%; bottom: 12%; animation: pill-float 4.6s ease-in-out infinite 0.8s; }
.float-pill--4 { right: 14%; bottom: 14%; animation: pill-float 5.4s ease-in-out infinite 1.1s; }
.float-pill--5 { left: 42%; bottom: 6%; animation: pill-float 4.8s ease-in-out infinite 0.2s; }

.trust {
  padding: 1rem 0 2.75rem;
}

.niche-strip {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.35rem 1.5rem 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.niche-strip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.niche-strip__title {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.niche-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.niche-strip__list li {
  margin: 0;
}

.niche-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  transition: transform 0.22s ease;
}

.niche-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: var(--shadow-card);
}

.niche-card:hover {
  transform: translateY(-3px);
  color: var(--red);
}

.niche-card:hover img {
  box-shadow: var(--shadow-lift);
}

.value-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.value-card:nth-child(1) { animation-delay: 0.24s; }
.value-card:nth-child(2) { animation-delay: 0.32s; }
.value-card:nth-child(3) { animation-delay: 0.4s; }

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.value-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.value-card p {
  margin: 0;
  color: inherit;
  opacity: 0.9;
  font-size: 0.95rem;
}

.value-card--team {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(155deg, #ff5a66 0%, var(--red) 55%, #9e1016 100%);
  color: #fff;
}

.value-card--team p {
  color: rgba(255, 255, 255, 0.92);
}

.team-faces {
  display: flex;
  margin: 0 0 1.15rem;
}

.face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  margin-left: -10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.face:first-child {
  margin-left: 0;
}

.face--1 { background: #2a333c; }
.face--2 { background: #1f6b5a; }
.face--3 { background: #3d5a80; }
.face--4 { background: #6b4f3a; }

.value-card--why {
  background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
  color: var(--ink);
}

.value-card--why ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.value-card--why li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.value-card--why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.value-card--since {
  background: var(--bg-white);
  color: var(--ink);
  gap: 0.55rem;
}

.value-card__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.value-card--since .btn {
  margin-top: auto;
  align-self: flex-start;
}

.section {
  padding: 4.25rem 0;
}

.section__head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: none;
}

.section__head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.section__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.tech {
  background:
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(198, 40, 40, 0.04), transparent 50%),
    var(--bg-white);
  border-block: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.tech-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(227, 30, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--pink));
}

.tech-card:nth-child(1) { animation-delay: 0.04s; }
.tech-card:nth-child(2) { animation-delay: 0.1s; }
.tech-card:nth-child(3) { animation-delay: 0.16s; }

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(227, 30, 36, 0.28);
}

.tech-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 700;
}

.tech-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.tech-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.tech-card__link {
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  font-size: 0.92rem;
}

.tech-card__link:hover {
  text-decoration: underline;
}

.tech-banner {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background:
    radial-gradient(ellipse 40% 80% at 100% 50%, rgba(198, 40, 40, 0.35), transparent 55%),
    linear-gradient(90deg, #1a1f24, #2a333c);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(26, 31, 36, 0.22);
}

.tech-banner p {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.services {
  background:
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 100%);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.svc-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 200px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(227, 30, 36, 0.28);
}

.svc-card__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.svc-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.svc-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  flex: 1;
}

.svc-card--cta {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(227, 30, 36, 0.14), transparent 55%),
    linear-gradient(160deg, #1a1f24, #2a333c);
  color: #fff;
  border-color: transparent;
}

.svc-card--cta .svc-card__label {
  color: #ff8a90;
}

.svc-card--cta p {
  color: rgba(255, 255, 255, 0.78);
}

.svc-card--cta .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.cases {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(198, 40, 40, 0.04), transparent 55%),
    var(--bg-white);
}

.cases__count {
  margin: 0;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cases__count strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--ink);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.case {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case:nth-child(1) { animation-delay: 0.04s; }
.case:nth-child(2) { animation-delay: 0.08s; }
.case:nth-child(3) { animation-delay: 0.12s; }
.case:nth-child(4) { animation-delay: 0.16s; }
.case:nth-child(5) { animation-delay: 0.2s; }
.case:nth-child(6) { animation-delay: 0.24s; }

.case:hover {
  border-color: rgba(198, 40, 40, 0.35);
  box-shadow: var(--shadow-lift);
  transform: translateY(-5px);
}

.case__viz {
  display: block;
  aspect-ratio: 16 / 10;
  height: auto;
  background: #111;
  overflow: hidden;
}

.case__viz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.case:hover .case__viz img {
  transform: scale(1.04);
}

.case__body {
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.case__body h3 {
  margin: 0;
  font-size: 1.08rem;
}

.case__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  flex: 1;
}

.case__body a {
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}

.case__body a:hover {
  text-decoration: underline;
}

.why {
  background:
    linear-gradient(180deg, #eceff2 0%, var(--bg-soft) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.why-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  padding: 1.55rem 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: hidden;
}

.why-card__num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}

.why-card:nth-child(1) { animation-delay: 0.04s; }
.why-card:nth-child(2) { animation-delay: 0.1s; }
.why-card:nth-child(3) { animation-delay: 0.16s; }

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(198, 40, 40, 0.25);
}

.why-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.team-strip {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(227, 30, 36, 0.06), transparent 50%),
    linear-gradient(160deg, #fff 0%, #f7f8fa 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.team-strip__head {
  margin-bottom: 1.25rem;
}

.team-strip__head h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.team-strip__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

.consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.consent a {
  color: var(--red);
  font-weight: 700;
}

.site-footer__legal {
  margin-top: 0.65rem;
}

.site-footer__legal a {
  color: #c9c9c9;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.team-strip h3 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.team-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}

.team-roles div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0.35rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.team-roles div:hover {
  background: rgba(198, 40, 40, 0.04);
}

.team-roles strong {
  font-size: 0.98rem;
}

.team-roles span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.lead {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.lead h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.85rem;
}

.lead-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  text-align: center;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 75% 65% at 50% 18%, rgba(198, 40, 40, 0.12), transparent 60%),
    linear-gradient(160deg, #fff 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-card);
}

.lead-intro__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.lead-intro h2 {
  margin: 0 0 0.85rem;
}

.lead-intro__text {
  margin: 0 0 1.25rem;
  max-width: 24rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.lead-phone {
  margin: 0 0 0.55rem;
}

.lead-phone a {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.lead-phone a:hover {
  text-decoration: underline;
}

.lead-intro__mail {
  margin: 0 0 0.85rem;
}

.lead-intro__mail a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.lead-intro__mail a:hover {
  color: var(--red);
}

.lead-intro__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.lead-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(198, 40, 40, 0.04);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lead-form input,
.lead-form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(198, 40, 40, 0.35);
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.form-msg {
  margin: 0;
  font-size: 0.92rem;
}

.contacts {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contacts h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.55rem;
}

.contacts p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
}

.contacts a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contacts a:hover {
  color: var(--red);
}

.portfolio {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.25rem;
}

.portfolio a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.portfolio a:hover {
  text-decoration: underline;
}

.site-footer {
  background: #1a1f24;
  color: #9aa3ab;
  padding: 0.9rem 0;
  font-size: 0.82rem;
}

.site-footer__in p {
  margin: 0;
  line-height: 1.45;
}

.site-footer__in p + p {
  margin-top: 0.25rem;
}

.site-footer a {
  color: #c9c9c9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover {
  color: #fff;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-bento,
  .value-bento,
  .tech-grid,
  .cases-grid,
  .why-grid,
  .team-roles {
    grid-template-columns: 1fr 1fr;
  }

  .hero-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--copy,
  .bento-card--visual {
    min-height: 360px;
  }

  .svc {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lead-grid,
  .contact-grid,
  .section__head--row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .cases__count {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-phone {
    display: none;
  }

  .hero {
    padding: 1rem 0 0.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .value-bento,
  .tech-grid,
  .cases-grid,
  .why-grid,
  .team-roles,
  .portfolio {
    grid-template-columns: 1fr;
  }

  .bento-card--copy h1 {
    max-width: none;
  }

  .float-pill--1 { left: 4%; bottom: 30%; }
  .float-pill--2 { right: 4%; bottom: 42%; }
  .float-pill--5 { left: 34%; bottom: 8%; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .bento-card:hover,
  .niche-strip:hover,
  .value-card:hover,
  .tech-card:hover,
  .case:hover,
  .why-card:hover,
  .svc:hover,
  .platform-chip:hover,
  .float-pill:hover span {
    transform: none;
  }

  .svc:hover {
    padding-left: 0;
  }

  .bento-card,
  .bento-card--copy h1,
  .platform-row,
  .visual-kicker,
  .phone-mock,
  .niche-strip,
  .value-card,
  .tech-card,
  .case,
  .why-card,
  .float-pill {
    animation: none !important;
  }
}

/* Privacy consent extras */
.form-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.form-note a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}
.footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
}
.footer-legal a {
  color: #c9c9c9;
  text-decoration: none;
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.legal-page h1 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.legal-page h2 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}
.legal-page p, .legal-page li {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.legal-page ul { padding-left: 1.2rem; margin: 0 0 0.75rem; }
.legal-page .back { display: inline-block; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--red); font-weight: 700; }
.legal-page a { color: var(--red); font-weight: 600; }

/* Legal pages */
.legal-page {
  width: min(760px, calc(100% - 2rem));
  margin: 2.5rem auto 4rem;
  line-height: 1.55;
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.legal-page h2 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.15rem;
}
.legal-page p,
.legal-page li {
  color: inherit;
  opacity: 0.9;
}
.legal-page ul {
  padding-left: 1.2rem;
  margin: 0 0 0.75rem;
}
.legal-page .back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.legal-page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Consent checkbox */
.consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  line-height: 1.4;
}
.consent input[type="checkbox"] {
  width: 1.1rem !important;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === MOBILE HARDENING === */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: clip;
}
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
}
.wrap {
  width: min(1180px, calc(100% - 1.5rem));
}
input,
textarea,
select,
button {
  max-width: 100%;
  font-size: 16px; /* avoid iOS zoom */
}
.form input,
.form textarea,
.form select {
  width: 100%;
  box-sizing: border-box;
}
.cookie-bar {
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
}

@media (max-width: 720px) {
  .nav {
    display: none !important;
  }
  h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
    max-width: none !important;
  }
  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
  }
  .section,
  section.section {
    padding-left: 0;
    padding-right: 0;
  }
  .hero,
  .section {
    padding-top: clamp(2rem, 6vw, 3rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 720px) {
  .site-header__in {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .header-phone {
    display: none;
  }
  .hero-bento,
  .value-bento,
  .niche-strip__list,
  .tech-grid,
  .svc-grid,
  .cases-grid,
  .why-grid,
  .lead-grid,
  .footer__grid,
  .contacts-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-bento {
    display: grid !important;
    gap: 1.25rem;
  }
  .phone-stage,
  .phone-mock {
    max-width: 220px;
    margin-inline: auto;
  }
  .float-pills {
    position: static !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.75rem;
  }
  .float-pill {
    position: static !important;
  }
  .btn--hero {
    width: 100%;
  }
  .niche-strip__list {
    display: grid !important;
  }
}

