:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --accent: #0fa3b1;
  --accent-soft: #e9fbfb;
  --logo-teal: #0fa3b1;
  --logo-cyan: #2ec4b6;
  --logo-deep: #087985;
  --gray: #f8fafc;
  --gray-2: #eef2f7;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(226, 232, 240, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 42px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 144px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav-cta {
  padding: 0 20px;
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
}

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

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 96px);
  padding: 82px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(54px, 7.1vw, 96px);
  line-height: 0.94;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.2);
}

.button-primary:hover {
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.24);
}

.button-secondary {
  color: var(--navy);
  border-color: var(--gray-2);
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 548px;
}

.ecosystem {
  position: relative;
  width: min(100%, 620px);
  min-height: 548px;
  margin-left: auto;
  border: 1px solid rgba(226, 232, 240, 0.76);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 196, 182, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

.ecosystem::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 30px;
}

.connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.line {
  fill: none;
  stroke: rgba(15, 23, 42, 0.15);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  animation: dash 14s linear infinite;
}

.line-two,
.line-four {
  stroke: rgba(15, 163, 177, 0.32);
  animation-duration: 17s;
}

.node,
.metric-tile {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.node-core {
  left: 50%;
  top: 50%;
  align-items: center;
  width: 190px;
  height: 190px;
  border-radius: 42px;
  transform: translate(-50%, -50%);
}

.node-logo-image {
  display: block;
  width: 140px;
  height: auto;
}

.node-product {
  width: 154px;
  min-height: 118px;
  padding: 18px;
  border-radius: 24px;
}

.node-marginate {
  left: 48px;
  top: 58px;
}

.node-hygiene {
  right: 50px;
  top: 54px;
}

.node-pok-card {
  right: 56px;
  bottom: 52px;
}

.node-copy {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.metric-tile {
  left: 58px;
  bottom: 58px;
  width: 132px;
  height: 90px;
  padding: 16px;
  border-radius: 22px;
}

.metric-two {
  left: auto;
  right: 182px;
  bottom: 104px;
}

.metric-tile span {
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
}

.metric-tile small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.why-section,
.products-section,
.story-section,
.technology-section,
.philosophy-section {
  padding: 90px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 38px;
}

.section-heading h2,
.story-statement h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  font-weight: 800;
}

.why-grid,
.product-grid,
.tech-row {
  display: grid;
  gap: 18px;
}

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

.mini-card,
.product-card {
  border: 1px solid var(--gray-2);
  background: var(--white);
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mini-card:hover,
.product-card:hover {
  border-color: rgba(15, 163, 177, 0.32);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
  transform: translateY(-6px);
}

.mini-card {
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
}

.icon-dot {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 14px 0 0 var(--accent-soft), inset 0 0 0 10px var(--white);
}

.mini-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.14;
}

.mini-card p,
.story-copy p,
.product-description {
  color: var(--text);
  line-height: 1.7;
}

.product-grid {
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 32px;
  border-radius: 30px;
}

.product-featured {
  background:
    radial-gradient(circle at 82% 10%, rgba(46, 196, 182, 0.13), transparent 28%),
    var(--white);
}

.product-topline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 44px;
  margin-bottom: 46px;
}

.product-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 176px;
  height: 54px;
  padding: 9px 10px;
  border: 1px solid rgba(226, 232, 240, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.product-logo-compact {
  width: 118px;
  height: 48px;
  padding: 8px;
  border-radius: 14px;
}

.product-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-logo-dark {
  background:
    radial-gradient(circle at 78% 20%, rgba(46, 196, 182, 0.18), transparent 34%),
    var(--navy);
  border-color: rgba(15, 23, 42, 0.12);
}

.product-type {
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.product-tagline {
  margin-bottom: 28px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
}

.feature-list li {
  padding: 10px 12px;
  border: 1px solid var(--gray-2);
  border-radius: 999px;
  color: var(--text);
  background: var(--gray);
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  color: var(--navy);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
  color: var(--accent);
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.philosophy-panel {
  padding: clamp(36px, 7vw, 84px);
  border-radius: 36px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 196, 182, 0.2), transparent 24%),
    var(--navy);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.philosophy-panel p {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 90px);
  line-height: 1.02;
  font-weight: 800;
}

.philosophy-panel p:nth-child(2) {
  color: #9de8e3;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid var(--gray-2);
}

.story-copy {
  display: grid;
  gap: 18px;
  font-size: 20px;
}

.story-copy p {
  margin-bottom: 0;
}

.tech-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tech-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--gray-2);
  border-radius: 22px;
  background: var(--gray);
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 28px;
  padding: 44px 0 0;
  border-top: 1px solid var(--gray-2);
}

.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  display: grid;
  gap: 12px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.copyright {
  grid-column: 1 / -1;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--gray-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -180;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(720px, calc(100% - 24px));
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .ecosystem {
    min-height: 500px;
    margin: 0 auto;
  }

  .why-grid,
  .product-grid,
  .tech-row,
  .story-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin-top: 10px;
    padding: 10px 10px 10px 14px;
  }

  .brand-logo {
    width: 116px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .section {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding: 52px 0 58px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 60px);
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .button {
    flex: 1 1 164px;
  }

  .hero-visual,
  .ecosystem {
    min-height: 430px;
  }

  .ecosystem {
    border-radius: 28px;
  }

  .node-core {
    width: 146px;
    height: 146px;
    border-radius: 32px;
  }

  .node-logo-image {
    width: 112px;
  }

  .node-product {
    width: 132px;
    min-height: 98px;
    padding: 14px;
    border-radius: 20px;
  }

  .node-marginate {
    left: 18px;
    top: 42px;
  }

  .node-hygiene {
    right: 18px;
    top: 38px;
  }

  .node-pok-card {
    right: 24px;
    bottom: 38px;
  }

  .product-topline {
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .product-logo {
    width: 138px;
    height: 46px;
    padding: 8px;
    border-radius: 14px;
  }

  .product-logo-compact {
    width: 104px;
    height: 42px;
  }

  .product-type {
    max-width: 150px;
    font-size: 12px;
  }

  .node-copy,
  .metric-tile small {
    font-size: 11px;
  }

  .metric-tile {
    left: 22px;
    bottom: 44px;
    width: 116px;
    height: 76px;
    padding: 13px;
  }

  .metric-two {
    display: none;
  }

  .why-section,
  .products-section,
  .story-section,
  .technology-section,
  .philosophy-section {
    padding: 62px 0;
  }

  .why-grid,
  .tech-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: 220px;
  }

  .product-card {
    padding: 24px;
    border-radius: 24px;
  }

  .product-topline {
    margin-bottom: 36px;
  }

  .product-type {
    font-size: 12px;
  }

  .philosophy-panel {
    border-radius: 28px;
  }

  .story-layout {
    gap: 30px;
  }

  .story-copy {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
