/* KMG NH Clean Pages v3.7 */
.kmg,
.kmg *,
.kmg *::before,
.kmg *::after { box-sizing: border-box; }

body.kmg-v17-body,
.kmg,
.kmg *,
.kmg input,
.kmg textarea,
.kmg select,
.kmg button {
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
}

.kmg {
  --kmg-navy: #071225;
  --kmg-ink: #111827;
  --kmg-muted: #5b6778;
  --kmg-soft: #f6f8fb;
  --kmg-line: #e4eaf2;
  --kmg-green: #155e4b;
  --kmg-blue: #2563eb;
  --kmg-white: #ffffff;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--kmg-ink);
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

.kmg :where(h1,h2,h3,h4,p,a,span,strong,em,small,li,label,input,textarea,select,button) { font-family: "Inter", Arial, Helvetica, sans-serif !important; }
.kmg a { color: inherit; text-decoration: none; }
.kmg img { max-width: 100%; height: auto; display: block; }
.kmg p { margin: 0 0 .9rem; color: var(--kmg-muted); font-size: 16px; line-height: 1.65; }
.kmg h1,
.kmg h2,
.kmg h3,
.kmg h4 { margin: 0 0 .9rem; color: var(--kmg-ink); font-family: "Inter", Arial, Helvetica, sans-serif !important; line-height: 1.16; letter-spacing: -0.018em; overflow: visible; text-wrap: balance; }
.kmg h1 { font-size: clamp(36px, 5vw, 58px); max-width: 860px; }
.kmg h2 { font-size: clamp(29px, 3.6vw, 44px); max-width: 780px; }
.kmg h3 { font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -0.018em; }
.kmg ul { margin-top: 0; }

.kmg-container { width: min(100% - 44px, 1180px); margin: 0 auto; }

.kmg-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(226,232,240,.9); backdrop-filter: blur(16px); }
.kmg-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.kmg-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.kmg-logo-img { width: auto; max-width: 220px; max-height: 60px; object-fit: contain; }
.kmg-logo-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--kmg-navy); color: #fff; font-weight: 900; letter-spacing: -.04em; }
.kmg-brand-name { color: var(--kmg-navy); font-weight: 900; letter-spacing: -.03em; font-size: 17px; }
.kmg-nav { display: flex; align-items: center; gap: 22px; color: #344056; font-size: 14px; font-weight: 800; }
.kmg-nav a { transition: color .18s ease; }
.kmg-nav a:hover { color: var(--kmg-blue); }
.kmg-header-cta { padding: 12px 18px; border-radius: 999px; color: #fff; background: var(--kmg-navy); font-size: 14px; font-weight: 900; box-shadow: 0 12px 30px rgba(7,18,37,.16); }

.kmg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 900; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.kmg-btn:hover { transform: translateY(-2px); }
.kmg-btn-primary { background: var(--kmg-green); color: #fff; box-shadow: 0 16px 34px rgba(21,94,75,.22); }
.kmg-btn-secondary { background: #fff; color: var(--kmg-navy); border-color: var(--kmg-line); box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.kmg-btn-light { background: #fff; color: var(--kmg-navy); }
.kmg-btn-dark { background: #06101f; color: #fff; border-color: rgba(255,255,255,.16); }
.kmg-text-link { display: inline-flex; color: var(--kmg-blue); font-weight: 900; }
.kmg-text-link:hover { text-decoration: underline; }
.kmg-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.kmg-actions-right { justify-content: flex-end; }

.kmg-eyebrow { margin: 0 0 12px !important; color: var(--kmg-green) !important; font-size: 12px !important; line-height: 1.35 !important; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.kmg-lead { max-width: 720px; font-size: clamp(17px, 1.8vw, 20px) !important; line-height: 1.62 !important; color: #3d4a5e !important; }
.kmg-pill,
.kmg-pill-muted { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.kmg-pill { color: #073a2b; background: #dff7ed; }
.kmg-pill-muted { color: #364155; background: #eef2f7; }

.kmg-hero { background: radial-gradient(circle at 10% 20%, rgba(37,99,235,.09), transparent 32%), linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%); border-bottom: 1px solid var(--kmg-line); }
.kmg-hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(34px, 5.5vw, 74px); align-items: center; padding: 68px 0; }
.kmg-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.kmg-trust-row span { padding: 10px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--kmg-line); color: #344056; font-size: 13px; font-weight: 850; }
.kmg-feature-card { padding: clamp(26px, 3.6vw, 40px); border: 1px solid var(--kmg-line); border-radius: 30px; background: #fff; box-shadow: 0 26px 70px rgba(7,18,37,.09); }
.kmg-feature-card h2 { font-size: clamp(30px, 3.7vw, 46px); margin-top: 20px; }
.kmg-feature-card-hero { position: relative; }
.kmg-feature-card-hero::before { content: ""; position: absolute; inset: -12px; z-index: -1; border-radius: 40px; background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(21,94,75,.14)); }

.kmg-netjustice-logo { margin: 22px 0 12px; }
.kmg-netjustice-logo img { width: min(100%, 380px); max-height: 150px; object-fit: contain; }
.kmg-netjustice-wordmark { width: 100%; min-height: 140px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px; border-radius: 26px; background: linear-gradient(135deg, #f7fbff, #fff); border: 1px solid rgba(7,18,37,.08); }
.kmg-netjustice-shield { flex: 0 0 70px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(135deg, var(--kmg-blue), var(--kmg-green)); color: #fff; font-weight: 900; letter-spacing: -0.025em; }
.kmg-netjustice-wordmark strong { display: inline; color: var(--kmg-navy); font-size: clamp(32px, 4vw, 52px); line-height: 1.06; font-weight: 900; letter-spacing: -0.025em; }
.kmg-netjustice-wordmark em { color: var(--kmg-blue); font-style: normal; font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -0.02em; }

.kmg-check-list { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kmg-check-list li { position: relative; padding-left: 27px; color: #334155; font-weight: 800; line-height: 1.5; }
.kmg-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--kmg-green); font-weight: 900; }

.kmg-section { padding: clamp(56px, 6.5vw, 86px) 0; }
.kmg-tight-section { padding-top: clamp(48px, 5.2vw, 70px); padding-bottom: clamp(48px, 5.2vw, 70px); }
.kmg-soft { background: var(--kmg-soft); }
.kmg-section-heading { max-width: 830px; margin-bottom: 32px; }
.kmg-section-heading p:not(.kmg-eyebrow) { max-width: 740px; font-size: 17px; }
.kmg-card-grid { display: grid; gap: 20px; }
.kmg-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kmg-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kmg-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kmg-card { padding: 26px; border: 1px solid var(--kmg-line); border-radius: 24px; background: #fff; box-shadow: 0 10px 28px rgba(15,23,42,.04); }
.kmg-card p { margin-bottom: 0; }
.kmg-small-card h3 { font-size: 20px; }
.kmg-small-card p { font-size: 15px; }
.kmg-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 13px; border-radius: 16px; color: #fff; background: var(--kmg-navy); font-weight: 900; margin-bottom: 17px; }

.kmg-netjustice-section { background: #071225; color: #fff; }
.kmg-netjustice-section h2,
.kmg-netjustice-section h3 { color: #fff; }
.kmg-netjustice-section p { color: rgba(255,255,255,.78); }
.kmg-netjustice-section .kmg-eyebrow { color: #93f4d2 !important; }
.kmg-netjustice-section .kmg-check-list li { color: rgba(255,255,255,.84); }
.kmg-netjustice-section .kmg-check-list li::before { color: #93f4d2; }
.kmg-case-study { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.kmg-case-study-large { grid-template-columns: .92fr 1.08fr; }
.kmg-case-copy > p { font-size: 17px; max-width: 700px; }
.kmg-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.kmg-stat-row div { padding: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.07); }
.kmg-stat-row strong { display: block; color: #fff; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.kmg-stat-row span { color: rgba(255,255,255,.70); font-size: 13px; font-weight: 850; }
.kmg-browser-card { position: relative; padding: 18px; border-radius: 28px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 76px rgba(0,0,0,.28); }
.kmg-browser-card-big { padding: 22px; }
.kmg-browser-dots { display: flex; gap: 8px; margin-bottom: 14px; }
.kmg-browser-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); }
.kmg-browser-screen { min-height: 350px; border-radius: 22px; padding: 28px; background: linear-gradient(135deg, #fff, #f1f5ff); display: flex; flex-direction: column; justify-content: center; }
.kmg-screen-lines { display: grid; gap: 12px; margin-top: 26px; }
.kmg-screen-lines i { display: block; height: 12px; border-radius: 999px; background: #dbe3f0; }
.kmg-screen-lines i:nth-child(2) { width: 82%; }
.kmg-screen-lines i:nth-child(3) { width: 64%; }
.kmg-screen-lines i:nth-child(4) { width: 70%; }
.kmg-screen-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.kmg-screen-cards b { display: block; height: 68px; border-radius: 17px; background: #e8edf7; }

.kmg-split { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.kmg-copy p { font-size: 17px; max-width: 720px; }
.kmg-home-pricing { align-items: center; }
.kmg-mini-pricing { display: grid; gap: 12px; }
.kmg-mini-pricing div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-radius: 18px; background: #fff; border: 1px solid var(--kmg-line); }
.kmg-mini-pricing strong { color: var(--kmg-green); font-size: 24px; letter-spacing: -0.035em; line-height: 1.1; }
.kmg-mini-pricing span { font-weight: 850; color: var(--kmg-ink); text-align: right; }

.kmg-page-hero { padding: clamp(58px, 7vw, 92px) 0; background: linear-gradient(135deg, #fbfcff, #eef5f2); border-bottom: 1px solid var(--kmg-line); }
.kmg-page-hero .kmg-container { max-width: 900px; }
.kmg-page-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.kmg-page-hero p:not(.kmg-eyebrow) { max-width: 760px; font-size: 17px; }

.kmg-service-list { display: grid; gap: 15px; }
.kmg-service-list article { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 25px; border-radius: 24px; background: #fff; border: 1px solid var(--kmg-line); box-shadow: 0 12px 34px rgba(15,23,42,.04); }
.kmg-service-list span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--kmg-navy); color: #fff; font-weight: 900; }
.kmg-service-list h2 { font-size: clamp(24px, 2.7vw, 31px); margin-bottom: 6px; }
.kmg-service-list p { margin: 0; }

.kmg-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.kmg-price-card { position: relative; padding: 29px; border-radius: 26px; background: #fff; border: 1px solid var(--kmg-line); box-shadow: 0 15px 40px rgba(15,23,42,.055); }
.kmg-price-card-featured { border-color: rgba(21,94,75,.38); box-shadow: 0 20px 54px rgba(21,94,75,.13); transform: translateY(-8px); }
.kmg-price-card h2 { font-size: 26px; }
.kmg-price { margin: 10px 0 12px !important; color: var(--kmg-green) !important; font-size: 42px !important; font-weight: 900; letter-spacing: -0.035em; line-height: 1.08 !important; }
.kmg-price-small { margin: 9px 0 10px !important; color: var(--kmg-green) !important; font-size: 27px !important; font-weight: 900; letter-spacing: -0.025em; line-height: 1.12 !important; }
.kmg-price-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.kmg-price-card li { position: relative; padding-left: 22px; color: #334155; line-height: 1.5; }
.kmg-price-card li::before { content: "•"; position: absolute; left: 5px; color: var(--kmg-green); font-weight: 900; }

.kmg-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 26px; align-items: start; }
.kmg-contact-card,
.kmg-form { padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--kmg-line); box-shadow: 0 16px 42px rgba(15,23,42,.055); }
.kmg-contact-card a { color: var(--kmg-blue); font-weight: 850; }
.kmg-contact-card hr { border: 0; border-top: 1px solid var(--kmg-line); margin: 20px 0; }
.kmg-small-text { font-size: 15px !important; }
.kmg-form { display: grid; gap: 15px; }
.kmg-form label { display: grid; gap: 8px; color: var(--kmg-ink); font-weight: 850; }
.kmg-form input,
.kmg-form select,
.kmg-form textarea { width: 100%; border: 1px solid var(--kmg-line); border-radius: 15px; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--kmg-ink); background: #fff; }
.kmg-form textarea { min-height: 145px; resize: vertical; }
.kmg-form-success,
.kmg-form-error { padding: 14px 16px; border-radius: 16px; font-weight: 850; }
.kmg-form-success { color: #0c5a3f; background: #e9fbf3; }
.kmg-form-error { color: #8a1f1f; background: #fff0f0; }

.kmg-cta { padding: clamp(50px, 6vw, 74px) 0; background: linear-gradient(135deg, var(--kmg-green), var(--kmg-navy)); color: #fff; }
.kmg-cta h2 { color: #fff; margin-bottom: 0; }
.kmg-cta p { color: rgba(255,255,255,.80); }
.kmg-cta .kmg-eyebrow { color: #d6f5e8 !important; }
.kmg-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }

.kmg-footer { padding: 54px 0; background: #070b14; color: #fff; }
.kmg-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 40px; }
.kmg-footer p { color: rgba(255,255,255,.66); margin-bottom: .6rem; }
.kmg-footer h3 { color: #fff; font-size: 16px; letter-spacing: 0; margin-bottom: 14px; }
.kmg-footer a { display: block; color: rgba(255,255,255,.78); margin: 8px 0; font-weight: 750; }
.kmg-footer a:hover { color: #fff; }
.kmg-footer-logo-img { width: auto; max-width: 210px; max-height: 58px; object-fit: contain; margin-bottom: 16px; }
.kmg-footer-brand strong { display: inline-block; color: #fff; font-size: 21px; margin-bottom: 12px; }

.kmg-mini-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 22px; }
.kmg-mini-tags span { display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 999px; background: #f1f5f9; color: #243244; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.kmg-mini-tags-dark span { background: rgba(255,255,255,.10); color: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.12); }
.kmg-support-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.kmg-support-grid .kmg-card { padding: 22px; }
.kmg-support-grid h3 { font-size: 19px; }

@media (max-width: 1040px) {
  .kmg-nav { display: none; }
  .kmg-hero-grid,
  .kmg-case-study,
  .kmg-split,
  .kmg-contact-grid,
  .kmg-cta-grid { grid-template-columns: 1fr; }
  .kmg-actions-right { justify-content: flex-start; }
  .kmg-three,
  .kmg-four,
  .kmg-support-grid,
  .kmg-pricing-grid,
  .kmg-two,
  .kmg-footer-grid { grid-template-columns: 1fr; }
  .kmg-price-card-featured { transform: none; }
  .kmg-hero-grid { min-height: auto; }
}

@media (max-width: 640px) {
  .kmg-container { width: min(100% - 28px, 1180px); }
  .kmg-header-inner { min-height: 76px; }
  .kmg-header-cta { display: none; }
  .kmg-logo-img { max-width: 185px; max-height: 52px; }
  .kmg h1 { font-size: clamp(36px, 10.5vw, 50px); line-height: 1.13; }
  .kmg h2 { font-size: clamp(28px, 8.5vw, 38px); line-height: 1.16; }
  .kmg h3 { line-height: 1.18; }
  .kmg p { font-size: 16px; }
  .kmg-hero-grid { padding: 46px 0; }
  .kmg-section { padding: 50px 0; }
  .kmg-feature-card,
  .kmg-card,
  .kmg-price-card,
  .kmg-contact-card,
  .kmg-form { padding: 23px; border-radius: 22px; }
  .kmg-netjustice-wordmark { min-height: 116px; gap: 12px; padding: 16px; }
  .kmg-netjustice-shield { flex-basis: 56px; width: 56px; height: 56px; border-radius: 17px; }
  .kmg-netjustice-wordmark strong { font-size: clamp(28px, 9vw, 40px); }
  .kmg-netjustice-wordmark em { font-size: clamp(22px, 7vw, 32px); }
  .kmg-browser-screen { min-height: 300px; padding: 19px; }
  .kmg-service-list article { grid-template-columns: 1fr; }
  .kmg-mini-pricing div { align-items: flex-start; flex-direction: column; }
  .kmg-mini-pricing span { text-align: left; }
  .kmg-stat-row { grid-template-columns: 1fr; }
  .kmg-btn { width: 100%; }
}


/* v2.9 hard font reset and cleaner spotlight */
.kmg, .kmg * { font-family: "Inter", Arial, Helvetica, sans-serif !important; }
.kmg-feature-card-hero .kmg-netjustice-logo { margin-top: 18px; }
.kmg-feature-card-hero p { max-width: 520px; }
.kmg-home .kmg-tight-section { border-bottom: 1px solid var(--kmg-line); }

/* v2.9 readability and contrast lock */
.kmg { -webkit-font-smoothing: antialiased; }
.kmg :where(a, button, input, textarea, select, label, option) {
  opacity: 1 !important;
}
.kmg a.kmg-header-cta,
.kmg .kmg-header-cta,
.kmg .kmg-btn-primary,
.kmg .kmg-btn-dark,
.kmg button.kmg-btn-primary,
.kmg button[type="submit"].kmg-btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}
.kmg .kmg-btn-secondary,
.kmg .kmg-btn-light {
  color: #071225 !important;
  -webkit-text-fill-color: #071225 !important;
}
.kmg .kmg-nav a {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  opacity: 1 !important;
}
.kmg .kmg-nav a:hover {
  color: #155e4b !important;
  -webkit-text-fill-color: #155e4b !important;
}
.kmg .kmg-contact-card,
.kmg .kmg-form,
.kmg .kmg-card,
.kmg .kmg-price-card {
  color: #111827 !important;
}
.kmg .kmg-contact-card h2,
.kmg .kmg-contact-card h3,
.kmg .kmg-form h2,
.kmg .kmg-form h3,
.kmg .kmg-form label,
.kmg .kmg-price-card h2,
.kmg .kmg-card h3 {
  color: #071225 !important;
  -webkit-text-fill-color: #071225 !important;
}
.kmg .kmg-contact-card p,
.kmg .kmg-contact-card strong,
.kmg .kmg-form label,
.kmg .kmg-form-success,
.kmg .kmg-form-error {
  opacity: 1 !important;
}
.kmg .kmg-contact-card a {
  color: #0f5fd7 !important;
  -webkit-text-fill-color: #0f5fd7 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kmg .kmg-footer a,
.kmg .kmg-footer p,
.kmg .kmg-footer h3,
.kmg .kmg-footer strong {
  opacity: 1 !important;
}
.kmg .kmg-footer h3,
.kmg .kmg-footer strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.kmg .kmg-footer p,
.kmg .kmg-footer a {
  color: rgba(255,255,255,.88) !important;
  -webkit-text-fill-color: rgba(255,255,255,.88) !important;
}
.kmg .kmg-footer a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.kmg .kmg-form input,
.kmg .kmg-form select,
.kmg .kmg-form textarea {
  color: #071225 !important;
  -webkit-text-fill-color: #071225 !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  caret-color: #071225 !important;
  box-shadow: none !important;
}
.kmg .kmg-form input::placeholder,
.kmg .kmg-form textarea::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1 !important;
}
.kmg .kmg-form select option {
  color: #071225 !important;
  background: #ffffff !important;
}
.kmg .kmg-form input:focus,
.kmg .kmg-form select:focus,
.kmg .kmg-form textarea:focus {
  outline: 3px solid rgba(21,94,75,.20) !important;
  border-color: #155e4b !important;
}
.kmg .kmg-cta h2,
.kmg .kmg-cta p,
.kmg .kmg-cta .kmg-eyebrow,
.kmg .kmg-netjustice-section h2,
.kmg .kmg-netjustice-section h3,
.kmg .kmg-netjustice-section p {
  opacity: 1 !important;
}
.kmg .kmg-page-hero,
.kmg .kmg-hero,
.kmg .kmg-section,
.kmg .kmg-soft {
  color: #111827 !important;
}
@media (max-width: 640px) {
  .kmg .kmg-header-inner { gap: 12px; }
  .kmg .kmg-brand-name { font-size: 15px; }
  .kmg .kmg-contact-card a { overflow-wrap: anywhere; }
}



/* v3.1 safe consultation button contrast */
.kmg a.kmg-consultation-btn,
.kmg a.kmg-consultation-btn:link,
.kmg a.kmg-consultation-btn:visited,
.kmg a.kmg-consultation-btn:hover,
.kmg a.kmg-consultation-btn:focus,
.kmg a.kmg-consultation-btn:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  opacity: 1 !important;
}
.kmg .kmg-cta a.kmg-consultation-btn,
.kmg .kmg-cta a.kmg-consultation-btn:link,
.kmg .kmg-cta a.kmg-consultation-btn:visited,
.kmg .kmg-cta a.kmg-consultation-btn:hover,
.kmg .kmg-cta a.kmg-consultation-btn:focus,
.kmg .kmg-cta a.kmg-consultation-btn:active {
  color: #071225 !important;
  -webkit-text-fill-color: #071225 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

/* v3.3 premium cleanup */
.kmg-value-section { background: #ffffff; }
.kmg-value-list { display: grid; gap: 14px; }
.kmg-value-list div { padding: 19px 21px; border: 1px solid var(--kmg-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.045); }
.kmg-value-list strong { display: block; color: var(--kmg-ink); font-size: 18px; margin-bottom: 4px; }
.kmg-value-list span { display: block; color: var(--kmg-muted); line-height: 1.55; }
.kmg-note-box { max-width: 920px; padding: 30px; border: 1px solid rgba(21,94,75,.18); border-radius: 26px; background: linear-gradient(135deg,#fff,#f4faf7); box-shadow: 0 16px 42px rgba(15,23,42,.055); }
.kmg-note-box h2 { font-size: clamp(28px,3.2vw,40px); margin-bottom: 10px; }
.kmg-note-box p { margin-bottom: 0; max-width: 780px; }
.kmg-pricing-page .kmg-price-card p { min-height: auto; }
.kmg-pricing-page .kmg-section-heading { margin-bottom: 24px; }
.kmg-seo-page .kmg-page-hero h1 { max-width: 920px; }
.kmg-seo-link-grid .kmg-card { display: flex; flex-direction: column; align-items: flex-start; }
.kmg-seo-link-grid .kmg-text-link { margin-top: auto; }
.kmg-footer-contact-title { margin-top: 26px; }
.kmg-page-hero p:not(.kmg-eyebrow), .kmg-lead { color: #334155; }
.kmg h1, .kmg h2, .kmg h3 { text-wrap: balance; }
.kmg-card, .kmg-price-card, .kmg-contact-card, .kmg-form { overflow: visible; }
.kmg-btn, .kmg-header-cta { text-decoration: none !important; }
.kmg .kmg-btn-primary, .kmg .kmg-btn-primary:visited, .kmg .kmg-btn-primary:hover, .kmg .kmg-btn-primary:focus { color: #ffffff !important; }
.kmg .kmg-btn-light, .kmg .kmg-btn-light:visited, .kmg .kmg-btn-light:hover, .kmg .kmg-btn-light:focus { color: #071225 !important; }
.kmg .kmg-btn-secondary, .kmg .kmg-btn-secondary:visited, .kmg .kmg-btn-secondary:hover, .kmg .kmg-btn-secondary:focus { color: #10223b !important; }
.kmg .kmg-btn-dark, .kmg .kmg-btn-dark:visited, .kmg .kmg-btn-dark:hover, .kmg .kmg-btn-dark:focus { color: #ffffff !important; }
@media (max-width: 640px) { .kmg-note-box { padding: 23px; } }


.kmg-feature-card-hero .kmg-netjustice-logo img { width: min(100%, 460px); max-height: 220px; margin-inline: auto; }
.kmg-feature-card-hero .kmg-netjustice-logo { display: flex; justify-content: center; align-items: center; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%); border: 1px solid rgba(7,18,37,.08); }
.kmg-browser-screen .kmg-netjustice-logo { display: flex; justify-content: center; align-items: center; padding: 8px 0 4px; }
.kmg-browser-screen .kmg-netjustice-logo img { width: min(100%, 520px); max-height: 200px; object-fit: contain; margin-inline: auto; }

/* kmg-v35-polish */
.kmg-home .kmg-value-section { display: none; }
.kmg-feature-card-hero p { max-width: 560px; }
.kmg-pricing-page .kmg-page-hero p { max-width: 740px; }
.kmg-seo-link-grid .kmg-card p { display: none; }
.kmg-footer-contact-title { margin-top: 20px; }
.kmg-price-card p:not(.kmg-price) { min-height: 0; }
.kmg-service-list article p { max-width: 780px; }
.kmg-case-copy p { max-width: 650px; }


/* v3.6 polish */
.kmg .kmg-feature-card-hero h2 { margin-top: 18px; }
.kmg .kmg-feature-card-hero p { font-size: 16px; }
.kmg .kmg-pricing-page .kmg-page-hero p,
.kmg .kmg-service-list p,
.kmg .kmg-card p { max-width: 68ch; }
.kmg-faq-section { background: #fff; }
.kmg-faq-list { display: grid; gap: 12px; }
.kmg-faq-list details { border: 1px solid var(--kmg-line); border-radius: 18px; background: #fff; padding: 18px 20px; box-shadow: 0 10px 28px rgba(15,23,42,.035); }
.kmg-faq-list summary { cursor: pointer; color: var(--kmg-navy); font-weight: 900; list-style-position: outside; }
.kmg-faq-list details p { margin: 12px 0 0; color: var(--kmg-muted); }
.kmg .kmg-mini-pricing .kmg-btn { width: fit-content; }
.kmg .kmg-price-card p:not(.kmg-price):not(.kmg-price-small) { min-height: 52px; }
@media (max-width: 720px) { .kmg .kmg-price-card p:not(.kmg-price):not(.kmg-price-small) { min-height: 0; } }


/* v3.7 SEO and readability polish */
.kmg-seo-internal .kmg-card p { margin-bottom: 12px; }
.kmg-faq-list { display: grid; gap: 12px; }
.kmg-faq-list details { border: 1px solid var(--kmg-line); border-radius: 18px; background: #fff; padding: 18px 20px; box-shadow: 0 10px 26px rgba(15,23,42,.035); }
.kmg-faq-list summary { cursor: pointer; font-weight: 900; color: var(--kmg-ink); }
.kmg-faq-list details p { margin-top: 12px; margin-bottom: 0; }
.kmg-service-list .kmg-text-link { margin-top: 8px; }
.kmg-footer-contact-title { margin-top: 22px !important; }
.kmg-feature-card-hero .kmg-netjustice-logo { display: flex; justify-content: center; align-items: center; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%); border: 1px solid rgba(7,18,37,.08); }
.kmg-feature-card-hero .kmg-netjustice-logo img { width: min(100%, 470px); max-height: 225px; margin-inline: auto; object-fit: contain; }
.kmg-browser-screen .kmg-netjustice-logo img { width: min(100%, 520px); max-height: 200px; object-fit: contain; margin-inline: auto; }
