/*
 * Crawford Software Works v2 stylesheet.
 *
 * This file is intentionally plain CSS: no frontend framework, no inline styling
 * requirement, and clear section comments for maintainability. Public CSS should
 * remain lightweight; admin CSS can be more detailed because only site admins use it.
 */

/*
  CSW v2 public CSS source.
  Keep public CSS small, readable and accessible. Production uses cswv2.min.css.
*/
:root {
  --bg: #f7f9fc;
  --text: #1d2733;
  --muted: #5d6978;
  --panel: #ffffff;
  --brand: #214d76;
  --brand-dark: #12324f;
  --border: #dce3ec;
  --shadow: 0 18px 50px rgba(18, 50, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #f7c948;
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--brand-dark);
  color: #ffffff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.brand img {
  display: block;
  width: 180px;
  height: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
}

.site-nav a:hover {
  background: #edf3fa;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, #ffffff, #eaf2fa);
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 820px;
  font-size: clamp(2rem, 6vw, 4rem);
}

.page-section {
  padding: 3rem 0;
}

.prose {
  max-width: 820px;
}

.card {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: var(--panel);
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    flex-direction: column;
  }
}


/* Database-driven CMS rendering helpers. */
.site-nav li {
  position: relative;
}
.site-nav ul ul {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .12);
  display: none;
  min-width: 220px;
  padding: .5rem;
  position: absolute;
  z-index: 20;
}
.site-nav li:focus-within > ul,
.site-nav li:hover > ul {
  display: block;
}
.featured-image,
.content-html img {
  height: auto;
  max-width: 100%;
}
.content-html {
  line-height: 1.7;
}

/* Public form and lead capture styling. */
.section{padding:2rem 0}.content-card,.admin-card{background:rgba(255,255,255,.04);border:1px solid rgba(148,163,184,.25);border-radius:1rem;padding:1.25rem;margin:1rem 0}.public-form,.admin-form-grid{display:grid;gap:1rem}.admin-form-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.admin-form-full{grid-column:1/-1}.form-row label,.admin-form-grid label{font-weight:700;display:grid;gap:.35rem}.public-form input,.public-form textarea,.public-form select,.admin-form-grid input,.admin-form-grid textarea,.admin-form-grid select,.admin-inline-form select,.admin-table select{width:100%;max-width:100%;border:1px solid rgba(148,163,184,.4);border-radius:.6rem;padding:.65rem;background:#020617;color:#f8fafc}.check-row{display:flex!important;align-items:flex-start;gap:.65rem}.check-row input{width:auto!important;margin-top:.25rem}.button,.admin-button{display:inline-block;border:0;border-radius:.7rem;padding:.7rem 1rem;background:#6bbcff;color:#020617;font-weight:700;text-decoration:none;cursor:pointer}.admin-button--secondary{background:#334155;color:#e2e8f0}.admin-button--small{padding:.35rem .6rem;font-size:.9rem}.admin-card__header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{border-bottom:1px solid rgba(148,163,184,.2);padding:.65rem;text-align:left;vertical-align:top}.field-help,.muted{color:#94a3b8}.field-error,.notice--error{color:#fecaca}.notice{border:1px solid rgba(248,113,113,.5);border-radius:.7rem;padding:.8rem;margin-bottom:1rem}.hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.link-button{background:none;border:0;color:#93c5fd;text-decoration:underline;cursor:pointer;padding:0}.admin-inline-form{display:flex;gap:1rem;align-items:end;margin:1rem 0;flex-wrap:wrap}

/* CSW_V2_PHASE5_V4_PUBLIC_FORM_BG_START
   Public background and contact form polish.
   Keep this block external to HTML to avoid inline styling. */
:root {
  --csw-ink: #142033;
  --csw-muted: #526273;
  --csw-card: rgba(255, 255, 255, 0.96);
  --csw-border: rgba(33, 77, 118, 0.18);
  --csw-blue: #214d76;
  --csw-blue-dark: #12324f;
  --csw-orange: #c96916;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  background-color: #eef5fb;
  background-image:
    linear-gradient(180deg, rgba(246, 250, 253, 0.88) 0%, rgba(246, 250, 253, 0.94) 28rem, rgba(255, 255, 255, 0.98) 100%),
    url('/assets/brand/crawford-software-works-background.webp');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--csw-ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--csw-border);
  box-shadow: 0 0.75rem 2rem rgba(18, 50, 79, 0.08);
}

