/* ==========================================================================
   jaseel.me — Growth & Digital Marketing
   Static rebuild. Palette, type scale and layout match the original site.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --blue: #073dbe;
  --blue-deep: #062f92;
  --orange: #ff9400;
  --orange-hover: #ffae00;
  --white: #ffffff;
  --black: #000000;
  --ink: #14181f;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .3);
  --glass: rgba(255, 255, 255, .1);

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --gutter: 20px;
  --radius: 15px;
  --header-h: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body {
  margin: 0;
  background-color: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-transform: none;
}

h1 { font-size: 80px;   line-height: 1.1;  }
h2 { font-size: 44.8px; line-height: 1.17; }
h3 { font-size: 32px;   line-height: 1.05; }
h4 { font-size: 21.33px; line-height: 1.35; font-weight: 700; }
h5 { font-size: 19.2px;  line-height: 1.4;  font-weight: 700; }
h6 { font-size: 16px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--white); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus-visible { color: var(--orange-hover); }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--orange);
  color: var(--black);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--black); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 90px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background-color: var(--orange);
  border: 0;
  border-radius: var(--radius);
  color: var(--black);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 40px;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn:focus-visible {
  background-color: var(--orange-hover);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--outline-light:hover, .btn--outline-light:focus-visible {
  background: var(--white);
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn--on-light { color: var(--black); }

/* ---------- Eyebrow + divider ---------- */
.eyebrow {
  font-size: 19.2px;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0;
}
.eyebrow--blue { color: var(--blue); }

.rule {
  width: 60px;
  height: 3px;
  background: var(--orange);
  border: 0;
  margin: 14px 0 18px;
}
.rule--light { background: rgba(255, 255, 255, .5); }
.rule--dark  { background: rgba(0, 0, 0, .1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 26px;
  background: transparent;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  position: fixed;
  padding-block: 14px;
  background-color: var(--blue-deep);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding img { width: 150px; height: auto; }

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-list a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-block: 4px;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange-hover);
  transition: width .25s ease;
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after { width: 100%; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--orange-hover); }

.header-cta .btn { padding: 15px 32px; font-size: 16px; }

/* The drawer CTA is a mobile-only duplicate of .header-cta */
.nav-list .nav-cta { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 95;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 24px; height: 2px;
  background: currentColor;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 260px;
  background-color: var(--blue);
  background-image: url("../img/jaseel-banner.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7, 61, 190, 0) 0%, rgb(7, 61, 190) 100%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin: 0; }
.hero-copy .hero-sub {
  font-size: 21.33px;
  font-weight: 700;
  line-height: 1.35;
  margin: 15px 0 0;
  max-width: 460px;
}
.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   "What I Do" — overlapping split card
   ========================================================================== */
.split { margin-top: -200px; position: relative; z-index: 3; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
  border-radius: 4px;
  overflow: hidden;
}
.split-panel { padding: 60px 50px; }
.split-panel--white { background: var(--white); color: var(--ink); }
.split-panel--orange { background: var(--orange); color: var(--black); }

.split-panel--white h3 { color: var(--black); font-size: 42px; line-height: 45px; }
.split-panel--orange h3 { color: var(--black); font-size: 32px; }
.split-panel--orange h5 { color: var(--black); }
.split-panel--orange p { color: var(--black); }
.split-panel .eyebrow { color: var(--blue); }
.split-panel--orange .eyebrow { color: var(--black); }

.focus-list { list-style: none; margin: 12px 0 0; display: grid; gap: 12px; }
.focus-list li { position: relative; padding-left: 26px; line-height: 1.55; }
.focus-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: 150px 0 75px; }
.process-head { max-width: 720px; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 60px;
  padding-bottom: 100px;
}
.step { border-top: 3px solid var(--line); padding: 34px 0 46px; }
.step-num {
  font-size: 44.8px;
  line-height: 1.17;
  color: var(--orange);
  margin: 0 0 6px;
}
.step h3 { font-size: 32px; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--glass);
  border-radius: 999px;
  padding: 7px 16px;
}
.step-meta strong { color: var(--orange-hover); }

/* ==========================================================================
   LinkedIn band
   ========================================================================== */
