:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --line: #e3e4e8;
  --ink: #111113;
  --ink-soft: #6b6c72;
  --accent: #1d1d20;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-top: 84px;
}

.ambient {
  position: fixed;
  width: 40vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.ambient-left {
  left: -15vw;
  top: -20vh;
  background: rgba(201, 214, 255, 0.8);
}

.ambient-right {
  right: -15vw;
  bottom: -25vh;
  background: rgba(233, 236, 246, 0.95);
}

.container {
  position: relative;
  z-index: 2;
}

.topbar-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 9999;
  background: color-mix(in srgb, var(--bg) 90%, #ffffff 10%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0.7rem 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 132px;
  display: block;
}

.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.nav a {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.nav-item {
  position: relative;
}

.nav-item > a {
  padding: 0.4rem 0.1rem;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  color: var(--ink);
  border-bottom-color: #bbbcc3;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 18px 32px rgba(15, 16, 24, 0.08);
}

.dropdown a {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: #4f5057;
  font-size: 0.86rem;
}

.dropdown a:hover {
  background: #f6f7fb;
  color: #15161a;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cta-link {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.86rem;
  transition: 0.2s ease;
}

.cta-link:hover {
  border-color: #c9cad1;
  background: #fff;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding-bottom: 4.8rem;
}

.section-screen {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.6rem 0 1.6rem;
}

.hero {
  margin-top: 0;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #80818a;
}

h1 {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-inline: auto;
}

.hero-copy {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  margin: 0.9rem 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.68;
  margin-inline: auto;
}

.tagline {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  margin-top: 1.3rem;
  color: #8c8d96;
  font-size: 0.92rem;
  text-align: center;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.02rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-solid {
  color: #fff;
  background: var(--accent);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-metrics {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(860px, 100%);
  margin-inline: auto;
}

.hero-metrics article {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  text-align: center;
}

.hero-metrics span {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8b94;
}

.hero-metrics strong {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  display: block;
  margin-top: 0.28rem;
  font-size: 0.98rem;
}

.proof {
  margin-top: 3.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}

.proof p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  margin: 0;
  color: #575861;
  max-width: 74ch;
}

.section-head p {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8b8c95;
  text-transform: uppercase;
}

.section-head h2 {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  margin: 0.58rem 0 0;
  font-size: clamp(1.45rem, 3.1vw, 2.55rem);
  line-height: 1.24;
  letter-spacing: 0.005em;
  max-width: 28ch;
}

.card-grid,
.product-grid {
  margin-top: 1.45rem;
  display: grid;
  gap: 0.82rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  width: min(100%, 270px);
  min-height: 390px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-art {
  width: 100%;
  border: 1px solid #ececf1;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2f4ff, #eceff9);
  padding: 0.55rem;
  margin-bottom: 0.95rem;
  box-shadow: inset 0 0 0 1px #ffffff;
}

.card-art svg {
  width: 100%;
  height: auto;
  stroke: #8d95a8;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-art img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
}

.service-card,
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(17, 17, 19, 0.08);
}

.card h3,
.product h3,
.approach-node h3 {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}

.card p,
.product p,
.approach-node p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  margin: 0.6rem 0 0;
  line-height: 1.58;
  color: var(--ink-soft);
}

.product-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-title span {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  color: #5a5b63;
  background: #f0f1f5;
  padding: 0.27rem 0.56rem;
  border-radius: 999px;
}

.approach {
  position: relative;
}

.approach-layout {
  margin-top: 1.8rem;
  min-height: 430px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8f8fb);
  overflow: hidden;
}

.approach-node {
  position: absolute;
  width: min(280px, 40%);
  background: #fff;
  border: 1px solid #dcdde4;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 16px 24px rgba(17, 17, 19, 0.06);
}

.approach-node span {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  color: #8a8b94;
}

.approach-node p {
  margin: 0.45rem 0 0;
}

.node-a {
  top: 16%;
  left: 10%;
}

.node-b {
  top: 50%;
  left: 37%;
  transform: translateY(-50%);
}

.node-c {
  right: 10%;
  bottom: 16%;
}

.approach-orbit {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px dashed #cfd1da;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  position: relative;
  z-index: 2;
}

.footer-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer h2 {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  letter-spacing: 0.01em;
}

.credit {
  margin: 0.4rem 0 0;
  color: #777984;
  font-size: 0.82rem;
}

.reveal {
  opacity: 1;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .approach-node {
    position: static;
    width: 100%;
    margin: 0.5rem 0;
  }

  .approach-layout {
    padding: 1rem;
    min-height: auto;
  }

  .approach-orbit {
    display: none;
  }

  .section-screen {
    min-height: 68vh;
    padding: 1.6rem 0 1rem;
  }

  .card,
  .product {
    width: 100%;
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 112px;
  }

  .topbar {
    flex-wrap: wrap;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.35rem;
    gap: 0.7rem;
  }

  .topbar.menu-open .nav-panel {
    display: flex;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .nav-item > a {
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    width: 100%;
    text-align: center;
  }

  .dropdown {
    display: none;
  }

  .cta-link {
    align-self: stretch;
    text-align: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-screen {
    min-height: auto;
    padding: 1.2rem 0 0.8rem;
  }

  .hero {
    padding-top: 0.4rem;
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    max-width: 14ch;
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .card,
  .product {
    min-height: 280px;
    max-width: 360px;
  }

  .card-art img {
    height: 130px;
  }

  .approach-layout {
    margin-top: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
