/* NolanWit shared styles for service pages */
:root {
  --navy: #0E1F3B;
  --blue: #2556D9;
  --paper: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #0E1A2B;
  --muted: #56637A;
  --line: #DCE3EE;
  --alert: #B4410E;
  --alert-bg: #FDF0E8;
  --ok: #17784F;
  --ok-bg: #E6F4EC;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 18ch; }
h3 { font-size: 1.6rem; }
p { margin: 0; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark img { height: 36px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links .btn { color: #fff; }
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; gap: 20px; overflow-x: auto; }
  .nav-links .btn { display: none; }
}
.nav .btn-top { display: none; padding: 10px 18px; }
@media (max-width: 720px) { .nav .btn-top { display: inline-block; } }

.btn { display: inline-block; background: var(--blue); color: #fff; padding: 14px 24px; border-radius: 8px; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-quiet { background: transparent; color: var(--ink); padding: 14px 4px; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 13ch; }
.hero .lede { margin-top: 24px; color: var(--muted); font-size: 1.2rem; max-width: 46ch; }
.hero .actions { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-3px); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; } }

/* Stat bar */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 20px 24px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Shared screen mockups: laptop / browser frame */
.scene { position: relative; margin: 0; padding: 40px 0 24px; }
.scene .photo { position: absolute; inset: 0 18% 22% -6%; border-radius: 18px; background-size: cover; background-position: center; }
.laptop { position: relative; width: 100%; max-width: 540px; margin-left: auto; }
.screen { background: #1B2333; border-radius: 14px 14px 4px 4px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(14,31,59,.45); }
.base { height: 14px; background: linear-gradient(#C9D1DE, #9AA5B8); border-radius: 0 0 14px 14px; margin: 0 -4%; }
.chrome { display: flex; align-items: center; gap: 6px; background: #EEF1F5; border-radius: 8px 8px 0 0; padding: 8px 10px; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #C7CDD8; }
.chrome span { min-width: 0; margin-left: 10px; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 0.72rem; color: #5A6578; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash { background: #fff; color: #0F1111; padding: 16px; display: grid; gap: 12px; font-size: 0.82rem; line-height: 1.35; border-radius: 0 0 6px 6px; }
.panel { border: 1px solid #D5D9DE; border-radius: 6px; }
.panel h4 { margin: 0; font-size: 0.95rem; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid #E3E6EA; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.risk { background: #C62828; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tri { width: 20px; height: 18px; flex: none; }

.banner { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; padding: 10px 14px; border-radius: 8px; box-shadow: 0 14px 30px -10px rgba(14,31,59,.5); white-space: nowrap; }
.banner.red { background: #C62828; color: #fff; top: 8px; left: -2%; transform: rotate(-6deg); font-size: 1rem; padding: 12px 16px; }
.banner.amber { background: #FFF4D6; color: #6B4500; border: 1px solid #F0C24B; bottom: 0; left: 4%; transform: rotate(4deg); }
.banner.white { background: #fff; color: #0F1111; border: 1px solid #D5D9DE; top: 40%; right: -4%; transform: rotate(7deg); }
.banner .tri { width: 16px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .banner { animation: drop .55s cubic-bezier(.2,.9,.3,1.3) both; }
  .banner.red { animation-delay: .5s; }
  .banner.white { animation-delay: .85s; }
  .banner.amber { animation-delay: 1.2s; }
  @keyframes drop { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 520px) { .banner.white { right: 0; } .banner.red { left: 0; } .dash { font-size: 0.75rem; } .banner { font-size: 0.8rem; } }

/* Sections */
section.block { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.intro { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin-top: 18px; }

.problems { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.problem { padding: 22px 0; border-bottom: 1px solid var(--line); }
.problem h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.problem p { color: var(--muted); margin-top: 6px; font-size: 1rem; }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }

.pair { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.pane ul { margin: 18px 0 0; padding-left: 1.1em; color: var(--muted); }
.pane li + li { margin-top: 8px; }
.pane p { color: var(--muted); margin-top: 12px; }
@media (max-width: 1000px) { .pair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* Split layout with a graphic */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Support-loop thread */
.thread { display: grid; gap: 12px; }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.msg header { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.msg p { font-size: 0.97rem; }
.msg .tag { font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--line); color: var(--muted); white-space: nowrap; }
.msg.closed p { color: var(--muted); }
.msg.win { border-color: var(--ok); }
.msg.win .tag { background: var(--ok-bg); color: var(--ok); }

/* Audience */
.who { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.who h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; line-height: 1.35; padding-top: 14px; border-top: 2px solid var(--blue); }
.who p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* Dark proof band */
.proof { background: var(--navy); color: #E9EEF7; border-top: 0; }
.proof h2 { color: #fff; }
.proof .intro { color: #AEBBD3; }
.story { margin-top: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: #fff; }
.story .facts { display: grid; gap: 20px; }
.fact { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.fact b { display: block; font-size: 1.5rem; font-weight: 600; color: #fff; }
.fact span { color: #AEBBD3; font-size: 0.95rem; }
.brands { margin-top: 56px; color: #AEBBD3; font-size: 0.95rem; }
.brands p + p { margin-top: 6px; }
.brands strong { color: #fff; font-weight: 500; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 36px; } }

/* Case study */
.case { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.case > div { padding: 28px; }
.case > div + div { border-left: 1px solid var(--line); }
.case h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.case p { margin-top: 8px; }
.case .result { background: var(--ok-bg); }
.case .result h3 { color: var(--ok); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Process */
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 12px; }
.steps h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; }
.steps p { color: var(--muted); margin-top: 6px; }
.note { margin-top: 36px; color: var(--muted); font-size: 0.97rem; max-width: 70ch; }
@media (max-width: 900px) { .steps, .steps.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps.three { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.prices { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.price { padding: 28px; }
.price + .price { border-left: 1px solid var(--line); }
.price h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.price .amt { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; margin-top: 10px; }
.price p { color: var(--muted); font-size: 0.97rem; margin-top: 10px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } .price + .price { border-left: 0; border-top: 1px solid var(--line); } }

/* FAQ */
.faq { margin-top: 40px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 62ch; }

/* Urgency band */
.urgent { background: var(--alert-bg); border-top: 0; }
.urgent .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.urgent h2 { max-width: 22ch; }
.urgent p { color: var(--muted); margin-top: 10px; max-width: 52ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact .me { display: flex; gap: 16px; align-items: center; margin-top: 28px; }
.contact .me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.contact .me span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.contact .me strong { color: var(--ink); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
form .fine { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Cross-links */
.more { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.more a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; text-decoration: none; color: var(--ink); }
.more a:hover { border-color: var(--blue); }
.more b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; display: block; }
.more span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 640px) { .more { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 40px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Real screenshots (Amazon case study) */
.shots { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shots figcaption { padding: 10px 16px; font-size: 0.88rem; font-weight: 600; }
.shots .bad figcaption { background: var(--alert-bg); color: var(--alert); }
.shots .good figcaption { background: var(--ok-bg); color: var(--ok); }
.shots img { width: 100%; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.reach { margin-top: 20px; color: var(--muted); font-size: 0.97rem; }
.reach a { color: var(--ink); font-weight: 600; }
