/* NotifiedSum visual identity: navy = trust, ledger green = money protected, amber = deadline. */
[hidden] { display: none !important; }
:root {
  --navy: #0F2A44; --navy-2: #1B3B5C; --ink: #18212F; --muted: #5A6577; --line: #DDE2E8;
  --paper: #F7F6F2; --white: #FFFFFF; --green: #1F7A5C; --green-soft: #E6F2EC; --mint: #9FD3BF;
  --amber: #A86A12; --amber-soft: #FBF1DE; --red: #A23B2A; --radius: 12px;
  --shadow: 0 1px 2px rgba(15,42,68,.06), 0 8px 24px rgba(15,42,68,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--navy); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--green); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #17644B; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.honest-line { font-size: .9rem; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }

/* Payment clock card (hero) */
.clock-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.clock-card .tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.timeline li:first-child { border-top: 0; }
.timeline .d { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline .warn .d { color: var(--amber); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; margin-left: 6px; vertical-align: 1px; }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-navy { background: #E7EDF4; color: var(--navy); }

/* Case list */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }
.case .amount { font-size: 1.9rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.case .src { font-size: .85rem; }
.note { font-size: .88rem; color: var(--muted); }
.callout { background: var(--amber-soft); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 8px; font-size: .95rem; }
.callout-green { background: var(--green-soft); border-left-color: var(--green); }

/* Demo dashboard */
.demo { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.demo-bar { background: var(--navy); color: var(--white); padding: 10px 16px; font-size: .85rem; display: flex; justify-content: space-between; }
.demo-body { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 820px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi .v { font-size: 1.4rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi .l { font-size: .8rem; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Calculator */
.calc { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label, .legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 4px; color: var(--navy); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 3px; }
input[type=date], input[type=number], input[type=text], input[type=email], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #C5CDD6; border-radius: 8px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); }
.seg { display: flex; border: 1px solid #C5CDD6; border-radius: 8px; overflow: hidden; }
.seg label { flex: 1; text-align: center; padding: 9px 6px; cursor: pointer; font-weight: 600; font-size: .9rem; margin: 0; color: var(--ink); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--white); }
.seg label:has(input:checked) { background: var(--navy); color: var(--white); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.result-date { font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.party { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.rule { font-size: .85rem; color: var(--muted); }
.warnings { margin: 12px 0; }
.warnings li { color: var(--amber); font-size: .92rem; }
.error { color: var(--red); font-weight: 600; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--white); margin-top: 14px; }
details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.empty { color: var(--muted); padding: 24px; border: 1px dashed #C5CDD6; border-radius: 12px; text-align: center; }

/* Pricing */
.price { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { padding-left: 18px; margin: 12px 0 0; }
.plan.featured { border: 2px solid var(--green); }

/* FAQ */
.faq details { margin-top: 10px; }
.faq details p { margin: 10px 0 0; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 10px 0; }
.check input { margin-top: 5px; }
.form-status { margin-top: 12px; font-weight: 600; }
.ok { color: var(--green); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D6E3; padding: 40px 0; font-size: .9rem; }
.site-footer a { color: var(--white); }
.legal-page { padding: 48px 0 80px; }
.legal-page h2 { margin-top: 1.6em; font-size: 1.35rem; }

/* Print: only the calculator results */
@media print {
  body { background: #fff; font-size: 11pt; }
  body.printing-results > *:not(main) { display: none !important; }
  body.printing-results main > *:not(#calculator) { display: none !important; }
  body.printing-results #calculator .calc-form, body.printing-results .no-print { display: none !important; }
  body.printing-results #calculator { padding: 0; }
  body.printing-results .calc { display: block; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
.show-sm { display: none; }
.nav .btn { white-space: nowrap; }
@media (max-width: 820px) { .hide-sm { display: none; } .show-sm { display: inline; } }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