.site-header__inner {
  min-height: 5.75rem;
}

.brand img {
  width: min(300px, 72vw);
  height: auto;
}

.site-nav a {
  font-weight: 700;
}

.hero,
.hero--compact {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(238, 247, 253, 0.82)),
    url('/assets/brand/crawford-software-works-background.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--csw-border);
}

.hero .wrap,
.hero--compact .wrap {
  max-width: 960px;
}

.lede,
.hero p {
  color: var(--csw-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.section {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.content-card,
.page-content,
.card {
  background: var(--csw-card);
  border: 1px solid var(--csw-border);
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgba(18, 50, 79, 0.14);
}

.page-content {
  margin-block: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.content-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.public-form,
.contact-form,
.public-form--contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  width: 100%;
}

.public-form .form-row,
.contact-form .form-row {
  grid-column: 1 / -1;
  min-width: 0;
}

@media (min-width: 820px) {
  .public-form .form-row--small { grid-column: span 4; }
  .public-form .form-row--medium { grid-column: span 6; }
  .public-form .form-row--large { grid-column: span 8; }
  .public-form .form-row--full { grid-column: 1 / -1; }
}

.public-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--csw-ink);
  font-weight: 800;
  line-height: 1.25;
}

.public-form input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.public-form select,
.public-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #b8c6d6;
  border-radius: 0.75rem;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.public-form input::placeholder,
.public-form textarea::placeholder {
  color: #687789;
  opacity: 1;
}

.public-form textarea {
  min-height: 18rem;
  resize: vertical;
}

.public-form .form-row:has(textarea),
.public-form .form-row--full {
  grid-column: 1 / -1;
}

.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(238, 247, 253, 0.85);
  border: 1px solid var(--csw-border);
  border-radius: 0.85rem;
}

.check-row input[type='checkbox'] {
  flex: 0 0 auto;
  width: 1.2rem !important;
  height: 1.2rem;
  margin: 0.1rem 0 0;
}

.field-help {
  margin: 0.4rem 0 0;
  color: var(--csw-muted);
}

.field-error,
.notice--error {
  color: #8f1d1d;
}

.notice {
  background: #fff6f5;
  border: 1px solid #ffb4ac;
  color: #641e16;
}

.public-form .button,
.public-form button[type='submit'],
.button--primary,
.public-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 12rem;
  margin-top: 0.5rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--csw-blue), var(--csw-blue-dark));
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0.8rem 1.8rem rgba(18, 50, 79, 0.25);
}

.public-form .button:hover,
.public-form button[type='submit']:hover {
  filter: brightness(1.05);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--csw-border);
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .content-card,
  .page-content,
  .card {
    border-radius: 1rem;
  }

  .public-form .button,
  .public-form button[type='submit'] {
    width: 100%;
    justify-self: stretch;
  }
}
/* CSW_V2_PHASE5_V4_PUBLIC_FORM_BG_END */

