:root {
  --blue: #3a86ff;
  --blue-dark: #2f6fe0;
  --ink: #1f1f1f;
  --gray-600: #6b7280;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --border: #e5e7eb;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.back-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}

.back-link:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  background: #eaf2ff;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-copy .accent {
  color: var(--blue);
}

.lede {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 460px;
  margin: 0;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 420px;
}

/* Section headings */

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--gray-600);
  font-size: 16px;
  margin: 0;
}

/* Docs cards */

.docs {
  padding: 24px 0 96px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.doc-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08);
  border-color: transparent;
}

.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf2ff;
  font-size: 22px;
  margin-bottom: 20px;
}

.doc-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 700;
}

.doc-card p {
  color: var(--gray-600);
  font-size: 15px;
  margin: 0 0 20px;
}

.doc-link {
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
}

/* Trust strip */

.trust-strip {
  background: var(--gray-50);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  font-size: 26px;
}

.trust-item p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

/* Showcase */

.showcase {
  padding: 96px 0;
}

.showcase.showcase-alt {
  background: var(--gray-50);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.showcase-grid.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.showcase-grid.reverse .showcase-image {
  order: 2;
}

.showcase-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.showcase-copy h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}

.showcase-copy p {
  color: var(--gray-600);
  font-size: 16px;
  max-width: 420px;
  margin: 0;
}

/* CTA */

.cta {
  padding: 0 24px 96px;
}

.cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  color: #ffffff;
}

.cta-inner h2 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 800;
}

.cta-inner p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

.btn-white {
  background: #ffffff;
  color: var(--blue-dark);
}

.btn-white:hover {
  background: #f1f5ff;
}

.btn-light {
  background: #eaf2ff;
  color: var(--blue-dark);
}

.btn-light:hover {
  background: #dcebff;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
}

/* Simple placeholder page (privacy.html / terms.html stubs) */

.placeholder {
  padding: 96px 24px;
  text-align: center;
}

.placeholder h1 {
  font-size: 32px;
  margin: 0 0 12px;
}

.placeholder p {
  color: var(--gray-600);
  font-size: 16px;
  margin: 0 0 28px;
}

/* Legal document body (terms.html / privacy.html full text) */

.legal-doc {
  padding: 64px 24px 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.legal-doc .effective-date {
  color: var(--gray-600);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal-doc h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.legal-doc p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-doc li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.legal-doc a {
  color: var(--blue-dark);
  font-weight: 600;
}

.legal-doc a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid,
  .showcase-grid,
  .showcase-grid.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-grid.reverse .showcase-image {
    order: initial;
  }

  .hero-copy .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
