/*
 * Checker v2 — designed to match the editorial system used on the homepage.
 * Mobile first. One visual grammar: rules, rows, type, and source notes.
 */

/* ---------- page / intro ---------- */
.checker-page .checker-shell{
  padding:0 0 64px;
}

.checker-page .checker-intro{
  padding-top:44px;
  padding-bottom:32px;
  border-bottom:1px solid var(--ink);
}

.checker-page .checker-intro>.section-label{
  margin-bottom:16px;
}

.checker-page .checker-intro-grid{
  display:block;
}

.checker-page .checker-intro h1{
  max-width:760px;
  margin:0;
  font-size:clamp(2.65rem,12vw,3.45rem);
  line-height:.98;
  letter-spacing:-.04em;
}

.checker-page .checker-intro-copy{
  margin-top:20px;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.checker-page .checker-intro-copy>p{
  max-width:650px;
  margin:0;
  color:var(--ink-2);
  font-size:.98rem;
  line-height:1.52;
}

.checker-page .progress{
  margin-top:20px;
}

.checker-page .progress-track{
  height:2px;
  overflow:hidden;
  background:var(--line);
}

.checker-page .progress-fill{
  width:25%;
  height:100%;
  background:var(--accent);
  transition:width .2s ease;
}

.checker-page .progress-label{
  margin-top:7px;
  color:var(--muted);
  font-size:.67rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}

/* ---------- work area ---------- */
.checker-page .checker-grid{
  display:block;
  max-width:1080px;
  padding-top:30px;
}

.checker-page .checker-aside{
  display:none;
}

.checker-page .checker-card,
.checker-page .checker-form-body,
.checker-page .checker-step,
.checker-page .research-result{
  width:100%;
  min-width:0;
}

.checker-page .checker-card{
  padding:0;
  border:0;
  background:transparent;
}

.checker-page .checker-step{
  display:none;
  padding:0;
  border:0;
}

.checker-page .checker-step.active{
  display:block;
}

.checker-page .checker-step>.eyebrow{
  margin-bottom:8px;
}

.checker-page .checker-step>h2{
  max-width:720px;
  margin:0;
  font-family:var(--serif);
  font-size:clamp(1.9rem,8vw,2.35rem);
  font-weight:400;
  line-height:1.06;
  letter-spacing:-.025em;
}

.checker-page .checker-step>.muted{
  max-width:650px;
  margin:9px 0 0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
}

/* ---------- grouped jurisdiction list ---------- */
.checker-page .country-choice-section{
  margin-top:30px;
}

.checker-page .country-choice-section-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:0 0 8px;
  border-bottom:1px solid var(--ink);
}