/* Public marketing sections and landing page panels. */
.hero--home {
  background:
    linear-gradient(90deg, rgba(6, 15, 32, 0.92), rgba(6, 15, 32, 0.74)),
    url('/assets/brand/crawford-software-works-background.webp') center / cover no-repeat;
  color: #ffffff;
  padding: clamp(3rem, 8vw, 7rem) 0;
}
.hero__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
}
.hero-card,
.content-card,
.service-card,
.price-card,
.review-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(24, 45, 70, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(9, 24, 45, 0.12);
  padding: clamp(1rem, 2vw, 1.5rem);
}
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.button,
button.button {
  align-items: center;
  background: #0b74bb;
  border: 2px solid #0b74bb;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
}
.button:hover,
.button:focus {
  background: #075f9c;
  border-color: #075f9c;
  color: #ffffff;
}
.button--ghost {
  background: transparent;
  border-color: currentColor;
}
.button--small {
  font-size: 0.95rem;
  padding: 0.65rem 0.95rem;
}
.text-link {
  color: #075f9c;
  font-weight: 700;
}
.icon-pill {
  background: #e6f4ff;
  border-radius: 999px;
  color: #075f9c;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
}
.price {
  color: #0b315c;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0.25rem 0;
}
.price-card--featured {
  border-color: #0b74bb;
  box-shadow: 0 1.2rem 3rem rgba(11, 116, 187, 0.18);
}
.feature-list {
  padding-left: 1.2rem;
}
.feature-list li + li {
  margin-top: 0.35rem;
}
.notice-inline {
  background: #fff7e6;
  border-left: 4px solid #d97706;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
}
.small {
  font-size: 0.92rem;
}
.muted {
  color: #536579;
}
.review-card blockquote {
  margin: 0 0 1rem;
}
.site-nav li {
  position: relative;
}
.site-nav li ul {
  background: #ffffff;
  border: 1px solid rgba(24, 45, 70, 0.14);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 2rem rgba(9, 24, 45, 0.12);
  display: none;
  left: 0;
  min-width: 14rem;
  padding: 0.5rem;
  position: absolute;
  top: 100%;
  z-index: 20;
}
.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
  display: block;
}
.site-nav li ul a {
  display: block;
  padding: 0.55rem 0.7rem;
}
@media (max-width: 960px) {
  .hero__grid,
  .card-grid--three,
  .card-grid--four {
    grid-template-columns: 1fr;
  }
  .site-nav li ul {
    box-shadow: none;
    display: block;
    position: static;
  }
}

/* CSW_V2_PHASE6_V4_LAYOUT_POLISH_START
   Installer-bundled public layout fix.
   Keeps homepage cards professional, centred and padded; keeps header sticky. */
:root {
  --csw-page-max: 1180px;
  --csw-card-inner-max: 860px;
  --csw-card-pad-x: clamp(1.75rem, 5vw, 4.5rem);
  --csw-card-pad-y: clamp(2rem, 5vw, 4.25rem);
}

html {
  scroll-padding-top: 7.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: var(--csw-page-max);
  margin-inline: auto;
}

.wrap {
  width: min(var(--csw-page-max), calc(100% - 2rem));
  margin-inline: auto;
}

/* The homepage uses sections with both .section and .content-card.
   The generic .section rule used a padding shorthand with zero side padding,
   which cancelled the card side padding. This restores proper inner spacing. */
.wrap.section.content-card,
section.wrap.section.content-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: clamp(17rem, 30vw, 24rem);
  padding: var(--csw-card-pad-y) var(--csw-card-pad-x) !important;
  text-align: center;
}

.wrap.section.content-card > h1,
.wrap.section.content-card > h2,
.wrap.section.content-card > h3,
.wrap.section.content-card > .content-html,
.wrap.section.content-card > p,
.wrap.section.content-card > .button {
  width: min(100%, var(--csw-card-inner-max));
  margin-left: auto;
  margin-right: auto;
}

.wrap.section.content-card h1,
.wrap.section.content-card h2,
.wrap.section.content-card h3 {
  max-width: 34ch;
  margin-top: 0;
  text-align: center;
}

.wrap.section.content-card .content-html {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.wrap.section.content-card .content-html > * {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wrap.section.content-card .button {
  width: auto;
  margin-top: 1rem;
}

/* Keep normal content pages readable rather than edge-hugging. */
.page-content,
.contact-card,
.content-card:not(.wrap.section.content-card) {
  padding: clamp(1.5rem, 4vw, 3rem) !important;
}

/* Centre section headings consistently. */
.section-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

/* Keep service, price and review grids visually balanced. */
.card-grid {
  justify-items: stretch;
}

.service-card,
.price-card,
.review-card {
  min-width: 0;
}

.site-footer {
  text-align: center;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header {
    position: sticky;
  }

  .wrap.section.content-card,
  section.wrap.section.content-card {
    min-height: auto;
    padding: 1.5rem !important;
    text-align: left;
  }

  .wrap.section.content-card h1,
  .wrap.section.content-card h2,
  .wrap.section.content-card h3,
  .wrap.section.content-card .content-html > * {
    text-align: left;
  }

  .section-heading {
    text-align: left;
  }
}
/* CSW_V2_PHASE6_V4_LAYOUT_POLISH_END */

/* CSW_V2_PHASE7_COOKIES_START */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 2vw, 2rem);
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 1100;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.cookie-banner[hidden],
.cookie-banner--hidden {
  display: none;
}
.cookie-banner h2,
.cookie-banner h3 {
  margin-top: 0;
}
.cookie-banner p {
  margin-bottom: 0.5rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner__panel {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0;
  padding: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.95);
}
.cookie-toggle small {
  display: block;
  margin-top: 0.2rem;
  color: #475569;
}
.cookie-toggle input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}
.cookie-settings-form {
  max-width: 900px;
}
.responsive-table {
  overflow-x: auto;
}
.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}
.responsive-table th,
.responsive-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  text-align: left;
  vertical-align: top;
}
@media (max-width: 800px) {
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__actions .button {
    width: 100%;
  }
}
/* CSW_V2_PHASE7_COOKIES_END */

