/* HAT tool extension: native CSS, variance 4 / motion 2 / density 4.
   Brand orange, generous writing space, and document-level feedback. */
:root{color-scheme:light;--bg:#f7f8fa;--surface:#fff;--soft:#f3f4f6;--text:#20232b;--muted:#626874;--line:#dee1e7;--accent:#b7440b;--accent-soft:#fff1e8;--button:#c54a0a;--button-text:#fff;--shadow:0 12px 42px #151b2910}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-family:"Poppins",Arial,"Helvetica Neue",sans-serif;font-size:15px;line-height:1.6}button,textarea,input{font:inherit}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button i,a i{font-size:12px}button{white-space:nowrap}button:hover:not(:disabled),.secondary:hover{filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:absolute;z-index:3;background:var(--surface);padding:12px}
main{max-width:1240px;margin:auto;padding:0 24px}.intro{text-align:center;padding:44px 0 30px}h1{font-size:clamp(36px,4.4vw,54px);letter-spacing:-2px;line-height:1.15;margin:0 0 15px;font-weight:700}h1 span{color:var(--accent)}.intro>p:last-child{color:var(--muted);margin:0;font-size:16px}.workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.editor{display:flex;flex-direction:column;min-width:0}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;border-bottom:1px solid var(--line);padding:18px 26px}.panel-top label,.panel-top h2{font-size:15px;font-weight:700;margin:0}.model-label{font-size:12px;color:var(--muted)}.editor-body{position:relative;display:flex;flex:1;min-height:300px}textarea{width:100%;min-height:300px;resize:vertical;border:0;background:transparent;color:var(--text);padding:26px;line-height:1.85;font-size:16px;outline:none}textarea::placeholder{color:var(--muted)}.starter{position:absolute;left:26px;right:26px;top:116px;color:var(--muted)}.starter-actions{display:flex;gap:12px;flex-wrap:wrap}.starter-actions button{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:13px}.starter-actions button i{margin:0 4px}.starter-actions button:last-child{border-color:transparent;background:transparent;color:var(--accent)}.editor-tools{display:flex;align-items:center;gap:18px;padding:16px 26px;font-size:12px;color:var(--muted)}.editor-tools>span{margin-left:auto;font-variant-numeric:tabular-nums}.text-button{border:0;background:transparent;padding:5px 0;color:var(--muted);font-size:12px}.text-button i{margin-right:6px}.submit-row{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 26px}.submit-row p{font-size:11px;color:var(--muted);margin:0}.primary{background:var(--button);color:var(--button-text);border:0;border-radius:8px;padding:14px 22px;font-weight:700;font-size:14px;display:flex;gap:20px;align-items:center}.secondary{border:1px solid var(--line);padding:11px 17px;background:var(--surface);border-radius:8px;color:var(--text);font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px}.input-error{margin:0;padding:0 26px 18px;color:var(--accent);font-size:13px}.results{border-left:1px solid var(--line);background:var(--soft);display:flex;flex-direction:column;min-width:0}.results .panel-top{border-color:transparent}.empty-result{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 24px}.result-symbol{width:70px;height:70px;border-radius:50%;background:var(--surface);display:grid;place-items:center;color:var(--accent);font-size:30px;border:1px solid var(--line);margin:0 0 20px}.empty-result h3{font-size:20px;letter-spacing:-.5px;margin:0 0 8px}.empty-result p{font-size:14px;color:var(--muted);margin:0}.loading-result,.error-result{text-align:center;padding:56px 28px;flex:1}.loading-result h3,.error-result h3{font-size:21px;line-height:1.4}.loading-result p,.error-result p{color:var(--muted);font-size:14px}.error-result>i{color:var(--accent);font-size:32px}.spinner{display:inline-block;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:36px;height:36px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#completed-result{padding:4px 26px 0}.result-title{font-size:25px;line-height:1.22;letter-spacing:-.6px;margin:0 0 10px}.small{font-size:11px!important;color:var(--muted)}.below-tool{display:flex;justify-content:space-between;gap:24px;font-size:11px;color:var(--muted);padding:18px 2px}.below-tool p{margin:0}.below-tool i{margin-right:6px}.below-tool a{text-decoration:none;white-space:nowrap}.guide{display:grid;grid-template-columns:1fr 1fr;gap:100px;margin-top:58px;padding:48px 0 64px;border-bottom:1px solid var(--line)}.guide h2,.faq h2{font-size:31px;letter-spacing:-1px;line-height:1.25;margin:0 0 20px}.guide-heading p{color:var(--muted);font-size:14px;max-width:420px;margin:0 0 24px}.guide-heading a{font-size:13px;color:var(--accent);text-decoration:none}.guide-heading a i{margin-left:10px}.guide-points article+article{margin-top:26px}.guide-points h3{font-size:15px;margin:0 0 6px}.guide-points p{color:var(--muted);font-size:13px;margin:0}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:60px;padding:64px 0}.faq details{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;padding:18px 0;font-size:14px;font-weight:600}.faq details:first-child summary{padding-top:0}.faq details p{color:var(--muted);font-size:13px;margin:0 0 20px}.writing-next{background:var(--accent-soft);border-radius:12px;padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:60px}.writing-next h2{font-size:21px;letter-spacing:-.5px;margin:0 0 4px}.writing-next p{font-size:13px;color:var(--muted);margin:0}.over-limit{color:var(--accent)!important}.noscript{color:var(--accent)}

@media(max-width:900px){.submit-row{align-items:stretch;flex-direction:column}.primary{justify-content:center}.guide{gap:50px}}
@media(max-width:767px){main{padding:0 16px}.intro{padding:30px 0 25px}.intro>p:last-child{font-size:14px;max-width:330px;margin:auto}h1{letter-spacing:-1.5px}.workspace{grid-template-columns:1fr;border-radius:12px}.results{border-left:0;border-top:1px solid var(--line)}.panel-top{padding:16px 20px;min-height:56px}.editor-body,textarea{min-height:280px}textarea{padding:20px;font-size:15px}.starter{left:20px;right:20px}.editor-tools{padding:12px 20px;gap:16px}.submit-row{padding:16px 20px}.submit-row p br{display:none}.empty-result{padding:32px 20px}#completed-result{padding:8px 20px}.below-tool{flex-direction:column;gap:10px;padding:16px 4px}.guide{grid-template-columns:1fr;gap:30px;margin-top:12px;padding:32px 4px}.guide h2,.faq h2{font-size:27px}.faq{grid-template-columns:1fr;gap:12px;padding:36px 4px}.writing-next{padding:24px;flex-direction:column;align-items:flex-start;margin-bottom:32px}.writing-next h2{font-size:20px}.input-error{padding-left:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation:none}button:active:not(:disabled){transform:none}}

/* Reuse the site's chrome and typography; only the detector workspace is page-specific. */
:root{--bg:#fff;--surface:#fff;--soft:#f7f5fc;--text:#211936;--muted:#625b74;--line:#e4dfef;--accent:#7038ec;--accent-soft:#f3edff;--button:#7038ec;--button-text:#fff}
.detector-page{padding-top:86px;-webkit-font-smoothing:antialiased}
.detector-page main{width:min(1280px,calc(100% - 48px));max-width:1280px;padding:0}
.detector-page .intro{padding:58px 0 36px}
.detector-page h1{font-weight:700;letter-spacing:-1.7px}
.detector-page .intro h1 span{color:#ff6b09}
.detector-page .writing-next{margin-bottom:0}
.detector-page .footer_intro p{font-size:14px;line-height:1.7}
@media(max-width:991px){.detector-page{padding-top:76px}}
@media(max-width:767px){.detector-page main{padding:0 18px}.detector-page .intro{padding:34px 0 28px}}

/* One focus policy for every control, including the shared header/footer.
   Pointer interactions add no focus frame; keyboard navigation remains visible. */
html:not(.keyboard-navigation) .detector-page :is(button,a,input,select,textarea,summary,[tabindex]):is(:focus,:focus-visible,:active){
  outline:none!important;
  box-shadow:none!important;
}
html.keyboard-navigation .detector-page :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--accent)!important;
  outline-offset:3px;
}
html.keyboard-navigation .detector-page textarea:focus-visible{outline-offset:-2px}
.results .panel-top{flex-wrap:wrap;row-gap:4px}
.model-label{font-size:11px}

/* Search-intent content uses the same site width, typography, and brand palette. */
.content-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 28px;padding:20px 0 30px;border-bottom:1px solid var(--line)}
.content-nav a{color:var(--muted);font-size:12px;text-decoration:none}.content-nav a:hover{color:var(--accent)}
.detector-section{padding:56px 0;border-bottom:1px solid var(--line)}
.section-heading{max-width:690px;margin-bottom:28px}.section-heading h2,.related-reading h2{font-size:30px;font-weight:600;letter-spacing:-.8px;line-height:1.3;margin:0 0 14px}.section-heading>p{color:var(--muted);font-size:14px;line-height:1.8;margin:0}
.detector-section h3{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 9px}.detector-section p{font-size:14px;line-height:1.85;color:var(--muted)}
.how-to{display:grid;grid-template-columns:1fr 1.25fr;gap:64px}.usage-list{counter-reset:usage;list-style:none;margin:0;padding:0}.usage-list li{counter-increment:usage;position:relative;padding-left:46px}.usage-list li+li{margin-top:24px}.usage-list li::before{content:counter(usage);position:absolute;left:0;top:1px;color:var(--accent);font-size:17px;font-weight:600;line-height:1.5}.usage-list p{margin:0}
.definition{display:grid;grid-template-columns:1fr 1.25fr;gap:64px}.definition-copy p{margin-top:0;margin-bottom:18px}.definition-copy h3{margin-top:26px}.section-link a{color:var(--accent);font-size:13px;text-decoration:none}.section-link i{margin-left:8px}
.score-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:30px}.score-outcomes article{padding-left:20px;border-left:3px solid var(--line)}.score-outcomes article:last-child{border-color:var(--accent)}.score-outcomes p{margin:0;max-width:460px}.score-explainer{background:var(--soft);padding:24px 28px;border-radius:12px;margin-top:30px}.score-explainer strong{font-size:14px;font-weight:600}.score-explainer p{margin:9px 0 0}.section-note{font-size:12px!important;margin:20px 0 0;max-width:900px}
.use-case-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 56px}.use-case-grid article{position:relative;padding-left:32px}.use-case-grid article>i{position:absolute;left:0;top:4px;color:var(--accent);font-size:16px}.use-case-grid p{margin:0}
.table-scroll{overflow-x:auto;margin-top:24px}.content-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.content-table caption{caption-side:top;color:var(--muted);font-size:12px;padding:0 0 12px}.content-table thead{background:var(--soft)}.content-table th,.content-table td{padding:16px 20px;line-height:1.7;vertical-align:top}.content-table th{font-weight:600}.content-table td{color:var(--muted)}.content-table tbody tr+tr{border-top:1px solid var(--line)}.content-table tbody th{width:43%}

