/* Midwest Online Solutions. One stylesheet, mobile first. Colors come from the logo; change the tokens below to restyle.
   Montserrat (self-hosted, OFL, public/fonts/OFL.txt) for headings, buttons and navigation; the system font for body text. */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* a fallback sized like Montserrat, so text doesn't jump when the font arrives */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  ascent-override: 85.79%;
  descent-override: 22.25%;
  line-gap-override: 0%;
  size-adjust: 112.83%;
}

:root {
  --blue: #005bfd;          /* logo blue */
  --blue-dark: #0046c4;
  --cyan: #03ddfc;          /* logo cyan: decoration only, too light for text on white */
  --grad: linear-gradient(90deg, #005bfd 0%, #03ddfc 100%);
  --slate: #2a3846;         /* logo slate */
  --heading: #17222e;
  --ink: #2a3846;
  --muted: #4f5d6b;
  --line: #dde5ee;
  --paper: #ffffff;
  --tint: #eff5ff;
  --tint-2: #f6f9fd;
  --night: #0d1b2a;
  --night-2: #142a40;
  --night-3: #1d3a57;
  --on-night: #e8eef5;
  --on-night-muted: #aebdcc;
  --on-night-link: #7fdcff;
  --bad: #b42318;
  --focus: #005bfd;
  --radius: 8px;
  --wrap: 1080px;
  --gutter: 16px;
  --display: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--cyan); }

h1, h2, h3 { font-family: var(--display); color: var(--heading); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.95rem, 6.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 4.2vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 10px 14px; background: var(--paper); color: var(--heading); border-radius: var(--radius); }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  font: 700 1rem/1.2 var(--display); text-decoration: none; text-align: center;
  color: #fff; background: var(--blue);
  border: 2px solid var(--blue); border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-primary { box-shadow: 0 4px 14px rgba(0, 91, 253, .25); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(0, 91, 253, .32); }
