:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #f8fafc;
  --bg: #ffffff;
  --surface: #f1f5f9;
  --surface-strong: #e2e8f0;
  --text-muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 30%), #f8fafc;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: #475569;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #111827;
}

.mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  padding: 0.3rem;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero h1,
.section-header h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.02;
}

.hero-copy {
  margin: 1.5rem 0 2rem;
  max-width: 44rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--border);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.hero-card ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.hero-card li {
  color: #334155;
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.cards-grid,
.integrations-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.integration-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.card h3,
.integration-card h3 {
  margin-top: 0;
}

.integration-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.integration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 500;
  color: #1f2937;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1rem;
  background: #ffffff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  border-color: var(--primary);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #475569;
}

@media (max-width: 860px) {
  .hero-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .integrations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    transform: translateY(-100%);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }

  .site-nav a {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
  }

  .mobile-toggle {
    display: flex;
  }
}
