:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f1f5fb;
  --text: #172b4d;
  --text-muted: #5e6c84;
  --border: #dfe5ef;
  --primary: #0c66e4;
  --primary-dark: #0747a6;
  --primary-soft: #e9f2ff;
  --success: #1f845a;
  --warning: #974f0c;
  --shadow:
    0 20px 45px rgba(23, 43, 77, 0.08),
    0 4px 12px rgba(23, 43, 77, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
}

a {
  color: var(--primary);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 229, 239, 0.9);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(12, 102, 228, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

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

.button-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 7px 18px rgba(12, 102, 228, 0.24);
}

.button-primary:hover {
  color: white;
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--text);
  background: white;
  border: 1px solid var(--border);
}

/* Home hero */

.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(12, 102, 228, 0.13), transparent 34%),
    radial-gradient(circle at 15% 45%, rgba(31, 132, 90, 0.08), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-card {
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 229, 239, 0.8);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* General sections */

.section {
  padding: 88px 0;
}

.section-white {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Product cards */

.product-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.product-card + .product-card {
  margin-top: 32px;
}

.product-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-logo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(23, 43, 77, 0.12);
}

.product-content h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.product-tagline {
  margin: 8px 0 18px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 650;
}

.product-description {
  max-width: 750px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.feature-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.feature,
.value-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid #e4e9f2;
}

.feature {
  min-height: 110px;
}

.feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.feature span,
.value-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.value-card {
  padding: 28px;
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.value-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.product-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.product-links a:hover {
  text-decoration: underline;
}

/* Product / document pages */

.page-hero {
  padding: 64px 0 36px;
  background:
    radial-gradient(circle at 80% 20%, rgba(12, 102, 228, 0.1), transparent 32%);
}

.page-hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(23, 43, 77, 0.1);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-hero p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
}

.content-card {
  padding: 38px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.content-card h1,
.content-card h2,
.content-card h3 {
  color: var(--text);
}

.content-card h1 {
  margin-top: 0;
  font-size: 36px;
  letter-spacing: -0.03em;
}

.content-card h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.content-card h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 18px;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
  line-height: 1.7;
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
}

.content-card li + li {
  margin-top: 6px;
}

.content-card code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f2f4;
}

.content-card a {
  color: var(--primary);
}

.note {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
}

.note p {
  margin: 0;
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.sidebar-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Support */

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

.support-card {
  padding: 24px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.support-card h3 {
  margin: 0 0 8px;
}

.support-card p {
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  color: white;
  background: linear-gradient(135deg, #0b3f8c, #0c66e4);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(12, 102, 228, 0.2);
}

.contact-card h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.contact-card p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact-card .button {
  flex-shrink: 0;
  color: var(--primary-dark);
  background: white;
}

/* Footer */

.site-footer {
  padding: 36px 0 42px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .content-layout,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }

  .product-logo-wrap {
    justify-content: flex-start;
  }

  .feature-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 68px 0 54px;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .product-card,
  .content-card {
    padding: 24px;
  }

  .page-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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