:root {
  --orange: #FF4F18;
  --orange-2: #FF7A22;
  --black: #00101F;
  --blue: #001D3F;
  --timid-blue: #D8E0ED;
  --gray: #F4F5F9;
  --white: #FFFFFF;
  --text: #092033;
  --muted: #647080;
  --border: rgba(0, 16, 31, 0.1);
  --shadow: 0 24px 80px rgba(0, 16, 31, 0.12);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 79, 24, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #ffffff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 16, 31, 0.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
  color: var(--black);
}

.brand span span {
  color: var(--orange);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #263747;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 16, 31, 0.16);
}

.nav-cta:hover {
  color: var(--white) !important;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--gray);
  border-radius: 14px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 79, 24, 0.08), transparent 42%),
    radial-gradient(circle at 78% 24%, rgba(0, 29, 63, 0.12), transparent 26rem);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  color: var(--black);
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

h2 {
  color: var(--black);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 22px;
}

h3 {
  color: var(--black);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero-text,
.section-text {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 660px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 36px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(255, 79, 24, 0.3);
}

.button.primary:hover {
  background: var(--orange-2);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
}

.button.dark {
  background: var(--black);
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid rgba(0, 16, 31, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #39495a;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 16, 31, 0.08);
  border-radius: 34px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% 38%;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 79, 24, 0.22), transparent 70%);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255, 79, 24, 0.13);
}

.hero-logo {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(0, 16, 31, 0.08);
  background: var(--white);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
  position: relative;
}

.metric-grid div {
  background: var(--gray);
  border: 1px solid rgba(0, 16, 31, 0.07);
  border-radius: 20px;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  color: var(--orange);
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.intro {
  padding-top: 40px;
}

.intro-grid,
.process-grid,
.brand-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.cards,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.case-card,
.brand-panel,
.cta-card {
  background: var(--white);
  border: 1px solid rgba(0, 16, 31, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 16, 31, 0.07);
}

.service-card {
  padding: 34px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.service-card.highlight {
  background: var(--black);
  color: var(--white);
  transform: translateY(-16px);
}

.service-card.highlight h3,
.service-card.highlight .card-number {
  color: var(--white);
}

.service-card.highlight p {
  color: rgba(255, 255, 255, 0.76);
}

.card-number {
  color: var(--orange);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 58px;
}

.service-card p,
.case-card p,
.brand-panel p,
.cta-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card a {
  margin-top: auto;
  color: var(--orange);
  font-weight: 800;
}

.process {
  background:
    linear-gradient(135deg, var(--black), var(--blue));
  color: var(--white);
}

.process h2,
.process h3 {
  color: var(--white);
}

.process .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--orange);
  border-radius: 16px;
  font-weight: 900;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.brand-panel {
  padding: 42px;
}

.palette {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.palette div {
  min-height: 132px;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: var(--swatch);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(0, 16, 31, 0.08);
}

.palette div:nth-child(5),
.palette div:nth-child(6) {
  color: var(--black);
}

.palette span {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.palette small {
  margin-top: 5px;
  opacity: 0.82;
  font-weight: 700;
}

.case-card {
  padding: 30px;
  min-height: 240px;
}

.case-tag {
  display: inline-flex;
  background: rgba(255, 79, 24, 0.11);
  color: var(--orange);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 34px;
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 122, 34, 0.25), transparent 18rem),
    linear-gradient(135deg, var(--orange), #ff6d1a);
  padding: 52px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
}

.cta-card h2,
.cta-card p,
.cta-card .eyebrow {
  color: var(--white);
}

.cta-card p {
  max-width: 620px;
  opacity: 0.86;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(0, 16, 31, 0.08);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}

.footer-grid p {
  color: var(--muted);
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .intro-grid,
  .process-grid,
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card.highlight {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-grid p {
    text-align: left;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero-actions,
  .cta-card {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .palette {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .brand-panel,
  .service-card,
  .case-card {
    padding: 28px;
  }
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 79, 24, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(0, 29, 63, 0.14), transparent 30%),
    radial-gradient(circle at 62% 82%, rgba(255, 122, 34, 0.12), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(216, 224, 237, 0.38), transparent 30%);
  filter: blur(18px);
  animation: meterwiseBackgroundFlow 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 16, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 16, 31, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 70%);
  opacity: 0.45;
}

@keyframes meterwiseBackgroundFlow {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.08);
  }
}