/* CSW_V2_PHASE8_V10_ACCESSIBILITY_MOTION_START */
/* Respect reduced-motion preferences for visitors who are sensitive to animation. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* CSW_V2_PHASE8_V10_ACCESSIBILITY_MOTION_END */

/* CSW_V2_PHASE8_V15_COOKIE_INTERNAL_LINKS_START */
/* Keep cookie settings readable and usable on desktop and mobile. */
.cookie-settings-page {
  align-items: center;
  text-align: center;
}
.cookie-settings-page__intro {
  margin-inline: auto;
  max-width: 68ch;
}
.cookie-settings-form {
  display: grid;
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 980px;
  width: 100%;
}
.cookie-settings-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: 100%;
}
.cookie-toggle-page {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 100%;
  text-align: left;
}
.cookie-toggle__copy {
  min-width: 0;
}
.cookie-toggle__control {
  align-items: center;
  display: inline-flex;
  min-height: 2rem;
}
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.cookie-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-right: clamp(3rem, 5vw, 4.5rem);
}
.cookie-banner__close {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 800;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.25rem;
}
.cookie-banner__close:hover,
.cookie-banner__close:focus {
  background: #eaf2fa;
}
.internal-links-page {
  text-align: left;
}
.internal-links-page > h1,
.internal-links-page > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.internal-links-group {
  margin-top: 2rem;
  width: min(100%, 900px);
}
.internal-links-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.internal-links-list li {
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}
.internal-links-list a {
  display: inline-block;
  font-weight: 800;
}
.internal-links-list small {
  color: #526273;
  display: block;
  margin-top: 0.25rem;
}
@media (max-width: 800px) {
  .cookie-settings-grid {
    grid-template-columns: 1fr;
  }
  .cookie-settings-actions .button {
    width: 100%;
  }
  .cookie-banner {
    padding-right: 1.25rem;
  }
  .cookie-banner__close {
    position: static;
    justify-self: end;
    order: -1;
  }
}
/* CSW_V2_PHASE8_V15_COOKIE_INTERNAL_LINKS_END */

/* -------------------------------------------------------------------------
   Site checker and admin-facing public utility styles
   -------------------------------------------------------------------------
   These rules keep marketing, cookie and CMS-generated pages readable while
   preserving the no-framework public CSS approach. Admin-only screens use the
   separate admin stylesheet.
*/
.notice-inline {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--csw-orange);
  border-radius: 0.75rem;
  background: #fff7e6;
  color: var(--csw-ink);
}

/* CSW_V2_PHASE9_CONTENT_STRATEGY_START
   Homepage content strategy, review carousel and proof-block styling.
   Public pages remain usable without JavaScript; JS only enhances controls. */