.linkedin-band { background: var(--white); color: var(--ink); }
.linkedin-band .container { padding-block: 70px; }
.linkedin-band h2 { color: var(--black); max-width: 760px; }
.linkedin-band .eyebrow { color: var(--blue); }
.linkedin-band .btn { margin-top: 26px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding: 150px 0 75px; }
.testimonial-list { list-style: none; display: grid; gap: 10px; margin-top: 40px; }
.testimonial {
  background: var(--glass);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  align-items: center;
}
.testimonial blockquote { margin: 0; font-size: 22px; line-height: 1.5; }
.testimonial figcaption { margin-top: 18px; }
.testimonial-name { font-weight: 600; font-size: 18px; display: block; }
.testimonial-title { color: var(--muted); font-size: 15px; display: block; }
.avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, .2);
}
.avatar--initials {
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.testimonials-cta { text-align: center; margin-top: 30px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta {
  position: relative;
  padding-block: 140px;
  background-color: var(--blue);
  background-image: url("../img/jaseel-banner.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(7, 61, 190, 0) 0%, rgb(7, 61, 190) 100%);
  pointer-events: none;
}
.cta > .container { position: relative; z-index: 2; }
.cta-copy { max-width: 560px; }
.cta-copy h2 { margin-bottom: 6px; }
.cta-copy p { font-size: 18px; color: var(--muted); }
.cta .btn { margin-top: 30px; }

/* ==========================================================================
   Inner page shell
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 100%);
}
.page-hero h1 { font-size: 56px; line-height: 1.1; max-width: 16ch; }
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 18px; margin-top: 18px; }

.breadcrumb { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange-hover); }

.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin-top: 44px; }
.prose h3 { font-size: 22px; margin-top: 30px; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--orange-hover); text-decoration: underline; text-underline-offset: 3px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 30px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 10px; }
.faq details {
  background: var(--glass);
  border-radius: 8px;
  padding: 20px 24px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Booking embed */
.booking-wrap { margin-top: 36px; }
.booking-shell {
  background: var(--white);
  border-radius: 12px;
  min-height: 700px;
  overflow: hidden;
  padding: 6px;
}
.booking-fallback {
  background: var(--glass);
  border-radius: 10px;
  padding: 28px;
  margin-top: 20px;
}
.booking-fallback p { color: var(--muted); }

/* Contact form */
.form { display: grid; gap: 18px; max-width: 620px; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
}
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.2em; }
.form-status[data-state="error"] { color: #ffd0d0; }
.form-status[data-state="ok"] { color: var(--orange-hover); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* 404 */
.error-page { text-align: center; padding-block: 160px 120px; }
.error-page .code { font-size: 120px; font-weight: 700; color: var(--orange); line-height: 1; }
.error-page h1 { font-size: 44px; margin-top: 10px; }
.error-page p { color: var(--muted); margin-top: 14px; }
.error-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--blue-deep); padding-block: 34px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy { font-size: 14px; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 18px; list-style: none; font-size: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--orange-hover); }
.social { display: flex; align-items: center; gap: 14px; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social a:hover { background: var(--orange); color: var(--black); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 50px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }

  .hero { min-height: 620px; padding-bottom: 220px; background-position: 70% center; }
  .hero-copy { max-width: 100%; }
  .split-panel { padding: 44px 36px; }
  .split-panel--white h3 { font-size: 32px; line-height: 1.15; }
  .process { padding: 120px 0 60px; }
  .steps { gap: 0 36px; }
  .step h3 { font-size: 22px; }
  .step-num { font-size: 32px; }
  .testimonials { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 42px; }
}

@media (max-width: 860px) {
  :root { --header-h: 78px; }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--blue-deep);
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -16px 0 40px rgba(0, 0, 0, .35);
    overflow-y: auto;
    z-index: 90;
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav-list a::after { display: none; }

  .header-cta { display: none; }
  .nav-list .nav-cta { display: block; margin-top: 20px; }
  .nav-list .nav-cta a { border: 0; }
  .nav-list .nav-cta .btn { display: inline-block; width: auto; padding: 15px 30px; color: var(--black); }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 80;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .split { margin-top: -120px; }
  .split-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 0; padding-bottom: 70px; }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 26px;
    text-align: left;
  }
  .testimonial blockquote { font-size: 19px; }
  .avatar { width: 72px; height: 72px; }
  .avatar--initials { font-size: 24px; }

  .cta { padding-block: 100px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }

  h1 { font-size: 35px; }
  h2 { font-size: 25px; }
  h3 { font-size: 20px; }

  .section { padding-block: 60px; }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 170px;
    background-position: 76% center;
  }
  .hero-copy .hero-sub { font-size: 18px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { width: 100%; }

  .split { margin-top: -90px; }
  .split-panel { padding: 34px 24px; }
  .split-panel--white h3 { font-size: 25px; line-height: 1.2; }

  .process { padding: 80px 0 40px; }
  .testimonials { padding: 80px 0 40px; }
  .testimonial blockquote { font-size: 17px; }

  .cta { padding-block: 80px; }
  .cta .btn, .linkedin-band .btn, .testimonials-cta .btn { width: 100%; }

  .page-hero { padding-top: calc(var(--header-h) + 46px); padding-bottom: 40px; }
  .page-hero h1 { font-size: 32px; max-width: none; }
  .prose h2 { font-size: 25px; }
  .booking-shell { min-height: 620px; }
  .error-page { padding-block: 120px 80px; }
  .error-page .code { font-size: 84px; }
  .error-page h1 { font-size: 30px; }
}

