/* MoreClientWorks page styles. One idea carries the design: the lead-stage ramp
   (New -> Won runs from signal blue to growth teal). It colours the brand mark,
   the How It Works steps and the status dots in the workspace mockup. */
:root {
  --ink: #0e2240;
  --ink-deep: #0a1a33;
  --blue: #1a5fd6;
  --blue-dark: #154cb0;
  --blue-tint: #e3ecfb;
  --teal: #0c8c7e;
  --teal-text: #08665c;
  --teal-tint: #ddf3ef;
  --paper: #f4f7fb;
  --desk: #e9eff7;
  --line: #d6dfea;
  --control: #7d8ba0;
  --muted: #5b6b82;
  --on-ink: #ffffff;
  --on-ink-muted: #c9d5e6;
  --error: #a4161a;
  /* lead stages; white text passes on each (large text) */
  --stage-new: #1a5fd6;
  --stage-contacted: #1670c2;
  --stage-qualified: #0f7aa8;
  --stage-booked: #0b8290;
  --stage-won: #0a7f62;
  --stage-lost: #64748b;
  --ramp: linear-gradient(90deg, var(--stage-new), var(--stage-qualified), var(--stage-won));
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: max(1rem, calc((100% - 72rem) / 2));
  --radius-surface: 20px;
  --radius-tile: 12px;
  --radius-control: 8px;
  --lift: 0 1px 2px rgba(14, 34, 64, 0.06), 0 16px 40px rgba(14, 34, 64, 0.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, nav a, #help .choice { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; color: inherit; font-weight: 800; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: #bfe8e1; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.5vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; }
h1 span { display: block; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 1rem; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
h2:focus { outline: none; }
h2:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  color: var(--on-ink);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand::before {
  content: "";
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 6px;
  background: var(--ramp);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.brand:hover { color: var(--on-ink); }
nav { display: flex; align-items: center; gap: 0 1.25rem; }
@media (max-width: 63.99em) {
  /* one swipeable row instead of three wrapped rows; the page itself never scrolls sideways */
  nav {
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: none; white-space: nowrap; }
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover { color: var(--on-ink); text-decoration: underline; }
nav a[href="#final-cta"] {
  padding: 0 1rem;
  border: 1.5px solid #8fb4ff;
  border-radius: 999px;
  color: var(--on-ink);
}
nav a[href="#final-cta"]:hover { background: var(--blue); border-color: var(--blue); text-decoration: none; }
.site-header :focus-visible, #hero :focus-visible, #final-cta > h2:focus-visible, footer :focus-visible { outline-color: #8fb4ff; }
@media (min-width: 64em) {
  html { scroll-padding-top: 5rem; }
  .site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* ---------- sections ---------- */
main > section, footer { padding: 4rem var(--gutter); scroll-margin-top: 0.5rem; }
@media (min-width: 48em) {
  main > section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
}
main > section > p { max-width: 38rem; font-size: 1.125rem; }
#the-solution, #who-its-for { background: var(--paper); }
#lead-management-preview { background: var(--desk); }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-control);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-primary { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #ffffff; }
.btn-secondary { background: transparent; border-color: currentColor; color: inherit; }
.btn-secondary:hover { color: inherit; background: rgba(255, 255, 255, 0.08); }

/* ---------- hero ---------- */
#hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  background: var(--ink);
  color: var(--on-ink);
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}
#hero .lead { max-width: 34rem; margin: 1.5rem 0 0; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); color: var(--on-ink-muted); }
#hero .btn-secondary { border-color: #8fb4ff; }
.hero-img { display: block; width: 100%; max-width: 32rem; border-radius: var(--radius-surface); }
@media (min-width: 56em) {
  #hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; padding-top: 5rem; padding-bottom: 6rem; }
  .hero-img { justify-self: end; }
}

/* ---------- the problem ---------- */
#the-problem ul { list-style: none; padding: 0; margin: 2rem 0 0; max-width: 44rem; }
#the-problem li {
  position: relative;
  padding: 1.125rem 0 1.125rem 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
}
#the-problem li:last-child { border-bottom: 1px solid var(--line); }
#the-problem li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.65rem;
  width: 1rem;
  height: 2px;
  background: var(--stage-lost);
}
@media (min-width: 56em) {
  #the-problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: 4rem; align-items: start; }
  #the-problem h2, #the-problem > p { grid-column: 1; }
  #the-problem ul { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* ---------- the solution ---------- */
.solution-blocks { display: grid; gap: 1.25rem; margin-top: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.solution-blocks article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
}
/* dashed = not built yet; the same convention as the "Preview / coming soon" label */
#solution-workspace { border: 1.5px dashed var(--control); background: transparent; }
.solution-blocks h3 { margin-bottom: 0.75rem; }
.solution-blocks .cta-row { margin-top: auto; padding-top: 0.5rem; }
.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-tint);
}
.availability::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 2px solid currentColor; }
#solution-advertising .availability { color: var(--teal-text); background: var(--teal-tint); }
#solution-advertising .availability::before { background: currentColor; }

/* ---------- how it works ---------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2rem; counter-reset: step; max-width: 64rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; font-size: 1.0625rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--stage-new);
}
.steps li:nth-child(2)::before { background: var(--stage-qualified); }
.steps li:nth-child(3)::before { background: var(--stage-won); }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 3.25rem;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(var(--stage-new), var(--stage-qualified));
}
.steps li:nth-child(2)::after { background: linear-gradient(var(--stage-qualified), var(--stage-won)); }
.steps strong { display: block; margin-bottom: 0.25rem; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .steps li { padding-left: 0; padding-top: 4.25rem; }
  .steps li:not(:last-child)::after {
    left: 3.5rem;
    right: -1.75rem;
    top: calc(1.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--stage-new), var(--stage-qualified));
  }
  .steps li:nth-child(2)::after { background: linear-gradient(90deg, var(--stage-qualified), var(--stage-won)); }
}

/* ---------- who it's for ---------- */
.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.cards li {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  gap: 0.875rem;
  font-weight: 700;
  font-size: 1.0625rem;
}
.cards svg {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-tint);
}