.comparison .content-table tbody th{width:30%}.text-handling{display:grid;grid-template-columns:1fr 1.25fr;gap:64px}.handling-copy p{margin:0 0 24px}.handling-copy .section-link{margin-bottom:0}
.related-reading{padding:8px 0 44px}.related-reading h2{font-size:25px;margin-bottom:24px}.related-reading ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:36px}.related-reading a{display:inline-flex;align-items:center;gap:18px;color:var(--accent);text-decoration:none;font-size:14px;font-weight:500}.related-reading p{color:var(--muted);font-size:12px;line-height:1.8;margin:8px 0 0}
@media(max-width:767px){.content-nav{justify-content:flex-start;gap:10px 20px;padding:10px 4px 24px}.content-nav a{font-size:11px}.detector-section{padding:36px 4px}.section-heading h2{font-size:25px}.section-heading{margin-bottom:24px}.how-to,.definition,.text-handling{grid-template-columns:1fr;gap:0}.usage-list li{padding-left:32px}.definition-copy h3{margin-top:24px}.score-outcomes{grid-template-columns:1fr;gap:24px}.score-explainer{padding:20px}.use-case-grid{grid-template-columns:1fr;gap:24px}.content-table{font-size:12px;min-width:420px}.content-table th,.content-table td{padding:12px 14px}.related-reading{padding:8px 4px 36px}.related-reading ul{grid-template-columns:1fr;gap:24px}}