@media print {
  .site-header, .nav-backdrop, .cta, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Small utilities ---------- */
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.steps { list-style: none; margin-top: 50px; }

/* ---------- Responsive banner sources (smaller files on small screens) ---------- */
@media (max-width: 1280px) {
  .hero, .cta { background-image: url("../img/jaseel-banner-1280.jpg"); }
}
@media (max-width: 960px) {
  .hero, .cta { background-image: url("../img/jaseel-banner-960.jpg"); }
}
@media (max-width: 640px) {
  .hero, .cta { background-image: url("../img/jaseel-banner-640.jpg"); }
}

.section--tight { padding-top: 0; }
.section--short { padding-top: 40px; }

/* ---------- Comfortable tap targets on small screens ---------- */
@media (max-width: 860px) {
  .footer-links { flex-wrap: wrap; gap: 6px 18px; }
  .footer-links a,
  .breadcrumb a,
  .breadcrumb li { display: inline-block; padding-block: 8px; }
  .footer-inner { gap: 16px; }
}

/* ==========================================================================
   v2 — components added for services, case studies, tools and the SEO footer
   ========================================================================== */

/* ---------- Section furniture ---------- */
.section-h { font-size: 34px; line-height: 1.15; margin-bottom: 10px; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 68ch; margin: 0 0 26px; }
.eyebrow--sm { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.eyebrow--sm.eyebrow--blue { color: var(--blue); }
.page-lede { max-width: 66ch; color: var(--muted); font-size: 19px; margin-top: 18px; }
.section--services { background: rgba(0, 0, 0, .12); }
.fineprint { font-size: 14px; color: rgba(255, 255, 255, .6); }
.callout {
  border-left: 3px solid var(--orange);
  background: var(--glass);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-top: 26px;
}

/* ---------- Nav dropdown ---------- */
.nav-list .has-sub { position: relative; }
.sub-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  position: absolute; right: 0; top: 2px;
}
.sub-toggle::after {
  content: ""; display: block; margin: 0 auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-3px, -3px); }

.sub-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 14px); left: -18px;
  min-width: 264px;
  background: var(--blue-deep);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 20;
}
.nav-list .has-sub:hover > .sub-menu,
.nav-list .has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: rgba(255, 255, 255, .1); color: var(--orange-hover); }
.nav-list .has-sub > a::before {
  content: ""; position: absolute; left: 0; right: -14px; top: 100%; height: 18px;
}

/* ---------- Cards ---------- */
.card--link h3 a { color: var(--white); }
.card--link h3 a:hover { color: var(--orange-hover); }
.card--link { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card--link:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .14); }
.card h2 { font-size: 21px; margin-bottom: 10px; }

/* ---------- Stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.stat {
  background: var(--glass);
  border-radius: 10px;
  padding: 26px;
  border-top: 3px solid var(--orange);
}
.stat-k { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat-v { display: block; font-size: 26px; font-weight: 700; margin: 6px 0 8px; }
.stat p { color: var(--muted); font-size: 15px; margin: 0; }
.stat--warn { border-top-color: #ff5c5c; }
.stat--warn .stat-v { color: #ff8a8a; }

/* ---------- Lists ---------- */
.ticks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .45em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--white); }

