@charset "UTF-8";
/* ============================================================
   Dip Palit — dippalit.com
   Stylesheet v1.2

   Same identity as v1.0: navy + blue, Raleway display /
   Nunito body. Rebuilt on a token system with fluid type,
   intrinsic grids, dark mode and modern selectors.

   Loaded font weights (see <head>): Raleway 600/700/800,
   Nunito 400/600/700. Do not use weights outside that set.

   CONTENTS
     01  Tokens
     02  Reset & base
     03  Typography
     04  Layout primitives
     05  Navigation
     06  Buttons
     07  Hero
     08  Section furniture
     09  Statistics          <- the emphasis of this design
     10  Cards
     11  Process & timeline
     12  Blog
     13  Prose & article
     14  Callouts
     15  Tables
     16  Lists & checklists
     17  Pricing
     18  Forms, contact, about
     19  CTA, Upwork, footer
     20  Motion
     21  Dark mode
     22  Print
   ============================================================ */

/* ═══ 01  TOKENS ═══════════════════════════════════════════ */

:root {
  color-scheme: light;

  /* Brand — unchanged from v1.0 */
  --navy: #0F172A;
  --blue: #2563EB;
  --sky:  #60A5FA;         /* figures on dark surfaces */
  --accent: #1D4ED8;
  --white: #FFFFFF;

  /* Neutrals */
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;

  /* Status */
  --green: #059669;  --green-light: #ECFDF5;
  --amber: #D97706;  --amber-light: #FEF3C7;
  --red:   #DC2626;  --red-light:   #FEF2F2;

  /* Derived tints — one source of truth instead of hardcoded hexes */
  --blue-light: color-mix(in srgb, var(--blue) 6%, var(--white));
  --blue-mid:   color-mix(in srgb, var(--blue) 14%, var(--white));
  --blue-ring:  color-mix(in srgb, var(--blue) 22%, transparent);

  /* Semantic surfaces — what components actually reference */
  --surface:      var(--white);
  --surface-sunk: var(--gray-50);
  --surface-card: var(--white);
  --surface-dark: var(--navy);
  --ink:          var(--navy);
  --ink-muted:    var(--gray-600);
  --ink-faint:    var(--gray-400);
  --ink-on-dark:  var(--white);
  --line:         var(--gray-200);
  --line-strong:  var(--gray-300);

  /* Type */
  --font-display: 'Raleway', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Fluid scale — no breakpoint jumps */
  --t-xs:   0.75rem;
  --t-sm:   0.8125rem;
  --t-base: clamp(0.975rem, 0.95rem + 0.12vw, 1.0625rem);
  --t-lg:   clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --t-xl:   clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --t-2xl:  clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  --t-3xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.45rem);
  --t-4xl:  clamp(2.2rem, 1.6rem + 2.8vw, 3.5rem);

  /* Figures — deliberately outside the text scale */
  --t-stat:    clamp(1.75rem, 1.4rem + 1.4vw, 2.3rem);
  --t-stat-lg: clamp(2.1rem, 1.6rem + 2.2vw, 2.9rem);

  /* Spacing */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;
  --s-4: 1rem;     --s-5: 1.5rem;   --s-6: 2rem;
  --s-7: 2.5rem;   --s-8: 3.5rem;   --s-9: 5rem;
  --section-y: clamp(3.25rem, 7vw, 5.75rem);

  /* Measure */
  --container: 1180px;
  --measure: 68ch;

  /* Radius — by role, not uniform */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 100px;

  /* Layered shadows */
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04),
               0 1px 3px rgb(15 23 42 / 0.05);
  --shadow:    0 1px 2px rgb(15 23 42 / 0.04),
               0 4px 12px -2px rgb(15 23 42 / 0.07);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.04),
               0 12px 28px -6px rgb(15 23 42 / 0.10);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 64px;
}

/* ═══ 02  RESET & BASE ═════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--s-5));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; color: inherit; }
:where(ul, ol) { padding-inline-start: 1.15rem; }

/* Anchor targets clear the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + var(--s-5)); }

::selection { background: var(--blue-ring); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { inset-inline-start: 0; }

/* ═══ 03  TYPOGRAPHY ═══════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--ink);
}
h3, h4 { font-weight: 700; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
.highlight { color: var(--blue); }
.hero-title .highlight {
  position: relative;
  display: inline-block;
}

/* ═══ 04  LAYOUT PRIMITIVES ════════════════════════════════ */

main { padding-top: var(--nav-h); }
section { padding-block: var(--section-y); }