.phase9-hero .lede {
  max-width: 68ch;
}
.phase9-pricing-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.phase9-pricing-card li + li {
  margin-top: 0.75rem;
}
.phase9-positioning-grid .service-card,
.phase9-proof .proof-card {
  display: flex;
  flex-direction: column;
}
.phase9-positioning-grid .text-link,
.phase9-proof .text-link {
  margin-top: auto;
}
.lede--section {
  max-width: 70ch;
}
.phase9-dynamic-section .content-html ul,
.phase9-dynamic-section .content-html ol {
  display: inline-block;
  max-width: 72ch;
  text-align: left;
}
.phase9-review-showcase {
  overflow: hidden;
}
.phase9-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.phase9-review-track {
  display: grid;
  grid-auto-columns: minmax(18rem, 32%);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.phase9-review-track:focus {
  outline: 3px solid #f7c948;
  outline-offset: 3px;
}
.phase9-review-card {
  min-width: 0;
  scroll-snap-align: start;
}
.phase9-stars {
  color: #945d00;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.phase9-review-card figcaption {
  color: var(--csw-muted, #536579);
  font-weight: 700;
}
@media (max-width: 960px) {
  .phase9-review-track {
    grid-auto-columns: minmax(17rem, 86%);
  }
  .phase9-carousel-controls {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phase9-review-track {
    scroll-behavior: auto;
  }
}
/* CSW_V2_PHASE9_CONTENT_STRATEGY_END */

/* CSW_V2_PHASE11_COVERAGE_BUSINESS_TYPES_START
   CSS-first coverage map and business-type cards. The map is deliberately
   schematic to avoid a heavy third-party map script on public pages. */
.phase11-coverage-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 28rem);
  gap: 1.5rem;
  align-items: stretch;
}
.coverage-map-panel {
  position: relative;
  min-height: 22rem;
  border: 1px solid rgba(16, 32, 48, 0.12);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 153, 0, 0.18), transparent 22%),
    radial-gradient(circle at 70% 35%, rgba(16, 32, 48, 0.12), transparent 20%),
    linear-gradient(135deg, #f8fbff, #eef5f8);
  overflow: hidden;
}
.coverage-map-panel::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 2px dashed rgba(16, 32, 48, 0.16);
  border-radius: 50%;
}
.coverage-map-point {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--csw-orange, #f59e0b);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.75rem 1.5rem rgba(16, 32, 48, 0.18);
}
.coverage-map-point:focus,
.coverage-map-point:hover {
  outline: 3px solid #111827;
  outline-offset: 3px;
}
.coverage-map-point--1 { left: 38%; top: 44%; }
.coverage-map-point--2 { left: 52%; top: 18%; }
.coverage-map-point--3 { left: 42%; top: 30%; }
.coverage-map-point--4 { left: 62%; top: 50%; }
.coverage-map-point--5 { left: 25%; top: 50%; }
.coverage-map-point--6 { left: 28%; top: 24%; }
.coverage-map-point--7 { left: 16%; top: 62%; }
.coverage-map-point--8 { left: 72%; top: 68%; }
.coverage-map-point--9 { left: 12%; top: 34%; }
.phase11-business-types .service-card,
.phase11-area-card {
  display: flex;
  flex-direction: column;
}
.phase11-area-card .button,
.phase11-business-types .muted {
  margin-top: auto;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.chip-link {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(16, 32, 48, 0.15);
  border-radius: 999px;
  background: #ffffff;
  color: var(--csw-ink, #102030);
  font-weight: 700;
  text-decoration: none;
}
.chip-link:focus,
.chip-link:hover {
  outline: 3px solid #f7c948;
  outline-offset: 2px;
}
@media (max-width: 880px) {
  .phase11-coverage-map {
    grid-template-columns: 1fr;
  }
  .coverage-map-panel {
    min-height: 26rem;
  }
}
/* CSW_V2_PHASE11_COVERAGE_BUSINESS_TYPES_END */


/* CSW_V2_PHASE12_PORTFOLIO_CASE_STUDIES_START
   Portfolio and case-study layouts stay CSS-first and work without JavaScript. */
.phase12-proof-card h2 a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
.phase12-cso-grid,
.phase12-screenshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.25rem 0;
}
.phase12-screenshot-grid img {
  border-radius: 1rem;
  display: block;
  height: auto;
  max-width: 100%;
}
.phase12-detail .content-card h2 {
  margin-top: 0;
}
.phase12-detail figcaption {
  color: var(--csw-muted, #536579);
  margin-top: 0.65rem;
}
/* CSW_V2_PHASE12_PORTFOLIO_CASE_STUDIES_END */
