:root {
  --bg: #ffffff;
  --fg: #141414;
  --muted: #6b6b6b;
  --border: #e6e6e6;
  --soft: #f6f6f6;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --green: #10b981;
  --radius: 20px;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; }

.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { background: #fff; border-color: var(--border); }
.btn-outline:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--fg); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(230, 230, 230, .6);
}
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -.3px; }
.nav { display: none; gap: 32px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.site-header .btn-sm { display: none; }
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 10px 0; font-size: 16px; }
.mobile-nav .btn { justify-content: center; margin-top: 8px; color: #fff; }
@media (min-width: 768px) {
  .nav, .site-header .btn-sm { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* Pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--soft);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.tag {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; color: #333;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 144px 0 112px; text-align: center; }
@media (min-width: 768px) { .hero { padding: 192px 0 160px; } }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  margin-top: 24px;
  font-size: clamp(44px, 8.5vw, 104px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
  max-width: 900px;
}
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.lead { max-width: 640px; margin: 28px 0 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.fine { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

.float-tag {
  position: absolute; z-index: 1; display: none;
  font-size: 13px; font-weight: 600; font-family: var(--font-head);
  padding: 8px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.25);
  animation: bob 6s ease-in-out infinite;
}
.float-tag-left { top: 120px; left: 24px; transform: rotate(-8deg); }
.float-tag-right { top: 170px; right: 24px; transform: rotate(7deg); animation-delay: -3s; }
@media (min-width: 1100px) { .float-tag { display: block; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Sections */
.section { border-top: 1px solid var(--border); padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 18px; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.sub { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Service cards */
.cards-2 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.card {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 32px; display: flex; flex-direction: column; align-items: flex-start;
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (min-width: 768px) { .card { padding: 40px; } }
.card:hover { box-shadow: 0 24px 48px -28px rgba(0,0,0,.25); transform: translateY(-2px); }
.card h3 { margin-top: 24px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.card p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px 24px; width: 100%; font-size: 14px; }
@media (min-width: 520px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before {
  content: ""; flex: none; width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.text-link { margin-top: 32px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; }
.text-link:hover { color: var(--accent); }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step-top { display: flex; align-items: center; gap: 12px; }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.step-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); display: none; }
@media (min-width: 1024px) { .step-line { display: block; } }
.step h4 { margin-top: 24px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.note { margin: 56px 0 0; font-size: 14px; color: var(--muted); }

/* CTA box */
.cta-box {
  position: relative; overflow: hidden; max-width: 980px; margin: 0 auto;
  border-radius: 24px; padding: 72px 24px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(37, 99, 235, .45), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(37, 99, 235, .35), transparent 70%),
    #0d0d0f;
}
@media (min-width: 768px) { .cta-box { padding: 104px 48px; } }
.cta-box h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.cta-box p { max-width: 560px; margin: 18px auto 32px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-about { margin: 14px 0 0; max-width: 420px; color: var(--muted); line-height: 1.7; }
.site-footer h5 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer .footer-grid > div:not(:first-child) a { display: block; color: var(--muted); padding: 4px 0; }
.site-footer .footer-grid a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; color: var(--muted); font-size: 13px;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-tag { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }
