/* AI Detector page (/ai-detector). Bars: GPTZero homepage detector + StealthWriter AI detector. */
.dt-page { --ai: #e5484d; --ai-bg: #ffe4e1; --ai-ink: #b42318; --mx: #f59e0b; --mx-bg: #fff0cc; --mx-ink: #8a4b0b; --hu: #12a150; --hu-bg: #def5e7; --hu-ink: #0b6b38; }

/* ---------- hero + tool ---------- */
.dt-hero { position: relative; padding-block: 26px 64px; text-align: center; overflow: hidden; }
.dt-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ebe8f3 1px, transparent 1px), linear-gradient(90deg, #ebe8f3 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 46% at 50% 10%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 46% at 50% 10%, #000 25%, transparent 78%); pointer-events: none; }
.dt-hero::after { content: ""; position: absolute; left: 50%; top: 360px; width: 1200px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124, 58, 237, .12), rgba(236, 72, 153, .05) 55%, transparent); pointer-events: none; }
.dt-hero .wrap { position: relative; z-index: 1; max-width: 1200px; }
.dt-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto; padding: 6px 12px 6px 10px; border: 1px solid rgba(124, 58, 237, .18); background: rgba(255, 255, 255, .8); border-radius: 999px; font: 500 13px var(--font); color: #4b4560; }
.dt-chip i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--ai) 0 35%, var(--mx) 35% 55%, var(--hu) 55% 100%); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.dt-hero h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.05; max-width: 18ch; margin: 12px auto 0; }
.dt-hero .sub { max-width: 640px; margin-top: 12px; font-size: 17.5px; color: #4b4560; }
.dt-proof { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 0; font-size: 14px; color: #3b424b; }
.dt-proof-l { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dt-proof a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .85); text-decoration: none; color: #2b3138; transition: border-color .15s, transform .15s; }
.dt-proof a:hover { border-color: rgba(124, 58, 237, .4); transform: translateY(-1px); }
.dt-proof .sc { min-width: 0; font-size: 12.5px; padding: 3px 7px; border-radius: 999px; }
.dt-proof a.dt-proof-all { padding: 6px 12px; color: var(--accent); font-weight: 600; border-color: transparent; background: rgba(124, 58, 237, .08); }

.dt-tool { margin: 24px auto 0; max-width: 1140px; text-align: left; background: #fff; border: 1px solid rgba(124, 58, 237, .16); border-radius: 22px; box-shadow: 0 50px 100px -50px rgba(88, 28, 135, .45), 0 2px 8px rgba(15, 20, 25, .05); overflow: hidden; scroll-margin-top: 90px; }
.dt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fcfbff; flex-wrap: wrap; }
.dt-ex { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dt-ex > span { font-size: 14px; color: var(--muted); margin-right: 2px; }
.ex { font: 500 13.5px var(--font); border: 0; border-radius: 8px; padding: 6px 11px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.ex:hover { transform: translateY(-1px); box-shadow: 0 4px 10px -6px rgba(20, 20, 40, .35); }
.ex-ai { background: var(--ai-bg); color: var(--ai-ink); }
.ex-hu { background: var(--hu-bg); color: var(--hu-ink); }
.ex-mix { background: #efe9ff; color: #5b21b6; }
.dt-bar-r { display: flex; gap: 14px; align-items: center; }
.dt-bar-r .dt-count { margin-left: 4px; }
.dt-bar .link-btn { font-size: 14px; }
.dt-bar .link-btn.muted { color: var(--muted); }

.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 348px; }
.dt-text { display: flex; flex-direction: column; min-width: 0; }
#dt-input, .dt-view { flex: 1 1 auto; }
#dt-input, .dt-view { min-height: 300px; max-height: 560px; overflow: auto; padding: 20px 22px; font: 16.5px/1.7 var(--font); color: var(--fg); }
#dt-input { border: 0; resize: none; background: transparent; width: 100%; }
#dt-input::placeholder { color: #9aa2ad; }
.dt-view p { margin: 0 0 14px; }
.dt-view p:last-child { margin-bottom: 0; }
.dt-foot { order: -1; display: none; align-items: center; gap: 14px; padding: 10px 16px 10px 22px; border-bottom: 1px solid var(--line); background: #fcfcfd; flex-wrap: wrap; }
[data-state="done"] .dt-foot { display: flex; }
.dt-foot::after { content: "Hover a sentence to see its score"; margin-left: auto; font-size: 12.5px; color: var(--faint); }
.dt-count { font: 500 13px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.dt-count.over { color: var(--ai-ink); }
.dt-legend { display: none; gap: 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.dt-legend span { display: inline-flex; align-items: center; gap: 5px; }
[data-state="done"] .dt-legend { display: flex; }
.dt-legend i, .dt-mixkey i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-ai { background: var(--ai); } .sw-mx { background: var(--mx); } .sw-hu { background: var(--hu); }
.dt-scan { height: 42px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.dt-scan2 { display: none; }
[data-state="loading"] .dt-scan:disabled { opacity: .75; cursor: progress; }

/* highlighted sentences */
.sn { border-radius: 4px; padding: 1px 0; cursor: default; transition: box-shadow .2s, background-color .4s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sn-ai { background: #ffd3ce; }
.sn-mx { background: #ffe6a0; }
.sn-hu { background: #d9f2e2; }
.sn:hover { filter: brightness(.96) saturate(1.25); }
.sn.flash { box-shadow: 0 0 0 2px rgba(124, 58, 237, .45); }
.dt-view.reveal-on .sn { animation: sin .5s ease both; }
@keyframes sin { from { background-color: transparent; box-shadow: none; } }

/* score panel */
.dt-panel { border-left: 1px solid var(--line); background: linear-gradient(180deg, #fcfbff, #fff 40%); padding: 24px 22px; display: grid; gap: 12px; align-content: start; justify-items: center; text-align: center; min-width: 0; }
.dt-score { position: relative; width: 152px; height: 152px; }
.dt-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.dt-ring circle { fill: none; stroke-width: 10; }
.dt-ring .trk { stroke: #eceaf2; }
.dt-ring .val { opacity: 0; stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.3s cubic-bezier(.16, 1, .3, 1), stroke .3s; }
.dt-ring .spinr { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 70 260; opacity: 0; transform-origin: 60px 60px; }
[data-state="done"] .dt-ring .val { opacity: 1; }
[data-state="loading"] .dt-ring .spinr { opacity: 1; animation: dtspin 1s linear infinite; }
@keyframes dtspin { to { transform: rotate(360deg); } }
.v-ai .dt-ring .val { stroke: var(--ai); } .v-mx .dt-ring .val { stroke: var(--mx); } .v-hu .dt-ring .val { stroke: var(--hu); }
.dt-num { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.dt-num b { font-size: 40px; font-weight: 760; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.dt-num small { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
[data-state="empty"] .dt-num b, [data-state="loading"] .dt-num b { color: #c3c7d0; }
.v-ai .dt-num b { color: var(--ai-ink); } .v-mx .dt-num b { color: var(--mx-ink); } .v-hu .dt-num b { color: var(--hu-ink); }
.dt-verdict { font-size: 19px; font-weight: 680; letter-spacing: -0.015em; margin-top: 2px; }
.v-ai .dt-verdict { color: var(--ai-ink); } .v-mx .dt-verdict { color: var(--mx-ink); } .v-hu .dt-verdict { color: var(--hu-ink); }
.dt-msg { font-size: 14.5px; color: var(--muted); max-width: 300px; text-wrap: balance; }
.dt-msg.err { color: var(--ai-ink); }
.dt-what { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; text-align: left; font-size: 14px; color: var(--muted); width: 100%; }
.dt-what li { display: flex; gap: 9px; align-items: baseline; }
.dt-what li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.dt-what b { color: var(--fg); font-weight: 600; }
[data-state="done"] .dt-what { display: none; }

.dt-res { width: 100%; display: grid; gap: 14px; text-align: left; }
.dt-mix { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dt-mixbar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: #eceaf2; }
.dt-mixbar i { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(.16, 1, .3, 1) .2s; }
.m-ai { background: var(--ai); } .m-mx { background: var(--mx); } .m-hu { background: var(--hu); }
.dt-mixkey { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; color: var(--muted); }
.dt-mixkey li { display: inline-flex; align-items: center; gap: 5px; }
.dt-mixkey b { color: var(--fg); font-weight: 650; font-variant-numeric: tabular-nums; }
.dt-mixnote { font-size: 12px; color: var(--faint); }
.dt-models { margin: 0; display: grid; gap: 8px; }
.dt-models div { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; }
.dt-models dt { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.dt-models dt span { display: block; font: 500 11px var(--mono); color: var(--faint); }
.dt-models dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.dt-models .bar { flex: 1; height: 6px; background: #eceaf2; border-radius: 99px; overflow: hidden; }
.dt-models .bar i { display: block; height: 100%; width: 0; background: #8b5cf6; border-radius: 99px; transition: width 1s cubic-bezier(.16, 1, .3, 1) .3s; }
.dt-models b { font: 600 13px var(--mono); width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.dt-hidden { justify-self: start; font-size: 12.5px; padding: 7px 10px; }
.dt-hidden a { color: inherit; font-weight: 600; }
.dt-top { display: grid; gap: 8px; }
.dt-top-h { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dt-top-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dt-top-list button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #fafafc; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: 13.5px/1.4 var(--font); color: #2b3138; cursor: pointer; transition: border-color .15s, background .15s; }
.dt-top-list button:hover { border-color: rgba(229, 72, 77, .45); background: #fff; }
.dt-top-list b { flex: none; font: 600 12px var(--mono); color: var(--ai-ink); background: var(--ai-bg); border-radius: 6px; padding: 2px 6px; margin-top: 1px; }
.dt-top-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dt-hum { width: 100%; height: 48px; }
.dt-hum.ghost { background: #fff; color: var(--fg); border-color: var(--line); }
.dt-hum.ghost:hover { background: var(--soft); }
.dt-fine { font-size: 12.5px; color: var(--faint); text-align: center; }
.dt-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.dt-note a { color: var(--accent); font-weight: 600; }

/* example result shown on load (real scan of the "AI + Human" sample) */
.dt-text { position: relative; }
[data-state="example"] .dt-ring .val { opacity: 1; }
[data-state="example"] .dt-what { display: none; }
.dt-exprev { width: 100%; display: grid; gap: 8px; text-align: left; }
.dt-exprev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dt-exprev li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: #2b3138; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dt-exprev li .sc { flex: none; min-width: 44px; font-size: 12px; padding: 2px 6px; margin-top: 1px; }
.dt-exprev li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dt-exprev .link-btn { justify-self: center; font-size: 14px; margin-top: 2px; }
.dt-empty { position: absolute; inset: 0; padding-top: 170px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; pointer-events: none; color: var(--faint); font-size: 14px; }
.dt-paste { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px dashed rgba(124, 58, 237, .45); background: #faf7ff; color: #5b21b6; font: 600 15px var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.dt-paste:hover { background: #f3edff; border-color: var(--accent); }
.dt-extag { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: #f1ecff; border-radius: 999px; padding: 4px 10px; margin-bottom: -2px; }
@media (min-width: 1001px) {
  [data-state="done"] .dt-view { contain: size; max-height: none; }
}

/* tooltip */
.dt-tip { position: fixed; z-index: 60; pointer-events: none; background: #0e1215; color: #fff; font: 600 13px var(--font); padding: 7px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transform: translate(-50%, calc(-100% - 10px)); }
.dt-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.dt-tip i { font-style: normal; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.dt-tip span { font-weight: 500; color: #b8c0c8; margin-left: 6px; }

/* ---------- how it works ---------- */
.dt-how { padding-block: 100px; }
.dt-how .lede { color: #b8c4cc; }
.dt-how .lede { max-width: 680px; }
.hw { margin: 44px auto 0; max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; color: var(--fg); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); text-align: left; }
.hw-demo { padding: 24px 26px; display: grid; gap: 16px; align-content: start; background: linear-gradient(180deg, #fcfbff, #fff 60%); border-right: 1px solid var(--line); }
.hw-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hw-tag { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 5px 10px; }
.hw-overall { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.hw-overall i { width: 10px; height: 10px; border-radius: 50%; background: #c3c7d0; transition: background .4s; }
.hw-overall b { color: var(--fg); font-variant-numeric: tabular-nums; }

.hw-text { font-size: 17px; line-height: 1.75; color: #2b3138; min-height: 15.5em; }
.hw-text p { margin: 0 0 12px; }
.hw-text .w { border-radius: 4px; transition: background-color .35s, box-shadow .35s, color .35s; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 1px 0; }
.hw-text .w.win { background-color: #ece4ff; }
.hw-text .w.cur { color: #000; text-decoration: underline 2.5px #7c3aed; text-underline-offset: 4px; }
.hw-text .w.c-ai { background-color: #ffd3ce; }
.hw-text .w.c-mx { background-color: #ffe6a0; }
.hw-text .w.c-hu { background-color: #d9f2e2; }
.hw-text .w.win.c-ai, .hw-text .w.win.c-mx, .hw-text .w.win.c-hu { background-color: #ece4ff; }
.hw-meters.dim .hw-bar i, .hw-meters.dim b { opacity: .35; }
.hw-meters.dim-a .hw-avg .hw-bar i, .hw-meters.dim-a .hw-avg b { opacity: .3; }
.hw-meters .hw-bar i, .hw-meters b { transition: width .7s cubic-bezier(.16, 1, .3, 1), background .3s, opacity .3s; }
.hw-meters { display: grid; gap: 9px; padding-top: 14px; border-top: 1px dashed var(--line); }
.hw-now { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.hw-m { display: grid; grid-template-columns: 150px 1fr 46px; align-items: center; gap: 12px; }
.hw-ml { font-size: 14px; font-weight: 600; }
.hw-ml small { font: 500 12px var(--mono); color: var(--faint); margin-left: 4px; }
.hw-bar { height: 8px; border-radius: 99px; background: #eceaf2; overflow: hidden; }
.hw-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #8b5cf6; transition: width .7s cubic-bezier(.16, 1, .3, 1), background .3s; }
.hw-m b { font: 600 14px var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.hw-avg .hw-ml { color: var(--fg); }
.hw-avg .hw-bar i.c-ai { background: var(--ai); } .hw-avg .hw-bar i.c-mx { background: var(--mx); } .hw-avg .hw-bar i.c-hu { background: var(--hu); }
.hw-steps { padding: 26px 28px; display: grid; align-content: start; gap: 14px; }
.hw-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hw-steps li { padding: 14px 16px 16px; border-radius: 14px; display: grid; gap: 4px; opacity: .62; transition: opacity .3s, background .3s; }
.hw-steps li.on { opacity: 1; background: #f7f5ff; }
.hw-prog { display: block; height: 3px; border-radius: 3px; background: #eceaf2; overflow: hidden; margin-bottom: 8px; }
.hw-prog i { display: block; height: 100%; width: 0; background: var(--accent); }
.hw-steps li.on .hw-prog i { animation: hwprog var(--dur, 1.2s) linear forwards; }
.hw-steps li.done .hw-prog i { width: 100%; }
@keyframes hwprog { to { width: 100%; } }
.hw-steps b { font: 600 12px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.hw-steps h3 { font-size: 18px; letter-spacing: -0.01em; color: var(--fg); }
.hw-steps p { font-size: 15px; color: #454c55; }
.k-ai, .k-mx, .k-hu { font-weight: 600; border-radius: 4px; padding: 0 3px; }
.k-ai { background: var(--ai-bg); color: var(--ai-ink); } .k-mx { background: var(--mx-bg); color: var(--mx-ink); } .k-hu { background: var(--hu-bg); color: var(--hu-ink); }
.hw-replay { justify-self: start; margin-left: 16px; font-size: 14px; }
.hw-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 14.5px; color: #9aa7b4; }

/* ---------- accuracy ---------- */
.dt-acc { padding-block: 100px; background: linear-gradient(180deg, #fff, #faf8ff); }
.dt-acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; margin-top: 44px; align-items: stretch; }
.dt-acc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.dt-acc-cards article { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; display: grid; gap: 8px; align-content: start; }
.dt-acc-cards h3 { font-size: 17px; letter-spacing: -0.01em; }
.dt-acc-cards p { color: #454c55; font-size: 15px; }
.dt-acc-cards a { color: var(--accent); }
.dt-spot { margin: 0; border: 1px solid rgba(124, 58, 237, .18); border-radius: 18px; background: #fff; box-shadow: 0 30px 70px -44px rgba(88, 28, 135, .45); overflow: hidden; }
.dt-spot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fcfbff; }
.dt-spot figcaption b { font-size: 16px; }
.dt-spot figcaption span { font-size: 13.5px; color: var(--muted); }
.dt-spot table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dt-spot th { text-align: left; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 20px; border-bottom: 1px solid var(--line); }
.dt-spot th:last-child, .dt-spot td:last-child { text-align: right; white-space: nowrap; }
.dt-spot td { padding: 12px 20px; border-bottom: 1px solid #f0f1f4; vertical-align: top; }
.dt-spot td:nth-child(2) { color: var(--muted); }
.dt-spot td em { display: block; font: 600 12.5px var(--font); font-style: normal; color: var(--ai-ink); margin-top: 4px; }
.sc { display: inline-block; min-width: 52px; text-align: center; font: 650 14px var(--mono); padding: 4px 8px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.sc-ai { background: var(--ai-bg); color: var(--ai-ink); } .sc-mx { background: var(--mx-bg); color: var(--mx-ink); } .sc-hu { background: var(--hu-bg); color: var(--hu-ink); }
.dt-spot-note { padding: 14px 20px 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- who ---------- */
.dt-who { padding-block: 96px; }
.dt-who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.dt-who-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: transform .2s, box-shadow .2s; }
.dt-who-grid article:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(40, 20, 80, .35); }
.dt-who-grid h3 { font-size: 17.5px; letter-spacing: -0.01em; }
.dt-who-grid p { color: #454c55; font-size: 15px; }
.dt-who-grid code { font: 500 13px var(--mono); background: var(--soft); padding: 1px 5px; border-radius: 5px; }
.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; }
.ic-w { background: #f3e8ff; color: #7c3aed; } .ic-e { background: #e6f6f7; color: #0b6e78; } .ic-s { background: #fff1e6; color: #c2410c; } .ic-d { background: #eaf1ff; color: #2563eb; }
.dt-mini { font-weight: 600; font-size: 14.5px; color: var(--accent); text-decoration: none; }
.dt-mini:hover span { margin-left: 3px; }

/* ---------- faq + cta ---------- */
.dt-faq { padding-block: 96px; background: #fbfaff; }
.dt-faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; max-width: 1120px; }
.dt-faq-h { position: sticky; top: 100px; display: grid; gap: 12px; }
.dt-faq-h .eyebrow, .dt-faq-h h2 { text-align: left; margin: 0; }
.dt-faq-h p:last-child { color: var(--muted); font-size: 16px; }
.dt-faq-h a { color: var(--accent); font-weight: 600; }
.dt-faq .qs { margin-top: 0; }
.dt-faq .qs a { color: var(--accent); }
.dt-faq code { font: 500 14px var(--mono); background: #fff; border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; }
.dt-cta { text-align: center; padding-block: 100px; background: radial-gradient(900px 340px at 50% 0%, #efe7ff, #f8f7fc 70%); }
.dt-cta p { max-width: 560px; margin: 14px auto 28px; }
.dt-cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .dt-grid { grid-template-columns: minmax(0, 1fr); }
  .dt-panel { border-left: 0; border-top: 1px solid var(--line); }
  .dt-acc-grid { grid-template-columns: minmax(0, 1fr); }
  .hw { grid-template-columns: minmax(0, 1fr); }
  .hw-demo { border-right: 0; border-bottom: 1px solid var(--line); }
  .dt-faq-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dt-faq-h { position: static; }
  .dt-who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dt-hero { padding-block: 28px 48px; }
  .dt-hero h1 { font-size: 31px; }
  .dt-hero .sub { display: none; }
  .dt-proof { gap: 6px; font-size: 13px; margin-top: 12px; }
  .dt-proof-l { display: none; }
  .dt-proof a { padding-right: 10px; }
  .dt-proof a.dt-proof-all { padding: 4px 8px; background: none; }
  .dt-foot::after { display: none; }
  .dt-empty { inset: 40px 0 64px; padding-top: 0; justify-content: center; }
  .dt-tool { margin-top: 22px; border-radius: 16px; }
  .dt-bar { padding: 10px 12px; }
  .dt-ex > span { display: none; }
  #dt-input, .dt-view { min-height: 230px; max-height: 420px; padding: 16px; font-size: 16px; }
  .dt-foot { padding: 10px 16px; }
  .dt-bar-r { width: 100%; gap: 12px; }
  .dt-bar-r .dt-scan { display: none; }
  .dt-bar-r .dt-count { margin-left: auto; }
  .dt-scan2 { display: flex; order: 5; margin: 0 16px 16px; height: 48px; font-size: 16px; }
  .dt-bar-r .dt-count { margin-left: 0; font-size: 12px; }
  .dt-panel { padding: 20px 16px; }
  .dt-score { width: 128px; height: 128px; }
  .dt-num b { font-size: 34px; }
  .dt-acc-cards, .dt-who-grid { grid-template-columns: minmax(0, 1fr); }
  .dt-acc-cards { grid-auto-rows: auto; }
  .hw-demo, .hw-steps { padding: 18px 16px; }
  .hw-m { grid-template-columns: 112px 1fr 40px; gap: 8px; }
  .hw-text { font-size: 15.5px; min-height: 0; }
  .hw-steps li { padding: 10px 12px 12px; }
  .dt-how, .dt-acc, .dt-who, .dt-faq, .dt-cta { padding-block: 72px; }
  .dt-spot td, .dt-spot th { padding-inline: 14px; }
  .dt-spot thead { display: none; }
  .dt-spot tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; padding: 12px 14px; border-bottom: 1px solid #f0f1f4; }
  .dt-spot td { padding: 0; border: 0; }
  .dt-spot td:nth-child(2) { grid-column: 1; font-size: 13px; }
  .dt-spot td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .dt-cta-row .btn { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-ring .spinr, .dt-view.reveal-on .sn, .hw-steps li.on .hw-prog i { animation: none !important; }
  .hw-bar i, .hw-text .w { transition: none; }
  .dt-ring .val, .dt-mixbar i, .dt-models .bar i { transition: none; }
}
