:root {
  --color-primary: #0f66ff;
  --color-primary-dark: #0644b8;
  --color-accent: #00c2a8;
  --color-ink: #102033;
  --color-muted: #637083;
  --color-soft: #f5f8ff;
  --color-line: #dfe7f3;
  --color-white: #ffffff;
  --shadow-soft: 0 22px 70px rgba(15, 45, 87, 0.14);
  --shadow-card: 0 16px 45px rgba(15, 45, 87, 0.11);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

p {
  margin: 0 0 1rem;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 40px, 820px);
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-primary);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 243, 0.78);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(18, 43, 70, 0.08);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 12px 30px rgba(15, 102, 255, 0.24);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334158;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.section-dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 194, 168, 0.22), transparent 32%),
    linear-gradient(135deg, #081a35, #102b56 62%, #0f66ff);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(15, 102, 255, 0.13), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(0, 194, 168, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  font-size: clamp(2.45rem, 5.2vw, 4.55rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.28rem;
}

.hero-copy p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 14px 32px rgba(15, 102, 255, 0.24);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 102, 255, 0.3);
}

.btn-ghost {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(223, 231, 243, 0.8);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.hero-metrics dt {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

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

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.orb-one {
  width: 220px;
  height: 220px;
  top: 36px;
  right: 6%;
  background: rgba(0, 194, 168, 0.18);
  animation: pulseOrb 7s ease-in-out infinite;
}

.orb-two {
  width: 170px;
  height: 170px;
  bottom: 54px;
  left: 3%;
  background: rgba(15, 102, 255, 0.18);
  animation: pulseOrb 8s ease-in-out infinite reverse;
}

.dashboard-card,
.notification-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.dashboard-card {
  width: min(100%, 470px);
  padding: 26px;
  border-radius: var(--radius-xl);
}

.floating-card {
  animation: floatCard 6s ease-in-out infinite;
}

.float-delay {
  animation: floatCard 6s ease-in-out infinite 1.1s;
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dashboard-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8e4f4;
}

.dashboard-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-title strong,
.dashboard-title small {
  display: block;
}

.dashboard-title strong {
  font-size: 1.25rem;
}

.dashboard-title small {
  color: var(--color-muted);
}

.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: #087c69;
  background: rgba(0, 194, 168, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-lines {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  margin: 30px 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7fbff, #edf4ff);
}

.chart-lines span {
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
  transform-origin: bottom;
  animation: growBar 1.1s ease both;
}

.chart-lines span:nth-child(2) {
  animation-delay: 0.12s;
}

.chart-lines span:nth-child(3) {
  animation-delay: 0.22s;
}

.chart-lines span:nth-child(4) {
  animation-delay: 0.32s;
}

.chart-lines span:nth-child(5) {
  animation-delay: 0.42s;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-grid div {
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.mini-grid b,
.mini-grid small {
  display: block;
}

.mini-grid small {
  margin-top: 4px;
  color: var(--color-muted);
}

.notification-card {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(82%, 330px);
  padding: 16px 18px;
  border-radius: 20px;
}

.notification-card strong,
.notification-card small {
  display: block;
}

.notification-card small {
  color: var(--color-muted);
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(0, 194, 168, 0.14);
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p,
.section-dark p,
.cta p,
.page-hero p {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.section-dark .eyebrow {
  color: #7effe5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.support-card {
  padding: 28px;
  border: 1px solid rgba(223, 231, 243, 0.86);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.feature-card p,
.support-card p {
  color: var(--color-muted);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--color-primary);
  background: rgba(15, 102, 255, 0.1);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 52px;
}

.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.role-list span {
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fbfdff;
  color: #334158;
  font-weight: 750;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-card {
  display: block;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.trust-card:hover,
.trust-card:focus {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.trust-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 194, 168, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff, #f3f7ff);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  padding: 52px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #07182f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, 0.4fr));
  gap: 32px;
  padding-bottom: 34px;
}

.footer-brand {
  color: var(--color-white);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a,
.site-footer span {
  display: block;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-bottom a {
  display: inline;
}

.page-hero {
  padding-top: 90px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 86% 12%, rgba(0, 194, 168, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
}

.page-hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
}

.updated {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 0.92rem;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content pre {
  overflow-x: auto;
  margin: 18px 0 28px;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #f7faff;
  color: #26364d;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.legal-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.legal-content a,
.support-card a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.check-list,
.number-list {
  padding-left: 1.2rem;
}

.check-list li,
.number-list li {
  margin-bottom: 10px;
}

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

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

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

@keyframes pulseOrb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.66;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes growBar {
  from {
    transform: scaleY(0.24);
    opacity: 0.35;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .trust-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 30px;
  }

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

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

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 14px auto;
    z-index: 55;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 12px;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: var(--color-soft);
  }

  .nav-links .btn {
    margin-top: 8px;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-metrics,
  .feature-grid,
  .support-grid,
  .trust-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .chart-lines {
    height: 140px;
    gap: 10px;
    padding: 18px;
  }

  .notification-card {
    right: 8px;
    bottom: 34px;
  }

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

  .cta {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand small {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .role-list span {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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