/* ==========================================================================
   Boston Techies — theme.css
   Modern design system: deep navy + coral, Sora headings, Inter body.
   Replaces bootstrap.css + style.css on redesigned pages.
   ========================================================================== */

:root {
  --navy-950: #060f1d;
  --navy-900: #0a1930;
  --navy-800: #10233f;
  --navy-700: #1a3457;
  --ink: #14243a;
  --slate: #4b5b70;
  --mist: #8b98a9;
  --line: #e4e9f0;
  --bg: #f7f9fc;
  --card: #ffffff;
  --coral: #f2542d;
  --coral-deep: #d43e18;
  --coral-soft: #fdeae4;
  --gold: #ffb45e;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 25, 48, 0.06), 0 4px 12px rgba(10, 25, 48, 0.05);
  --shadow-lg: 0 12px 40px rgba(10, 25, 48, 0.14);
  --font-head: "Sora", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-deep); text-decoration: none; }
a:hover { color: var(--coral); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); }

.container { width: min(1140px, 92%); margin-inline: auto; }
.container-narrow { width: min(760px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6, 15, 29, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--coral); letter-spacing: -0.02em; white-space: nowrap;
}
.brand span { color: #fff; font-weight: 600; }
.brand:hover { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; font-weight: 500;
  padding: 0.35rem 0; position: relative;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--coral); transition: right 0.25s ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]:not(.nav-cta)::after { right: 0; }
.nav-cta {
  background: var(--coral); color: #fff !important;
  padding: 0.55rem 1.25rem !important; border-radius: 999px; font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--coral-deep); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.9rem; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 24px rgba(242, 84, 45, 0.35); }
.btn-primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.text-link { font-weight: 600; color: var(--coral-deep); white-space: nowrap; }
.text-link::after { content: " →"; transition: margin-left 0.2s; }
.text-link:hover::after { margin-left: 4px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  padding: 130px 0 90px; color: #fff;
  background:
    radial-gradient(125% 95% at 28% 32%, transparent 42%, rgba(6, 15, 29, 0.5) 100%),
    linear-gradient(112deg, rgba(6, 15, 29, 0.94) 0%, rgba(10, 25, 48, 0.78) 45%, rgba(10, 25, 48, 0.35) 100%),
    url("/img/boston/Boston.jpg") center 30% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 220px; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    var(--bg)                 0%,
    rgba(247, 249, 252, 0.92) 12%,
    rgba(247, 249, 252, 0.7)  30%,
    rgba(247, 249, 252, 0.4)  52%,
    rgba(247, 249, 252, 0.16) 74%,
    rgba(247, 249, 252, 0)   100%);
}
/* Scroll cue */
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.5rem; color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.2s;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll svg { width: 22px; height: 22px; animation: hero-bob 1.8s ease-in-out infinite; }
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll svg { animation: none; }
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--coral); }
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; margin-bottom: 1.3rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-tags a {
  font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s, border-color 0.2s;
}
.hero-tags a:hover { background: rgba(242, 84, 45, 0.25); border-color: var(--coral); color: #fff; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; padding: 165px 0 85px; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242, 84, 45, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(26, 52, 87, 0.9), transparent 65%),
    var(--navy-900);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; max-width: 780px; margin-bottom: 1rem; }
