/* Manning Made Solutions website styles. Colors are set once here, at the top. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #f3f5f9;
  --ink: #0b0f19;
  --muted: #5d6575;
  --line: #e3e7ef;
  --accent: #1a3f9c;
  --accent-deep: #102c70;
  --accent-tint: #ebeff8;
  --dark: #0a1a3d;
  --dark-line: rgba(255, 255, 255, 0.16);
  --radius: 28px;
  --wrap: 1120px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100;
}
.skip:focus { left: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Top bar ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 10px 30px -18px rgba(10, 26, 61, 0.4);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; font-size: 1.05rem; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  border-radius: 50%; cursor: pointer;
  place-items: center; flex: none;
}
.nav-toggle:hover { background: var(--soft); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-inner.is-open .nav-toggle-bars { background: transparent; }
.nav-inner.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-inner.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; letter-spacing: -0.01em;
  border-radius: 999px; padding: 10px 10px 10px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(26, 63, 156, 0.75);
}
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: scale(0.98); }
.btn .arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn .arrow svg { width: 16px; height: 16px; }
.btn.small { font-size: 0.92rem; padding: 6px 6px 6px 16px; gap: 8px; box-shadow: none; }
.btn.small .arrow { width: 28px; height: 28px; }
.btn.big { font-size: 1.12rem; padding: 14px 14px 14px 28px; }
.btn.big .arrow { width: 42px; height: 42px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Small labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* The highlighted words in a title */
em.hl { font-style: normal; font-weight: inherit; color: var(--accent); }

h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 620; margin-top: 20px; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin-top: 18px; }
.section-head { max-width: 46em; margin-bottom: 48px; }

/* ---------- Top section ---------- */
.hero { padding: 190px 0 96px; position: relative; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1;
  background: radial-gradient(680px 340px at 50% 0%, rgba(26, 63, 156, 0.13), transparent 70%);
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 630; margin: 26px auto 0; max-width: 20em; }
.hero .lede { font-size: 1.15rem; margin: 20px auto 0; max-width: 38em; }

