:root {
  --bg: #ffffff;
  --tint: #f6f5fd;
  --ink: #0e0d24;
  --ink-soft: #5c5b74;
  --line: #e8e6f4;
  --brand: #5b4cf5;
  --brand-dark: #4636e0;
  --brand-soft: #ece9ff;
  --navy: #0f0e2b;
  --navy-2: #1a1940;
  --green: #12a46b;
  --mustard: #f9b302;
  --radius: 20px;
  --max: 1160px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 60px -20px rgba(31, 22, 120, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { padding: 110px 0; }
.tint { background: var(--tint); }

h1, h2, h3, .hero-title { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h2, h3 { text-wrap: balance; }
.hero-title { font-size: clamp(2.7rem, 5vw, 3.9rem); color: var(--ink); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }

mark {
  background: none;
  color: var(--brand);
  /* Hand-drawn mustard brush stroke under each line of the highlighted phrase */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 45 4, 110 3, 197 8' fill='none' stroke='%23f9b302' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 100%;
  padding-bottom: 0.12em;
  margin-right: -0.05em; /* pull the full stop in close to the highlighted word */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 58ch; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head .lede { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--head);
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 76, 245, .7); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

/* Logo — recreated as live text so it stays sharp at any size */
.logo {
  font-family: "Bebas Neue", Impact, sans-serif;
  text-decoration: none;
  line-height: 0.88;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  display: inline-block;
  text-align: center;
}
.logo span { display: block; }
.logo small { display: block; font-size: 0.42em; letter-spacing: 0.18em; margin-top: 4px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-links .btn { padding: 11px 20px; font-size: 0.93rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
  padding: 44px 0 100px;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(91, 76, 245, .14), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(91, 76, 245, .06), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-family: var(--head); font-weight: 700; font-size: 0.86rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
h1.pill { letter-spacing: 0; line-height: 1.3; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,164,107,.18); }
.hero .lede { margin: 20px 0 28px; font-size: 1.25rem; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.92rem; color: var(--ink-soft); }
.hero-proof li { position: relative; padding-left: 15px; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--mustard); }
.hero-proof b { color: var(--ink); font-family: var(--head); white-space: nowrap; }

.hero-visual { position: relative; padding: 78px 10px 50px 40px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-main { padding: 28px; }
.real-badge {
  display: inline-block; margin-bottom: 12px;
  background: #e3f7ee; color: #0c7a4f;
  font-family: var(--head); font-weight: 700; font-size: 0.75rem;
  padding: 4px 10px; border-radius: 999px;
}
.card-label { font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; }
.card-figure { font-family: var(--head); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; margin: 4px 0 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.up { font-size: 0.85rem; font-weight: 700; color: var(--green); background: #e3f7ee; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }
.chart { width: 100%; height: 110px; display: block; }
.flows { margin-top: 18px; display: grid; gap: 2px; }
.flows div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.flows span { color: var(--ink-soft); }
.flows div:first-child { border-top: 0; padding-bottom: 4px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.flows b { font-family: var(--head); }

.card-share { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: 0.85rem; }
.card-share b { display: block; font-family: var(--head); font-size: 0.95rem; }
.card-share span { color: var(--ink-soft); }
.card-share { left: -10px; bottom: 0; }
.ring {
  width: 58px; height: 58px; border-radius: 50%;
  background: conic-gradient(var(--brand) 0 80%, var(--brand-soft) 80% 100%);
  display: grid; place-items: center;
}
.ring span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 0.66rem; letter-spacing: -0.02em; color: var(--ink); }
/* Stack of "new order" notifications on the hero graphic */
.pings { position: absolute; right: -18px; top: 0; width: max-content; display: flex; flex-direction: column; align-items: flex-start; }
.ping-card {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 34px -14px rgba(31, 22, 120, .3);
  padding: 8px 14px 8px 10px; font-size: 0.76rem; line-height: 1.3; white-space: nowrap;
  animation: ping-in .5s ease both;
}
/* each notification steps down and to the right, overlapping the one before */
.ping-card + .ping-card { margin-top: -16px; }
.ping-card:nth-child(2) { margin-left: 64px; }
.ping-card:nth-child(3) { margin-left: 128px; }
.ping-card:nth-child(2) { animation-delay: .6s; }
.ping-card:nth-child(3) { animation-delay: 1.2s; }
.ping-card b { display: block; font-family: var(--head); font-size: 0.84rem; }
.ping-card span:not(.ping) { color: var(--ink-soft); }
/* hold the notifications back until the graphic is on screen (the script adds .is-visible) */
.pings:not(.is-visible) .ping-card { animation-play-state: paused; }
@keyframes ping-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
@keyframes ping-fade { from { opacity: 0; } }
/* phones with Reduce Motion switched on still get a gentle fade, just no movement */
@media (prefers-reduced-motion: reduce) { .ping-card { animation-name: ping-fade; } }
.ping { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: #e3f7ee; color: var(--green); display: grid; place-items: center; font-weight: 800; font-family: var(--head); }

/* Proof band: a slim, slowly scrolling strip of reviews under the hero */
.proof-band { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 14px 0; }
.proof-track { display: flex; width: max-content; animation: proof-scroll 45s linear infinite; }
.proof-band:hover .proof-track { animation-play-state: paused; }
.proof-set { list-style: none; display: flex; gap: 48px; padding-right: 48px; }
.proof-set li { white-space: nowrap; font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.proof-set li b { color: var(--mustard); letter-spacing: 1px; margin-right: 4px; }
.proof-set li em { font-style: normal; color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.proof-set li em::before { content: "- "; }
@keyframes proof-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .proof-band { overflow-x: auto; }
  .proof-track { animation: none; }
}

/* Problem */
.symptoms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.symptoms div {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard); border-radius: var(--radius);
  padding: 26px 24px 28px; box-shadow: 0 18px 40px -24px rgba(31, 22, 120, .32);
  transition: transform .2s ease;
}
.symptoms div:hover { transform: translateY(-4px); }
.symptoms span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); font-family: var(--head); font-weight: 800; font-size: 0.95rem;
}
.symptoms div:nth-child(even) span { background: #fff3cc; color: #b07d00; }
.symptoms p { margin-top: 12px; font-weight: 500; line-height: 1.5; }

.inline-cta {
  margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px;
}
.inline-cta p { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.inline-cta.on-dark { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.center-cta { text-align: center; margin-top: 52px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  position: relative;
}
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 22px;
}
.service.featured { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow); }
.service.featured .icon { background: rgba(255,255,255,.16); color: #fff; }
.service.featured .service-desc, .service.featured .price small { color: rgba(255,255,255,.78); }
.service.featured li::before { background: rgba(255,255,255,.2); color: #fff; }
.badge {
  position: absolute; top: 30px; right: 26px;
  background: var(--mustard); color: var(--ink);
  font-family: var(--head); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.service-desc { color: var(--ink-soft); margin: 10px 0 22px; }
.price { font-family: var(--head); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 26px; }
.price small { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.service ul { list-style: none; display: grid; gap: 11px; margin-bottom: 32px; }
.service li { padding-left: 32px; position: relative; font-size: 0.97rem; }
.service li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800;
}
.service .btn { margin-top: auto; }
.platform-note {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  color: var(--ink-soft); font-size: 0.97rem;
}
.platform-note strong { color: var(--ink); }

/* Dark sections */
.dark { background: var(--navy); color: #fff; }
.dark .lede { color: #b4b2d4; }
.dark .eyebrow { color: var(--mustard); }

/* Results */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.case.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #22205a, var(--navy-2)); }
.case-tag { font-size: 0.78rem; font-weight: 600; color: var(--mustard); text-transform: uppercase; letter-spacing: 0.08em; }
.case-big { font-family: var(--head); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; margin: 16px 0 10px; }
.case.lead .case-big { font-size: clamp(3.4rem, 7vw, 5.6rem); }
.case h3 { color: #fff; font-weight: 700; font-size: 1.12rem; max-width: 34ch; margin-bottom: 22px; }
.case-story { color: #b4b2d4; font-size: 0.95rem; margin: 12px 0 24px; }
.case.lead .case-story { margin-bottom: 0; max-width: 52ch; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; margin-top: auto; }
.case.lead .case-stats { border-top: 0; padding-top: 0; gap: 14px; }
.case.lead .case-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; }
.case-stats b { font-family: var(--head); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; display: block; color: #fff; }
.case-stats span { font-size: 0.85rem; color: #b4b2d4; line-height: 1.4; display: block; margin-top: 2px; }
.proof-note { text-align: center; color: #8e8cb3; font-size: 0.88rem; margin-top: 22px; }

/* Email gallery */
.work { background: var(--tint); }
.email-strip {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 6px max(20px, calc((100vw - var(--max)) / 2)) 18px;
  cursor: grab; scrollbar-width: none; user-select: none;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.email-strip::-webkit-scrollbar { display: none; }
.email-strip.is-dragging { cursor: grabbing; }
.email-tile { flex: 0 0 230px; }
.email-frame {
  display: block; height: 400px; overflow-y: auto; overscroll-behavior-y: auto;
  border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(31, 22, 120, .35);
  scrollbar-width: none; cursor: inherit;
}
.email-frame::-webkit-scrollbar { display: none; }
.email-frame:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.email-frame img { width: 100%; display: block; pointer-events: none; }
.strip-hint { text-align: center; color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; margin-top: 10px; }
.hint-mobile { display: none; }
@media (hover: none) {
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
}
/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--tint); border-radius: var(--radius); padding: 34px 30px; }
.num {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--head); font-weight: 800; margin-bottom: 22px;
}
.step p { color: var(--ink-soft); margin-top: 10px; }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.about-photos { position: relative; margin: 0 28px 40px 0; }
.about-photos > img { width: 100%; border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; box-shadow: var(--shadow); }
.archie { position: absolute; right: -28px; bottom: -40px; width: 46%; transform: rotate(3deg); }
.archie img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 35% 40%; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow); }
.archie figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: var(--mustard); color: var(--ink); white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: 0.78rem;
  padding: 6px 12px; border-radius: 999px;
}
.about p { color: var(--ink-soft); margin-top: 18px; }
.about .btn { margin-top: 30px; }
.about-points { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.about-points li { padding-left: 32px; position: relative; font-weight: 500; }
.about-points li::before {
  content: "✓"; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800;
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stars { color: var(--mustard); letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { font-size: 1.06rem; line-height: 1.6; flex: 1; }
.quote figcaption { margin-top: 20px; font-size: 0.93rem; color: var(--ink-soft); }
.quote figcaption strong { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px; }
.panel h3 { margin-bottom: 20px; }
.calendar-slot {
  border: 2px dashed var(--line);
  border-radius: 14px;
  min-height: 440px;
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); padding: 24px; font-size: 0.95rem;
  background: var(--tint);
}
form { display: grid; gap: 16px; }
label { font-size: 0.88rem; font-weight: 600; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; font-weight: 400;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.faq .lede { margin: 16px 0 26px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; background: #fff; }
details[open] { border-color: var(--brand); }
summary {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); margin-top: 12px; }

/* Footer */
footer { border-top: 1px solid rgba(255,255,255,.08); background: var(--navy); color: #a9a7c7; padding: 64px 0 40px; font-size: 0.93rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer .logo { color: #fff; font-size: 1.6rem; }
footer .logo small { color: var(--mustard); }
.footer-blurb { margin-top: 18px; max-width: 30ch; }
footer h4 { color: #fff; font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1240px) {
  .pings { right: 0; }
}
@media (max-width: 1000px) {
  .symptoms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero .wrap, .about, .faq, .contact-grid, .cases, .quotes { grid-template-columns: 1fr; gap: 44px; }
  .services-grid, .steps { grid-template-columns: 1fr; }
  .case.lead { grid-template-columns: 1fr; gap: 28px; }
  .service.featured { order: -1; }
  .hero-visual { max-width: 520px; padding: 56px 0 60px; }
  .hero { padding-top: 28px; }
  .card-share { left: 0; }
  .pings { right: 0; top: -22px; }
  .ping-card:nth-child(n+3) { display: none; }
  .about-photos { max-width: 420px; margin-right: 20px; }
  .archie { right: -20px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: #fff; padding: 24px 20px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .symptoms, .form-row { grid-template-columns: 1fr; }
  .email-strip { padding-inline: 16px; gap: 14px; }
  .email-tile { flex-basis: 62vw; }
  .email-frame { height: 380px; }
  .panel, .service, .case, .quote { padding: 26px 22px; }
  .hero .btn-lg, .inline-cta .btn { width: 100%; }
  .card-figure { font-size: 2rem; }
  footer .wrap { grid-template-columns: 1fr; }
}

.section-head .lede + .lede { margin-top: 14px; }
.say-it {
  display: inline-block;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--mustard);
  border-radius: 12px; padding: 12px 16px; font-size: 0.97rem;
}
.say-it strong { color: var(--ink); white-space: nowrap; }

/* ---------- Shared bits for inner pages ---------- */

/* Services dropdown in the menu */
.has-menu { position: relative; }
.has-menu > a::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sub-menu {
  list-style: none; position: absolute; top: 100%; left: -14px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none; margin-top: 10px;
}
.sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .sub-menu, .has-menu:focus-within .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 9px; }
.sub-menu a:hover { background: var(--tint); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.more-link { display: block; text-align: center; margin-top: 14px; font-weight: 600; font-size: 0.93rem; color: var(--brand); text-decoration: none; }
.service.featured .more-link { color: #fff; }
.more-link:hover { text-decoration: underline; }
.case-link { display: inline-block; margin-top: 22px; color: var(--mustard); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.case-link:hover { text-decoration: underline; }

/* Page header for inner pages */
.page-hero {
  padding: 56px 0 72px;
  background: radial-gradient(600px 360px at 85% 20%, rgba(91, 76, 245, .12), transparent 70%);
}
.page-hero .wrap { max-width: 860px; }
.page-hero .lede { margin: 20px 0 30px; font-size: 1.22rem; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); text-wrap: balance; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { text-decoration: none; color: var(--brand); }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 6px; margin-left: 4px;
  font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--ink);
}
.price-chip small { font-family: var(--body); font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); }

/* Two-column text + list block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p { color: var(--ink-soft); margin-top: 16px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800;
}

/* Grid of feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard);
  border-radius: var(--radius); padding: 26px 26px 28px;
  box-shadow: 0 16px 36px -22px rgba(31, 22, 120, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(31, 22, 120, .35); }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }
.tint .feature { background: #fff; }

/* Pricing box on service pages: a centred card */
.price-box {
  max-width: 680px; margin-inline: auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--mustard);
  border-radius: 24px; padding: 48px 44px; box-shadow: var(--shadow);
}
.price-box .eyebrow { margin-bottom: 8px; }
.price-box .price { font-size: clamp(2.6rem, 6vw, 3.4rem); color: var(--brand); margin: 0 0 18px; }
.price-box .price small { color: var(--ink-soft); }
.price-box p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }
.price-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 24px 0 30px; }
.price-points li { position: relative; padding-left: 26px; font-weight: 600; font-size: 0.93rem; }
.price-points li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 0.65rem; font-weight: 800;
}

/* Long-form text (case studies, legal pages) */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0 20px; display: grid; gap: 8px; }
.prose a:not(.btn) { color: var(--brand); }
.prose .ticks { margin-left: 0; }
.prose .ticks li { color: var(--ink); }
.shot { margin: 30px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(31,22,120,.35); background: #fff; }
.shot img { width: 100%; }
.shot figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 10px 16px; border-top: 1px solid var(--line); }

/* Big stat row at the top of case studies and the results page */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat-row div {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard);
  border-radius: 16px; padding: 22px 20px;
  box-shadow: 0 18px 40px -22px rgba(31, 22, 120, .35);
  transition: transform .2s ease;
}
.stat-row div:hover { transform: translateY(-3px); }
.stat-row div:first-child { background: var(--brand); border-color: var(--brand); border-top-color: var(--mustard); }
.stat-row div:first-child b { color: #fff; }
.stat-row div:first-child span { color: rgba(255,255,255,.82); }
.stat-row b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; color: var(--brand); line-height: 1.05; margin-bottom: 6px; }
.stat-row span { font-size: 0.88rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .price-box { padding: 36px 22px; }
  .price-points { flex-direction: column; align-items: center; }
  .has-menu > a::after { content: ""; }
  .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 4px 0 0 12px; margin: 0; min-width: 0; background: none; }
  .sub-menu a { padding: 6px 0; font-size: 0.93rem; color: var(--ink-soft); }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
}

@media (min-width: 901px) { .cases.two { grid-template-columns: 1fr 1fr; } }

.page-hero .say-it { margin-top: 22px; }

/* Inner page hero with a graphic on the right */
.page-hero.split-hero .wrap { max-width: var(--max); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.plan-visual { position: relative; padding: 10px 0 0 10px; }
.plan-card { padding: 24px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.plan-head b { font-family: var(--head); font-size: 1rem; }
.plan-head .real-badge { margin: 0; }
.plan-row { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.plan-row .day { font-family: var(--head); font-weight: 700; color: var(--brand); font-size: 0.82rem; }
.plan-row .what { font-weight: 500; }
.status { font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.status.sent { background: #e3f7ee; color: #0c7a4f; }
.status.sched { background: var(--brand-soft); color: var(--brand-dark); }
.status.draft { background: #fff3cc; color: #7a5500; }
.plan-flows { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; }
.plan-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.flow-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.flow-chips span { font-size: 0.78rem; font-weight: 600; background: var(--tint); border: 1px solid var(--line); padding: 5px 10px 5px 22px; border-radius: 999px; position: relative; }
.flow-chips span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--green); }
.plan-note { position: relative; width: max-content; margin: -16px 0 0 -18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 0.84rem; }
.plan-note .ping { background: #fff3cc; color: #b07d00; }
.plan-note b { display: block; font-family: var(--head); }
.plan-note span:not(.ping) { color: var(--ink-soft); }

/* "Who it's for" list with icons */
.split-center { align-items: center; }
.icon-list { list-style: none; display: grid; gap: 12px; }
.icon-list li {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px; font-weight: 500;
  box-shadow: 0 12px 30px -22px rgba(31, 22, 120, .3);
}
.icon-chip {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.icon-list li:nth-child(even) .icon-chip { background: #fff3cc; color: #b07d00; }
.icon-chip svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .page-hero.split-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .plan-visual { padding: 0; max-width: 480px; }
  .plan-note { margin: -14px 0 0 14px; }
}
@media (max-width: 560px) {
  .plan-card { padding: 20px 16px; }
  .plan-row { grid-template-columns: 38px 1fr auto; font-size: 0.85rem; }
}

/* Numbered action plan in the audit hero graphic */
.audit-steps { margin: 10px 0 0 18px; display: grid; gap: 6px; font-size: 0.86rem; font-weight: 500; }
.audit-steps li::marker { color: var(--brand); font-weight: 800; }
.faq-list details a { color: var(--brand); }

.plan-note.note-right { margin: -16px -18px 0 auto; }
.section-btn { margin-top: 26px; }
@media (max-width: 900px) { .plan-note.note-right { margin: -14px 14px 0 auto; } }

.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 560px) { .center-cta .btn { width: 100%; } }

/* Pop-in animation for the service page hero graphics (delay set per row with --d) */
.anim-in { animation: ping-in .5s ease both; animation-delay: var(--d, 0s); }
.animate-on-view:not(.is-visible) .anim-in { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .anim-in { animation-name: ping-fade; } }

/* ---------- Case study layout: a journey from problem to result ---------- */
.cs-hero { padding-bottom: 48px; }
.cs-body { padding-top: 56px; }
.cs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.cs-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.cs-glance {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard);
  border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px -24px rgba(31,22,120,.35);
}
.cs-glance dl { margin: 12px 0 18px; display: grid; gap: 2px; }
.cs-glance dt { font-size: 0.75rem; color: var(--ink-soft); margin-top: 10px; }
.cs-glance dd { font-weight: 600; font-size: 0.95rem; }
.cs-glance dd a { color: var(--brand); }
.cs-glance dd b { font-family: var(--head); color: var(--brand); }
.cs-glance .btn { width: 100%; }
.cs-toc { display: grid; gap: 2px; padding: 6px 0 0 4px; }
.cs-toc a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); padding: 6px 10px; border-radius: 8px; }
.cs-toc a:hover { background: var(--tint); color: var(--brand); }

.cs-steps { position: relative; display: grid; gap: 28px; }
.cs-steps::before { content: ""; position: absolute; left: 22px; top: 24px; bottom: 24px; border-left: 2px dashed var(--line); }
.cs-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  margin-left: 64px; padding: 34px 36px; box-shadow: 0 18px 40px -26px rgba(31,22,120,.3);
}
.cs-num {
  position: absolute; left: -64px; top: 30px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 0.95rem; box-shadow: 0 0 0 6px var(--bg);
}
.cs-step:nth-child(even) .cs-num { background: var(--mustard); color: var(--ink); }
.cs-step .eyebrow { margin-bottom: 8px; }
.cs-step h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.cs-step p { color: var(--ink-soft); }
.cs-step p + p { margin-top: 12px; }
.cs-step strong { color: var(--ink); }
.cs-problems { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.cs-problems span { background: #fdeeee; color: #a33a3a; font-weight: 600; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; }
.cs-problems span::before { content: "✕ "; }
.cs-did { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.cs-did li { background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: 0.93rem; }
.cs-did li b { display: block; font-family: var(--head); color: var(--brand); margin-bottom: 2px; }
.cs-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cs-shots .shot { margin: 0; }
.cs-quote {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 28px 30px;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.45; letter-spacing: -0.01em;
  position: relative; margin: 6px 0 22px;
}
.cs-quote::before { content: "“"; position: absolute; top: -18px; left: 22px; font-size: 4rem; color: var(--mustard); line-height: 1; }
.cs-step .inline-cta { margin-top: 0; }
.cs-step .inline-cta p { color: #fff; } /* beats the grey .cs-step p on the violet box */

/* More results cards */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.more-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard); border-radius: 20px;
  padding: 26px; box-shadow: 0 18px 40px -26px rgba(31,22,120,.3); transition: transform .2s ease;
}
.more-card:hover { transform: translateY(-4px); }
.more-card .case-tag { color: var(--brand); }
.more-card b { font-family: var(--head); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.more-title { font-weight: 600; flex: 1; }
.more-go { color: var(--brand); font-weight: 600; font-size: 0.93rem; }

@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; gap: 28px; }
  .cs-aside { position: static; }
  .cs-toc { display: none; }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cs-steps::before { left: 18px; }
  .cs-step { margin-left: 0; padding: 72px 20px 26px; }
  .cs-num { left: 20px; top: 20px; width: 40px; height: 40px; box-shadow: none; }
  .cs-steps::before { display: none; }
  .cs-did, .cs-shots { grid-template-columns: 1fr; }
  .cs-quote { font-size: 1.05rem; padding: 26px 22px; }
}

.cs-shots.single { grid-template-columns: minmax(0, 520px); }

/* Match the homepage's tighter top spacing on phones and tablets */
@media (max-width: 900px) { .page-hero { padding-top: 28px; } }

.say-it { font-style: italic; }

/* Case study hero with a photo on the right */
.cs-hero .wrap.cs-hero-grid { max-width: var(--max); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.cs-hero-grid .stat-row, .cs-hero-grid .hero-ctas { grid-column: 1 / -1; }
.cs-hero-grid .stat-row { margin-top: 8px; }
.cs-hero-img { margin: 0; position: relative; }
.cs-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.cs-hero-img::after {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 90px; height: 90px;
  border-radius: 20px; background: var(--mustard); z-index: -1;
}
@media (max-width: 900px) {
  .cs-hero .wrap.cs-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .cs-hero-img img { aspect-ratio: 16 / 10; }
  .cs-hero-img::after { display: none; }
}

.footer-base span { line-height: 1.6; }
.footer-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: #fff; font-weight: 500; }
.footer-email svg { width: 18px; height: 18px; color: var(--mustard); flex-shrink: 0; }
.footer-email:hover { color: var(--mustard); }

/* Inline call-to-action strip: violet so it stands out on light sections */
.inline-cta { background: linear-gradient(135deg, #6a5cff, var(--brand) 55%, #3f2fd6); border-color: transparent; color: #fff; box-shadow: var(--shadow); }
.inline-cta .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.inline-cta .btn-primary:hover { background: var(--mustard); color: var(--ink); }
.inline-cta.on-dark { background: linear-gradient(135deg, #6a5cff, var(--brand) 55%, #3f2fd6); border-color: transparent; }

/* Service card icons: same size whichever symbol */
.icon svg { width: 24px; height: 24px; }

/* "How it works" steps with a bit more life */
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mustard);
  box-shadow: 0 18px 40px -24px rgba(31, 22, 120, .32);
}
.tint .step { background: #fff; }
.num { width: 50px; height: 50px; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--brand-soft); }
.step:nth-child(2) .num { background: var(--mustard); color: var(--ink); box-shadow: 0 0 0 6px #fff3cc; }
@media (min-width: 901px) {
  .step:not(:last-child)::after {
    content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); z-index: 1;
    width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--brand); font-weight: 800; box-shadow: 0 6px 16px -8px rgba(31,22,120,.4);
  }
}

/* About: on desktop the photo stays in view while you read the text beside it */
@media (min-width: 901px) {
  .about { align-items: start; }
  .about .about-photos { position: sticky; top: 110px; }
}

/* Calendly booking calendar */
.calendly-inline-widget { min-width: 280px; height: 700px; border-radius: 14px; overflow: hidden; background: var(--tint); }
.calendar-fallback { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.calendar-fallback a { color: var(--brand); font-weight: 600; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 100; max-width: 420px;
  background: var(--navy); color: #fff; border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 24px 60px -18px rgba(14, 13, 36, .6);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.9rem; color: #d6d4f0; line-height: 1.5; }
.cookie-banner p b { color: #fff; font-family: var(--head); }
.cookie-banner a { color: var(--mustard); }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.9rem; }
.btn-cookie-yes { background: var(--mustard); color: var(--ink); }
.btn-cookie-no { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.cookie-settings { all: unset; cursor: pointer; }
.cookie-settings:hover { color: #fff; }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cookie-actions .btn { flex: 1; }
}
