/* Naperville Water Damage Help: violet ink + buttercup, Newsreader + Atkinson Hyperlegible */
:root {
  --ink: #1f1640;
  --ink-soft: #4a4166;
  --violet: #4b2fb8;
  --violet-700: #3c2499;
  --violet-50: #f4f1fd;
  --violet-100: #e9e3fb;
  --violet-200: #d3c8f6;
  --sun: #ffd23f;
  --sun-deep: #f2b705;
  --paper: #fbfaf6;
  --line: #e4dff2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.nw-body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 18px; line-height: 1.65; }
.nw-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.nw-article a, .nw-lede a, .nw-short a, .nw-note a, .nw-warn a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.nw-article a:hover, .nw-lede a:hover { color: var(--violet-700); }
.nw-article a.nw-tile, .nw-article a.nw-hubcard, .nw-article a.nw-postcard { text-decoration: none; color: var(--ink); }
.nw-body h1, .nw-body h2, .nw-body h3, .nw-display { font-family: Newsreader, Georgia, serif; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
.nw-body h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; margin: 0 0 18px; }
.nw-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; margin: 52px 0 14px; }
.nw-body h3 { font-size: 1.25rem; font-weight: 600; margin: 30px 0 10px; }
.nw-body p { margin: 0 0 16px; }
.nw-article ul, .nw-article ol:not(.nw-steps), .nw-triage ol { padding-left: 1.25em; margin: 0 0 18px; }
.nw-article ul { list-style: disc; }
.nw-article ol:not(.nw-steps), .nw-triage ol { list-style: decimal; }
.nw-article li, .nw-triage li { margin-bottom: 6px; }
.nw-body strong, .nw-body b { font-weight: 700; }
.nw-skip { position: absolute; left: -9999px; }
.nw-skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.nw-ico { width: 20px; height: 20px; flex: none; }

/* Top call strip */
.nw-alert { background: var(--sun); color: var(--ink); font-size: 0.98rem; }
.nw-alert-row { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.nw-body .nw-alert p { margin: 0; font-weight: 700; }
.nw-alert .nw-tel { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; white-space: nowrap; }
.nw-alert-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; box-shadow: 0 0 0 4px rgba(31,22,64,0.18); }

/* Header */
.nw-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nw-header-row { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.nw-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nw-mark-svg { width: 40px; height: 40px; background: var(--ink); border-radius: 12px 12px 12px 2px; padding: 5px; }
.nw-mark-text { display: flex; flex-direction: column; line-height: 1.05; }
.nw-mark-top { font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.2rem; }
.nw-mark-bottom { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.nw-nav { display: none; align-items: center; gap: 22px; margin-left: auto; font-size: 0.98rem; }
.nw-nav > a, .nw-dd summary { color: var(--ink); text-decoration: none; cursor: pointer; }
.nw-nav > a:hover, .nw-dd summary:hover { color: var(--violet); }
.nw-nav-hub { font-weight: 700; color: var(--violet) !important; }
.nw-dd { position: relative; }
.nw-dd summary { list-style: none; }
.nw-dd summary::-webkit-details-marker { display: none; }
.nw-dd summary::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.nw-dd ul { position: absolute; top: 34px; left: -14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; list-style: none; min-width: 250px; box-shadow: 0 18px 40px rgba(31,22,64,0.12); }
.nw-dd li { margin: 0; }
.nw-dd ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.nw-dd ul a:hover { background: var(--violet-50); }
.nw-header .nw-head-call { display: none; }
.nw-mobile { margin-left: auto; }
.nw-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 10px; background: var(--violet-50); }
.nw-mobile summary::-webkit-details-marker { display: none; }
.nw-mobile summary span { width: 20px; height: 2px; background: var(--ink); display: block; }
.nw-mobile-panel { position: absolute; left: 0; right: 0; top: 74px; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 22px 26px; max-height: 75vh; overflow-y: auto; }
.nw-mobile-panel ul { list-style: none; padding: 0; }
.nw-mobile-panel a { text-decoration: none; color: var(--ink); }
.nw-mobile-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin: 16px 0 6px; }
@media (min-width: 1024px) {
  .nw-nav { display: flex; }
  .nw-header .nw-head-call { display: inline-flex; }
  .nw-mobile { display: none; }
}

/* Buttons */
.nw-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 12px 22px; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.nw-btn:hover { transform: translateY(-1px); }
.nw-btn-ink { background: var(--ink); color: #fff !important; }
.nw-btn-ink:hover { background: var(--violet-700); }
.nw-btn-sun { background: var(--sun); color: var(--ink) !important; }
.nw-btn-sun:hover { background: var(--sun-deep); }
.nw-btn-ghost { border: 2px solid var(--ink); color: var(--ink) !important; }
.nw-btn-big { font-size: 1.2rem; padding: 18px 30px; }

/* Breadcrumbs */
.nw-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 0.9rem; }
.nw-crumbs li { margin: 0; color: var(--ink-soft); }
.nw-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--violet-200); }
.nw-crumbs a { color: var(--ink-soft); }

/* Page heads */
.nw-pagehead { padding-top: 26px; padding-bottom: 30px; }
.nw-eyebrow { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--violet); margin-bottom: 10px; }
.nw-eyebrow-sun { color: var(--sun); }
.nw-lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 760px; }

/* Answer-first block */
.nw-short { background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 16px 20px 16px 20px; position: relative; font-size: 1.04rem; }
.nw-short::before { content: "Short answer"; display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; background: var(--ink); color: var(--sun); padding: 3px 10px; border-radius: 999px; margin-right: 10px; vertical-align: 2px; }