.reliability-points{display:grid;grid-template-columns:1fr 1fr;gap:26px 56px}
.reliability-points p{margin:0}
@media(max-width:767px){.reliability-points{grid-template-columns:1fr;gap:22px}}

/* Results show the score and label; detailed interpretation lives in the FAQ. */
#completed-result{padding-bottom:26px}
@media(max-width:767px){#completed-result{padding-bottom:20px}}

/* The first screen ends at the guide divider; content can grow on short/mobile screens. */
.detector-page{--detector-header-space:86px}
.detector-screen{display:flex;flex-direction:column;min-height:calc(100vh - var(--detector-header-space));min-height:calc(100dvh - var(--detector-header-space))}
.detector-screen .intro{flex:0 0 auto;padding:clamp(28px,4vh,48px) 0 clamp(24px,3vh,34px)}
.detector-screen .workspace{flex:1 0 auto;min-height:360px}
.detector-screen .editor-body{min-height:180px;flex:1 1 0}
.detector-screen textarea{height:100%;min-height:180px;resize:none}
.editor-tools{flex:0 0 auto;flex-wrap:wrap;gap:10px 18px;padding:14px 26px}
.editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.editor-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px;line-height:1.4}
.editor-tool-button i{margin:0}
.detector-screen .results{justify-content:center}
.detector-screen #completed-result{padding-top:26px}
.detector-screen .below-tool,.detector-screen .content-nav{flex:0 0 auto}
@media(max-width:991px){.detector-page{--detector-header-space:76px}}
@media(max-width:767px){.detector-screen .intro{padding:28px 0 24px}.detector-screen .editor-body,.detector-screen textarea{min-height:260px}.editor-tools{padding:12px 20px;gap:10px}.editor-tool-button{padding:9px 10px;font-size:11px}.detector-screen .results{min-height:260px}.detector-screen #completed-result{padding-top:24px}}

/* Completed results emphasize classification and keep supporting actions at the bottom. */
.detector-screen .results{justify-content:flex-start}
.detector-screen #completed-result{display:flex;flex-direction:column;flex:1;gap:20px;padding:26px 28px;min-height:0}
.result-summary{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.result-status-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 auto;font-size:17px;color:var(--result-color);background:var(--surface);border-radius:50%;line-height:1}
.result-status-icon i{font-size:inherit}
.result-verdict{display:inline-flex;align-items:center;align-self:flex-start;justify-content:flex-start;gap:9px;max-width:100%;padding:6px 14px 6px 6px;border-radius:999px;background:var(--result-tint)}
.result-summary .result-title{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.3px;margin:0}
.result-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-top:auto;padding-top:22px;border-top:1px solid var(--line)}
.result-footer>span{font-size:12px;color:var(--muted)}
.report-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:0;border-radius:9px;background:var(--button);color:var(--button-text);padding:12px 17px;font-size:12px;line-height:1.4;font-weight:600}
.report-error{flex-basis:100%;margin:0;color:#a02c35;font-size:12px;line-height:1.6}
@media(max-width:767px){.detector-screen #completed-result{padding:24px 20px;min-height:240px}.result-summary .result-title{font-size:17px}}

/* The gradient is a visual continuum, not a percentage or a third prediction class. */
#completed-result{--result-color:#256647;--result-tint:#e9f5ed}
#completed-result[data-state="flagged"]{--result-color:#b4353c;--result-tint:#fceceb}
.result-summary{align-items:stretch;text-align:left;gap:14px}
.result-summary .result-title{color:var(--result-color)}
.result-score{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.result-score-label{font-size:12px;font-weight:500;color:var(--muted)}
.result-score-number{display:flex;align-items:baseline;gap:3px;line-height:1;color:var(--text);font-variant-numeric:tabular-nums}
.result-score-number strong{font-size:clamp(48px,4.5vw,64px);line-height:1;letter-spacing:-2.5px;font-weight:600}
.result-score-unit{font-size:26px;font-weight:500;letter-spacing:-.8px;color:var(--muted)}
.result-assessment{max-width:46ch;margin:0;font-size:14px;line-height:1.75;color:var(--muted)}
.result-gauge{width:100%;height:52px;position:relative;margin:6px 0 2px}
.gauge-track{width:100%;height:12px;border-radius:999px;background:linear-gradient(90deg,#37b67b 0%,#f4c842 50%,#ef6464 100%)}
.gauge-selection{position:absolute;top:6px;left:var(--score-position,50%);width:4px;height:22px;transform:translate(-50%,-50%);border-radius:2px;background:var(--result-color);box-shadow:0 0 0 2px var(--soft)}
.gauge-legend{position:absolute;top:24px;left:0;right:0;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}
.gauge-legend>span{padding-bottom:3px;border-bottom:2px solid transparent}
#completed-result[data-state="unflagged"] .gauge-label-human,
#completed-result[data-state="flagged"] .gauge-label-ai{color:var(--result-color);font-weight:600;border-bottom-color:currentColor}
@media(forced-colors:active){.gauge-track{background:CanvasText}.result-status-icon,.result-summary .result-title{color:CanvasText}.gauge-selection{background:Highlight}}

/* Read the submitted text in place; editing always invalidates its old highlights. */
.review-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 26px;border-bottom:1px solid var(--line)}
.highlighted-text{position:absolute;inset:0;overflow:auto;padding:26px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);font-size:16px;line-height:1.85}
.highlighted-text mark{color:inherit;background:#fff2c2;padding:2px 0;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone;scroll-margin:100px 0}
.highlighted-text mark[data-level="medium"]{background:#ffe39a}
.highlighted-text mark[data-level="high"]{background:#ffd166}
.highlighted-text mark.sentence-active{background:#f7c64c}
.sentence-panel{min-width:0;border-top:1px solid var(--line);padding-top:18px}
.sentence-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sentence-panel-heading h4{font-size:14px;line-height:1.5;font-weight:600;margin:0}
.sentence-panel-heading>span{font-size:12px;color:var(--muted)}
.sentence-note{font-size:12px;color:var(--muted);margin:0}
.sentence-list{list-style:none;margin:0;padding:0;max-height:200px;overflow:auto;overscroll-behavior:contain}
.sentence-list li+li{margin-top:8px}
.sentence-item{display:block;width:100%;text-align:left;white-space:normal;border:1px solid transparent;border-radius:8px;background:var(--surface);padding:12px;color:var(--text);font-size:12px;line-height:1.65}
.sentence-item:hover,.sentence-item.is-active{background:#fff5d9}
.sentence-item-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.sentence-strength{display:block;color:var(--muted);font-size:10px;margin-top:6px}
.sentence-strength::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#f1d778;margin-right:6px}
.sentence-item[data-level="medium"] .sentence-strength::before{background:#e9bd49}
.sentence-item[data-level="high"] .sentence-strength::before{background:#b17b16}
@media(max-width:767px){.review-tools{padding:10px 20px}.highlighted-text{padding:20px;font-size:15px}.sentence-list{max-height:250px}}
@media(forced-colors:active){.highlighted-text mark{background:Mark;color:MarkText}.highlighted-text mark.sentence-active{background:Highlight;color:HighlightText}}

/* Keep validation inside the editor while reserving space below the text. */
.detector-screen .editor-body{flex-direction:column}
.detector-screen .editor-body textarea{flex:1 1 auto;height:auto;min-height:0}
.word-hint{align-self:flex-start;margin:0 26px 14px;padding:8px 12px;border-radius:8px;background:#fff1f1;color:#a52e3b;font-size:12px;line-height:1.5}
@media(max-width:767px){.word-hint{margin:0 20px 12px}}

/* Homepage home-story.css: section headings, readable body copy and spacing. */
.detector-page .detector-section{padding:108px 0;border-bottom:1px solid var(--line)}
.detector-page .section-heading{max-width:740px;margin-bottom:32px}
.detector-page .section-heading h2,
.detector-page .related-reading h2{color:#100a2d;font-size:clamp(33px,2.55vw,39px);font-weight:800;letter-spacing:-.035em;line-height:1.14;margin:0 0 16px}
.detector-page .faq h2{color:#100a2d;font-size:clamp(34px,3.1vw,44px);font-weight:800;letter-spacing:-.025em;line-height:1.1;margin:0 0 16px}
.detector-page .detector-section .section-heading>p{max-width:660px;color:#68607d;font-size:17px;line-height:1.75}
.detector-page .detector-section h3{color:#100a2d;font-size:18px;font-weight:900;line-height:1.25;letter-spacing:0;margin:0 0 12px}
.detector-page .detector-section p{color:#68607d;font-size:17px;line-height:1.75}
.detector-page .definition-intro p{color:#68607d;font-size:17px;line-height:1.75}
.detector-page .section-link a{font-size:16px;font-weight:500}

/* A horizontal sequence makes the instructions readable at a glance. */
.detector-page .how-to{display:block}
.usage-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;counter-reset:usage}
.usage-list li,.usage-list li+li{margin:0;padding:20px 30px 0 0;border-top:2px solid var(--line)}
.usage-list li+li{padding-left:30px;border-left:1px solid var(--line)}
.usage-list li::before{position:static;display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0 0 22px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:15px;font-weight:700;line-height:1}
.usage-list p{max-width:34ch}

/* A broad reading panel contrasts with the numbered steps above. */
.detector-page .definition{display:block}
.definition-copy{display:grid;grid-template-columns:1.25fr .85fr;gap:clamp(28px,5vw,70px);align-items:start}
.definition-intro{max-width:66ch}
.definition-intro p:last-child{margin-bottom:0}
.definition-detail{padding:28px 30px;border-radius:16px;background:var(--accent-soft)}
.definition-detail>i{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:18px;border-radius:12px;background:#fff;color:var(--accent);font-size:16px}
.definition-detail h3{margin-top:0}
.definition-detail p:last-child{margin-bottom:0}

.score-guide .section-heading{max-width:850px}
.score-outcomes{gap:18px;margin-top:32px}
.score-outcomes article,.score-outcomes article:last-child{padding:26px 28px;border:1px solid var(--line);border-radius:16px;background:#fff}
.score-outcomes h3{display:flex;align-items:center;gap:10px}
.score-outcomes h3::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#31a972}
.score-outcomes article:last-child h3::before{background:#e75b63}

.use-case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}
.use-case-grid article{min-height:172px;padding:26px 32px 26px 55px;border-bottom:1px solid var(--line)}
.use-case-grid article:nth-child(even){padding-left:72px;border-left:1px solid var(--line)}
.use-case-grid article>i{top:30px;left:4px;color:var(--accent);font-size:18px}
.use-case-grid article:nth-child(even)>i{left:22px}

.detector-page .reliability{padding:38px 42px 42px;margin:8px 0 0;border:1px solid #e9e1fa;border-radius:18px;background:#f7f4ff}
.reliability .section-heading{margin-bottom:30px}
.reliability-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.reliability-points article{padding:20px 0;border-top:1px solid #e1d8f3}
.reliability-points article:nth-last-child(-n+2){padding-bottom:0}

.comparison .table-scroll{margin-top:34px;border:1px solid var(--line);border-radius:16px}
.comparison .content-table{margin:0;font-size:16px}
.comparison .content-table caption{padding:16px 20px;text-align:left}
.comparison .content-table thead{background:#f7f4ff}
.comparison .content-table th,.comparison .content-table td{padding:17px 20px}

.detector-page .text-handling{display:block}
.handling-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 42px}
.handling-copy article{padding:22px 0;border-top:1px solid var(--line)}
.handling-copy article p{margin:0}
.handling-copy .section-link{grid-column:1/-1;margin:16px 0 0}

.detector-page .faq{display:block;padding:136px 0 118px}
.detector-page .faq h2{margin-bottom:28px}
.faq-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
.faq-items details,.faq-items details:first-child{border:1px solid var(--line);border-radius:12px;background:#fff}
.faq-items summary,.faq-items details:first-child summary{position:relative;display:block;list-style:none;padding:18px 48px 18px 20px;color:#100a2d;font-size:16px;font-weight:800;line-height:1.45}
.faq-items summary::-webkit-details-marker{display:none}
.faq-items summary::after{content:'+';position:absolute;right:20px;top:14px;color:var(--accent);font-size:22px;font-weight:400;line-height:1.5}
.faq-items details[open] summary::after{content:'−'}
.faq-items details[open]{background:#faf8ff}
.faq-items details p{padding:0 20px 20px;margin:0;color:#68607d;font-size:17px;line-height:1.75}

.detector-page .related-reading{padding:8px 0 56px}
.related-reading ul{gap:18px}
.related-reading li{padding:22px 24px;border:1px solid var(--line);border-radius:12px}
.related-reading a{font-size:16px}
.related-reading p{font-size:17px;line-height:1.75}
.detector-page .writing-next{padding:34px 38px;border-radius:16px;background:var(--accent-soft)}
.detector-page .writing-next h2{font-size:23px}
.detector-page .writing-next p{font-size:17px;line-height:1.75}

@media(max-width:767px){
  .detector-page .detector-section{padding:78px 0}
  .detector-page .section-heading h2,.detector-page .related-reading h2{font-size:clamp(33px,2.55vw,39px);line-height:1.14}
  .detector-page .detector-section .section-heading>p,.detector-page .definition-intro p{font-size:15px;line-height:1.68}
  .detector-page .detector-section h3{font-size:17px;line-height:1.22}
  .detector-page .detector-section p{font-size:15px;line-height:1.68}
  .detector-page .definition-intro p{font-size:15px;line-height:1.68}
  .usage-list{grid-template-columns:1fr;gap:0}
  .usage-list li,.usage-list li+li{padding:20px 0;border-left:0}
  .usage-list li::before{margin-bottom:14px}
  .definition-copy{grid-template-columns:1fr;gap:22px}
  .definition-detail{padding:24px}
  .score-outcomes{grid-template-columns:1fr;gap:12px}
  .score-outcomes article,.score-outcomes article:last-child{padding:22px}
  .use-case-grid{grid-template-columns:1fr}
  .use-case-grid article,.use-case-grid article:nth-child(even){min-height:0;padding:20px 0 20px 36px;border-left:0}
  .use-case-grid article>i,.use-case-grid article:nth-child(even)>i{left:1px;top:24px}
  .detector-page .reliability{padding:28px 24px 30px}
  .reliability-points{grid-template-columns:1fr;gap:0}
  .reliability-points article:nth-last-child(2){padding-bottom:20px}
  .comparison .content-table{font-size:15px;min-width:520px}
  .comparison .content-table th,.comparison .content-table td{padding:14px}
  .handling-copy{grid-template-columns:1fr;gap:0}
  .detector-page .faq{padding:136px 0 118px}
  .faq-items{grid-template-columns:1fr}
  .faq-items details p,.related-reading p,.detector-page .writing-next p{font-size:15px;line-height:1.68}
  .detector-page .related-reading{padding:0 0 40px}
  .related-reading ul{grid-template-columns:1fr;gap:12px}
  .detector-page .writing-next{padding:26px 24px}
}
