/* reimburserpm.com — one stylesheet, written for the static rebuild (DD-76).
   No web fonts, no external files: the security policy only allows files from this site. */

:root {
  --indigo-900: #1d1b5c;
  --indigo-700: #2c2a7c;
  --indigo-50: #eeedf8;
  --magenta: #c2185b;
  --coral: #ff5a6e;
  --ink: #1c1c28;
  --body: #3a3a4a;
  --muted: #5d5d70;
  --line: #e2e2ea;
  --bg-soft: #f6f6fa;
  --white: #fff;
  --radius: 10px;
  --max: 1160px;
  --prose: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

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

a { color: var(--indigo-700); text-underline-offset: 2px; }
a:hover { color: var(--magenta); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 1.6em 0 0.5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 0.6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.2rem; }
h4, h5, h6 { font-size: 1.05rem; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--prose); padding-top: 1rem; padding-bottom: 3rem; }
.prose li { margin-bottom: 0.4em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--indigo-900); color: var(--white); padding: 0.6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--indigo-900); font-size: 0.875rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: flex-end; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { display: inline-block; line-height: 0; }
.brand img { width: 200px; height: auto; }
.main-nav { order: 3; width: 100%; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: block; padding: 0.35rem 0.6rem; border-radius: 6px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--indigo-700); }
.main-nav a[aria-current="page"] { background: var(--indigo-50); color: var(--indigo-700); }
.header-cta { margin-left: auto; }

@media (min-width: 1100px) {
  .main-nav { order: 0; width: auto; margin-left: auto; }
  .header-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.7rem 1.3rem; border-radius: 999px;
  border: 2px solid var(--indigo-700); color: var(--indigo-700); background: var(--white);
  font-weight: 700; text-decoration: none; line-height: 1.3; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--indigo-50); color: var(--indigo-900); }
.btn-primary { background: linear-gradient(120deg, var(--indigo-700), var(--magenta)); border-color: transparent; color: var(--white); }
.btn-primary:hover { background: var(--indigo-900); color: var(--white); }
.btn-small { padding: 0.45rem 0.95rem; font-size: 0.9rem; }
.btn-light { background: var(--white); color: var(--indigo-900); border-color: var(--white); }

/* ---------- Home banner (replaces the old slider) ---------- */
.banner {
  background: linear-gradient(125deg, var(--indigo-900) 0%, var(--indigo-700) 55%, var(--magenta) 100%);
  color: var(--white); padding: 4rem 0 4.5rem;
}
.banner h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 0.4em; }
.banner p { font-size: 1.2rem; max-width: 38rem; }
.banner .btn { margin-top: 0.5rem; }

.section { padding: 3.5rem 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; font-weight: 700; color: var(--magenta); margin-bottom: 0.3em; }
.split { display: grid; gap: 2rem; align-items: center; }
.split h2 { margin-top: 0; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); }

.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; }
.tiles a {
  display: block; height: 100%; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--white);
}
.tiles a:hover { border-color: var(--indigo-700); }
.tiles strong { display: block; font-size: 1.15rem; color: var(--indigo-700); margin-bottom: 0.3rem; }
.tiles span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Content pieces ---------- */
.figure img { border-radius: var(--radius); }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); color: var(--ink); }
.small { font-size: 0.9rem; color: var(--muted); }
.link-list { padding-left: 1.2rem; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.3rem; }

.webinar { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--bg-soft); margin: 1.5rem 0; }
.webinar h2 { margin-top: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 0.5rem; } }

/* ---------- Devices ---------- */
.catalogue { padding-bottom: 3rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); list-style: none; padding: 0; }
.card a {
  display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white);
}
.card a:hover { border-color: var(--indigo-700); }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--white); }
.card-noimage { display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--bg-soft); border-radius: 6px; }
.card-title { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }

.page-product .prose { max-width: var(--max); }
.product { display: grid; gap: 2rem; }
@media (min-width: 860px) { .product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.product-media { display: grid; gap: 1rem; }
.product-media img { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0.5rem; }
.product-text h1 { margin-top: 0.3em; }
.quote-cta { margin: 1.5rem 0 0.5rem; }

.post-date { color: var(--muted); font-size: 0.95rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 0.4rem 0 1rem; }
.post-list h2 { font-size: 1.3rem; margin: 0.8em 0 0.2em; }
.post-list .post-date { margin-bottom: 0.4em; }

/* ---------- Forms ---------- */
.form-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 0.6rem 0.7rem; border: 1px solid #b9b9c8; border-radius: 6px;
  font: inherit; color: var(--ink); background: var(--white);
}
textarea { resize: vertical; }
.hp-wrap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0.5rem 0 1rem; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; }
.contact-grid { display: grid; gap: 2rem; padding-top: 1rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.info-card h2 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.info-card { margin-bottom: 1.25rem; }
.error-list { color: #a1132d; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 2.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-heading { font-size: 1rem; margin: 0 0 0.6rem; }
.footer-links { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; padding-bottom: 1.5rem; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; list-style: none; padding: 0; margin: 0 0 0.5rem; }