.si {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.bg-gray { background: var(--surface-sunk); }

.bg-navy {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  background-image:
    radial-gradient(60rem 30rem at 15% -10%,
      color-mix(in srgb, var(--blue) 26%, transparent), transparent 70%);
}
.bg-navy :is(h1, h2, h3, h4) { color: var(--ink-on-dark); }

/* Two same-coloured bands in a row would double their padding */
.bg-gray + .bg-gray,
.bg-navy + .bg-navy { padding-block-start: 0; }

/* ═══ 05  NAVIGATION ═══════════════════════════════════════ */

body > nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-inline: clamp(1.25rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  body > nav {
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    backdrop-filter: saturate(180%) blur(16px);
  }
}
/* Rule appears only once the page scrolls under it */
@supports (animation-timeline: scroll()) {
  body > nav {
    animation: nav-border linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
  @keyframes nav-border {
    to { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
  }
}
@supports not (animation-timeline: scroll()) {
  body > nav { border-bottom-color: var(--line); }
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.65rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 0.18s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding-block: 0.4rem;
  transition: color 0.18s var(--ease);
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--blue); }
.nav-dropdown-toggle i { font-size: 0.7em; transition: rotate 0.2s var(--ease); }
.nav-dropdown:is(:hover, :focus-within) .nav-dropdown-toggle i { rotate: 180deg; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  inset-inline-start: 50%;
  min-width: 17rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: var(--s-2);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  translate: -50% 6px;
  transition: opacity 0.18s var(--ease), translate 0.18s var(--ease),
              visibility 0.18s;
}
.nav-dropdown:is(:hover, :focus-within, .active) .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}
.nav-dropdown.active .nav-dropdown-toggle { color: var(--blue); }
.nav-dropdown.active .nav-dropdown-toggle i { rotate: 180deg; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(37 99 235 / 0.3);
  transition: background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  box-shadow: 0 2px 10px rgb(37 99 235 / 0.35);
}
.nav-cta::after { display: none !important; }

/* Icon-only control: guarantee a 44px tap target even if the icon font
   is slow, blocked or fails to load. */
.nav-mobile-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.nav-mobile-toggle:hover { background: var(--surface-sunk); }

@media (max-width: 960px) {
  .nav-mobile-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-4);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
  }
  .nav-links.active { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-links a, .nav-dropdown-toggle {
    width: 100%;
    padding: 0.85rem 0.25rem;
    font-size: 0.95rem;
  }
  .nav-links a.active::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    translate: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 var(--s-3) var(--s-4);
    min-width: 0;
    display: none;
  }
  .nav-dropdown:is(:focus-within, .active, .open) .nav-dropdown-menu {
    display: block;
    translate: none;
  }
  .nav-cta { justify-content: center; margin-top: var(--s-3); }
}

/* ═══ 06  BUTTONS ══════════════════════════════════════════ */

.btn-primary, .btn-secondary, .btn-upwork, .btn-w, .btn-wa, .btn-ow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
              translate 0.18s var(--ease);
}
:is(.btn-primary, .btn-secondary, .btn-upwork, .btn-w, .btn-wa, .btn-ow):active {
  translate: 0 1px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgb(37 99 235 / 0.25),
              0 6px 16px -4px rgb(37 99 235 / 0.35);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 2px 4px rgb(37 99 235 / 0.25),
              0 10px 22px -6px rgb(37 99 235 / 0.45);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-upwork {
  background: #14A800;
  color: var(--white);
  box-shadow: 0 1px 2px rgb(20 168 0 / 0.25), 0 6px 16px -4px rgb(20 168 0 / 0.3);
}
.btn-upwork:hover { background: #108A00; }

.btn-w {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 20px -6px rgb(0 0 0 / 0.45);
}
.btn-w:hover { background: var(--gray-100); }

.btn-ow {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.35);
}
.btn-ow:hover { border-color: var(--white); background: rgb(255 255 255 / 0.1); }

.btn-wa { background: #25D366; color: #04301A; }
.btn-wa:hover { background: #1FBA59; }

/* ═══ 07  HERO ═════════════════════════════════════════════ */

.hero-title {
  font-size: var(--t-4xl);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-5);
  max-width: 17ch;
}
@media (max-width: 940px) { .hero-title { max-width: 22ch; } }
.hero-sub {
  font-size: var(--t-lg);
  color: var(--ink-muted);
  max-width: 54ch;
  margin-bottom: var(--s-6);
  line-height: 1.65;
}

.hero-badges, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.hero-actions { gap: var(--s-4); margin-bottom: var(--s-7); }
.hero-badges { margin-bottom: var(--s-6); }

.hero-badge, .hb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--surface-card);
  border: 1px solid var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
}
/* availability flag in the hero reads as a live signal, not a neutral chip */
.hero-badge {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--accent);
  margin-bottom: var(--s-5);
}
.hero-badge i, .hb i { color: var(--blue); font-size: 0.9em; }

