:root {
  --bg: #ffffff;
  --bg-soft: #f3f8ff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(16, 82, 189, 0.12);
  --text: #142033;
  --muted: #5e6b7d;
  --accent: #2d87ff;
  --accent-strong: #1052bd;
  --accent-soft: rgba(45, 135, 255, 0.16);
  --highlight: #78c943;
  --highlight-soft: rgba(120, 201, 67, 0.14);
  --line: rgba(20, 32, 51, 0.08);
  --shadow: 0 18px 48px rgba(17, 40, 77, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.is-ready .hero-copy > * {
  animation: fade-up 700ms ease both;
}

body.is-ready .hero-copy > *:nth-child(1) {
  animation-delay: 100ms;
}

body.is-ready .hero-copy > *:nth-child(2) {
  animation-delay: 180ms;
}

body.is-ready .hero-copy > *:nth-child(3) {
  animation-delay: 260ms;
}

body.is-ready .hero-copy > *:nth-child(4) {
  animation-delay: 340ms;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 135, 255, 0.12), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(167, 255, 53, 0.14), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 44%, #f3f8ff 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 82, 189, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 82, 189, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 95%);
  pointer-events: none;
  animation: drift-grid 18s linear infinite;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark-blue,
.brand-mark-green {
  content: "";
  position: absolute;
  inset: auto;
  width: 18px;
  height: 18px;
  transform: skewX(-18deg) rotate(45deg);
  border-radius: 4px;
}

.brand-mark::before {
  left: 1px;
  top: 12px;
  background: linear-gradient(135deg, #1a66d9, var(--accent));
}

.brand-mark::after {
  left: 11px;
  top: 2px;
  background: linear-gradient(135deg, #b5ef58, var(--highlight));
}

.brand-mark-blue {
  left: 1px;
  top: 23px;
  background: linear-gradient(135deg, #184ca8, #2d87ff);
}

.brand-mark-green {
  left: 11px;
  top: 23px;
  background: linear-gradient(135deg, #8ed83a, #66b72f);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  color: var(--accent-strong);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-2px);
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  padding: 12px 16px;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 72px 0 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section h2,
.footer h2,
.panel-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.card p,
.feature-card p,
.timeline-item p,
.cta-card p,
.footer p,
.contact-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(45, 135, 255, 0.14);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.48) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 500ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(130%);
}

.button-primary {
  background: linear-gradient(135deg, var(--highlight), #77e319);
  color: #08110b;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.card,
.feature-card,
.timeline-item,
.panel-card,
.cta-card,
.contact-card {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
  animation: float-card 6s ease-in-out infinite;
}

.hero-metrics li:nth-child(2) {
  animation-delay: 900ms;
}

.hero-metrics li:nth-child(3) {
  animation-delay: 1800ms;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.7rem;
  font-family: "Sora", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-card {
  border-radius: var(--radius-lg);
}

.panel-card-main {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.panel-card-main::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 135, 255, 0.18), transparent 70%);
}

.panel-label,
.mini-kicker {
  display: inline-block;
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-card-main h2 {
  margin-top: 18px;
  font-size: 2rem;
  line-height: 1.18;
  max-width: 14ch;
}

.hero-panel-logo-wrap {
  position: relative;
  margin: 22px 0 8px;
  padding: 18px 18px 10px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 50%, rgba(45, 135, 255, 0.12), transparent 36%),
    radial-gradient(circle at 78% 45%, rgba(167, 255, 53, 0.14), transparent 34%),
    rgba(244, 249, 255, 0.95);
  border: 1px solid rgba(16, 82, 189, 0.08);
}

.brand-showcase {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark-large {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
}

.brand-mark-large::before,
.brand-mark-large::after,
.brand-mark-large .brand-mark-blue,
.brand-mark-large .brand-mark-green {
  width: 32px;
  height: 32px;
}

.brand-mark-large::before {
  left: 3px;
  top: 20px;
}

.brand-mark-large::after {
  left: 22px;
  top: 1px;
}

.brand-mark-large .brand-mark-blue {
  left: 3px;
  top: 39px;
}

.brand-mark-large .brand-mark-green {
  left: 22px;
  top: 39px;
}

.brand-showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: logo-breathe 7s ease-in-out infinite;
}

.brand-showcase-copy strong {
  color: var(--accent-strong);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.brand-showcase-copy span {
  color: var(--muted);
  font-size: 1.05rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.panel-grid div {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.panel-grid div:hover {
  transform: translateY(-4px);
  background: rgba(45, 135, 255, 0.06);
  border-color: rgba(16, 82, 189, 0.12);
}

.panel-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-grid strong {
  line-height: 1.5;
}

.panel-card-accent {
  position: relative;
  align-self: flex-end;
  width: min(360px, 100%);
  padding: 22px;
  background: linear-gradient(135deg, rgba(45, 135, 255, 0.08), rgba(120, 201, 67, 0.08), rgba(255, 255, 255, 0.98));
}

.panel-card-accent p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.section {
  padding: 52px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section h2,
.footer h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards-three,
.feature-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-two,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card,
.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.card:hover,
.feature-card:hover,
.timeline-item:hover,
.cta-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(17, 40, 77, 0.12);
  border-color: rgba(16, 82, 189, 0.18);
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--highlight-soft);
  color: var(--highlight);
  font-size: 0.85rem;
  font-weight: 800;
}

.card h3,
.feature-card h3,
.timeline-item h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.alt-section {
  position: relative;
}

.alt-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(16, 82, 189, 0.03), rgba(255, 255, 255, 0));
  z-index: -1;
}

.feature-layout {
  display: grid;
  gap: 20px;
}

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

.timeline-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.timeline-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(45, 135, 255, 0.14);
  color: var(--highlight);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(45, 135, 255, 0.12), rgba(167, 255, 53, 0.1) 45%, rgba(255, 255, 255, 0.96)),
    var(--panel);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  padding-top: 30px;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.contact-card a {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--highlight);
}

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

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes drift-grid {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, 4px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.22));
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 20px 38px rgba(45, 135, 255, 0.14));
  }
}

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

