/* SHORTLIST tool styles, scoped under .sl-tool via native CSS nesting.
   GENERATED from tools/shortlist/styles.css. Edit there and regenerate. */
.sl-tool {
/* ============ SHORTLIST — AI visibility checker ============
   Built on the paulparsons.com.au design system: flat colour, 4px charcoal
   borders, zero radius, Inter, UPPERCASE headings. No shadows, no gradients. */
& {
  --orange: #ff5a00;
  --blue: #0066ff;
  --purple: #9b2eff;
  --lime: #8dff1a;
  --charcoal: #1a1a1c;
  --gray: #5a5a5a;
  --light: #f4f4f7;
  --faint-2: #8b8b92;
  --white: #ffffff;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
& {
  font-family: var(--sans);
  background: var(--white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* Site shell alignment: padding outside a 1280px measure (content-box), the
   same pattern as the site header/footer, so content sits on the logo edge. */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; box-sizing: content-box; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

h1, h2, h3, h4 { text-transform: uppercase; font-weight: 600; letter-spacing: 0.01em; }
h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 17px; }

.rule-orange { width: 120px; height: 6px; background: var(--orange); margin: 24px 0; }
.rule-lime { width: 120px; height: 6px; background: var(--lime); margin: 24px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 20px;
}
.eyebrow-sq { width: 12px; height: 12px; background: var(--orange); display: inline-block; }

/* numbered square badge — site brand element */
.numbox {
  width: 48px; height: 48px; border: 4px solid var(--charcoal);
  display: grid; place-items: center; color: var(--white);
  font-size: 18px; font-weight: 600; flex-shrink: 0;
}
.numbox.orange { background: var(--orange); }
.numbox.blue { background: var(--blue); }
.numbox.purple { background: var(--purple); }
.numbox.lime { background: var(--lime); color: var(--charcoal); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 4px solid var(--charcoal); background: var(--white); color: var(--charcoal);
  font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 24px; text-decoration: none; transition: transform 0.1s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: none; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-block { width: 100%; }

/* ============ bands ============ */
.band { padding: 80px 0; background: var(--white); }
.band-light { background: var(--light); }
.band-dark { background: var(--charcoal); color: var(--white); border-top: 8px solid var(--charcoal); border-bottom: 8px solid var(--charcoal); }
.band-cta { background: var(--orange); border-top: 8px solid var(--charcoal); }
.band-head { margin-bottom: 48px; }
.band-sub { color: var(--gray); max-width: 60ch; }

/* ============ hero ============ */
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.lede { color: var(--gray); font-size: 18px; max-width: 56ch; margin-bottom: 32px; }

.scan-form { display: flex; align-items: stretch; border: 4px solid var(--charcoal); background: var(--white); max-width: 560px; }
.scan-form .prefix {
  display: grid; place-items: center; padding: 0 16px; background: var(--light);
  border-right: 4px solid var(--charcoal); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
}
.scan-form input {
  flex: 1; border: none; outline: none; padding: 16px; font-size: 16px;
  font-family: var(--sans); color: var(--charcoal); min-width: 0; background: transparent;
}
.scan-form button {
  border: none; border-left: 4px solid var(--charcoal); background: var(--orange); color: var(--white);
  font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0 24px; white-space: nowrap;
}
.scan-form button:hover { background: var(--charcoal); }
.form-micro { margin-top: 16px; font-size: 13px; color: var(--gray); }
.band-cta .form-micro { color: #ffe1d0; }
.band-cta h2 { color: var(--white); margin-bottom: 32px; }
.band-cta .scan-form { background: var(--white); }

.proof-stack { display: flex; flex-direction: column; gap: 16px; }
.proof-block { border: 4px solid var(--charcoal); padding: 20px 24px; color: var(--white); }
.proof-block .big { font-size: 34px; font-weight: 600; line-height: 1.1; }
.proof-block .small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.proof-block.orange { background: var(--orange); }
.proof-block.blue { background: var(--blue); }
.proof-block.purple { background: var(--purple); }

/* ============ why band ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.why-grid p { color: #d6d6da; margin-bottom: 16px; max-width: 60ch; }

/* ============ pillars ============ */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar-card { border: 4px solid var(--charcoal); background: var(--white); padding: 24px; }
.pillar-card .pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pillar-card .pc-q { font-weight: 600; margin-bottom: 12px; }
.pillar-card ul { list-style: none; }
.pillar-card li { color: var(--gray); font-size: 14px; padding: 4px 0 4px 18px; position: relative; }
.pillar-card li::before { content: '▸'; position: absolute; left: 0; color: var(--blue); font-size: 12px; }

/* ============ steps ============ */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { border: 4px solid var(--charcoal); background: var(--white); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.step-card p { color: var(--gray); font-size: 14.5px; flex: 1; }

/* ============ faq ============ */
.faq-wrap { max-width: 880px; }
.faq { border: 4px solid var(--charcoal); background: var(--white); margin-bottom: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--orange); flex-shrink: 0; }
.faq[open] summary::after { content: '–'; }
.faq[open] summary { border-bottom: 2px solid var(--light); }
.faq p { padding: 16px 22px 20px; color: var(--gray); font-size: 15px; }
.faq a { color: var(--blue); font-weight: 600; }

/* ============ scan modal ============ */
.scan-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(26, 26, 28, 0.85); overflow-y: auto; padding: 40px 20px;
}
.scan-modal.open { display: block; }
.scan-shell { max-width: 800px; margin: 0 auto; background: var(--white); border: 4px solid var(--charcoal); }
.scan-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; background: var(--charcoal); color: var(--white);
}
.scan-top .t { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8b8b92; }
.scan-top .t b { color: var(--white); }
.scan-close { background: var(--orange); border: 2px solid var(--white); color: var(--white); width: 32px; height: 32px; font-size: 16px; font-weight: 600; }
.scan-body { padding: 28px; }

.scan-steps { display: flex; flex-direction: column; gap: 14px; padding: 10px 4px; }
.scan-step { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; color: var(--gray); }
.scan-step .ind { width: 18px; height: 18px; border: 3px solid #d9d9e0; display: grid; place-items: center; flex-shrink: 0; font-size: 10px; }
.scan-step.active { color: var(--charcoal); font-weight: 600; }
.scan-step.active .ind { border-color: var(--orange); animation: sl-pulse 1s ease infinite; }
.scan-step.done { color: var(--charcoal); }
.scan-step.done .ind { border-color: var(--charcoal); background: var(--lime); color: var(--charcoal); }


.verdict-hero { text-align: center; padding: 10px 0 24px; border-bottom: 4px solid var(--charcoal); }
.verdict-hero .v {
  display: inline-block; font-size: 34px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  border: 4px solid var(--charcoal); padding: 8px 28px; color: var(--white);
}
.verdict-hero .v.visible { background: var(--blue); }
.verdict-hero .v.partial { background: var(--orange); }
.verdict-hero .v.missing { background: var(--charcoal); }
.verdict-hero .sub { font-size: 13px; color: var(--gray); margin-top: 14px; }

/* One meter shape everywhere. The label block is a fixed two-line height so
   every bar lands on the same baseline regardless of how the label wraps. */
.meter { display: flex; flex-direction: column; }
.meter .m-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  min-height: 36px; margin-bottom: 10px;
}
.meter .m-lbl {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.5;
  text-transform: uppercase; color: var(--gray); flex: 1;
}
.meter .m-val { font-size: 26px; font-weight: 600; color: var(--charcoal); line-height: 1; white-space: nowrap; }
.meter .m-val small { font-size: 13px; color: var(--faint-2); font-weight: 400; }
.meter .m-bar { position: relative; height: 14px; background: var(--light); margin-top: auto; }
/* quarter ticks, matching the PDF */
.meter .m-bar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent calc(25% - 1px), var(--white) calc(25% - 1px), var(--white) 25%);
}
.meter .m-fill { height: 100%; background: var(--orange); }

.meter-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px;
  padding: 26px 0; border-bottom: 4px solid var(--charcoal);
}
.meter-grid--pillars { border-bottom-width: 4px; }