/* The print control is <button class="hb" style="border:none">, so the inline
   style kills the border. Draw it with a shadow the inline style can't cancel. */
button.hb {
  cursor: pointer;
  background: var(--surface-sunk);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}
button.hb:hover {
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

/* #hero is the grid parent: .hero-content and .hero-visual are SIBLINGS,
   both direct children of <section id="hero">. */
#hero {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y);
}
.hero-content { min-width: 0; }
@media (max-width: 940px) {
  #hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(100%, 20rem); margin-inline: auto; }
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo-wrap {
  position: relative;
  width: min(100%, 21.25rem);
  aspect-ratio: 1;
  margin-inline: auto;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-light);
  border: 3px solid var(--blue-mid);
}
/* The portrait is a circle seated inside that disc. object-position keeps
   the face in frame when a non-square image is cropped to 1:1. */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--surface-card);
}

.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.hero-float-card i { color: var(--blue); }
.hero-float-card { animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.c1 { top: 8%;     inset-inline-end: -1.25rem; animation-delay: 0s; }
.c2 { bottom: 16%; inset-inline-end: -1.9rem;  animation-delay: 1.5s; }
.c3 { bottom: 30%; inset-inline-start: -1.9rem; animation-delay: 0.8s; }
@media (max-width: 560px) { .c1, .c2, .c3 { display: none; } }

/* Interior page hero */
.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--surface-sunk), var(--surface));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.page-title { font-size: var(--t-3xl); margin-bottom: var(--s-4); max-width: 24ch; }
.page-sub {
  font-size: var(--t-lg);
  color: var(--ink-muted);
  max-width: var(--measure);
  margin-bottom: var(--s-5);
  line-height: 1.65;
}

.breadcrumb {
  position: static;
  height: auto;
  background: none;
  border: 0;
  padding: 0;
  backdrop-filter: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: var(--s-4);
  list-style: none;
  padding: 0;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb i { font-size: 0.65em; opacity: 0.55; }

/* ═══ 08  SECTION FURNITURE ════════════════════════════════

   Eyebrow labels are sentence case with a leading rule.
   Tracked-out all-caps eyebrows above every heading are the
   commonest templated-page tell, and they read poorly small.
   ═════════════════════════════════════════════════════════ */

.section-tag, .stag, .page-tag, .blog-cat, .cs-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blue);
  margin-bottom: var(--s-3);
}
:is(.section-tag, .stag, .page-tag, .blog-cat, .cs-cat)::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.section-title, .stitle {
  font-size: var(--t-3xl);
  margin-bottom: var(--s-4);
  max-width: 26ch;
}
.section-sub, .ssub {
  font-size: var(--t-lg);
  color: var(--ink-muted);
  max-width: var(--measure);
  margin-bottom: var(--s-7);
  line-height: 1.65;
}

.bg-navy :is(.stag, .section-tag) { color: var(--sky); }
.bg-navy :is(.stitle, .section-title) { color: var(--ink-on-dark); }
.bg-navy :is(.ssub, .section-sub) { color: rgb(255 255 255 / 0.72); }

/* ═══ 09  STATISTICS ═══════════════════════════════════════

   The emphasis of this design. This site's credibility rests
   entirely on verifiable figures, so figures are treated as
   display objects: tabular, tightly tracked, tied to their
   label by a rule.
   ═════════════════════════════════════════════════════════ */

.metric-num, .result-card-num, .cs-metric, .hero-stat-num, .plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.metric-grid, .results-grid, .hero-stats, .upwork-stats {
  display: grid;
  gap: var(--s-5);
}
.metric-grid  { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.results-grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.hero-stats {
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: var(--s-5) var(--s-6);
  margin-block: var(--s-6);
}

.metric, .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-inline-start: var(--s-4);
  border-inline-start: 2px solid var(--line);
}
.metric-num, .hero-stat-num { font-size: var(--t-stat); color: var(--blue); }
:is(.metric-num, .hero-stat-num, .result-card-num, .cs-metric) span {
  color: var(--blue);
  font-size: 0.62em;
  letter-spacing: -0.01em;
}
.hero-stat-num span { color: var(--blue); }
:is(.result-card-num, .cs-metric) span { color: var(--sky); }
.page-title span, .stitle span, .section-title span { color: var(--blue); }
.hero-stat-num { color: var(--ink); }
.metric-label, .hero-stat-label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-muted);
  font-weight: 600;
}

.result-card {
  background: color-mix(in srgb, var(--white) 6%, transparent);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--r);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.result-card-num { font-size: var(--t-stat-lg); color: var(--sky); }
