@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@500;600;700&display=swap');

:root {
  --ink: #1b1b1f;
  --gray: #52575c;
  --gray-light: #7c8187;
  --canvas: #f5f8fa;
  --card-bg: #ffffff;
  --border: #e0e4e8;
  --teal-dark: #00302b;
  --teal-dark-hover: #004940;
  --teal-accent: #00a4bd;
  --orange: #ff7a59;
  --orange-dark: #e8663f;
  --radius: 8px;
  --radius-pill: 20px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(27, 27, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 27, 31, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, 'Avenir Next', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
}

h1, h2, h3, .brand-wordmark {
  font-family: 'Lexend Deca', -apple-system, 'Avenir Next', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }

p { margin: 0 0 16px; color: var(--gray); }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / nav --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img { height: 30px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--teal-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-dark-hover); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--gray-light); }

/* --- Hero --- */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }

.hero .lede {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* --- Sections --- */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

/* --- Cards / grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 20px; flex: 1; }

.pill-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #cbf1ef;
  color: var(--teal-dark);
  margin-bottom: 12px;
  width: fit-content;
}

.pill-badge.beta {
  background: #fff1e5;
  color: var(--orange-dark);
}

/* --- Integration detail page --- */
.integration-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.integration-hero .icon-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.integration-hero .icon-badge img { width: 34px; height: 34px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  color: var(--gray);
}

.feature-list li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbf1ef;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 44px;
  border-left: 2px solid var(--border);
  margin-left: 15px;
}

.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong { display: block; margin-bottom: 4px; }

.info-banner {
  background: #e5f5fd;
  border: 1px solid #bfe3f6;
  color: #0c6a94;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  margin: 24px 0;
}

.info-banner a { color: #0c6a94; font-weight: 700; }

.draft-notice {
  background: #fde2dd;
  border: 1px solid #f5bcae;
  color: #c2370e;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  margin: 0 0 32px;
}

.draft-notice strong { display: block; margin-bottom: 4px; }

/* --- Legal pages --- */
.legal-body h2 { margin-top: 36px; font-size: 20px; }
.legal-body p, .legal-body li { color: var(--gray); font-size: 15px; }
.legal-body { max-width: 720px; margin: 0 auto; }

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: #c2c6cb;
  padding: 48px 0 32px;
  margin-top: 40px;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer .footer-brand { max-width: 320px; }
.site-footer .footer-brand img { height: 26px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.site-footer .footer-brand p { color: #8d9299; font-size: 14px; }

.footer-cols { display: flex; gap: 56px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; }
.footer-col a { display: block; color: #c2c6cb; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #333338;
  padding-top: 20px;
  font-size: 13px;
  color: #74787e;
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: 30px; }
  .footer-top { flex-direction: column; }
}
