:root {
  --primary: #456AA3;
  --primary-light: #DCE7FF;
  --background: #FDFDFE;
  --panel: #F1F3FA;
  --muted: #9AA0AD;
  --ink: #2F3441;
  --success: #1F9D55;
  --warning: #E7A33E;
  --white: #FFFFFF;
  --line: rgba(47, 52, 65, 0.12);
  --shadow: 0 22px 70px rgba(47, 52, 65, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(220, 231, 255, 0.92), transparent 34rem),
    linear-gradient(180deg, #FDFDFE 0%, #F6F8FD 48%, #FDFDFE 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(69, 106, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 106, 163, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(47, 52, 65, 0.08);
  background: rgba(253, 253, 254, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 2vw, 1.45rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a {
  padding: 0.58rem 0.2rem;
}

.nav-download {
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  padding: 0.64rem 0.9rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100svh - 72px);
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.55rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.hero-text,
.section-heading p,
.download-panel p,
footer p,
.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 0 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

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

.button.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(69, 106, 163, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.download-link.is-disabled {
  pointer-events: none;
  opacity: 0.58;
}

.download-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.logo-stage {
  min-height: 500px;
  isolation: isolate;
}

.hero-logo-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(58vw, 320px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(69, 106, 163, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-logo {
  position: relative;
  width: 78%;
  border-radius: 0;
  box-shadow: none;
}

.logo-orbit {
  position: absolute;
  inset: 8%;
  z-index: 0;
  border: 1px solid rgba(69, 106, 163, 0.14);
  border-radius: 999px;
  animation: breathe 5s ease-in-out infinite;
}

.logo-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: var(--primary-light);
  box-shadow: 0 16px 44px rgba(69, 106, 163, 0.2);
}

.logo-orbit span:nth-child(1) {
  top: 12%;
  left: 17%;
}

.logo-orbit span:nth-child(2) {
  right: 10%;
  bottom: 26%;
  background: #CFEFC6;
}

.logo-orbit span:nth-child(3) {
  bottom: 9%;
  left: 32%;
  background: #FFFFFF;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: min(220px, 50vw);
  border: 1px solid rgba(69, 106, 163, 0.16);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 46px rgba(47, 52, 65, 0.14);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.card-products {
  top: 8%;
  left: 0;
}

.card-delivery {
  right: 0;
  bottom: 8%;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 14px 42px rgba(47, 52, 65, 0.08);
}

.stats-strip div {
  min-height: 124px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.stats-strip span {
  margin-top: 0.35rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: clamp(4rem, 8vw, 7rem) 0 2rem;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 820px;
  margin-bottom: 1rem;
}

.section-heading.narrow {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-card {
  min-height: 246px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 56px rgba(47, 52, 65, 0.08);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.brand-flow {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 1.6rem;
}

.flow-step {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 56px rgba(47, 52, 65, 0.08);
}

.flow-step span,
.flow-step strong {
  display: block;
}

.flow-step span {
  width: max-content;
  margin-bottom: 3.6rem;
  border-radius: 8px;
  padding: 0.44rem 0.68rem;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.flow-step strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(69, 106, 163, 0.12), rgba(69, 106, 163, 0.8), rgba(69, 106, 163, 0.12));
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96) rotate(0deg);
  }

  50% {
    transform: scale(1.02) rotate(4deg);
  }
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(69, 106, 163, 0.2);
  border-radius: 8px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(220, 231, 255, 0.92), rgba(255, 255, 255, 0.9)),
    var(--panel);
  box-shadow: 0 18px 60px rgba(47, 52, 65, 0.1);
}

.download-panel h2 {
  margin-bottom: 0.55rem;
}

.download-panel p {
  max-width: 660px;
  margin-bottom: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: rgba(253, 253, 254, 0.9);
}

footer p {
  margin-bottom: 0;
  text-align: right;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stage {
    min-height: 520px;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: auto;
  }

  .floating-card {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .card-products,
  .card-delivery {
    inset: auto;
  }

  .hero-stage {
    gap: 0.9rem;
  }

  .hero-logo-card {
    width: min(78vw, 300px);
  }

  .stats-strip,
  .feature-grid,
  .flow-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 44px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(69, 106, 163, 0.12), rgba(69, 106, 163, 0.8), rgba(69, 106, 163, 0.12));
  }

  .stats-strip div {
    min-height: 100px;
  }

  .feature-card {
    min-height: 200px;
  }

  .download-panel .button {
    width: 100%;
  }

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

  footer p {
    text-align: left;
  }
}