.result-card-label { font-weight: 700; font-size: 0.95rem; color: var(--ink-on-dark); }
.result-card-context {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.65);
}

/* #trust is a bare <div>, so it carries its own band padding */
#trust {
  background: var(--surface-sunk);
  border-block: 1px solid var(--line);
  padding-block: var(--s-5);
  padding-inline: 1.25rem;
}
.trust-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.trust-item i { color: var(--blue); font-size: 1.05em; flex: none; }

/* ═══ 10  CARDS ════════════════════════════════════════════

   Hover lift is reserved for cards that are entirely
   clickable. Static informational cards stay still.
   ═════════════════════════════════════════════════════════ */

.services-grid, .sdg, .cs-grid, .res-grid, .blog-grid, .faq-grid,
.about-highlights, .pricing-grid, .contact-grid, .process-grid {
  display: grid;
  gap: var(--s-5);
}
.services-grid { grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.sdg { grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr)); gap: var(--s-6); }
.cs-grid  { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.res-grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.blog-grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--s-6); }
.faq-grid { grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr)); }

.service-card, .res-card, .cert-card, .side-box, .about-hl,
.blog-card, .cs-card, .plan, .sdc, .fc {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.service-card { padding: var(--s-5); display: flex; flex-direction: column; gap: 0.75rem; }
.service-icon {
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.service-title { font-size: 1.05rem; }
.service-desc { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; }
.service-tags, .sdc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--s-3);
}
.service-tag, .sdc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--gray-100);
  border: 1px solid var(--line);
  padding: 0.22rem 0.65rem;
  border-radius: var(--r-pill);
}

/* Specialist deep cards — the two niche offers */
.sdc {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  border-color: var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
}
.sdc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.sdc-icon {
  width: 3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.2rem;
}
.sdc-title { font-size: var(--t-xl); }
.sdc-hook { font-weight: 700; color: var(--blue); font-size: 0.95rem; }
.sdc-desc { font-size: 0.93rem; color: var(--ink-muted); line-height: 1.7; }
.sdc-b { display: flex; flex-direction: column; gap: 0.5rem; margin-block: 0.35rem; }
.sdc-h { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.sdc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--s-3);
}
.sdc-link:hover { text-decoration: underline; }

/* Case-study cards are fully clickable, so they lift */
.cs-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              translate 0.2s var(--ease);
}
.cs-card:has(a:hover), .cs-card:has(a:focus-visible) {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  translate: 0 -3px;
}
.cs-body { padding: var(--s-5); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.cs-title { font-size: 1.08rem; line-height: 1.35; }
.cs-title a { color: inherit; text-decoration: none; }
.cs-title a:hover { color: var(--blue); }
.cs-excerpt { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; }
.cs-foot {
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
  background: var(--surface-sunk);
}
.cs-foot a {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.cs-foot a:hover { text-decoration: underline; }

.cs-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  margin-block: var(--s-6);
}
.cs-metric { font-size: var(--t-stat); color: var(--sky); }
.cs-metric-label {
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.7);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Resources */
.res-card { padding: var(--s-5); display: flex; flex-direction: column; gap: 0.7rem; }
.res-icon {
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--green-light);
  color: var(--green);
  font-size: 1.1rem;
}
.res-title { font-size: 1.05rem; }
.res-desc { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; }
.res-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: var(--s-3);
}
.res-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: 1.5px solid transparent;
}
.rp { background: var(--blue); color: var(--white); }
.rp:hover { background: var(--accent); }
.rs { border-color: var(--line-strong); color: var(--ink); }
.rs:hover { border-color: var(--blue); color: var(--blue); }

/* Tools */
.tools-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.tool-pill i { color: var(--blue); }
.tool-pill:hover { border-color: var(--blue); color: var(--blue); }

/* FAQ */
.fc { padding: 0; overflow: hidden; transition: border-color 0.2s var(--ease); }
.fc.open { border-color: var(--blue); }
.fq {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.fq::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--blue);
  flex: none;
  margin-top: 0.3rem;
  transition: rotate 0.22s var(--ease);
}
.fc.open .fq::after { rotate: 180deg; }
.fq:hover { color: var(--blue); }
.fa-ans {
  display: none;
  padding: 0 var(--s-5) var(--s-5);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.fc.open .fa-ans { display: block; }
.fa-ans a { font-weight: 600; }
.fa-ans :is(ul, ol) { margin-top: 0.6em; padding-inline-start: 1.25rem; }
.fa-ans li + li { margin-top: 0.35em; }

/* Headings that wrap a link must inherit, or they render as raw
   blue underlined hyperlinks. */
.service-title a, .sdc-title a, .res-title a, .cert-title a,
.cs-title a, .blog-card-title a, .tl-title a, .plan-name a {
  color: inherit;
  text-decoration: none;
}
:is(.service-title, .sdc-title, .res-title, .cert-title,
    .cs-title, .blog-card-title, .tl-title, .plan-name) a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.cert-issuer a, .cert-date a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}