/* Content layout */
.nw-article { max-width: 780px; }
.nw-layout { display: grid; gap: 40px; padding-bottom: 60px; }
@media (min-width: 1024px) {
  .nw-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .nw-toc { position: sticky; top: 100px; align-self: start; }
}
.nw-toc { background: var(--violet-50); border-radius: 18px; padding: 20px; font-size: 0.95rem; }
.nw-toc p { font-weight: 700; margin-bottom: 8px; }
.nw-toc ol { padding-left: 1.1em; margin: 0; }
.nw-toc a { color: var(--ink); text-decoration: none; }
.nw-toc a:hover { color: var(--violet); text-decoration: underline; }
.nw-plain { padding-bottom: 60px; }

/* Inline call card */
.nw-inline-call { margin: 34px 0; background: var(--ink); color: #fff; border-radius: 22px 22px 22px 4px; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.nw-inline-call .nw-inline-call-text { margin: 0; max-width: 520px; font-weight: 700; }
.nw-inline-call .nw-tel { color: var(--sun); }

/* Numbered steps */
.nw-steps { list-style: none; padding: 0; counter-reset: s; }
.nw-steps > li { counter-increment: s; position: relative; padding: 4px 0 18px 66px; margin: 0; border-left: 2px dashed var(--violet-200); margin-left: 22px; }
.nw-steps > li:last-child { border-left-color: transparent; }
.nw-steps > li::before { content: counter(s); position: absolute; left: -23px; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.nw-steps strong { display: block; font-size: 1.08rem; }

/* Tables */
.nw-table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.nw-table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.nw-table th { text-align: left; background: var(--violet-50); font-weight: 700; padding: 12px 14px; }
.nw-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }

/* Tiles and cards */
.nw-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 20px 0 26px; }
.nw-tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.nw-tile:hover { border-color: var(--violet); transform: translateY(-2px); color: var(--ink); }
.nw-tile-title { font-family: Newsreader, Georgia, serif; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 6px; }
.nw-tile-text { color: var(--ink-soft); font-size: 0.97rem; }
.nw-tile-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--violet-50); color: var(--violet); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.nw-tile-icon svg { width: 24px; height: 24px; }
.nw-note { background: var(--violet-50); border-radius: 16px; padding: 18px 20px; margin: 0 0 22px; }
.nw-warn { background: #fff7d6; border: 1px solid #f3dc8a; border-radius: 16px; padding: 18px 20px; margin: 0 0 22px; }
.nw-hubcard { display: flex; gap: 18px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 22px; margin: 30px 0; text-decoration: none; color: var(--ink); }
.nw-hubcard:hover { background: var(--violet-50); color: var(--ink); }
.nw-hubcard b { font-family: Newsreader, Georgia, serif; font-size: 1.25rem; display: block; }

/* Home hero */
.nw-hero { padding: 40px 0 56px; }
.nw-hero-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 960px) { .nw-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.nw-triage { background: var(--ink); color: #fff; border-radius: 28px 28px 28px 6px; padding: 28px; }
.nw-body .nw-triage h2 { color: #fff; margin: 0 0 14px; font-size: 1.5rem; }
.nw-triage ol { padding-left: 1.2em; }
.nw-triage li { margin-bottom: 10px; }
.nw-triage a { color: var(--sun); text-decoration: underline; }
.nw-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 46px 0; }

/* Illustration slot */
.nw-slot { margin: 26px 0; border: 2px dashed var(--violet-200); border-radius: 20px; padding: 18px; background: var(--violet-50); }
.nw-slot-art { max-width: 260px; margin: 0 auto; }
.nw-slot-svg { width: 100%; height: auto; display: block; }
.nw-slot figcaption { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }

/* End call block */
.nw-endcall { background: var(--ink); color: #fff; padding: 52px 0; margin-top: 20px; }
.nw-endcall-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .nw-endcall-grid { grid-template-columns: 1fr auto; } }
.nw-endcall-line { font-family: Newsreader, Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; margin-bottom: 12px; }
.nw-endcall-line .nw-tel { color: var(--sun); }
.nw-endcall .nw-endcall-sub { color: #d9d3ee; max-width: 680px; margin: 0; }
.nw-endcall-sub a { color: var(--sun); text-decoration: underline; }

/* Footer */
.nw-footer { background: #efeaf9; padding: 50px 0 24px; font-size: 0.95rem; }
.nw-footer-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .nw-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.nw-footer ul { list-style: none; padding: 0; }
.nw-footer a { color: var(--ink); text-decoration: none; }
.nw-footer a:hover { color: var(--violet); text-decoration: underline; }
.nw-foot-h { font-weight: 700; margin-bottom: 10px; }
.nw-foot-note { color: var(--ink-soft); margin-top: 14px; }
.nw-foot-phone { font-family: Newsreader, Georgia, serif; font-size: 1.4rem; font-weight: 700; }
.nw-foot-base { border-top: 1px solid var(--violet-200); margin-top: 26px; padding-top: 18px; color: var(--ink-soft); font-size: 0.85rem; }

/* Form */
.nw-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.nw-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.nw-field { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--paper); margin-bottom: 18px; }
.nw-field:focus { outline: none; border-color: var(--violet); background: #fff; }
.nw-consent { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; margin-top: 14px; }
.nw-form-ok { background: var(--violet-50); border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-weight: 700; }
.nw-form button[disabled] { opacity: .6; cursor: wait; }
.hidden { display: none; }

/* Blog list */
.nw-postcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; text-decoration: none; color: var(--ink); margin-bottom: 18px; }
.nw-postcard:hover { border-color: var(--violet); color: var(--ink); }
.nw-postcard b { font-family: Newsreader, Georgia, serif; font-size: 1.4rem; display: block; margin-bottom: 6px; }
.nw-meta { color: var(--ink-soft); font-size: 0.9rem; }
.nw-article > h2:first-child { margin-top: 8px; }