.btn-line { background: #fff; color: var(--blue-dark); }
.btn-line:hover { background: var(--tint); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-big { min-height: 54px; padding: 12px 28px; font-size: 1.08rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad); }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 160px; height: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: 8px 0; color: var(--slate); text-decoration: none; font: 600 .95rem/1.2 var(--display); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .nav-cta a { padding: 9px 16px; color: #fff; background: var(--blue); border-radius: var(--radius); text-decoration: none; }
.site-nav .nav-cta a:hover, .site-nav .nav-cta a[aria-current="page"] { background: var(--blue-dark); color: #fff; text-decoration: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 48px 0 52px; }
.hero h1 { max-width: 20ch; }
.hero .lead { font-size: 1.15rem; max-width: 62ch; color: var(--ink); }
.eyebrow { display: inline-block; margin: 0 0 12px; color: var(--blue-dark); font: 700 .8rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 8px; background: var(--grad); border-radius: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--tint-2); }
.section-intro { color: var(--muted); max-width: 62ch; margin-bottom: 28px; }
.muted { color: var(--muted); }

/* niche cards on the home page: two side by side; one alone stays a clean single column */
.niches { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.niche {
  position: relative; flex: 1 1 300px; max-width: 34rem; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 30px 28px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 24px rgba(13, 27, 42, .07);
}
.niche::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.niche .eyebrow::after { display: none; }
.niche .eyebrow { margin-bottom: 2px; }
.niche h3 { font-size: 1.5rem; margin: 0; }
.niche p { color: var(--muted); margin: 0; }
.niche ul { color: var(--ink); margin: 6px 0 12px; }
.niche .card-link { margin-top: auto; font: 700 1.02rem/1.3 var(--display); }
.niche .card-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.niche:hover { border-color: var(--blue); }
.niche:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.niche .card-link:focus-visible { outline: none; }

/* numbered steps */
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 60px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--blue); color: #fff; border-radius: 50%; font: 800 1.05rem/1 var(--display);
  box-shadow: 0 0 0 4px #e3eeff;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

/* what the dashboard shows */
.shows { display: grid; gap: 28px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks strong { display: block; color: var(--heading); }
.checks span { color: var(--muted); }

/* sample screen drawn in HTML */
.screen { margin: 0; border-radius: 12px; overflow: hidden; background: var(--night); color: var(--on-night); box-shadow: 0 14px 36px rgba(13, 27, 42, .22); font-size: .85rem; }
.screen-bar { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--night-2); color: var(--on-night-muted); font-size: .78rem; border-top: 3px solid transparent; border-image: var(--grad) 1; }
.screen-body { padding: 12px; display: grid; gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { padding: 8px 10px; background: var(--night-2); border-radius: 6px; }
.tile b { display: block; color: #fff; font: 700 1.05rem/1.3 var(--display); }
.tile span { color: var(--on-night-muted); font-size: .74rem; }
.tile.alert b { color: #ff9b8f; }
.screen table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.screen th, .screen td { padding: 5px 6px; text-align: left; border-bottom: 1px solid var(--night-3); }
.screen th { color: var(--on-night-muted); font-weight: 600; }
.screen td.num, .screen th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.pill.bad { background: #5c1f1a; color: #ffd2cb; }
.pill.warn { background: #594513; color: #ffe7a8; }
.pill.ok { background: #13443a; color: #b9f3e4; }
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 5.5em 1fr 3em; align-items: center; gap: 8px; font-size: .76rem; }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--night-3); overflow: hidden; }
.bar i::before { content: ""; display: block; height: 100%; background: var(--grad); }
.bar.hot i::before { background: linear-gradient(90deg, #ff6b5a, #ffb199); }
.bar i.w96::before { width: 96%; }
.bar i.w74::before { width: 74%; }
.bar i.w58::before { width: 58%; }
.screen-note { margin: 0; padding: 6px 12px 8px; color: var(--on-night-muted); font-size: .74rem; border-top: 1px solid var(--night-2); }

/* ---------- the free offer ---------- */
.offer { background: linear-gradient(180deg, var(--tint) 0%, #f8fbff 100%); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.offer-grid { display: grid; gap: 28px; }
.offer .lead { font-size: 1.12rem; }
.offer-box { position: relative; overflow: hidden; background: var(--paper); border-radius: 12px; padding: 26px 22px 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(13, 27, 42, .1); }
.offer-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.offer-box h2 { font-size: 1.35rem; margin-bottom: 6px; }
.offer-box > p { color: var(--muted); }
.offer-points { list-style: none; padding: 0; margin: 18px 0 16px; display: grid; gap: 8px; }
.offer-points li { padding-left: 28px; position: relative; }
.offer-points li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--grad); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--heading); }
.optional { font-weight: 400; color: var(--muted); }
.hint { margin: 0; color: var(--muted); font-size: .93rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: inherit; color: var(--heading); background: #fff;
  border: 1px solid #8794a3; border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 110px; }
input[type="file"] { width: 100%; padding: 12px; font: inherit; background: var(--tint); border: 2px dashed #7f9cc9; border-radius: var(--radius); cursor: pointer; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--bad) !important; border-width: 2px; }
.field-error { margin: 0; color: var(--bad); font-weight: 600; font-size: .95rem; }
.form-errors { padding: 14px 16px; border: 2px solid var(--bad); border-radius: var(--radius); background: #fdf1ef; color: var(--ink); }
.form-errors p { margin: 0 0 6px; font-weight: 700; color: var(--bad); }
.form-errors ul { margin: 0; }
.form-errors a { color: var(--bad); }
.form-status { margin: 0; color: var(--muted); font-size: .95rem; }
.form-status:empty { display: none; }
.file-list { margin: 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.ts-box:empty { display: none; }
.form .btn { justify-self: start; }

/* ---------- package tables ---------- */
.table-wrap { margin: 0 0 20px; }
.packages { width: 100%; border-collapse: collapse; }
.packages thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.packages tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.packages th[scope="row"] { display: block; font: 700 1.12rem/1.3 var(--display); color: var(--heading); text-align: left; }
.packages td { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 3px 0; }
.packages td::before { content: attr(data-label); color: var(--muted); font-size: .93rem; font-weight: 400; }
.packages td:last-child { font: 800 1.1rem/1.4 var(--display); color: var(--heading); }
.bundle { position: relative; overflow: hidden; margin: 8px 0 0; padding: 22px 22px 20px; border: 1px solid #bcd3fb; border-radius: 12px; background: var(--tint); }
.bundle::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #005bfd, #03ddfc); }
.bundle p { margin: 0; }
.bundle-name { font-weight: 700; color: var(--heading); }
.bundle-price { font: 800 2rem/1.2 var(--display); color: var(--blue-dark); margin: 4px 0 !important; }
.bundle-note { color: var(--muted); }
.rules { display: grid; gap: 8px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq summary { cursor: pointer; padding: 14px 16px; font: 700 1rem/1.4 var(--display); color: var(--heading); list-style-position: inside; }
.faq summary::marker { color: var(--blue); }
.faq details[open] { border-color: #bcd3fb; }
.faq details > div { padding: 0 16px 14px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- call to action band ---------- */
.cta-band { position: relative; background: var(--night); color: var(--on-night); padding: 52px 0; text-align: center; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.cta-band h2 { color: #fff; }
.cta-inner p { max-width: 54ch; margin: 0 auto 24px; }
.cta-band .btn-primary { box-shadow: 0 4px 18px rgba(3, 221, 252, .25); }

/* ---------- prose pages ---------- */
.page-head { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 24ch; margin: 0; }
.page-head .lead { margin: 14px 0 0; font-size: 1.12rem; max-width: 62ch; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.facts { display: grid; gap: 12px; padding: 0; margin: 24px 0; list-style: none; }
.facts li { position: relative; padding: 16px 18px 16px 22px; background: var(--tint-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #005bfd, #03ddfc); }
.facts strong { display: block; color: var(--heading); }

/* booking page */
.cal-frame { display: grid; place-items: center; gap: 14px; min-height: 360px; padding: 24px; text-align: center; background: var(--tint-2); border: 1px solid var(--line); border-radius: 12px; }
.cal-frame iframe { width: 100%; min-height: 720px; border: 0; border-radius: 8px; background: #fff; }
.cal-frame.loaded { padding: 0; display: block; }

/* testimonial slot: stays hidden until there is a real quote */
.testimonial { padding: 24px; border-left: 4px solid var(--blue); background: var(--tint-2); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--night); color: var(--on-night); padding: 52px 0 32px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.site-footer h2 { color: #fff; font-size: 1.4rem; }
.site-footer a { color: var(--on-night-link); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
.footer-contact > p { color: var(--on-night-muted); }
.site-footer .form label { color: #fff; }
.site-footer input, .site-footer textarea { border-color: #6f7f8c; }
.site-footer .field-error { color: #ffb4a8; }
.site-footer .form-status { color: var(--on-night-muted); }
.site-footer .form-errors { background: #2a1714; color: var(--on-night); border-color: #ffb4a8; }
.site-footer .form-errors p, .site-footer .form-errors a { color: #ffb4a8; }
.footer-brand { font: 800 1.05rem/1.3 var(--display); color: #fff; margin-bottom: 6px; }
.footer-info nav ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 4px; }
.footer-info nav a { display: inline-block; padding: 4px 0; }
.fine { color: var(--on-night-muted); font-size: .9rem; margin: 0; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .brand img { width: 185px; }
  .packages thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .packages tr { display: table-row; padding: 0; }
  .packages th, .packages td { display: table-cell; padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
  .packages thead th { font: 600 .85rem/1.3 var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--blue); }
  .packages th[scope="row"] { font-size: 1.02rem; }
  .packages td::before { content: none; }
  .packages td:last-child { white-space: nowrap; font-size: 1.02rem; }
  .packages th:first-child, .packages td:first-child { padding-left: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 62px 0 0; }
}
@media (min-width: 900px) {
  .header-bar { flex-wrap: nowrap; }
  .hero { padding: 72px 0 76px; }
  .section { padding: 72px 0; }
  .offer { padding: 56px 0 64px; }
  .offer-grid { grid-template-columns: 1fr 1.05fr; align-items: start; gap: 48px; }
  .shows { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .packages-all { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