.cert-issuer a:hover, .cert-date a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

/* ═══ 11  PROCESS & TIMELINE ═══════════════════════════════

   Numbered markers appear only here, because these are the
   only content that genuinely is an ordered sequence.
   ═════════════════════════════════════════════════════════ */

/* .process-strip is a <section> band (it wraps .si), not the grid itself */
.process-strip {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  background-image:
    radial-gradient(60rem 30rem at 85% -20%,
      color-mix(in srgb, var(--blue) 24%, transparent), transparent 70%);
}
.process-strip :is(h1, h2, h3, .stitle, .section-title) { color: var(--ink-on-dark); }
.process-strip :is(.stag, .section-tag) { color: var(--sky); }
.process-strip :is(.ssub, .section-sub) { color: rgb(255 255 255 / 0.72); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.ps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--s-4);
  border-top: 2px solid var(--line);
}
.ps-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.ps-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.ps-desc { font-size: 0.87rem; color: var(--ink-muted); line-height: 1.65; }
:is(.bg-navy, .process-strip) .ps { border-top-color: rgb(255 255 255 / 0.22); }
:is(.bg-navy, .process-strip) .ps-num { color: var(--sky); }
:is(.bg-navy, .process-strip) .ps-title { color: var(--ink-on-dark); }
:is(.bg-navy, .process-strip) .ps-desc { color: rgb(255 255 255 / 0.68); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-block: var(--s-6);
  padding-inline-start: var(--s-5);
  border-inline-start: 2px solid var(--line);
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(var(--s-5) * -1 - 6px);
  top: 0.55rem;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--surface);
}
.tl-when {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-block: 0.2rem;
}
.tl-desc { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; }

/* ═══ 12  BLOG ═════════════════════════════════════════════ */

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              translate 0.2s var(--ease);
}
.blog-card:has(a:hover), .blog-card:has(a:focus-visible) {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  translate: 0 -3px;
}
.blog-card-img {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(90% 120% at 20% 0%,
      color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
    var(--surface-sunk);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 1.85rem;
}
.blog-card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.blog-card-title { font-size: 1.06rem; line-height: 1.38; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt { font-size: 0.89rem; color: var(--ink-muted); line-height: 1.65; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.blog-date { color: var(--ink-faint); font-weight: 600; }
.blog-read-more {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-read-more:hover { text-decoration: underline; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.post-meta i { color: var(--blue); margin-inline-end: 0.35rem; }

/* ═══ 13  PROSE & ARTICLE LAYOUT ═══════════════════════════ */

.post-layout {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { order: -1; position: static; }
}

.post-side {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-5));
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.side-box { padding: var(--s-5); }
.side-title { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; margin-bottom: var(--s-3); }
.side-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.side-box li { font-size: 0.87rem; line-height: 1.5; }
.side-box a { text-decoration: none; font-weight: 600; }
.side-box a:hover { text-decoration: underline; }

.side-box.hire {
  background: var(--surface-dark);
  border-color: transparent;
  color: var(--ink-on-dark);
}
.side-box.hire p {
  font-size: 0.87rem;
  color: rgb(255 255 255 / 0.75);
  margin-bottom: var(--s-4);
  line-height: 1.65;
}

.toc a { color: var(--ink-muted); }
.toc a:hover { color: var(--blue); }

.prose { max-width: var(--measure); font-size: 1.02rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: var(--t-2xl);
  margin-top: 2.4em;
  margin-bottom: 0.1em;
  padding-top: 0.85em;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--t-xl); margin-top: 1.9em; margin-bottom: 0.05em; }
.prose :is(ul, ol) { padding-inline-start: 1.35rem; }
.prose li { margin-top: 0.5em; padding-inline-start: 0.25rem; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }

.prose blockquote {
  margin-block: 1.6em;
  padding: var(--s-4) var(--s-5);
  border-inline-start: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--blue-light);
  font-size: 1rem;
}
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: 0.8em; }

.prose code {
  font-size: 0.88em;
  background: var(--gray-100);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.4em;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.6em;
  font-size: 0.9rem;
}
.prose :is(th, td) {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.prose th { font-weight: 700; background: var(--surface-sunk); }
.prose h4 { font-size: 1.02rem; margin-top: 1.5em; }

.author-box {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin-top: 3rem;
  padding: var(--s-5);
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.author-box img {
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-sm);
}
.an { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.ar { font-size: 0.82rem; color: var(--blue); font-weight: 700; margin-bottom: 0.4rem; }
.ab { font-size: 0.87rem; color: var(--ink-muted); line-height: 1.7; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* ═══ 14  CALLOUTS ═════════════════════════════════════════ */

.callout {
  margin-block: 1.8em;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--ink-faint);
  background: var(--surface-sunk);
  font-size: 0.94rem;
  line-height: 1.7;
}
.callout-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.93rem;
  margin-bottom: 0.5rem;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 0.7em; }
.callout :is(ul, ol) { margin-top: 0.6em; padding-inline-start: 1.25rem; }

.callout.tip   { background: var(--blue-light);  border-inline-start-color: var(--blue); }
.callout.tip .callout-title { color: var(--accent); }
.callout.good  { background: var(--green-light); border-inline-start-color: var(--green); }
.callout.good .callout-title { color: var(--green); }
.callout.warn  { background: var(--amber-light); border-inline-start-color: var(--amber); }
.callout.warn .callout-title { color: #92400E; }
.callout.legal { background: var(--gray-100);    border-inline-start-color: var(--gray-400); }
.callout.legal .callout-title { color: var(--gray-800); }

/* ═══ 15  TABLES ═══════════════════════════════════════════ */

.table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin-block: 1.8em;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 34rem;
}
.comparison-table :is(th, td) {
  padding: 0.8rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-sunk);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.83rem;
  color: var(--ink);
  border-bottom: 2px solid var(--line-strong);
}
.comparison-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.comparison-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--gray-50) 60%, transparent);
}
.comparison-table .row-head {
  font-weight: 700;
  color: var(--ink);
  background: color-mix(in srgb, var(--gray-100) 70%, transparent);
  white-space: nowrap;
}
.comparison-table tbody tr:hover { background: var(--blue-light); }
.comparison-table .check { color: var(--green); font-weight: 700; }
.comparison-table .cross { color: var(--red); }
.comparison-table .featured { background: var(--blue-light); }