.numbered { counter-reset: n; list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 18px; }
.numbered li { counter-increment: n; position: relative; padding-left: 48px; color: var(--muted); }
.numbered li::before {
  content: counter(n);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange); color: var(--black);
  font-weight: 700; font-size: 15px;
}
.numbered strong { color: var(--white); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.chips li {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- FAQ body ---------- */
.faq-body { margin-top: 12px; }
.faq-body p { color: var(--muted); margin: 0 0 .8em; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--orange-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-col .form { max-width: none; margin-top: 20px; }
.contact-direct { margin-top: 36px; background: var(--glass); border-radius: 10px; padding: 26px; }
.contact-direct h3 { font-size: 18px; margin-bottom: 14px; }
.contact-list { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; color: var(--muted); }
.contact-list span { color: rgba(255, 255, 255, .55); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.contact-list a { color: var(--orange-hover); }

/* ---------- Case studies ---------- */
.case {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  padding: 44px 0;
  border-top: 3px solid var(--line);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-meta h2 { font-size: 32px; line-height: 1.1; }
.case-tag { color: var(--muted); font-size: 15px; margin-top: 10px; }
.case-body h3 { font-size: 18px; margin: 22px 0 10px; color: var(--orange-hover); }
.case-body h3:first-child { margin-top: 0; }
.case-body p { color: var(--muted); }
.case-note {
  margin-top: 18px; font-size: 14px;
  color: rgba(255, 255, 255, .6);
  border-left: 2px solid var(--line); padding-left: 14px;
}
.case-note strong { color: var(--muted); }

/* ---------- Tools ---------- */
.tool-list { list-style: none; display: grid; gap: 20px; }
.tool {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 34px;
}
.tool-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 16px; }
.tool-ico {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 148, 0, .16);
  color: var(--orange);
}
.tool-ico svg { width: 26px; height: 26px; }
.tool h3 { font-size: 24px; line-height: 1.2; margin-top: 8px; }
.tool h3 a { color: var(--white); }
.tool h3 a:hover { color: var(--orange-hover); }
.tool > p { color: var(--muted); }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: var(--muted);
}
.tag--free { background: var(--orange); color: var(--black); }
.tag--new { background: #1f8a5b; color: #fff; }
.tool-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 20px 0; font-size: 15px; }
.tool-meta li { display: grid; }
.tool-meta span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.tool-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- ConvoPixel events ---------- */
.event-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.event-col { background: var(--glass); border-radius: 12px; padding: 30px; }
.event-col h3 { font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.event-col .count {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  background: rgba(255, 148, 0, .2); color: var(--orange-hover);
  padding: 4px 10px; border-radius: 999px;
}
.event-list { list-style: none; display: grid; gap: 12px; }
.event-list li { display: grid; gap: 3px; }
.event-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; color: var(--orange-hover);
}
.event-list span { color: var(--muted); font-size: 14px; }

/* ---------- Flow diagram ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.flow-node { background: var(--glass); border-radius: 12px; padding: 26px; }
.flow-node h3 { font-size: 17px; margin-bottom: 8px; }
.flow-node p { color: var(--muted); font-size: 15px; margin: 0; }
.flow-node--mid { border: 2px solid var(--orange); background: rgba(255, 148, 0, .12); }
.flow-arrow { font-size: 26px; color: var(--orange); text-align: center; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td { color: var(--muted); }
.compare td.yes { color: var(--white); font-weight: 600; background: rgba(255, 148, 0, .08); }

/* ---------- Hero extras ---------- */
.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.hero-pills li {
  font-size: 14px; font-weight: 600;
  background: var(--glass); border-radius: 999px; padding: 6px 14px;
}
.hero-fineprint { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 16px; }
.page-hero .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 404 extras ---------- */
.error-links { margin-top: 56px; }
.error-links h2 { font-size: 18px; margin-bottom: 14px; }
.error-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 15px; }
.error-links a { color: var(--muted); }
.error-links a:hover { color: var(--orange-hover); }

/* ---------- Compact steps ---------- */
.steps--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; margin-top: 30px; }
.steps--compact .step { padding-bottom: 34px; }
.steps--compact .step h3 { font-size: 20px; }
.steps--compact .step-num { font-size: 30px; }
.steps--compact code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em; background: rgba(0, 0, 0, .22); padding: 2px 6px; border-radius: 4px;
}

/* ==========================================================================
   SEO footer
   ========================================================================== */
.site-footer { padding-block: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-col--brand img { width: 150px; margin-bottom: 18px; }
.footer-blurb { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-h {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-col ul a { color: var(--muted); }
.footer-col ul a:hover { color: var(--orange-hover); }
.footer-note { color: rgba(255, 255, 255, .5); font-size: 13px; margin: 16px 0 18px; }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.site-footer .social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.footer-col--brand ul.social { grid-template-columns: none; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 24px;
}
.footer-legal { list-style: none; display: flex; gap: 20px; font-size: 14px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--orange-hover); }

/* ==========================================================================
   v2 responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .case { grid-template-columns: 240px 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .section-h { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .event-cols { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 860px) {
  .nav-list .has-sub { padding-right: 44px; }
  .sub-toggle { display: block; }
  .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0, 0, 0, .2);
    padding: 6px; margin: 4px 0 10px;
    min-width: 0;
    display: none;
  }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .nav-list .has-sub:hover > .sub-menu,
  .nav-list .has-sub:focus-within > .sub-menu { display: none; }
  .nav-list .has-sub .sub-toggle[aria-expanded="true"] ~ .sub-menu { display: block; }

  .case { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .steps--compact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; padding-block: 48px 36px; }
}

@media (max-width: 560px) {
  .section-h { font-size: 24px; }
  .section-lede { font-size: 16px; }
  .page-lede { font-size: 17px; }
  .page-hero .hero-actions .btn,
  .tool-cta .btn { width: 100%; }
  .tool { padding: 26px 22px; }
  .tool-head { gap: 14px; }
  .tool h3 { font-size: 20px; }
  .stat { padding: 22px; }
  .case-meta h2 { font-size: 25px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .event-col { padding: 24px 20px; }
  .error-links ul { flex-direction: column; gap: 10px; }
}
