:root {
  --faz-ink: #10202f;
  --faz-muted: #53616f;
  --faz-line: #dce4ea;
  --faz-teal: #0f766e;
  --faz-coral: #c2413a;
  --faz-indigo: #5145a5;
}

.faz-page {
  color: var(--faz-ink);
  background: #fbfcfa;
}

#navbar-root {
  display: none;
}

main {
  padding-top: 0 !important;
}

.faz-hero {
  min-height: 82vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.25rem 4rem;
}

.faz-topbar {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.faz-topbar__brand {
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
}

.faz-topbar__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faz-topbar__links a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
  font-size: 0.9rem;
}

.faz-hero--portfolio {
  background-image: url("/static/images/fazfinity/fazfinity-hero.jpg");
}

.faz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 22, 0.42);
}

.faz-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  text-align: center;
  color: #fff;
}

.faz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faz-hero h1 {
  margin-top: 1.15rem;
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.faz-hero p {
  max-width: 760px;
  margin: 1.15rem auto 0;
  font-size: 1.3rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.faz-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.faz-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.65rem;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.faz-button:hover {
  transform: translateY(-1px);
}

.faz-button--primary {
  color: #0b1d2f;
  background: #fff;
}

.faz-button--dark {
  color: #fff;
  background: #10202f;
}

.faz-button--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
}

.faz-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.faz-section--tight {
  padding-top: 3.25rem;
}

.faz-section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.faz-kicker {
  color: var(--faz-teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faz-section h2 {
  margin-top: 0.45rem;
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.faz-section-header p,
.faz-product-copy p,
.faz-web-card p {
  color: var(--faz-muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.faz-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.faz-app-card {
  min-height: 100%;
  border: 1px solid var(--faz-line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 16px 36px rgba(16, 32, 47, 0.07);
}

.faz-app-card img {
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 1.05rem;
  box-shadow: 0 12px 24px rgba(16, 32, 47, 0.16);
}

.faz-app-card h3,
.faz-product-copy h3 {
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: 0;
}

.faz-app-card p {
  color: var(--faz-muted);
  line-height: 1.55;
}

.faz-chip {
  align-self: flex-start;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--accent-soft);
  color: var(--accent);
}

.accent-travel {
  --accent: var(--faz-teal);
  --accent-soft: #d9f5ee;
}

.accent-call {
  --accent: var(--faz-coral);
  --accent-soft: #fde2df;
}

.accent-kalarie {
  --accent: #1864ab;
  --accent-soft: #dceeff;
}

.accent-rune {
  --accent: var(--faz-indigo);
  --accent-soft: #e8e4ff;
}

.faz-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--faz-line);
}

.faz-product:nth-child(even) {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
}

.faz-product:nth-child(even) .faz-product-copy {
  order: 2;
}

.faz-product:nth-child(even) .faz-phone {
  order: 1;
}

.faz-product-title {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.faz-product-title img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.1rem;
  box-shadow: 0 14px 26px rgba(16, 32, 47, 0.15);
}

.faz-feature-list {
  margin: 1.35rem 0 1.6rem;
  display: grid;
  gap: 0.72rem;
}

.faz-feature-list li {
  display: flex;
  gap: 0.7rem;
  color: #273746;
  line-height: 1.55;
}

.faz-feature-list li::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

.faz-phone {
  max-width: 390px;
  justify-self: center;
  padding: 0.65rem;
  border: 1px solid var(--faz-line);
  border-radius: 2.2rem;
  background: #fff;
  box-shadow: 0 22px 48px rgba(16, 32, 47, 0.12);
}

.faz-phone img {
  width: 100%;
  border-radius: 1.65rem;
  display: block;
}

.faz-web-band {
  background: #10202f;
  color: #fff;
}

.faz-web-band .faz-kicker {
  color: #99ead9;
}

.faz-web-band .faz-section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.faz-web-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faz-web-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
}

.faz-web-card h3 {
  font-size: 1.2rem;
  font-weight: 850;
  margin-bottom: 0.55rem;
}

.faz-web-card p {
  color: rgba(255, 255, 255, 0.74);
}

.faz-cta {
  text-align: center;
  background: #f4f8f2;
  border-top: 1px solid var(--faz-line);
}

.faz-cta p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--faz-muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .faz-app-grid,
  .faz-web-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faz-product,
  .faz-product:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .faz-product:nth-child(even) .faz-product-copy,
  .faz-product:nth-child(even) .faz-phone {
    order: initial;
  }
}

@media (max-width: 640px) {
  .faz-hero {
    min-height: 78vh;
    padding-top: 7rem;
    background-position: 48% center;
  }

  .faz-hero h1 {
    font-size: 3.15rem;
  }

  .faz-topbar {
    left: 1rem;
    right: 1rem;
  }

  .faz-topbar__links a {
    padding: 0.42rem 0.58rem;
    font-size: 0.82rem;
  }

  .faz-hero p {
    font-size: 1.05rem;
  }

  .faz-section {
    padding: 3.5rem 1rem;
  }

  .faz-section h2 {
    font-size: 2rem;
  }

  .faz-app-grid,
  .faz-web-grid {
    grid-template-columns: 1fr;
  }

  .faz-product-title {
    align-items: flex-start;
  }

  .faz-actions {
    flex-direction: column;
  }

  .faz-button {
    width: 100%;
  }
}