/* ═══ 16  LISTS, CHECKLISTS, SNAPSHOT ══════════════════════ */

.checklist {
  list-style: none;
  padding: 0;
  margin-block: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.7;
  font-size: 0.95rem;
}
/* The checkbox is a Font Awesome <i> in the markup — do not draw another. */
.checklist li i {
  color: var(--green);
  margin-top: 0.34em;
  flex: none;
  font-size: 0.95em;
}
.checklist li strong { color: var(--ink); }

.dl-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.6;
}
.dl-list li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  flex: none;
  margin-top: 0.05em;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--s-4);
  margin-block: var(--s-6);
}
.snapshot > div {
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-4) 1.15rem;
}
.snapshot dt, .dl-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
}
.snapshot dd { margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.dl-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

/* ═══ 17  PRICING ══════════════════════════════════════════ */

.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }

.plan {
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.plan.featured {
  border-color: var(--blue);
  border-width: 1.5px;
  box-shadow: var(--shadow-lg);
}
.plan-flag {
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  translate: -50% -50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.plan-price { font-size: var(--t-stat); color: var(--blue); }
.plan-price small {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.plan :is(.btn-primary, .btn-secondary) { width: 100%; margin-top: auto; }
.plan-for { font-size: 0.87rem; color: var(--ink-muted); line-height: 1.6; }
.plan ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-block: var(--s-3);
}
.plan li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.89rem;
  line-height: 1.6;
}
.plan li i { color: var(--green); font-size: 0.78em; margin-top: 0.45em; flex: none; }
.plan-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.55;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}

/* ═══ 18  FORMS, CONTACT, ABOUT ════════════════════════════ */

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-side {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-xl);
  margin-bottom: 0.4rem;
}
.contact-form-sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
  line-height: 1.6;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--s-4); }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.field :is(input, textarea, select) {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field :is(input, textarea):focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}
.field :is(input, textarea)::placeholder { color: var(--ink-faint); }
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
form { accent-color: var(--blue); }

/* Form status messages. The JS flips these to display:block, so they MUST
   start hidden — otherwise "Message sent" shows on page load. */
