:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #182033;
  --muted: #606a7d;
  --primary: #2563eb;
  --primary-dark: #173fa4;
  --border: #e3e7ef;
  --dark: #101827;
  --dark-muted: #cbd5e1;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.section { padding: 86px 0; }
.section-muted { background: #eef3ff; }
.section-dark { background: var(--dark); color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.logo { width: 80%}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  color: white; display: inline-grid; place-items: center; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-weight: 650; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 999px; border: 1px solid var(--primary);
  background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 12px 25px rgba(37, 99, 235, .22);
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white !important;}
.btn-secondary { color: var(--primary); background: white; box-shadow: none; }
.btn-light { background: white; color: var(--dark); border-color: white; }
.btn-small { padding: 9px 15px; }

.hero { padding-top: 72px; }
.hero-grid, .split, .contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -0.06em; margin: 10px 0 22px; }
.hero-copy .lead, .page-hero .lead { font-size: 20px; color: var(--muted); max-width: 680px; }
.eyebrow { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 12px; }
.hero-actions, .project-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card, .project-image { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading h2, .split h2, .cta h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 14px; }
.section-heading p, .split p, .cta p { color: var(--muted); font-size: 18px; }
.section-dark .cta p { color: var(--dark-muted); }
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon { color: var(--primary); font-weight: 900; font-size: 14px; margin-bottom: 18px; }

.benefit-list { display: grid; gap: 16px; }
.benefit-item, .grid-list > div {
  background: white; border: 1px solid var(--border); border-radius: 18px; padding: 20px;
}
.benefit-item strong, .benefit-item span { display: block; }
.benefit-item span, .grid-list p { color: var(--muted); margin: 6px 0 0; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; }

.page-hero { background: linear-gradient(180deg, #eff5ff, var(--bg)); text-align: center; }
.project-stack { display: grid; gap: 34px; }
.project-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center;
  background: white; border: 1px solid var(--border); border-radius: 30px; padding: 28px; box-shadow: var(--shadow);
}
.project-card.reverse { grid-template-columns: 1.1fr .9fr; }
.project-card.reverse .project-image { order: 2; }
.project-card h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1; margin: 12px 0; letter-spacing: -0.05em; }
.project-content p { color: var(--muted); font-size: 18px; }
.tag { display: inline-block; color: var(--primary); background: #eaf1ff; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.check-list { padding: 0; margin: 20px 0; list-style: none; }
.check-list li { margin: 10px 0; padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }

.timeline { display: grid; gap: 18px; max-width: 860px; }
.timeline-item { display: grid; grid-template-columns: 54px 1fr; gap: 20px; background: white; border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.timeline-item span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: white; font-weight: 900; }
.timeline-item h3 { margin: 0 0 5px; }
.timeline-item p { margin: 0; color: var(--muted); }
.grid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.highlight-card { align-self: stretch; }
.contact-grid { align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 800; color: var(--text); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fbfcff;
}
.form-note { font-size: 14px; color: var(--muted); margin: 0; }

.site-footer { background: white; border-top: 1px solid var(--border); padding: 34px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-grid strong { color: var(--text); }
.footer-grid p { margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 76px; flex-direction: column; align-items: stretch; background: white; padding: 18px; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .contact-grid, .project-card, .project-card.reverse { grid-template-columns: 1fr; }
  .project-card.reverse .project-image { order: 0; }
  .cards.three, .grid-list { grid-template-columns: 1fr; }
  .cta, .footer-grid { flex-direction: column; align-items: flex-start; }
  .section { padding: 62px 0; }
}

/* Support page additions */
.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.faq-list details p {
  margin-top: 0.85rem;
}
.small-text {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Legal/privacy page additions */
.cards.two { grid-template-columns: repeat(2, 1fr); }
.legal-content { text-align: left; }
.legal-content h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.03em; margin: 38px 0 12px; }
.legal-content p { color: var(--muted); font-size: 17px; }
.legal-content a { color: var(--primary); font-weight: 800; }
.legal-list { margin-bottom: 24px; }
.legal-cards { margin: 22px 0 10px; }
.small-text { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 860px) { .cards.two { grid-template-columns: 1fr; } }
