/* Expert Technical Solutions, Inc. Brand colors from the logo sheet: #2a35ae and #f5fcfd. */
:root {
  --blue: #2a35ae;
  --blue-deep: #1b2380;
  --ink: #12163a;
  --body: #3d4260;
  --muted: #666b88;
  --paper: #ffffff;
  --tint: #f5fcfd;
  --tint-blue: #eef0fb;
  --line: #dfe3f0;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 0.9rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 100; }

.eyebrow, .tag {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 0.9em;
}
.eyebrow a { color: inherit; }
.lede { font-size: 1.2rem; line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-light { background: #fff; border-color: #fff; color: var(--blue); }
.btn-light:hover { background: var(--tint-blue); border-color: var(--tint-blue); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow::after { content: " \2192"; }
a.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--blue); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-bottom-color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255, 255, 255, 0.6); color: #fff; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; }

/* Hero and page heads */
.hero, .page-head, .cta-band { background: var(--blue); color: #e6e9fb; }
.hero h1, .page-head h1, .cta-band h2, .hero-card h2 { color: #fff; }
.hero .eyebrow, .page-head .eyebrow { color: #c3c9f5; }
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-card { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); padding: 30px; }
.hero-card h2 { font-size: 1rem; letter-spacing: 0; font-weight: 700; margin-bottom: 1.1em; }
.quotes li { color: #fff; font-size: 1.05rem; line-height: 1.5; padding: 14px 0 14px 18px; border-left: 3px solid rgba(255, 255, 255, 0.5); }
.quotes li + li { margin-top: 12px; }
.quotes li::before { content: "\201C"; }
.quotes li::after { content: "\201D"; }
.page-head { padding: 64px 0 72px; }
.page-head .lede { margin-bottom: 0; }

/* Sections */
.section { padding: 84px 0; }
.tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card > :last-child { margin-bottom: 0; }
.card.muted { background: transparent; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.steps p { margin: 0; }

.path, .fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.fit { margin-bottom: 0; }

.checks li, .crosses li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before, .crosses li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.checks li::before { content: "\2713"; color: var(--blue); }
.crosses li::before { content: "\2715"; color: var(--muted); }

.price { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: 0.8em 0 0.3em; line-height: 1.2; }
.price span { display: block; font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier h3 { font-size: 1.4rem; margin-bottom: 0; }
.tier .price { margin-top: 0.4em; }
.tier .best { margin-top: 0.8em; }
.tier .plus { font-weight: 700; color: var(--ink); margin-bottom: 0.6em; }
.tier .outcome { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.tier .checks { margin-bottom: 20px; }
.tier.featured { border: 2px solid var(--blue); box-shadow: 0 12px 32px rgba(42, 53, 174, 0.12); }

.plain-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plain-list li:first-child { padding-top: 0; }
.plain-list strong { color: var(--ink); }

/* CTA band */
.cta-band { padding: 76px 0; text-align: center; }
.cta-band p { font-size: 1.1rem; margin-bottom: 1.6em; }
.cta-band a:not(.btn) { color: #fff; }

/* FAQs */
.faqs h2 { font-size: 1.3rem; margin: 2em 0 0.6em; }
.faqs h2:first-child { margin-top: 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 500; color: var(--blue); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 20px; }

/* Blog */
.post-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-decoration: none; color: var(--body); transition: border-color 0.15s, box-shadow 0.15s; }
.post-card:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(42, 53, 174, 0.1); }
.post-card time { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.post-card h2 { font-size: 1.35rem; margin: 0.5em 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.3em; }

/* Contact */
.details { margin: 2.2em 0 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; }
.details dt { font-weight: 700; color: var(--ink); }
.details dd { margin: 0; }
.form h2 { font-size: 1.4rem; }
.form label { display: block; font-weight: 600; font-size: 0.93rem; color: var(--ink); margin-bottom: 16px; }
.form .optional { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; border: 1px solid #c5cadc; border-radius: 10px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bdd6; padding: 60px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #e6e9fb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer li { margin-bottom: 9px; }
.badge { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.87rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .split, .steps, .tiers, .path, .fit, .post-list, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid, .split { gap: 36px; }
  .hero { padding: 48px 0 60px; }
  .page-head { padding: 44px 0 52px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 56px 0; }
  .footer-grid { gap: 32px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .nav .btn { margin-top: 18px; text-align: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .brand img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Cleanup pricing */
.price small { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.notice { max-width: 820px; margin: 0 auto; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; }
.notice strong { color: var(--ink); }
.section-head.sub { margin-top: 64px; margin-bottom: 28px; }
.section-head.sub h2 { font-size: 1.5rem; margin: 0; }
.cols-4 + .small { margin-top: 28px; }
.steps.cols-4 li { padding: 24px; }
.steps.cols-4 p { font-size: 0.95rem; }
@media (min-width: 901px) {
  .tiers.cols-4, .steps.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .tiers.cols-4 .price { font-size: 1.5rem; }
}

/* Article lists */
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.6em; }
.prose strong { color: var(--ink); }
