:root {
  --ink: #0a0a0a;
  --ink-soft: #1c1c1f;
  --blue: #3b53f5;
  --blue-dark: #2c3fd4;
  --blue-soft: #eef0ff;
  --white: #ffffff;
  --gray-50: #f7f7f8;
  --gray-100: #f0f0f2;
  --gray-200: #e4e4e9;
  --gray-500: #6b6b73;
  --gray-600: #55555c;
  --border: #e7e7ec;
  --shadow: 0 20px 50px rgba(10, 10, 10, 0.10);
  --shadow-sm: 0 8px 24px rgba(10, 10, 10, 0.06);
  --radius: 18px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 20;
  padding: .75rem 1rem; background: var(--ink); color: var(--white); border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: .85rem; align-items: center; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: block; }
.brand-divider { width: 1px; height: 30px; background: var(--gray-200); display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: .95rem; }
.brand-sub { font-weight: 700; letter-spacing: .34em; font-size: .62rem; color: var(--blue); margin-top: .3rem; }

.menu-toggle { display: inline-grid; gap: 5px; padding: .7rem; border: 1px solid var(--border); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); }
.nav-links { display: none; position: absolute; inset: 74px 16px auto; margin: 0; padding: .8rem; list-style: none; background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.nav-links.open { display: grid; gap: .2rem; }
.nav-links a { display: block; padding: .75rem; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 10px; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a:focus { background: var(--gray-100); color: var(--ink); }
.nav-cta { background: var(--blue); color: var(--white) !important; text-align: center; }
.nav-cta:hover, .nav-cta:focus { background: var(--blue-dark) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 36px;
  background:
    radial-gradient(circle at 88% 8%, rgba(59, 83, 245, .12), transparent 40%),
    linear-gradient(180deg, var(--white), var(--gray-50));
}
.hero-grid { display: grid; gap: 1.5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }
h1, h2, h3 { line-height: 1.1; margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 8.5vw, 4.25rem); letter-spacing: -.045em; font-weight: 800; max-width: 900px; }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: -.03em; font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
.hero-text { max-width: 640px; font-size: 1.12rem; color: var(--gray-600); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button.secondary { background: var(--white); border-color: var(--gray-200); color: var(--ink); }
.button.secondary:hover { border-color: var(--ink); }
.button.text-button { padding-inline: .5rem; min-height: 44px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.small-note { font-size: .92rem; color: var(--gray-500); margin-bottom: 0; }

.hero-card, .contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-card h2, .contact-card h3 { font-size: 1.25rem; }
.hero-card p, .contact-card p { color: var(--gray-600); }
.contact-list { padding: 0; margin: 1rem 0 0; list-style: none; }
.contact-list li + li { margin-top: .45rem; }
.contact-list a { color: var(--blue); font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); color: var(--white); padding: 1.15rem 0; }
.strip-grid { display: grid; gap: .5rem; }
.strip-grid p { margin: 0; color: rgba(255,255,255,.82); }
.strip-grid strong { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.compact { padding-bottom: 44px; }
.section.muted { background: var(--gray-50); }
.section-heading { max-width: 780px; margin-bottom: 1.8rem; }
.section-heading p:last-child { color: var(--gray-600); }

.card-grid, .pain-grid { display: grid; gap: 1rem; }
.pain-grid article, .service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pain-grid article:hover, .service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gray-200); }
.pain-grid span { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: .85rem; border-radius: 12px; background: var(--blue-soft); font-size: 1.25rem; }
.pain-grid p, .service-card p { color: var(--gray-600); margin-bottom: 0; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a:hover { color: var(--blue); }

.two-column { display: grid; gap: 1.5rem; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.process-list li { padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.process-list p { color: var(--gray-600); margin-bottom: 0; }
.process-list span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 800; margin-bottom: 1rem; }
.service-area p { color: var(--gray-600); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: inline-flex; gap: .85rem; align-items: center; margin-bottom: 1rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-divider { background: rgba(255, 255, 255, .22); }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer address { font-style: normal; color: rgba(255,255,255,.78); line-height: 1.9; }
.site-footer a { color: var(--white); }
.site-footer address a:hover { color: var(--blue); }
.footer-note { color: rgba(255,255,255,.5); font-size: .88rem; }

@media (max-width: 420px) {
  .hero-actions .button { width: 100%; }
  .button.text-button { width: auto; }
}

@media (min-width: 760px) {
  .menu-toggle { display: none; }
  .nav-links { position: static; display: flex; align-items: center; gap: .1rem; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav-links a { padding: .6rem .8rem; }
  .hero { padding: 90px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); align-items: center; gap: 2.5rem; }
  .strip-grid, .two-column, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-grid, .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card.wide { grid-column: span 3; }
}

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

/* ---------- Service / pricing pages ---------- */
.service-hero { padding: 64px 0 48px; }
.detail-grid { display: grid; gap: 1.15rem; }
.detail-card, .price-card, .cta-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.section.muted .cta-panel { box-shadow: var(--shadow); }
.check-list { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--gray-600); }
.check-list li + li { margin-top: .5rem; }
.check-list li::marker { color: var(--blue); }
.subhead { margin-top: 1.6rem; font-size: 1.3rem; }
.muted-list li::marker { color: var(--gray-500); }
.price-callout, .price { color: var(--ink); font-weight: 800; font-size: 1.4rem; }
.price { color: var(--blue); }
.pricing-grid { display: grid; gap: 1.15rem; }
.price-card a, .service-card a { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.disclaimer { margin-top: 1.2rem; }

@media (min-width: 760px) {
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card.wide { grid-column: span 2; }
  .check-list.columns { columns: 2; column-gap: 2rem; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