#form-msg, #form-err {
  display: none;
  margin-top: var(--s-3);
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.55;
}
#form-msg {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
}
#form-err {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
}
#form-err a { color: inherit; text-decoration: underline; }

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.contact-item:last-child { border-bottom: 0; }
.contact-icon {
  width: 2.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-size: 1rem;
  flex: none;
  background: var(--gray-100);
  color: var(--ink-muted);
}
.contact-icon.email    { background: var(--blue-light); color: var(--blue); }
.contact-icon.linkedin { background: #E8F1FB; color: #0A66C2; }
.contact-icon.whatsapp { background: #E7F9EE; color: #12924A; }
.contact-icon.upwork   { background: #E8F7E4; color: #108A00; }
.contact-label { font-size: 0.75rem; font-weight: 700; color: var(--ink-faint); }
.contact-value {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.contact-item:hover .contact-value { color: var(--blue); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text { max-width: var(--measure); font-size: 1.01rem; line-height: 1.8; }
.about-text > * + * { margin-top: 1.1em; }
.about-sidebar { display: flex; flex-direction: column; gap: var(--s-4); }
.about-highlights { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.about-hl { display: flex; gap: 0.8rem; align-items: flex-start; padding: var(--s-4); }
.about-hl i { color: var(--blue); font-size: 1.05rem; margin-top: 0.2rem; flex: none; }
.about-hl-text { font-size: 0.89rem; line-height: 1.6; color: var(--ink-muted); }
.about-hl-text strong { color: var(--ink); display: block; }

.cert-card { padding: var(--s-4); display: flex; flex-direction: column; gap: 0.2rem; }
.cert-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.cert-issuer { font-size: 0.84rem; color: var(--ink-muted); }
.cert-date {
  font-size: 0.76rem;
  color: var(--ink-faint);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ═══ 19  CTA, UPWORK, FOOTER ══════════════════════════════ */

/* .cta-banner is the <section> itself — a full-bleed band with
   its content constrained, not a rounded card. */
.cta-banner {
  text-align: center;
  padding-inline: var(--s-5);
  background: var(--surface-dark);
  background-image:
    radial-gradient(50rem 24rem at 50% -20%,
      color-mix(in srgb, var(--blue) 40%, transparent), transparent 70%);
  color: var(--ink-on-dark);
}
.cta-banner > * {
  width: min(100%, var(--container));
  margin-inline: auto;
}
.cta-banner :is(h2, h3) {
  color: var(--ink-on-dark);
  max-width: 20ch;
  font-size: var(--t-3xl);
}
.cta-banner p {
  color: rgb(255 255 255 / 0.75);
  max-width: 52ch;
  margin: var(--s-4) auto var(--s-6);
  font-size: var(--t-lg);
  line-height: 1.6;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }

#upwork {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}
#upwork :is(.section-title, .stitle, h2) { color: var(--ink-on-dark); }
#upwork :is(.section-tag, .stag) { color: rgb(255 255 255 / 0.72); }
#upwork :is(.section-sub, .ssub) { color: rgb(255 255 255 / 0.8); max-width: 34rem; }
.upwork-inner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-6);
  align-items: center;
}
@media (max-width: 800px) { .upwork-inner-grid { grid-template-columns: 1fr; } }
.upwork-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-on-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--s-3);
}
.upwork-stats { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-3) var(--s-5); }
.upwork-stats { margin-top: var(--s-5); }
.upwork-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.88);
}
.upwork-stat i { color: rgb(255 255 255 / 0.62); flex: none; }

/* Links on dark surfaces must not use the body link colour.
   footer is excluded: .footer-col a / .footer-bottom a already set theirs. */
:is(.bg-navy, .process-strip, .cta-banner, .cs-band, #upwork, .side-box.hire,
    .result-card) a:not([class*="btn-"]) {
  color: var(--sky);
}
:is(.bg-navy, .process-strip, .cta-banner, .cs-band, #upwork, .side-box.hire,
    .result-card) a:not([class*="btn-"]):hover { color: var(--white); }

footer {
  background: var(--surface-dark);
  color: rgb(255 255 255 / 0.68);
  padding-block: var(--s-8) var(--s-5);
  font-size: 0.88rem;
}
/* footer has no .si wrapper — these blocks carry the container width */
.footer-cols, .footer-bottom {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer-brand { max-width: 32ch; line-height: 1.7; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: var(--s-3);
  letter-spacing: -0.03em;
}
.footer-logo span { color: var(--sky); }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-col a {
  color: rgb(255 255 255 / 0.68);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.16s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--s-4); }
.footer-social a {
  width: 2.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.8);
  text-decoration: none;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
/* This is one run of sentence text with a <br>, not two aligned items —
   flex + space-between flung the copyright and the FMCSA link apart. */
