/* DWLCA — clean, institutional. Navy + teal, lots of white, restrained. */
:root {
  --navy: #0b2545; --navy-2: #13315c; --teal: #0f766e; --teal-2: #0d9488;
  --ink: #0f172a; --body: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg-2: #f6f8fb;
  --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
  --r: 12px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px -12px rgba(15,23,42,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--body); background: var(--bg); line-height: 1.6; font-size: 16px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand strong { display: block; font-size: 1.25rem; letter-spacing: .04em; color: var(--navy); }
.brand small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--body); font-weight: 500; font-size: .95rem; }
.nav a.active { color: var(--navy); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.3rem; padding: 4px 10px; }
@media (max-width: 900px) {
  .brand small { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-block; background: var(--navy); color: #fff !important; padding: 12px 22px; border-radius: 8px; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--navy-2); text-decoration: none; }
.btn-teal { background: var(--teal); } .btn-teal:hover { background: var(--teal-2); }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe4f0; padding: 72px 0 64px; }
.hero h1 { color: #fff; max-width: 780px; }
.hero p.lead { font-size: 1.2rem; max-width: 680px; color: #cbd5e1; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.6); } .hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal-2); margin-bottom: 12px; }
.hero .eyebrow { color: #5eead4; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card .num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: #e6f4f2; color: var(--teal); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; font-size: 1.2rem; }
.stat { text-align: center; }
.stat .num { font-size: 2.4rem; color: var(--teal); }

/* page header */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.page-head p { max-width: 720px; font-size: 1.1rem; margin: 0; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2em; } .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
td.yes { color: var(--ok); font-weight: 600; } td.no { color: var(--bad); } td.partial { color: var(--warn); }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-table tr.total td { font-size: 1.1rem; font-weight: 800; border-top: 2px solid var(--navy); }

/* forms */
form.std { max-width: 780px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 0 0 24px; }
legend { font-weight: 700; color: var(--ink); padding: 0 8px; }
label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .row-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 600px) { .row, .row-3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea { min-height: 120px; resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; }
label.check input { margin-top: 4px; }
.req { color: var(--bad); }
.help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.quote-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.quote-box h3 { margin-top: 0; }
.quote-box .total { font-size: 1.6rem; font-weight: 800; color: var(--navy); }

/* verify */
.search { display: flex; gap: 10px; max-width: 640px; }
.search input { flex: 1; font-size: 1.05rem; padding: 14px 16px; }
.vcard { border: 2px solid var(--line); border-radius: var(--r); padding: 28px; margin-top: 24px; background: #fff; box-shadow: var(--shadow); max-width: 720px; }
.vcard-status { display: inline-block; font-weight: 800; letter-spacing: .06em; font-size: .8rem; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; margin-bottom: 14px; }
.vcard-active { border-color: var(--ok); } .vcard-active .vcard-status { background: #dcfce7; color: var(--ok); }
.vcard-suspended { border-color: var(--warn); } .vcard-suspended .vcard-status { background: #fef3c7; color: var(--warn); }
.vcard-revoked, .vcard-expired, .vcard-none { border-color: var(--bad); } .vcard-revoked .vcard-status, .vcard-expired .vcard-status, .vcard-none .vcard-status { background: #fee2e2; color: var(--bad); }
.vcard h2 { margin: 0 0 4px; } .vcard-cert { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; color: var(--teal); font-weight: 700; margin-bottom: 18px; }
.vcard dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0 0 16px; }
.vcard dt { color: var(--muted); font-weight: 500; } .vcard dd { margin: 0; color: var(--ink); } .vcard dd ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 600px) { .vcard dl { grid-template-columns: 1fr; gap: 2px; } .vcard dt { margin-top: 10px; } }

/* directory */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.filters select { width: auto; min-width: 200px; }
.lab { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: #fff; }
.lab h3 { margin: 0 0 4px; } .lab .cert { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--teal); font-weight: 600; font-size: .9rem; }
.lab .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { background: #e6f4f2; color: var(--teal); font-size: .75rem; padding: 3px 8px; border-radius: 999px; font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--teal); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 12px; max-width: 760px; }
.faq-group { margin-bottom: 40px; }

/* timeline */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { margin: 6px 0 4px; }

.callout { border-left: 4px solid var(--teal); background: #f0fdfa; padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; margin: 20px 0; }
.callout.warn { border-color: var(--warn); background: #fffbeb; }
.seal-preview { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: #fff; display: inline-block; }

/* footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 52px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: .95rem; }
.site-footer a { display: block; color: #cbd5e1; font-size: .93rem; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.brand-foot strong { color: #fff; } .site-footer .muted { color: #94a3b8; font-size: .9rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .8rem; color: #94a3b8; }

/* scope groups with analytes */
.scope-group { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.scope-group .scope-head { margin: 0; }
.scope-group .analytes { display: none; margin: 10px 0 0 26px; padding-top: 10px; border-top: 1px dashed var(--line); columns: 2; column-gap: 24px; }
.scope-group.open .analytes { display: block; }
.scope-group .analytes label.check { font-size: .88rem; margin-bottom: 6px; break-inside: avoid; }
.analyte-tools { column-span: all; font-size: .82rem; margin-top: 6px; }
@media (max-width: 600px) { .scope-group .analytes { columns: 1; } }