/* ---------- lead management preview ---------- */
#lead-management-preview > .availability { margin-top: -0.25rem; justify-self: start; }
#lead-preview-mockup {
  max-width: 52rem;
  margin: 2.5rem 0 0;
  padding: 0 1.5rem 1.25rem;
  background: #ffffff;
  border-radius: var(--radius-surface);
  box-shadow: var(--lift);
  overflow-x: auto;
}
#lead-preview-mockup::before {
  content: "";
  display: block;
  height: 6px;
  margin: 0 -1.5rem 1.25rem;
  background: var(--ramp);
}
.sample-label {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--ink);
}
#lead-preview-mockup table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
#lead-preview-mockup caption { padding-bottom: 0.75rem; text-align: left; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; }
#lead-preview-mockup th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
}
#lead-preview-mockup th:first-child { border-radius: var(--radius-control) 0 0 var(--radius-control); }
#lead-preview-mockup th:last-child { border-radius: 0 var(--radius-control) var(--radius-control) 0; }
#lead-preview-mockup td { padding: 0.8rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); }
#lead-preview-mockup tbody tr:last-child td { border-bottom: 0; }
#lead-preview-mockup td:first-child { font-weight: 700; }
#lead-preview-mockup figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 72em) {
  #lead-management-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 4rem;
    align-items: start;
  }
  #lead-management-preview > :not(figure) { grid-column: 1; }
  #lead-preview-mockup { grid-column: 2; grid-row: 1 / -1; align-self: center; max-width: none; margin: 0; }
}
.status { white-space: nowrap; font-weight: 600; }
.status::before {
  content: "";
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--stage-lost);
  vertical-align: 0.05em;
}
.status--new::before { background: var(--stage-new); }
.status--contacted::before { background: var(--stage-contacted); }
.status--qualified::before { background: var(--stage-qualified); }
.status--booked::before { background: var(--stage-booked); }
.status--won::before { background: var(--stage-won); }
.status--lost { color: var(--muted); }

