:root{
  --nds-ink:#10243e;--nds-navy:#071a2f;--nds-blue:#155eef;--nds-gold:#d9a441;
  --nds-teal:#0f766e;--nds-violet:#7c3aed;--nds-cyan:#0369a1;--nds-rose:#be123c;
  --nds-paper:#f4f7fb;--nds-line:#dce5ef;--nds-muted:#64748b;--nds-white:#fff;
  --nds-shadow:0 18px 45px rgba(15,35,61,.10);--nds-shadow-soft:0 8px 24px rgba(15,35,61,.08);
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 14% -10%,rgba(21,94,239,.10),transparent 34rem),
    radial-gradient(circle at 90% 12%,rgba(217,164,65,.10),transparent 28rem),
    var(--nds-paper);
  color:var(--nds-ink);
}
.clean-shell{max-width:1240px!important;padding:24px 26px 82px!important}

.premium-hero{
  position:relative;overflow:hidden;margin:0 0 34px;padding:40px!important;border-radius:30px;color:#fff;
  background:
    radial-gradient(circle at 84% 16%,rgba(217,164,65,.30),transparent 20rem),
    radial-gradient(circle at 10% 100%,rgba(21,94,239,.34),transparent 24rem),
    linear-gradient(135deg,#06162a 0%,#0a2f57 52%,#0d4f86 100%);
  box-shadow:0 26px 70px rgba(7,26,47,.26);isolation:isolate;
}
.premium-hero:after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),transparent);
}
.premium-brandline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.premium-brandline span:first-child{
  display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:var(--nds-gold);
  color:#1f2937;font-size:.72rem;font-weight:900;letter-spacing:.12em;
}
.premium-brandline span:last-child{
  color:#dbeafe;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
}
.premium-hero .eyebrow{color:#dbeafe!important}
.premium-hero>h1{
  color:#fff!important;max-width:900px;font-size:clamp(2.25rem,5vw,4.5rem)!important;
  line-height:1.01!important;letter-spacing:-.045em;margin:6px 0 14px!important;
}
.premium-hero>p:not(.eyebrow){max-width:800px;color:#dbeafe!important;font-size:1.08rem}
.clean-search{
  display:grid!important;grid-template-columns:minmax(220px,430px) auto;gap:10px!important;
  max-width:650px;margin:24px 0!important;
}
.clean-search input{
  min-width:0!important;border:1px solid rgba(255,255,255,.34)!important;background:rgba(255,255,255,.96)!important;
  color:var(--nds-ink)!important;border-radius:13px!important;box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.clean-search button{
  border:0!important;border-radius:13px!important;background:var(--nds-gold)!important;color:#172033!important;
  font-weight:850!important;box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.clean-search button:hover{filter:brightness(1.04);transform:translateY(-1px)}

.premium-identity{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 6px}
.premium-identity-kicker{color:#93c5fd;font-size:.74rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.premium-identity h2{margin:4px 0!important;color:#fff!important;font-size:clamp(1.7rem,3vw,2.55rem)!important}
.premium-identity p{margin:0;color:#cbdcf0!important}
.premium-zip-badge{
  min-width:132px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);
  backdrop-filter:blur(9px);border-radius:18px;padding:13px 18px;text-align:center;
}
.premium-zip-badge span{display:block;color:#bfdbfe;font-size:.66rem;font-weight:800;letter-spacing:.18em}
.premium-zip-badge strong{display:block;color:#fff;font-size:1.7rem;letter-spacing:.06em;line-height:1.15}

.clean-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important;margin:22px 0 2px!important}
.clean-stat.premium-stat{
  position:relative;overflow:hidden;min-height:132px;border:1px solid rgba(255,255,255,.20)!important;
  background:rgba(255,255,255,.96)!important;border-radius:17px!important;padding:18px 18px 16px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.12)!important;
}
.premium-stat-topline{position:absolute;left:0;right:0;top:0;height:4px;background:var(--accent,#155eef)}
.premium-stat[data-accent="blue"]{--accent:#155eef}.premium-stat[data-accent="gold"]{--accent:#d9a441}
.premium-stat[data-accent="teal"]{--accent:#0f766e}.premium-stat[data-accent="violet"]{--accent:#7c3aed}
.premium-stat[data-accent="cyan"]{--accent:#0369a1}.premium-stat[data-accent="rose"]{--accent:#be123c}
.premium-stat .k{color:#64748b!important;font-size:.71rem!important;font-weight:850;letter-spacing:.08em!important}
.premium-stat .v{color:#10243e;font-size:1.45rem!important;letter-spacing:-.02em}
.premium-stat-sub{margin-top:5px;color:#718096;font-size:.76rem;line-height:1.35}
.premium-meter{width:100%;height:8px;border-radius:99px;background:#e7eef6;overflow:hidden;margin-top:11px}
.premium-meter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#155eef,#13a8a8)}

#story{margin:34px 0 38px}
.premium-story-shell{
  position:relative;background:#fff;border:1px solid var(--nds-line);border-radius:24px;padding:30px;
  box-shadow:var(--nds-shadow);overflow:hidden;
}
.premium-story-shell:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(#155eef,#0f766e,#d9a441);
}
.premium-story-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.premium-story-heading .eyebrow{color:#155eef!important;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
.premium-story-heading h2{
  margin:2px 0!important;color:#0b2646!important;font-size:clamp(1.65rem,3vw,2.45rem)!important
}
.premium-story-lede{color:#475569!important;max-width:970px;font-size:1.05rem!important;line-height:1.75!important}
.premium-story-mark{display:flex;gap:5px;align-items:flex-end;height:44px;padding-top:7px}
.premium-story-mark span{display:block;width:7px;border-radius:99px;background:#155eef}
.premium-story-mark span:nth-child(1){height:17px}.premium-story-mark span:nth-child(2){height:29px;background:#0f766e}
.premium-story-mark span:nth-child(3){height:39px;background:#d9a441}

.premium-graphic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:22px}
.premium-graphic-card{
  min-height:174px;border:1px solid #e2e8f0;border-radius:17px;padding:18px;
  background:radial-gradient(circle at 100% 0,rgba(21,94,239,.08),transparent 9rem),linear-gradient(180deg,#fff,#f8fbff);
}
.premium-graphic-kicker{color:#64748b;font-size:.70rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.premium-score-line{display:flex;align-items:baseline;gap:5px;margin-top:16px}
.premium-score-line strong,.premium-big-number{color:#0b2646;font-size:2.25rem;line-height:1;font-weight:900;letter-spacing:-.04em}
.premium-score-line span{color:#94a3b8;font-size:.86rem}
.premium-meter-large{height:10px;margin-top:15px}
.premium-graphic-caption{margin-top:12px;color:#64748b;font-size:.78rem;line-height:1.4}
.premium-ring-row{display:flex;gap:8px;margin-top:14px}
.premium-ring{
  width:64px;height:64px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:5px solid #dbeafe;box-shadow:inset 0 0 0 1px #bfdbfe;background:#fff;
}
.premium-ring strong{color:#0b4aa2;font-size:1.03rem;line-height:1}.premium-ring span{margin-top:3px;color:#64748b;font-size:.63rem;font-weight:800}
.premium-change-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.premium-change-row>div{padding:11px;border-radius:12px;background:#fff;border:1px solid #e2e8f0}
.premium-change-row strong{display:block;color:#0b4aa2;font-size:1.1rem}
.premium-change-row span{display:block;margin-top:3px;color:#64748b;font-size:.70rem;line-height:1.25}

.premium-modules{margin-top:26px}
.premium-modules>.eyebrow{color:#155eef!important;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.premium-modules>h2{color:#0b2646!important;font-size:clamp(1.65rem,3vw,2.45rem)!important;margin-bottom:10px!important}
.clean-actions{
  position:sticky;top:10px;z-index:20;display:flex!important;gap:8px!important;width:max-content;max-width:100%;
  padding:7px!important;border:1px solid rgba(203,213,225,.82);border-radius:14px;
  background:rgba(255,255,255,.88);backdrop-filter:blur(12px);box-shadow:var(--nds-shadow-soft);
}
.clean-actions button{
  border:1px solid #d8e1eb!important;border-radius:9px!important;background:#fff!important;color:#183450!important;font-weight:760!important
}
.clean-actions button:hover{border-color:#94a3b8!important;background:#f8fafc!important}

.clean-module-nav{
  display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px!important;
  margin:16px 0 25px!important;padding:4px 2px 12px;scrollbar-width:thin;
}
.clean-module-nav a{
  flex:0 0 auto;border:1px solid #d7e2ee!important;border-radius:999px!important;padding:8px 11px!important;
  background:#fff;color:#30506e!important;font-size:.78rem!important;font-weight:740;box-shadow:0 3px 10px rgba(15,35,61,.04);
}
.clean-module-nav a:hover{border-color:#93b7df!important;color:#0b4aa2!important;transform:translateY(-1px)}

.clean-module.premium-module{
  --theme:#155eef;--theme-soft:#eff6ff;position:relative;border:1px solid #dbe5ef!important;
  border-left:5px solid var(--theme)!important;border-radius:18px!important;background:#fff!important;
  margin:11px 0!important;overflow:hidden;box-shadow:0 5px 18px rgba(15,35,61,.045);
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;scroll-margin-top:92px;
}
.clean-module[data-theme="civic"]{--theme:#155eef;--theme-soft:#eff6ff}
.clean-module[data-theme="people"]{--theme:#0f766e;--theme-soft:#ecfdf5}
.clean-module[data-theme="housing"]{--theme:#7c3aed;--theme-soft:#f5f3ff}
.clean-module[data-theme="opportunity"]{--theme:#b7791f;--theme-soft:#fffbeb}
.clean-module[data-theme="systems"]{--theme:#b42318;--theme-soft:#fff1f2}
.clean-module[data-theme="access"]{--theme:#0369a1;--theme-soft:#f0f9ff}
.clean-module.premium-module:hover{box-shadow:0 10px 26px rgba(15,35,61,.075)}
.clean-module.premium-module[open]{border-color:#cbd9e7!important;box-shadow:0 14px 34px rgba(15,35,61,.09)}
.clean-module>summary{
  grid-template-columns:58px minmax(0,1fr) 28px!important;align-items:center;gap:14px!important;
  padding:18px 20px!important;background:#fff;transition:background .18s ease;
}
.clean-module[open]>summary{background:linear-gradient(90deg,var(--theme-soft),#fff 58%)}
.clean-module>summary:focus-visible{outline:3px solid #93c5fd;outline-offset:-3px}
.clean-num{
  display:grid;place-items:center;width:45px;height:45px;border-radius:13px;color:#fff!important;
  background:var(--theme);font-size:.86rem;font-weight:900!important;
}
.clean-module-title{color:#122f4c!important;font-size:1.12rem!important;font-weight:850!important;letter-spacing:-.01em}
.clean-module-desc{color:#708095!important;font-size:.86rem;margin-top:3px!important}
.premium-chevron{
  width:14px;height:14px;border-right:2px solid var(--theme,#155eef);border-bottom:2px solid var(--theme,#155eef);
  transform:rotate(45deg);transition:transform .2s ease;justify-self:center;
}
.clean-module[open] .premium-chevron{transform:rotate(225deg);margin-top:7px}
.clean-body{padding:4px 20px 22px!important;animation:premiumReveal .22s ease both}
@keyframes premiumReveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

.clean-note,.clean-storybox{
  border:1px solid #e1e9f1;border-radius:13px!important;
  background:linear-gradient(180deg,#fbfdff,#f6f9fc)!important;padding:14px 15px!important;
}
.clean-storybox h4{color:#163b60;margin:0 0 7px}
.clean-fields{border:1px solid #e0e8f0!important;border-radius:14px!important}
.clean-field .label,.clean-field .value{padding:11px 13px!important;border-bottom:1px solid #edf2f7!important}
.clean-field .label{background:#f8fafc!important;color:#526579!important}
.clean-field .value{color:#142f4b;font-weight:720!important}
.official-card,.business-card{
  border:1px solid #dce6ef!important;border-radius:14px!important;padding:15px!important;
  box-shadow:0 5px 14px rgba(15,35,61,.045);
}
.official-card .name,.business-card .name{color:#153a5e}.official-card a,.business-card a{color:#155eef}

.clean-method{margin-top:14px!important;border-top:1px dashed #d7e1eb;padding-top:11px}
.clean-method summary{color:#60758a;font-size:.82rem;font-weight:800!important}
.clean-method p{font-size:.84rem!important;color:#718096!important}

.continuation.premium-continuation{
  --theme:#0f766e;border:1px solid #dbe5ef!important;border-left:5px solid #0f766e!important;
  border-radius:18px!important;background:#fff!important;margin:18px 0 25px!important;overflow:hidden;
  box-shadow:0 8px 24px rgba(15,35,61,.06);
}
.continuation.premium-continuation>summary{
  list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;
  padding:18px 20px;background:linear-gradient(90deg,#ecfdf5,#fff 65%);
}
.continuation.premium-continuation>summary::-webkit-details-marker{display:none}
.continuation.premium-continuation[open] .premium-chevron{transform:rotate(225deg);margin-top:7px}
.continuation-head{padding:0!important;background:transparent!important;border:0!important}
.continuation-kicker{color:#0f766e!important;font-weight:900!important}
.continuation-title{color:#143a55!important}.continuation-body{padding:6px 20px 20px!important}
.ancestry-table th{color:#526579;background:#f8fafc;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}

#methodology{
  margin-top:42px!important;padding:28px;border-radius:20px;border:1px solid #dbe5ef;
  background:#fff;box-shadow:var(--nds-shadow-soft);
}
#methodology .eyebrow{color:#155eef!important}#methodology h2{color:#0b2646!important}

@media(max-width:980px){
  .clean-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .premium-graphic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .clean-shell{padding:12px 12px 54px!important}.premium-hero{padding:24px 18px!important;border-radius:22px}
  .premium-hero>h1{font-size:2.3rem!important}.clean-search{grid-template-columns:1fr!important}
  .premium-identity{align-items:flex-start;flex-direction:column}.premium-zip-badge{text-align:left;min-width:0}
  .clean-summary-grid{grid-template-columns:1fr!important}.premium-story-shell{padding:22px 18px}
  .premium-story-mark{display:none}.premium-graphic-grid{grid-template-columns:1fr}
  .clean-actions{position:static;width:100%}.clean-actions button{flex:1}
  .clean-module>summary{grid-template-columns:49px minmax(0,1fr) 22px!important;padding:15px 14px!important}
  .clean-num{width:39px;height:39px;border-radius:11px}.clean-module-title{font-size:1rem!important}
  .clean-module-desc{font-size:.78rem}.clean-body{padding:3px 14px 18px!important}.premium-change-row{grid-template-columns:1fr}
}