.page-hero .lede { font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); max-width: 620px; }
.page-hero .btn { margin-top: 1.8rem; }
.crumbs { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.2rem; }
.crumbs a { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head .kicker { color: var(--coral-deep); }
.section-dark .section-head .kicker { color: var(--gold); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 0.9rem; }
.section-head p { color: var(--slate); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Service cards (3-up) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.9rem 1.9rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.svc-card p { color: var(--slate); font-size: 0.98rem; flex: 1; margin-bottom: 1.4rem; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.4rem;
  display: grid; place-items: center; color: var(--coral-deep);
  background: var(--coral-soft);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Capability grid (4-up, compact) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cap {
  display: flex; gap: 0.95rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.3rem; transition: border-color 0.2s ease, transform 0.2s ease;
}
.cap:hover { border-color: rgba(242, 84, 45, 0.45); transform: translateY(-3px); }
.cap .icon-badge { width: 42px; height: 42px; border-radius: 11px; margin: 0; flex-shrink: 0; }
.cap .icon-badge svg { width: 21px; height: 21px; }
.cap h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.cap p { font-size: 0.88rem; color: var(--slate); line-height: 1.55; }

.section-dark .cap { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section-dark .cap:hover { border-color: rgba(242, 84, 45, 0.6); }
.section-dark .cap h3 { color: #fff; }
.section-dark .cap p { color: rgba(255, 255, 255, 0.65); }
.section-dark .cap .icon-badge { background: rgba(242, 84, 45, 0.18); color: var(--gold); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242, 84, 45, 0.75);
  display: block; margin-bottom: 0.9rem;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--coral), var(--gold));
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--slate); }
.section-dark .step p { color: rgba(255, 255, 255, 0.68); }

/* Vertical variant for long processes */
.steps-vertical { counter-reset: vstep; display: grid; gap: 0; }
.vstep {
  position: relative; padding: 0 0 2.2rem 4.2rem; counter-increment: vstep;
}
.vstep::before {
  content: counter(vstep, decimal-leading-zero);
  position: absolute; left: 0; top: -0.15rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  color: var(--coral-deep); background: var(--coral-soft); border: 1.5px solid rgba(242, 84, 45, 0.35);
}
.vstep:not(:last-child)::after {
  content: ""; position: absolute; left: 22.5px; top: 50px; bottom: 6px;
  width: 1.5px; background: var(--line);
}
.vstep h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.vstep p, .vstep li { color: var(--slate); font-size: 0.98rem; }
.vstep ul { margin-top: 0.5rem; list-style: none; }
.vstep ul li { padding-left: 1.4rem; position: relative; margin-bottom: 0.3rem; }
.vstep ul li::before { content: "→"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }

/* ---------- Split (two-column) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 1.4rem 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(115deg, var(--navy-900) 20%, var(--navy-700) 75%, #2a4a77 100%);
  border-radius: 26px; padding: 4.2rem 2rem; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 84, 45, 0.5), transparent 70%);
}
.cta-card::after {
  content: ""; position: absolute; bottom: -140px; left: -60px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 94, 0.25), transparent 70%);
}
.cta-card h2 { position: relative; z-index: 1; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 0.8rem; }
.cta-card p { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 0 auto 2rem; }
.cta-card .btn { position: relative; z-index: 1; }
.cta-phone { position: relative; z-index: 1; display: block; margin-top: 1.3rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); }
.cta-phone a { color: var(--gold); font-weight: 600; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--coral-deep); }
.post-card p { font-size: 0.93rem; color: var(--slate); flex: 1; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Article ---------- */
.article-hero { padding: 150px 0 60px; }
.article-hero .cat { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.article-hero .cat a { color: var(--gold); }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 1.2rem; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
.article-meta img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.article-figure { margin: -46px auto 0; position: relative; z-index: 3; }
.article-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-height: 460px; object-fit: cover; }
.prose { padding: 56px 0 30px; }
.prose p { margin-bottom: 1.35rem; color: #2c3d53; }
.prose h2, .prose h3 { margin: 2.2rem 0 0.9rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem 1.3rem; color: #2c3d53; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--coral); padding: 0.3rem 0 0.3rem 1.3rem; margin: 1.6rem 0; color: var(--slate); font-style: italic; }
.prose img { border-radius: 12px; margin: 1.6rem 0; }
.prose pre { background: var(--navy-950); color: #dce6f2; border-radius: 12px; padding: 1.2rem 1.4rem; overflow-x: auto; font-size: 0.9rem; margin-bottom: 1.35rem; }
.prose code { font-size: 0.92em; }
.share-row { display: flex; align-items: center; gap: 0.8rem; padding: 1.6rem 0 70px; border-top: 1px solid var(--line); }
.share-row span { font-size: 0.9rem; font-weight: 600; color: var(--mist); }
.share-row a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--slate);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.share-row a:hover { color: var(--coral-deep); border-color: var(--coral); transform: translateY(-2px); }
.share-row svg { width: 17px; height: 17px; }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 0.7rem 0.95rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242, 84, 45, 0.15); background: #fff;
}
.contact-info { display: grid; gap: 1rem; margin-bottom: 2rem; }
.info-line { display: flex; gap: 1rem; align-items: center; }
.info-line .icon-badge { margin: 0; width: 46px; height: 46px; }
.info-line strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mist); }
.info-line a, .info-line span.val { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.info-line a:hover { color: var(--coral-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.65); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer .brand { font-size: 1.25rem; display: inline-block; margin-bottom: 1rem; }
.site-footer p { font-size: 0.92rem; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer ul a { color: rgba(255, 255, 255, 0.65); font-size: 0.93rem; }
.site-footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.6rem; font-size: 0.93rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 5px; color: var(--coral); }
.footer-contact a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; color: #fff;
  background: radial-gradient(900px 500px at 70% 0%, rgba(242, 84, 45, 0.25), transparent 60%), var(--navy-900); }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55); }
.error-page h1 { color: #fff; font-size: 1.6rem; margin: 0.8rem 0 0.6rem; }
.error-page p { color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 4% 1.2rem;
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav-open .site-nav { transform: translateY(0); }
  .site-nav a { padding: 0.8rem 0; font-size: 1.05rem; width: 100%; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 0.8rem; text-align: center; }
  .nav-toggle { display: flex; }
  .cards-3, .post-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero { min-height: 0; padding: 140px 0 80px; }
  .hero::after { height: 130px; }
  .hero-scroll { display: none; }
  .section { padding: 64px 0; }
  .stats { grid-template-columns: 1fr; }
  .article-figure { margin-top: -30px; }
}
@media (max-width: 560px) {
  .cap-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