/* The blue frame holding the example screens */
.frame {
  margin-top: 52px; border-radius: 36px; padding: 48px;
  background: linear-gradient(140deg, #2f5bcb 0%, #173a8f 42%, #0a1a3d 100%);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
  text-align: left;
  box-shadow: 0 50px 90px -60px rgba(10, 26, 61, 0.8);
}
.report, .draft { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -40px rgba(4, 12, 32, 0.9); }
.report-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-top strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.report-top span { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; line-height: 1.35; }
.report li:last-child { border-bottom: 0; }
.report li small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.tick, .flag { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.tick { background: var(--accent-tint); color: var(--accent); }
.flag { background: var(--accent); color: #fff; font-weight: 700; font-size: 0.8rem; }
.tick svg { width: 13px; height: 13px; }
.report-foot { margin-top: 10px; background: var(--accent-tint); color: var(--accent-deep); border-radius: 14px; padding: 11px 14px; font-size: 0.86rem; font-weight: 500; }

.draft-label { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.draft-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.draft-to { margin-top: 14px; font-size: 0.86rem; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.draft-to b { color: var(--ink); font-weight: 600; }
.draft-body { margin-top: 14px; font-size: 0.95rem; line-height: 1.5; }
.draft-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pill { border-radius: 999px; padding: 8px 16px; font-size: 0.86rem; font-weight: 600; }
.pill.solid { background: var(--accent); color: #fff; }
.pill.line { border: 1px solid var(--line); color: var(--ink); }
.caption { color: var(--muted); font-size: 0.8rem; margin-top: 18px; }

.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.cta-note { color: var(--muted); font-size: 0.95rem; }

/* ---------- Businesses we've worked with ---------- */
.clients { padding: 8px 0 72px; text-align: center; }
.clients-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.client-list {
  list-style: none; margin: 22px auto 0; padding: 22px 28px; max-width: 760px;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 24px 50px -40px rgba(10, 26, 61, 0.55);
}
.client-list li { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }

/* ---------- Our work ---------- */
.work {
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: 48px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px;
  position: relative; overflow: hidden;
}
.work::after {
  content: ""; position: absolute; right: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 110, 230, 0.4), transparent 65%); pointer-events: none;
}
.work > * { position: relative; z-index: 1; }
.work .meta { display: flex; justify-content: space-between; gap: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; grid-column: 1 / -1; }
.work h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.06; font-weight: 620; }
.work p { margin-top: 14px; opacity: 0.82; }
.work-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* Rounded list items used inside cards */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: var(--soft); border-radius: 18px;
  padding: 9px 16px; font-size: 0.93rem; line-height: 1.3;
}
.chips li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chips-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; }
.on-dark .chips li { background: rgba(255, 255, 255, 0.1); border-color: var(--dark-line); }
.on-dark .chips li::before { background: #9db9ff; }

/* ---------- Steps (stacking cards) ---------- */
.steps { display: grid; gap: 18px; }
.step {
  position: sticky; top: calc(92px + var(--i) * 16px);
  border-radius: var(--radius); padding: 40px; min-height: 300px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 -18px 40px -34px rgba(10, 26, 61, 0.55);
}
.step .count { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; opacity: 0.65; text-transform: uppercase; }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 620; margin-top: 14px; }
.step .what { margin-top: 14px; max-width: 26em; opacity: 0.82; }
.step.tint { background: var(--accent-tint); border-color: #d5ddef; }
.step.tint .chips li { background: rgba(255, 255, 255, 0.8); border-color: #d5ddef; }
.step.blue { background: linear-gradient(140deg, #2f5bcb, var(--accent-deep)); color: #fff; border-color: transparent; }
.step.dark { background: var(--dark); color: #fff; border-color: transparent; }

/* ---------- Why it matters ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.example {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -60px rgba(10, 26, 61, 0.6);
}
.example::after {
  content: ""; position: absolute; right: -110px; top: -110px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 63, 156, 0.16), transparent 65%); pointer-events: none;
}
.example > * { position: relative; z-index: 1; }
.example .figure { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.example .figure b { font-size: clamp(3rem, 7vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; font-weight: 640; }
.example .figure span { color: var(--muted); }
.example-line { margin-top: 12px; font-weight: 600; letter-spacing: -0.01em; }
.sum { margin-top: 20px; }
.sum .row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.sum .row b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.example-foot { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }

/* ---------- How we work ---------- */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.way .num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); }
.way h3 { font-size: 1.18rem; letter-spacing: -0.025em; line-height: 1.2; margin: 40px 0 10px; }
.way p { color: var(--muted); font-size: 0.95rem; }

.example-text { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.ways.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Time back ---------- */
.time-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; margin-bottom: 40px; }
.stat {
  border-radius: var(--radius); padding: 36px; color: #fff;
  background: linear-gradient(140deg, #2f5bcb 0%, #173a8f 50%, #0a1a3d 100%);
  box-shadow: 0 40px 80px -55px rgba(10, 26, 61, 0.9);
}
.stat-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat-num b { font-size: clamp(3.2rem, 7vw, 4.8rem); letter-spacing: -0.05em; line-height: 1; font-weight: 640; }
.stat-num span { font-size: 1.1rem; opacity: 0.85; }
.stat p { margin-top: 16px; opacity: 0.85; font-size: 0.98rem; max-width: 26em; }

/* ---------- Security ---------- */
.guards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.badge {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); color: #fff;
  box-shadow: 0 0 0 6px var(--accent-tint);
}
.badge svg { width: 28px; height: 28px; }
.guard h3 { font-size: 1.2rem; letter-spacing: -0.025em; line-height: 1.2; margin: 26px 0 10px; }
.guard p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Final call ---------- */
.final { text-align: center; padding: 110px 0 96px; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 420px; z-index: -1;
  background: radial-gradient(640px 300px at 50% 100%, rgba(26, 63, 156, 0.12), transparent 70%);
}
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16em; margin-left: auto; margin-right: auto; }
.final .lede { margin-left: auto; margin-right: auto; }
.scarce { margin-top: 44px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.soon { display: none; color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.no-booking .soon { display: block; }

footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 0.88rem; }
.foot, .foot-full { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a, .foot-full a { text-decoration: none; }
.foot a:hover, .foot-nav a:hover, .legal-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-full {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px 64px;
  align-items: start;
}
.foot-brand .brand { color: var(--ink); width: fit-content; }
.foot-tag { margin-top: 12px; max-width: 22em; }
.foot-mail {
  display: inline-block; margin-top: 14px;
  color: var(--ink); font-weight: 500;
}
.foot-mail:hover { color: var(--accent); text-decoration: underline; }
.foot-loc { margin-top: 8px; }
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  justify-content: flex-end; align-content: flex-start;
  padding-top: 6px;
}
.foot-nav a { color: var(--muted); font-weight: 500; }
.foot-bottom {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; margin-top: 8px;
  border-top: 1px solid var(--line);
}
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: var(--muted); }
.cta-mail { color: var(--muted); font-size: 0.95rem; }
.cta-mail a { color: var(--accent); font-weight: 500; text-decoration: none; }
.cta-mail a:hover { text-decoration: underline; }

/* ---------- Plain text page (privacy) ---------- */
.doc { max-width: 720px; padding-top: 150px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 630; margin-top: 20px; }
.doc h2 { font-size: 1.35rem; letter-spacing: -0.025em; margin-top: 40px; }
.doc p { color: var(--muted); margin-top: 12px; }
.doc a { color: var(--accent); font-weight: 500; text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.missing a { color: var(--accent); font-weight: 500; text-decoration: none; }
.missing a:hover { text-decoration: underline; }

/* ---------- Smaller screens ---------- */
@media (max-width: 920px) {
  section { padding: 72px 0; }
  .hero { padding: 140px 0 84px; }
  .frame, .why, .work, .step { grid-template-columns: 1fr; }
  .frame { padding: 24px; border-radius: 28px; gap: 18px; }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .ways.three, .guards, .time-top { grid-template-columns: 1fr; }
  .time-top { gap: 32px; }
  .nav-toggle { display: grid; grid-column: 2; grid-row: 1; }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
  }
  .nav-inner .brand { grid-column: 1; grid-row: 1; }
  .nav-inner > .btn { grid-column: 3; grid-row: 1; }
  .nav-inner.is-open { border-radius: 28px; }
  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px 10px;
  }
  .nav-inner.is-open .nav-links { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 14px; }
  .nav-links a:hover { background: var(--soft); }
  .step { position: static; padding: 30px; min-height: 0; gap: 28px; }
  .work { padding: 32px 26px; gap: 28px; }
  .why { gap: 36px; }
  .example { padding: 30px 26px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .frame { padding: 14px; border-radius: 24px; }
  .ways { grid-template-columns: 1fr; }
  .way h3 { margin-top: 18px; }
  .brand span { font-size: 0.98rem; }
  .brand-tail { display: none; }
  .work .meta { flex-direction: column; gap: 4px; }
  .client-list { border-radius: 26px; flex-direction: column; gap: 10px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Services ---------- */
@media (max-width: 920px) {
  #services .guards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  #services .guards { grid-template-columns: 1fr; }
}


/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -60px rgba(10, 26, 61, 0.6);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo.is-missing { display: none; }
.about:not(:has(.about-photo img)) { grid-template-columns: 1fr; }
.about-copy { max-width: 40em; }
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 16px;
}
.about-copy p:first-of-type { margin-top: 18px; }
.about-copy a { color: var(--accent); font-weight: 500; text-decoration: none; }
.about-copy a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.missing { text-align: center; padding: 190px 0 96px; }
.missing h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.08; font-weight: 630; margin-top: 20px; }
.missing .lede { margin-left: auto; margin-right: auto; }
.missing .cta-row { margin-top: 36px; }

@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 280px; }
  .foot-full { grid-template-columns: 1fr; gap: 28px; }
  .foot-nav { justify-content: flex-start; }
}