.engine-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 24px 0; border-bottom: 4px solid var(--charcoal); }
.engine-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; border: 2px solid var(--charcoal); padding: 12px 4px; min-height: 62px;
}
.engine-cell .nm { font-size: 9px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.engine-cell .res { font-size: 11px; font-weight: 600; text-transform: uppercase; line-height: 1; }
.engine-cell.hit { background: var(--lime); }
.engine-cell.hit .nm { color: var(--charcoal); }
.engine-cell.hit .res { color: var(--charcoal); }
.engine-cell.miss { border-color: #d9d9e0; }
.engine-cell.miss .res { color: #b3b3bb; }
.sim-note { font-size: 11.5px; color: var(--gray); padding: 12px 0 0; line-height: 1.7; }

.check-list { padding: 18px 0; border-bottom: 4px solid var(--charcoal); }
.check-group-head {
  display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 18px 0 6px;
}
.check-row { display: flex; gap: 12px; padding: 7px 0; font-size: 13.5px; align-items: baseline; }
.check-row .ic { font-weight: 600; width: 18px; flex-shrink: 0; text-align: center; }
.check-row.pass .ic { color: var(--blue); }
.check-row.fail .ic { color: var(--orange); }
.check-row .d { color: var(--gray); font-size: 12px; margin-left: auto; text-align: right; max-width: 42%; }

.fix-row { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.fix-row b { font-weight: 600; }
.fix-row span { color: var(--gray); }
.plan-week { border-left: 4px solid var(--charcoal); padding: 4px 0 4px 16px; margin-bottom: 14px; }
.plan-week .pw-head { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 4px; }
.plan-week .pw-task { font-size: 13.5px; color: var(--gray); padding: 2px 0; }

.fix-block { padding: 20px 0 4px; }
.fix-block h4 { font-size: 12px; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 14px; }
.fix-block .fix-row b { color: var(--charcoal); }
.code-block { position: relative; background: var(--charcoal); border: 4px solid var(--charcoal); margin: 14px 0; }
.code-block pre {
  font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; color: #d6d6da;
  padding: 16px 18px; overflow-x: auto; white-space: pre; line-height: 1.7;
}
.code-block .copy-btn {
  position: absolute; top: 10px; right: 10px; background: var(--lime); border: 2px solid var(--charcoal);
  color: var(--charcoal); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px;
}
.scan-error { color: var(--orange); font-weight: 600; font-size: 14px; text-align: center; padding: 32px 0; line-height: 1.7; }

/* sent confirmation */
.sent-panel { text-align: center; padding: 32px 12px 20px; }
.sent-panel .sent-tick {
  width: 56px; height: 56px; margin: 0 auto 18px; background: var(--lime);
  border: 4px solid var(--charcoal); display: grid; place-items: center;
  font-size: 26px; font-weight: 600; color: var(--charcoal);
}
.sent-panel h3 { font-size: 20px; margin-bottom: 12px; }
.sent-panel p { color: var(--gray); font-size: 14.5px; max-width: 44ch; margin: 0 auto 10px; }
.sent-panel .sent-micro { font-size: 12.5px; }
.sent-panel .sent-micro a { color: var(--blue); font-weight: 600; }
.sent-panel .btn { margin-top: 14px; }

/* lead gate */
.lead-gate { border: 4px solid var(--charcoal); margin-top: 24px; }
.lead-gate .lg-head {
  background: var(--orange); color: var(--white); border-bottom: 4px solid var(--charcoal);
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 20px;
}
.lead-gate .lg-sub { font-size: 13.5px; color: var(--gray); padding: 16px 20px 0; }
.lead-form { padding: 16px 20px 20px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"] {
  border: 2px solid var(--charcoal); padding: 12px 14px; font-family: var(--sans);
  font-size: 14px; color: var(--charcoal); outline: none; width: 100%;
}
.lead-form input:focus { border-color: var(--blue); }
.hidden-check { position: absolute; left: -9999px; }
.lg-micro { font-size: 11.5px; color: var(--gray); margin-top: 12px; }
.lg-error { font-size: 12.5px; font-weight: 600; color: var(--orange); margin-top: 10px; }
.lg-success {
  font-size: 13px; font-weight: 600; color: var(--charcoal); background: var(--lime);
  border: 2px solid var(--charcoal); padding: 10px 14px; margin-bottom: 16px;
}

/* ============ responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .proof-stack { flex-direction: row; flex-wrap: wrap; }
  .proof-block { flex: 1 1 160px; }
  .meter-grid { grid-template-columns: 1fr; gap: 22px; }
  .engine-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .band { padding: 48px 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .proof-stack { flex-direction: column; }
  /* One baseline-aligned row per block, figure then meaning, instead of three
     tall colour slabs. Matches .rd-ap-stat / .rd-ins-stat on the main site. */
  /* Inline, not two columns: a fixed number column leaves a dead gutter beside
     "6" and none beside "25". Same treatment as .rd-ins-stat on the site. */
  .proof-block { display: block; flex: 0 0 auto; padding: 12px 16px; }
  .proof-block .big { display: inline; font-size: 22px; line-height: 1.3; }
  .proof-block .small { display: inline; margin: 0 0 0 8px; }
  /* Chunky at phone width: the card is mostly frame otherwise. */
  .pillar-card { padding: 20px; }
  .pillar-card .pc-head { gap: 12px; margin-bottom: 12px; }
  .step-card { padding: 22px; gap: 14px; }
  .numbox { width: 40px; height: 40px; font-size: 16px; }
  .scan-form { flex-wrap: wrap; }
  .scan-form .prefix { display: none; }
  .scan-form input { flex: 1 1 100%; border-bottom: 4px solid var(--charcoal); }
  .scan-form button { flex: 1 1 100%; border-left: none; padding: 14px 0; }
  .scan-modal { padding: 12px 8px; }
  .scan-body { padding: 16px; }
  .verdict-hero .v { font-size: 24px; padding: 6px 18px; }
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .lf-grid { grid-template-columns: 1fr; }
}

}

@keyframes sl-pulse { 50% { opacity: 0.35; } }