.footer-bottom {
  display: block;
  text-align: center;
  text-wrap: pretty;
  max-width: 62rem;
  padding-top: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgb(255 255 255 / 0.5);
}
.footer-bottom a { color: rgb(255 255 255 / 0.62); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── Video embed ──────────────────────────────────────────────────────── */
.video-wrap {
  position: relative;
  width: min(100%, 52rem);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-dark);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-note {
  width: min(100%, 52rem);
  margin: var(--s-4) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem var(--s-4);
  text-align: center;
  font-size: 0.87rem;
  color: var(--ink-muted);
}
/* Always-visible escape hatch: if the embed is ever blocked by a network,
   an extension, or a YouTube-side restriction, this still works. */
.video-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface-card);
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.video-yt i { color: #FF0000; font-size: 1.05em; }
.video-yt:hover { border-color: var(--blue); color: var(--blue); }

/* ═══ 20  MOTION ═══════════════════════════════════════════

   One quiet entrance: 6px, fast. A fade-and-slide on every
   element is the generic default, so this is deliberately
   understated and never delays reading.
   ═════════════════════════════════════════════════════════ */

.fade-in {
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.4s var(--ease), translate 0.4s var(--ease);
}
.fade-in.visible { opacity: 1; translate: none; }

/* Never hide content if the observer never runs */
@media (scripting: none) {
  .fade-in { opacity: 1; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fade-in { opacity: 1 !important; translate: none !important; }
  html { scroll-behavior: auto; }
}

/* ═══ 21  DARK MODE ════════════════════════════════════════

   Optional. Delete this whole block to ship light-only.
   Navy bands are lifted above the page background so the
   section rhythm still reads.
   ═════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --surface:      #0B1220;
    --surface-sunk: #0F1829;
    --surface-card: #131E33;
    --surface-dark: #18243C;

    --ink:       #E8EDF5;
    --ink-muted: #A3B0C4;
    --ink-faint: #71829B;

    --gray-50:  #0F1829;
    --gray-100: #1A2739;
    --gray-200: #223047;
    --gray-300: #2E4060;
    --gray-400: #71829B;
    --gray-600: #A3B0C4;
    --gray-800: #E8EDF5;

    --line:        #223047;
    --line-strong: #2E4060;

    --blue:   #5B8DEF;
    --accent: #7AA5F5;
    --sky:    #8CBEFF;
    --blue-light: color-mix(in srgb, var(--blue) 14%, var(--surface-card));
    --blue-mid:   color-mix(in srgb, var(--blue) 24%, var(--surface-card));

    --green-light: color-mix(in srgb, var(--green) 18%, var(--surface-card));
    --amber-light: color-mix(in srgb, var(--amber) 18%, var(--surface-card));
    --red-light:   color-mix(in srgb, var(--red)   18%, var(--surface-card));

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow:    0 2px 8px rgb(0 0 0 / 0.45);
    --shadow-lg: 0 12px 32px -8px rgb(0 0 0 / 0.6);
  }

  .callout.warn .callout-title { color: #FBBF24; }
  .callout.legal .callout-title { color: var(--ink); }
  .contact-icon.linkedin { background: #10243C; color: #7FB4F0; }
  .contact-icon.whatsapp { background: #0E2A1C; color: #4ADE80; }
  .contact-icon.upwork   { background: #0F2A12; color: #6EE06E; }
  .btn-w { background: var(--ink); color: #0B1220; }
  .btn-w:hover { background: #FFFFFF; }
  .blog-card-img { background: var(--surface-sunk); }
  .hero-photo, .author-box img { border-color: var(--line); }
}

/* ═══ 22  PRINT ════════════════════════════════════════════ */

@media print {
  :root {
    --surface: #fff; --surface-sunk: #fff; --surface-card: #fff;
    --surface-dark: #fff;
    --ink: #000; --ink-muted: #333; --ink-faint: #555;
    --line: #bbb; --line-strong: #999;
  }
  body > nav, footer, .cta-banner, .post-side, .no-print, .hero-float-card,
  .video-wrap, .video-note,
  .footer-social, .skip-link, #upwork, #trust, .hero-visual { display: none !important; }

  body { font-size: 11pt; line-height: 1.45; background: #fff; color: #000; }
  main { padding-top: 0; }
  section { padding-block: 0.6rem; }
  .si, .post-layout, .page-hero-inner { width: 100%; max-width: none; }
  .post-layout, .about-grid, .contact-grid { display: block; }
  .prose, .about-text { max-width: none; }
  .page-hero { border-bottom: 1px solid #999; }

  /* Checklists are what people actually print */
  .checklist li { break-inside: avoid; padding-block: 0.12rem; }
  .checklist li::before { border-color: #444; }
  .callout, .snapshot, .comparison-table tr, .fc, .plan { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .prose h2 { margin-top: 1.2em; padding-top: 0.4em; }
  .fa-ans { display: block !important; }

  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.82em;
    color: #555;
    word-break: break-all;
  }
  .fade-in { opacity: 1 !important; translate: none !important; }
  @page { margin: 1.5cm; }
}
