@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #256eff;
  --deep-blue: #2130b7;
  --peach: #ff915e;
  --ink: #051923;
  --text: #66727c;
  --paper: #ffffff;
  --cloud: #f8f9ff;
  --lavender: #f1f0ff;
  --radius: 18px;
  --shadow: 0 14px 42px rgba(44, 54, 92, 0.10);
  --shadow-hover: 0 22px 58px rgba(44, 54, 92, 0.15);
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2 {
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.4;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

h2 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  font-weight: 600;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  background: white;
  box-shadow: 0 8px 30px rgba(44, 54, 92, 0.05);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.nav-logo {
  width: 164px;
}

.nav-logo img {
  width: 100%;
}

nav {
  display: flex;
  gap: 28px;
  color: #434343;
  font-size: 0.82rem;
}

nav a {
  transition: color 180ms ease;
}

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

.hero {
  position: relative;
  padding: 56px 24px 62px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 18%, rgba(83, 105, 255, 0.70), transparent 34%),
    radial-gradient(circle at 86% 80%, rgba(255, 165, 125, 0.75), transparent 38%),
    linear-gradient(148deg, #2130b7 19%, #d88187 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
  filter: blur(90px);
}

.hero::before {
  top: -160px;
  left: -140px;
  width: 520px;
  height: 440px;
  background: rgba(131, 151, 255, 0.38);
}

.hero::after {
  right: -180px;
  bottom: -170px;
  width: 560px;
  height: 470px;
  background: rgba(255, 218, 198, 0.42);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.hero-lockup {
  width: min(100%, 460px);
  margin: 0 auto 22px;
}

.hero-lockup img {
  width: 100%;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
  margin-bottom: 0;
}

.powered-by-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.powered-by-logo {
  display: block;
  width: 26px;
  height: 13px;
  background: #071b3d;
  mask: url("/assets/images/appvolks-mark.png") center / contain no-repeat;
  -webkit-mask: url("/assets/images/appvolks-mark.png") center / contain no-repeat;
}

.hero-copy {
  max-width: 590px;
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.button:focus-visible,
nav a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid #8ac4ff;
  outline-offset: 4px;
}

.button-blue {
  color: white;
  background: var(--blue);
  box-shadow: 0 20px 70px -14px #091c4f;
}

.section {
  padding: 88px max(24px, calc((100vw - var(--content)) / 2));
}

.section-title {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  margin-bottom: 12px;
  color: var(--peach);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker-blue {
  color: var(--blue);
}

.systems {
  padding-top: 82px;
  background:
    radial-gradient(circle at 50% 0%, rgba(114, 129, 255, 0.06), transparent 38%),
    white;
}

.system-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.system-card {
  position: relative;
  min-height: 350px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  grid-column: span 2;
  border: 1px solid rgba(44, 54, 92, 0.07);
  background: rgba(249, 250, 255, 0.78);
  box-shadow: 0 10px 30px rgba(44, 54, 92, 0.06);
  isolation: isolate;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.system-card:hover,
.system-card.is-glass-active {
  border-color: rgba(80, 104, 255, 0.20);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 44px rgba(44, 54, 92, 0.10);
}

.system-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.system-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.system-card img {
  width: 122px;
  margin: 0 auto 16px;
  transition: filter 240ms ease;
}

.system-card:hover img {
  filter: saturate(1.2);
}

.system-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.75;
}

.tools {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 110, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #f8f9ff, #f1f0ff);
}

.tool-cards {
  display: grid;
  margin-bottom: 46px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  position: relative;
  min-height: 290px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(37, 110, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 34px rgba(44, 54, 92, 0.07);
  isolation: isolate;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tool-card:hover,
.tool-card.is-glass-active {
  border-color: rgba(80, 104, 255, 0.22);
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 44px rgba(44, 54, 92, 0.10);
}

.system-card::before,
.tool-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle 90px at var(--mx, 50%) var(--my, 50%),
      rgba(117, 142, 255, 0.24) 0%,
      rgba(188, 202, 255, 0.11) 44%,
      transparent 80%
    );
  backdrop-filter: blur(12px) saturate(120%);
  content: "";
  filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.system-card:hover::before,
.tool-card:hover::before,
.system-card.is-glass-active::before,
.tool-card.is-glass-active::before {
  opacity: 1;
}

.system-card > *,
.tool-card > * {
  position: relative;
  z-index: 1;
}

.tool-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  object-fit: contain;
}

.tool-card p {
  margin-bottom: 0;
}

.tools > .button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.asset {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 72%, rgba(84, 105, 255, 0.08), transparent 30%),
    white;
}

.asset-art {
  position: relative;
  max-width: 390px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(148deg, rgba(33, 48, 183, 0.12), rgba(255, 145, 94, 0.18));
}

.asset-art img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.asset-copy h1 {
  margin-bottom: 24px;
}

.asset-copy > p:not(.kicker) {
  max-width: 600px;
  margin-bottom: 34px;
}

footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 35px max(24px, calc((100vw - var(--content)) / 2));
  color: rgba(255, 255, 255, 0.58);
  background: #101b4d;
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

.footer-logo {
  width: 190px;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: #8ac4ff;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.has-js .reveal-item {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 280ms ease-out,
    translate 280ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.has-js .reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 980px) {
  .system-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-card,
  .system-card:nth-child(2),
  .system-card:nth-child(3),
  .system-card:nth-child(4),
  .system-card:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
  }

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

  .asset {
    gap: 56px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .nav-shell {
    width: calc(100% - 32px);
  }

  .nav-logo {
    width: 165px;
  }

  nav {
    gap: 16px;
    font-size: 0.75rem;
  }

  nav a:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 50px 20px 56px;
  }

  .hero-lockup {
    width: 82%;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .system-cards,
  .tool-cards,
  .asset {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 250px;
  }

  .system-card {
    min-height: 0;
  }

  .asset {
    gap: 54px;
  }

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

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal-item {
    opacity: 1;
    translate: 0 0;
  }
}