/* ---------- final call to action ---------- */
#final-cta { background: var(--ink); color: var(--on-ink); }
#final-cta > h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 14ch; margin-bottom: 2rem; }
#inquiry-form, #form-status:not(:empty) {
  max-width: 40rem;
  padding: 1.75rem 1.25rem;
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
#inquiry-form { display: grid; gap: 1.25rem; }
#form-status:not(:empty) { font-size: 1.1875rem; font-weight: 700; border-top: 6px solid var(--stage-won); }
@media (min-width: 40em) {
  #inquiry-form { grid-template-columns: 1fr 1fr; column-gap: 1rem; padding: 2.25rem; }
  #inquiry-form > :nth-child(n + 5) { grid-column: 1 / -1; }
  #form-status:not(:empty) { padding: 2.25rem; }
}
@media (min-width: 64em) {
  #final-cta { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 4rem; align-items: start; }
  #final-cta > h2 { position: sticky; top: 2rem; }
  #inquiry-form, #form-status { grid-column: 2; }
  #form-status:empty { display: none; }
}
#inquiry-form label, #inquiry-form legend { font-weight: 700; font-size: 0.9375rem; }
#inquiry-form input[type="text"], #inquiry-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 0.375rem;
  padding: 0.5rem 0.875rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--control);
  border-radius: var(--radius-control);
}
#inquiry-form input[type="text"]:hover, #inquiry-form input[type="email"]:hover { border-color: var(--ink); }
#inquiry-form input[type="text"]:focus-visible, #inquiry-form input[type="email"]:focus-visible { border-color: var(--blue); outline-offset: 1px; }
#inquiry-form [aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: 0.875rem; color: var(--muted); }
#inquiry-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#inquiry-form legend { padding: 0; margin-bottom: 0.5rem; }
#help { display: flex; flex-wrap: wrap; gap: 0.5rem; }
#help .choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0 0 0.75rem;
  border: 1.5px solid var(--control);
  border-radius: 999px;
}
#help .choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
#help .choice label { display: inline-flex; align-items: center; min-height: 44px; padding-right: 1rem; font-weight: 600; cursor: pointer; }
.choice { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }
.choice label { font-weight: 400; }
#inquiry-form .choice label { font-size: 1rem; }
#inquiry-form input[type="radio"], #inquiry-form input[type="checkbox"] { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: var(--blue); }
#inquiry-form > .choice { align-items: center; }
#inquiry-form > .choice input { flex: none; }
#inquiry-form > .choice label { flex: 1; display: flex; align-items: center; min-height: 44px; cursor: pointer; }
#privacy-notice { margin: 0; padding: 1rem 1.125rem; font-size: 0.9375rem; color: var(--ink); background: var(--paper); border-radius: var(--radius-control); }
.field-error { flex-basis: 100%; margin: 0.375rem 0 0; color: var(--error); font-size: 0.9375rem; font-weight: 700; }
.field-error:empty { display: none; }
#form-alert:empty { display: none; }
#form-alert { padding: 0.75rem 1rem; color: var(--error); font-weight: 700; background: #fdecec; border-radius: var(--radius-control); }
#inquiry-form button { width: 100%; min-height: 52px; font-size: 1.0625rem; }
@media (min-width: 40em) {
  #inquiry-form button { width: auto; justify-self: start; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
footer { background: var(--ink-deep); color: var(--on-ink); padding-top: 2.5rem; padding-bottom: 2.5rem; }
footer h2 { display: flex; align-items: center; gap: 0.625rem; margin: 0 0 0.25rem; font-size: 1.1875rem; letter-spacing: -0.02em; }
footer h2::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 6px; background: var(--ramp); }
footer p { margin: 0; color: var(--on-ink-muted); }
footer a { color: #8fb4ff; }
footer a:hover { color: var(--on-ink); }
