:root {
  --bg: #eaf2fb;
  --surface: #ffffff;
  --surface-alt: #eef4ff;
  --ink: #0f172a;
  --muted: #334155;
  --brand: #0b8a6d;
  --brand-dark: #066c56;
  --accent: #1d4ed8;
  --ring: rgba(11, 138, 109, 0.28);
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.11);
  --radius: 20px;
  --gradient-hero: linear-gradient(135deg, rgba(214, 232, 252, 0.76), rgba(206, 244, 229, 0.74));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  font-weight: 700;
  background:
    radial-gradient(1300px circle at 6% 2%, rgba(147, 197, 253, 0.58), transparent 47%),
    radial-gradient(1200px circle at 96% 1%, rgba(110, 231, 183, 0.5), transparent 48%),
    linear-gradient(180deg, #edf4fc 0%, #e7f2f8 46%, #e6f2ef 100%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 8px;
  padding: 8px 10px;
}

.skip-link:focus {
  left: 12px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container-ev {
  width: min(1140px, 94vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #1d4ed8, #10b981);
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.12);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #1e293b;
  padding: 8px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: #e2f0ff;
  color: #0f172a;
}

.nav-login {
  background: var(--brand);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-toggle:focus-visible,
.btn:focus-visible,
.field:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 82px 0 68px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero p {
  font-size: 1.09rem;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 62ch;
}

.hero img {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.13);
  opacity: 0.95;
  filter: saturate(1.02) contrast(0.98);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #0ea371);
  box-shadow: 0 8px 20px rgba(11, 138, 109, 0.25);
}

.btn-secondary {
  color: #082f49;
  background: #e0ecff;
}

.section {
  padding: 68px 0;
}

.section + .section {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.section-intro {
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 74ch;
}

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

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

.card {
  background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.46);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p,
.card li,
.text-body {
  color: var(--ink);
  line-height: 1.68;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #1f4f79;
  background: linear-gradient(140deg, #e2efff, #dcf8ee);
  border: 1px solid rgba(100, 116, 139, 0.26);
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-top: 4px solid #7da7cf;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.15);
}

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

.shot {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.44);
  background: linear-gradient(165deg, #ffffff 0%, #f4f8fd 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
}

.shot img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  opacity: 0.98;
  filter: saturate(1) contrast(0.99);
  transition: transform 0.35s ease, opacity 0.25s ease, filter 0.25s ease;
}

.shot:hover img {
  transform: scale(1.02);
  opacity: 1;
  filter: saturate(1.03) contrast(1);
}

.shot figcaption {
  padding: 10px 12px;
  font-size: 0.92rem;
  color: #334155;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.shot-meta {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.infographic-carousel {
  border: 1px solid rgba(148, 163, 184, 0.46);
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(165deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.carousel-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.carousel-window {
  border: 1px solid rgba(148, 163, 184, 0.44);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.carousel-slide {
  margin: 0;
}

.carousel-slide figcaption {
  padding: 10px 12px;
  font-size: 0.93rem;
  color: #334155;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.carousel-image-btn {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.carousel-image-btn img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: #ffffff;
  color: #1e293b;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.carousel-nav:hover {
  background: #e8f2ff;
}

.carousel-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.carousel-thumb {
  border: 2px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.carousel-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.carousel-thumb.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.carousel-help {
  margin: 10px 2px 0;
  color: #475569;
  font-size: 0.9rem;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.78);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.55);
}

.image-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.46);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.image-lightbox-panel img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
}

.image-lightbox-caption {
  margin: 10px 0 2px;
  font-size: 0.95rem;
  color: #dbeafe;
}

body.lock-scroll {
  overflow: hidden;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: #e2e8f0;
}

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

.callout {
  background: linear-gradient(150deg, #edf6ff 0%, #e9f8f2 100%);
  border: 1px solid rgba(147, 197, 253, 0.82);
  border-radius: 16px;
  padding: 14px;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
}

.mini-list li {
  margin-bottom: 8px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.meta-chip {
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.28);
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #334155;
  background: #f5f8fd;
}

.testimonial {
  border-left: 4px solid #93c5fd;
  background: linear-gradient(160deg, #f7fbff 0%, #f0f8ff 100%);
}

.cta-strip {
  background: linear-gradient(130deg, #0b8a6d, #14532d);
  color: #fff;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer {
  background: #0b1324;
  color: #dbe5f1;
  margin-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
  padding: 40px 0;
}

.footer a {
  color: #dbe5f1;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer small {
  color: #9fb4ca;
}

.form-wrap {
  display: grid;
  gap: 10px;
}

.field,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  font-size: 0.92rem;
  color: #1d4ed8;
}

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

.blog-card {
  background: linear-gradient(165deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.18);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(120deg, #dbeafe, #ecfdf5);
  opacity: 0.98;
  filter: saturate(1.01);
}

.blog-card .pad {
  padding: 16px;
}

.article {
  background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.article h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-top: 0;
}

.article h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.article h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.article p,
.article li {
  color: #334155;
  line-height: 1.78;
}

.kicker {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b8a6d;
}

@media (max-width: 980px) {
  .hero-inner,
  .grid-3,
  .grid-2,
  .trust-grid,
  .blog-grid,
  .footer-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    grid-template-columns: 1fr;
  }

  .carousel-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
    padding: 14px 3vw 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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