.checker-page .country-choice-section-title span{
  color:var(--muted);
  font-size:.64rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.checker-page .country-choice-section-title small{
  flex:0 0 auto;
  color:var(--muted);
  font-family:var(--serif);
  font-size:.78rem;
}

.checker-page .country-choice-grid,
.checker-page .choice-grid{
  display:block;
  margin:0;
  padding:0;
  border:0;
}

.checker-page .choice,
.checker-page .country-choice-section .choice,
.checker-page .country-choice-section .choice:nth-child(odd),
.checker-page .country-choice-section .choice:nth-child(even){
  position:relative;
  min-width:0;
  margin:0;
  padding:0 !important;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
}

.checker-page .choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.checker-page .choice label,
.checker-page .country-choice-section .choice label,
.checker-page .country-choice-section .choice:nth-child(even) label{
  position:relative;
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:10px;
  width:100%;
  min-height:58px;
  padding:12px 0;
  align-items:start;
  cursor:pointer;
  background:transparent;
  color:var(--ink);
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.checker-page .choice label::before{
  content:"";
  width:10px;
  height:10px;
  margin-top:5px;
  border:1px solid var(--line-dark);
  border-radius:50%;
  background:transparent;
}

.checker-page .choice input:checked+label::before{
  border-color:var(--accent);
  background:var(--accent);
  box-shadow:inset 0 0 0 3px var(--paper);
}

.checker-page .choice input:checked+label{
  color:var(--accent);
}

.checker-page .choice input:focus-visible+label{
  outline:1px dotted var(--ink);
  outline-offset:3px;
}

.checker-page .choice strong,
.checker-page .country-choice-section .choice strong,
.checker-page .checker-step[data-step="line"] .choice strong{
  display:block;
  grid-column:2;
  margin:0;
  color:inherit;
  font-family:var(--serif);
  font-size:1.05rem;
  font-weight:400;
  line-height:1.2;
  letter-spacing:0;
  text-transform:none;
}

.checker-page .choice span,
.checker-page .country-choice-section .choice span{
  display:block;
  grid-column:2;
  margin:3px 0 0;
  max-width:650px;
  color:var(--muted);
  font-size:.79rem;
  line-height:1.42;
  letter-spacing:0;
  text-transform:none;
}

.checker-page .country-choice-other{
  margin-top:24px;
  border-top:1px solid var(--ink);
}

/* ---------- secondary questions ---------- */
.checker-page .checker-question-block{
  margin-top:30px;
  padding-top:19px;
  border-top:1px solid var(--ink);
}

.checker-page .checker-question-block.first-question{
  margin-top:30px;
}

.checker-page .checker-question-block h3,
.checker-page .country-question .field>label,
.checker-page .country-subquestion>label{
  display:block;
  margin:0;
  font-family:var(--serif);
  font-size:1.18rem;
  font-weight:400;
  line-height:1.22;
  letter-spacing:-.01em;
  text-transform:none;
}

.checker-page .checker-question-block>.muted{
  max-width:620px;
  margin:5px 0 0;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.46;
}

.checker-page .compact-choice-row{
  display:block;
  margin:13px 0 0;
  padding:0;
  border-top:1px solid var(--line);
}

.checker-page .compact-choice-row label{
  position:relative;
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:10px;
  width:100%;
  min-height:48px;
  margin:0;
  padding:0;
  align-items:center;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  cursor:pointer;
  letter-spacing:0;
  text-transform:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.checker-page .compact-choice-row input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.checker-page .compact-choice-row label::before{
  content:"";
  grid-column:1;
  grid-row:1;
  width:10px;
  height:10px;
  border:1px solid var(--line-dark);
  border-radius:50%;
  background:transparent;
}

.checker-page .compact-choice-row span{
  display:block;
  grid-column:2;
  grid-row:1;
  width:100%;
  padding:12px 0;
  background:transparent;
  color:var(--ink-2);
  font-size:.87rem;
  line-height:1.35;
  letter-spacing:0;
  text-transform:none;
}

.checker-page .compact-choice-row label:has(input:checked)::before{
  border-color:var(--accent);
  background:var(--accent);
  box-shadow:inset 0 0 0 3px var(--paper);
}

.checker-page .compact-choice-row input:checked+span{
  color:var(--accent);
  font-weight:600;
}

.checker-page .compact-choice-row input:focus-visible+span{
  outline:1px dotted var(--ink);
  outline-offset:3px;
}

.checker-page .country-subquestion+.country-subquestion{
  margin-top:27px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.checker-page .country-specific input[type="text"],
.checker-page .country-specific select{
  width:100%;
  min-height:48px;
  padding:10px 0;
  border:0;
  border-bottom:1px solid var(--ink);
  border-radius:0;
  background:transparent;
  font-size:16px;
}

/* ---------- source notes ---------- */
.checker-page .authority-preview,
.checker-page .branch-authority,
.checker-page .research-preview{
  margin:22px 0 0;
  padding:12px 0 12px 13px;
  border:0;
  border-left:2px solid var(--accent);
  background:transparent;
}

.checker-page .authority-preview[hidden]{display:none}

.checker-page .authority-preview-label,
.checker-page .branch-authority span,
.checker-page .research-preview-head span{
  display:block;
  margin:0 0 3px;
  color:var(--accent);
  font-size:.61rem;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.checker-page .authority-preview-main strong,
.checker-page .branch-authority strong,
.checker-page .research-preview-head strong{
  display:block;
  margin:0;
  font-family:var(--serif);
  font-size:.98rem;
  font-weight:400;
  line-height:1.3;
}

.checker-page .authority-preview-main p,
.checker-page .branch-authority p,
.checker-page .research-preview p{
  max-width:650px;
  margin:4px 0 0;
  color:var(--muted);
  font-size:.77rem;
  line-height:1.48;
}

.checker-page .authority-preview-link{
  display:inline-block;
  margin-top:7px;
  border-bottom:1px solid var(--line-dark);
  font-size:.77rem;
  line-height:1.3;
  overflow-wrap:anywhere;
}

/* ---------- navigation ---------- */
.checker-page .checker-nav{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:26px;
}

.checker-page .checker-nav>span:empty{display:none}

.checker-page .checker-nav .btn{
  width:100%;
  min-width:0;
  min-height:48px;
  touch-action:manipulation;
}

.checker-page .checker-nav .btn-secondary{
  order:2;
}

/* ---------- review/contact ---------- */
.checker-page .screen-snapshot{
  margin-top:25px;
  border-top:1px solid var(--ink);
}

.checker-page .screen-snapshot-head{
  display:block;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.checker-page .screen-snapshot-head strong{
  display:block;
  margin-top:2px;
  font-family:var(--serif);
  font-weight:400;
}

.checker-page .screen-snapshot dl{margin:0}

.checker-page .screen-snapshot dl>div{
  display:grid;
  grid-template-columns:95px minmax(0,1fr);
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
}

.checker-page .screen-snapshot dt{
  color:var(--muted);
  font-size:.61rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.checker-page .screen-snapshot dd{
  margin:0;
  font-family:var(--serif);
  font-size:.91rem;
  line-height:1.35;
}

.checker-page .contact-row{
  display:block;
  margin-top:25px;
}

.checker-page .contact-row .field{margin:18px 0}

.checker-page .contact-row .field label{
  font-size:.66rem;
  letter-spacing:.1em;
}

.checker-page .contact-row input{
  width:100%;
  min-height:48px;
  padding:9px 0;
  border:0;
  border-bottom:1px solid var(--ink);
  border-radius:0;
  background:transparent;
  font-size:16px;
}

.checker-page .checker-note{
  max-width:620px;
  margin:12px 0 0;
  color:var(--muted);
  font-size:.73rem;
  line-height:1.48;
}

/* ---------- result memo ---------- */
.checker-page .research-result{display:none}

.checker-page .research-result.active{
  display:block;
  padding:0;
  border:0;
}

.checker-page .result-mast{
  display:block;
  padding:0 0 18px;
  border-bottom:1px solid var(--ink);
}

.checker-page .result-mast h2{
  margin-top:6px;
  font-size:clamp(2.2rem,10vw,3rem);
  line-height:1;
}

.checker-page .result-priority{
  margin-top:15px;
  padding-top:11px;
  border-top:1px solid var(--line);
  border-left:0;
}

.checker-page .result-priority span,
.checker-page .result-facts span{
  display:block;
  color:var(--muted);
  font-size:.6rem;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.checker-page .result-priority strong{
  display:block;
  margin-top:2px;
  font-family:var(--serif);
  font-size:1.38rem;
  font-weight:400;
}

.checker-page .result-deck{
  max-width:690px;
  margin:18px 0 21px;
  font-family:var(--serif);
  font-size:1.08rem;
  line-height:1.46;
}

.checker-page .result-facts{
  display:block;
  border-top:1px solid var(--ink);
}

.checker-page .result-facts>div,
.checker-page .result-facts>div:nth-child(odd),
.checker-page .result-facts>div:nth-child(even){
  display:grid;
  grid-template-columns:94px minmax(0,1fr);
  gap:12px;
  padding:9px 0;
  border:0;
  border-bottom:1px solid var(--line);
}

.checker-page .result-facts strong{
  display:block;
  font-family:var(--serif);
  font-size:.91rem;
  font-weight:400;
  line-height:1.35;
  overflow-wrap:anywhere;
}

.checker-page .result-section{
  display:block;
  padding:24px 0;
  border-bottom:1px solid var(--ink);
}

.checker-page .result-section-label{
  margin:0 0 10px;
  color:var(--muted);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.checker-page .pathway-trace,
.checker-page .official-source-list,
.checker-page .record-list{
  margin:0;
  padding:0;
  border-top:1px solid var(--line);
}

.checker-page .trace-item,
.checker-page .official-source-list li,
.checker-page .result-line,
.checker-page .record-list li{
  display:grid;
  grid-template-columns:27px minmax(0,1fr);
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
}

.checker-page .trace-item>div:last-child{display:block}

.checker-page .trace-item strong{
  display:block;
  margin:0 0 2px;
  color:var(--muted);
  font-size:.6rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.checker-page .trace-index,
.checker-page .result-line>span,
.checker-page .record-list li::before{
  color:var(--muted);
  font-family:var(--serif);
  font-size:.8rem;
}

.checker-page .trace-item p,
.checker-page .result-line p,
.checker-page .official-source-list p{
  margin:0;
  font-size:.82rem;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.checker-page .record-list{
  list-style:none;
  counter-reset:record;
}

.checker-page .record-list li{counter-increment:record}
.checker-page .record-list li::before{content:counter(record,decimal-leading-zero)}

.checker-page .official-source-list{list-style:none}

.checker-page .official-source-list a{
  display:inline;
  border-bottom:1px solid var(--line-dark);
  font-family:var(--serif);
  font-size:.94rem;
  line-height:1.34;
  overflow-wrap:anywhere;
}

.checker-page .official-source-list p{
  margin-top:4px;
  color:var(--muted);
  font-size:.73rem;
}

.checker-page .result-interpretation p{max-width:690px}

.checker-page .result-caution{
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.76rem;
  line-height:1.5;
}

.checker-page .result-next{
  display:block;
  padding:28px 0 22px;
  border-bottom:1px solid var(--ink);
}

.checker-page .result-next h3{
  margin:5px 0 7px;
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:400;
  line-height:1.15;
}

.checker-page .result-next p{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.5;
}

.checker-page .result-next-action{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  margin-top:18px;
}

.checker-page .result-next-action>strong{
  display:block;
  font-family:var(--serif);
  font-size:1.65rem;
  font-weight:400;
}

.checker-page .result-next-action .btn{width:100%}
.checker-page .result-reset{padding-top:20px;text-align:left}

/* ---------- tablet / desktop ---------- */
@media(min-width:760px){
  .checker-page .checker-intro{padding-top:58px;padding-bottom:42px}
  .checker-page .checker-intro-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:58px;align-items:start}
  .checker-page .checker-intro h1{font-size:4.65rem}
  .checker-page .checker-intro-copy{margin-top:0;padding-top:14px;border-top:1px solid var(--ink)}
  .checker-page .checker-grid{padding-top:42px}
  .checker-page .checker-step>h2{font-size:2.55rem}
  .checker-page .checker-nav{grid-template-columns:auto auto;justify-content:space-between;align-items:center}
  .checker-page .checker-nav>span:empty{display:block}
  .checker-page .checker-nav .btn{width:auto;min-width:140px}
  .checker-page .checker-nav .btn-secondary{order:0}
  .checker-page .contact-row{display:grid;grid-template-columns:1fr 1fr;gap:28px}
  .checker-page .result-mast{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:28px;align-items:end}
  .checker-page .result-priority{margin:0;padding:0 0 3px 24px;border-top:0;border-left:1px solid var(--line)}
  .checker-page .result-facts>div,
  .checker-page .result-facts>div:nth-child(odd),
  .checker-page .result-facts>div:nth-child(even){grid-template-columns:150px minmax(0,1fr);gap:20px}
  .checker-page .result-section{display:grid;grid-template-columns:145px minmax(0,1fr);gap:28px}
  .checker-page .result-section-label{margin:2px 0 0}
  .checker-page .result-next{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:36px;align-items:end}
  .checker-page .result-next-action{margin-top:0}
}

@media(min-width:1020px){
  .checker-page .checker-grid{
    display:grid;
    grid-template-columns:190px minmax(0,760px);
    gap:62px;
    align-items:start;
  }

  .checker-page .checker-aside{
    display:block;
    position:sticky;
    top:28px;
  }

  .checker-page .screen-standard{
    padding-top:10px;
    border-top:1px solid var(--ink);
  }

  .checker-page .screen-standard>span,
  .checker-page .live-file-label{
    display:block;
    color:var(--muted);
    font-size:.59rem;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
  }

  .checker-page .screen-standard p{
    margin:5px 0 0;
    color:var(--muted);
    font-size:.73rem;
    line-height:1.45;
  }

  .checker-page .screen-framework{
    margin:20px 0 0;
    border-top:1px solid var(--line);
  }

  .checker-page .screen-framework>div{
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:8px;
    padding:8px 0;
    border-bottom:1px solid var(--line);
  }

  .checker-page .screen-framework dt{
    color:var(--muted);
    font-family:var(--serif);
    font-size:.75rem;
  }

  .checker-page .screen-framework dd{margin:0}
  .checker-page .screen-framework strong{display:block;font-size:.74rem;line-height:1.25}
  .checker-page .screen-framework span{display:block;margin-top:1px;color:var(--muted);font-size:.67rem;line-height:1.34}

  .checker-page .live-file{
    margin-top:22px;
    padding-top:10px;
    border-top:1px solid var(--ink);
  }

  .checker-page .live-file dl{margin:6px 0 0}
  .checker-page .live-file dl>div{
    display:block;
    padding:6px 0;
    border-bottom:1px solid var(--line);
  }
  .checker-page .live-file dt{color:var(--muted);font-size:.57rem;letter-spacing:.08em;text-transform:uppercase}
  .checker-page .live-file dd{margin:1px 0 0;font-family:var(--serif);font-size:.76rem;line-height:1.3}
}

.checker-page input[type="hidden"]{display:none!important}