@media (max-width: 980px) {
  .hero,
  .footer,
  .cards-two,
  .cards-three,
  .faq-list,
  .feature-layout,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    gap: 16px;
  }

  .panel-card-accent {
    align-self: stretch;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 24px;
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 48px;
    padding: 10px 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-mark::before,
  .brand-mark::after,
  .brand-mark-blue,
  .brand-mark-green {
    width: 14px;
    height: 14px;
  }

  .brand-mark::before {
    left: 1px;
    top: 10px;
  }

  .brand-mark::after {
    left: 9px;
    top: 1px;
  }

  .brand-mark-blue {
    left: 1px;
    top: 19px;
  }

  .brand-mark-green {
    left: 9px;
    top: 19px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 4px 2px;
    gap: 10px;
  }

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

  .nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .nav-cta {
    padding: 12px 14px;
  }

  .hero {
    gap: 28px;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
    line-height: 0.94;
    max-width: 100%;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
    margin: 26px 0;
  }

  .button {
    width: 100%;
  }

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

  .hero-metrics li {
    padding: 16px;
  }

  .panel-card-main,
  .panel-card-accent,
  .card,
  .feature-card,
  .timeline-item,
  .contact-card,
  .cta-card {
    padding: 22px;
  }

  .panel-card-main h2 {
    font-size: 1.7rem;
    max-width: 100%;
  }

  .brand-showcase {
    gap: 14px;
  }

  .brand-mark-large {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .brand-mark-large::before,
  .brand-mark-large::after,
  .brand-mark-large .brand-mark-blue,
  .brand-mark-large .brand-mark-green {
    width: 24px;
    height: 24px;
  }

  .brand-mark-large::before {
    left: 2px;
    top: 16px;
  }

  .brand-mark-large::after {
    left: 17px;
    top: 1px;
  }

  .brand-mark-large .brand-mark-blue {
    left: 2px;
    top: 30px;
  }

  .brand-mark-large .brand-mark-green {
    left: 17px;
    top: 30px;
  }

  .brand-showcase-copy strong {
    font-size: 1.45rem;
  }

  .brand-showcase-copy span {
    font-size: 0.92rem;
  }

  .panel-grid,
  .cta-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    gap: 18px;
  }
}
