/* AI Humanizer page. Bars: Verva /ai-humanizer (layout), Walter Writes humanizer (tool + proof), Mask AI (strength/tone bar). */

/* ---------- Hero + tool ---------- */
.hum-hero { padding-block: 56px 64px; }
.hum-hero .hero-copy { max-width: 820px; margin: 0 auto; }
.hum-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.hum-hero .sub { max-width: 640px; }
.hum-tool { max-width: 1120px; margin-top: 34px; text-align: left; }
.hum-bar { padding: 10px 12px; gap: 10px 16px; }
.hum-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hum-select { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; transition: border-color .15s; }
.hum-select:hover, .hum-select:focus-within { border-color: #c9b8f5; }
.hum-select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hum-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 500 14px var(--font); color: var(--fg); padding: 0; cursor: pointer; }
.hum-select select:focus { outline: none; }
.hum-hint { font-size: 13.5px; color: var(--muted); margin-left: auto; text-align: right; }
.hum-tool .pane { min-height: 0; padding: 16px 18px; grid-template-rows: auto 1fr auto; }
.hum-field { position: relative; min-height: 340px; display: grid; }
.hum-field textarea { height: 100%; min-height: 340px; resize: none; font-size: 16px; line-height: 1.65; }
.hum-field textarea::placeholder { color: #9aa2ac; }
.hum-empty { position: absolute; inset: 64px 0 40px; display: grid; place-content: center; justify-items: center; gap: 12px; pointer-events: none; text-align: center; }
.hum-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hum-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 500 14px var(--font); color: var(--fg); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.hum-pill:hover { border-color: #c9b8f5; background: #faf8ff; transform: translateY(-1px); }
.hum-pill svg { color: var(--accent); }
.hum-types { font-size: 13px; color: var(--faint); }
.hum-drop { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border: 2px dashed var(--accent); border-radius: 14px; background: rgba(243, 232, 255, .92); color: var(--accent); z-index: 2; }
.hum-drop b { font-size: 17px; }
.hum-drop span { font-size: 13.5px; }
.hum-meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hum-tool .count.over { color: #b42318; font-weight: 600; }
#h-go { min-width: 112px; }
#h-go.busy { cursor: progress; }

.hum-out { background: #fcfbff; }
.hum-out-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hum-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; user-select: none; }
.hum-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hum-switch span { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #d6dae0; transition: background .2s; flex: none; }
.hum-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.hum-switch input:checked + span { background: var(--accent); }
.hum-switch input:checked + span::after { transform: translateX(14px); }
.hum-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hum-output { position: relative; min-height: 340px; max-height: 460px; overflow-y: auto; white-space: normal; padding-right: 4px; overscroll-behavior: contain; }
.hum-output p { margin: 0 0 14px; white-space: pre-wrap; }
.hum-output p:last-child { margin-bottom: 0; }
.snt { border-radius: 5px; cursor: pointer; transition: background .15s, box-shadow .15s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.snt:hover, .snt:focus-visible { background: #f1ebff; box-shadow: 0 0 0 2px #f1ebff; outline: none; }
.snt.rolling { color: var(--faint); background: linear-gradient(90deg, #f3eefe 0%, #e7dcfd 50%, #f3eefe 100%); background-size: 200% 100%; animation: sweep 1s linear infinite; }
.snt.fresh { animation: fresh 1.6s ease-out; }
@keyframes fresh { 0% { background: #d9f7e5; box-shadow: 0 0 0 3px #d9f7e5; } 100% { background: transparent; box-shadow: 0 0 0 2px transparent; } }
.hum-output mark.chg { background: #efe7ff; box-shadow: inset 0 -2px 0 rgba(124, 58, 237, .35); color: inherit; border-radius: 3px; padding: 0 1px; }
.hum-output.nodiff mark.chg { background: none; box-shadow: none; padding: 0; }
.hum-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--faint); padding: 20px; }
.hum-ph svg { color: #cdbdf7; }
.hum-ph p { color: var(--muted); font-size: 15.5px; }
.hum-ph small { font-size: 13.5px; }
.hum-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; }
.hum-wait b { font-size: 17px; font-variant-numeric: tabular-nums; }
.hum-wait span { color: var(--muted); font-size: 14px; max-width: 340px; }
.hum-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #ece4ff; border-top-color: var(--accent); animation: spin .8s linear infinite; }
.hum-err { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px; color: #8a1c13; }
.hum-err b { font-size: 16px; }
.hum-err span { color: var(--muted); font-size: 14px; }
.hum-foot { align-items: flex-end; }
.hum-foot .chips { flex: 1 1 260px; min-height: 24px; }
.hum-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hum-actions .btn:disabled { cursor: not-allowed; }
.hum-dl { position: relative; }
.hum-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(16, 24, 40, .35); padding: 6px; display: grid; gap: 2px; animation: ddin .14s ease-out; }
.hum-menu button { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font: 500 14px var(--font); color: var(--fg); cursor: pointer; }
.hum-menu button:hover, .hum-menu button:focus-visible { background: #f5f3ff; outline: none; }
.chip.info { background: #f1ebff; color: #5b21b6; }
.hum-toast { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 13.5px; padding: 8px 12px; border-radius: 9px; z-index: 3; max-width: 90%; text-align: center; animation: ddin .15s ease-out; }

.hum-limit { text-align: center; margin-top: 16px; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.hum-limit a { color: var(--accent); font-weight: 600; text-decoration: none; }
.hum-limit a:hover { text-decoration: underline; }
.hum-limit.warn { color: #8a1c13; font-weight: 500; }
.hum-ticks { list-style: none; padding: 0; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.hum-ticks li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: #3b424b; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 9px; }
.hum-ticks li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* ---------- How it works ---------- */
.hum-how { padding-block: 100px; }
.hum-flow { margin: 48px auto 0; max-width: 1120px; }
.hum-flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.hum-flow .hf-tall { display: none; max-width: 340px; margin: 0 auto; }
.hum-flow figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.hf-l { fill: none; stroke: #d9d0f3; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hf-l.win { stroke: url(#hfg); stroke-width: 2.6; }
.hf-tall .hf-l.win { stroke: var(--accent); }
.hum-flow.in .hf-l { stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.6, 0, .2, 1) .2s; }
.hf-n rect, .hf-v > rect:first-child { fill: #fff; stroke: #e3e0ee; stroke-width: 1.5; }
.hf-n text, .hf-v text { fill: var(--fg); font: 600 17px var(--font); text-anchor: middle; }
.hf-v text { text-anchor: start; font-size: 14.5px; font-weight: 550; }
.hf-tall .hf-v text { font-size: 14px; }
.hf-n .k { fill: var(--accent); font: 600 14px var(--mono); }
.hf-n .sm { fill: rgba(255, 255, 255, .8); font: 500 13px var(--font); }
.hf-n .hf-bar { fill: #ece7f8; stroke: none; }
.hf-n.end rect { fill: var(--accent); stroke: var(--accent); }
.hf-n.end text { fill: #fff; }
.hf-meter { fill: #efedf5; stroke: none; }
.hf-fill { fill: #f2a093; stroke: none; transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.hf-v.best .hf-fill { fill: #12a150; }
.hf-tick { fill: none; stroke: #12a150; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.hf-cap { fill: var(--muted); font: 500 13px var(--mono); text-anchor: middle; }
.hf-n, .hf-v { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; transform-box: fill-box; }
.hum-flow.in .hf-n, .hum-flow.in .hf-v { opacity: 1; transform: none; }
.hum-flow.in .n2 { transition-delay: .15s; }
.hum-flow.in .v1 { transition-delay: .35s; } .hum-flow.in .v2 { transition-delay: .45s; } .hum-flow.in .v3 { transition-delay: .55s; } .hum-flow.in .v4 { transition-delay: .65s; }
.hum-flow.in .n3 { transition-delay: .85s; } .hum-flow.in .n4 { transition-delay: 1s; } .hum-flow.in .n5 { transition-delay: 1.15s; }
.hum-flow.in .hf-fill { transform: scaleX(1); transition: transform .9s cubic-bezier(.2, .8, .2, 1) 1s; }
.hum-flow.in .hf-v.best > rect:first-child { stroke: #12a150; stroke-width: 2; fill: #f0fbf4; transition: fill .4s 1.8s, stroke .4s 1.8s; }
.hum-flow.in .hf-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease 2s; }
.hf-pulse { fill: #7c3aed; opacity: 0; }
.hum-flow.in .hf-pulse { opacity: .9; transition: opacity .4s 2s; }
.hum-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.hum-steps article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; background: #fff; transition: transform .2s, box-shadow .2s; }
.hum-steps article:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(40, 20, 90, .35); }
.hs-k { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f1ebff; color: var(--accent); font: 600 14px var(--mono); }
.hum-steps h3 { font-size: 18px; letter-spacing: -0.01em; }
.hum-steps p { color: #454c55; font-size: 15px; }

/* ---------- Results ---------- */
.hum-proof { padding-block: 100px; }
.hum-proof .lede { color: #b8c4cc; }
.hum-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.hum-stats div { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; display: grid; gap: 6px; }
.hum-stats b { font-size: clamp(40px, 4.6vw, 56px); line-height: 1; font-weight: 750; letter-spacing: -0.045em; color: #fff; font-variant-numeric: tabular-nums; }
.hum-stats b small { font-size: .5em; font-weight: 600; color: #c4b5fd; letter-spacing: -0.02em; }
.hum-stats span { color: #b8c4cc; font-size: 15px; }
.hum-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.ba-card { margin: 0; border-radius: 18px; padding: 22px; display: grid; gap: 14px; align-content: start; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.ba-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 15px; color: #fff; }
.ba-score { font: 650 13px var(--mono); padding: 5px 10px; border-radius: 999px; }
.ba-ai .ba-score { background: rgba(239, 75, 60, .18); color: #ffb4aa; }
.ba-hu .ba-score { background: rgba(18, 161, 80, .2); color: #9be7b9; }
.ba-hu { border-color: rgba(155, 231, 185, .3); }
.ba-card p { color: #d8e0e5; font-size: 15.5px; line-height: 1.65; white-space: pre-line; }
.ba-card mark { background: rgba(196, 181, 253, .22); box-shadow: inset 0 -2px 0 rgba(196, 181, 253, .55); color: #fff; border-radius: 3px; padding: 0 1px; }
.hum-note { margin-top: 16px; color: #93a0a6; font-size: 13.5px; text-align: center; }
.hum-tonetable { margin-top: 56px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 26px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.tt-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.tt-head p { color: #b8c4cc; font-size: 14.5px; margin-top: 10px; }
.tt-rows { display: grid; }
.tt-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: #e8eef2; }
.tt-row:last-child { border-bottom: 0; }
.tt-th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #93a0a6; padding-top: 0; }
.tt-row b { font-weight: 600; color: #fff; }
.tt-pass { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.tt-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; max-width: 90px; }
.tt-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #a78bfa, #34d399); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .3s; }
.hum-tonetable.in .tt-bar i { transform: scaleX(1); }
.tt-row span:nth-child(3), .tt-row span:nth-child(4) { font-variant-numeric: tabular-nums; color: #c9d3d9; }

/* ---------- Tone examples ---------- */
.hum-tones { padding-block: 100px; }
.hum-tonebox { max-width: 900px; margin: 44px auto 0; background: #fff; border: 1px solid rgba(124, 58, 237, .16); border-radius: 22px; box-shadow: 0 40px 90px -50px rgba(88, 28, 135, .45); overflow: hidden; }
.hum-tabs { padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hum-tabs::-webkit-scrollbar { display: none; }
.hum-tabs button { white-space: nowrap; }
.tone-panel { padding: 24px 26px 8px; display: grid; gap: 16px; }
.tone-panel p.tone-text { font-size: 17px; line-height: 1.7; color: #23282e; white-space: pre-line; }
.tone-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tone-meta .chip { font-size: 12.5px; }
.tone-orig { margin: 8px 26px 22px; border-top: 1px dashed var(--line); padding-top: 14px; }
.tone-orig summary { cursor: pointer; font-weight: 600; color: var(--accent); font-size: 14.5px; list-style: none; }
.tone-orig summary::-webkit-details-marker { display: none; }
.tone-orig summary::after { content: " +"; }
.tone-orig[open] summary::after { content: " −"; }
.tone-orig p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Features ---------- */
.hum-feats { padding-block: 100px; }
.hf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.hf-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hf-grid article:hover { transform: translateY(-3px); border-color: #ddd0fb; box-shadow: 0 18px 40px -26px rgba(88, 28, 135, .4); }
.fi { width: 40px; height: 40px; border-radius: 11px; background: #f3edff; color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.fi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hf-grid h3 { font-size: 18px; letter-spacing: -0.01em; }
.hf-grid p { color: #4b525b; font-size: 15px; }

/* ---------- FAQ + CTA ---------- */
.hum-faq { background: #fff; }
.hum-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hum-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hum-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hum-tonetable { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hum-hint { margin-left: 0; text-align: left; flex-basis: 100%; }
  .hum-field, .hum-field textarea { min-height: 230px; }
  .hum-output { min-height: 200px; max-height: none; overflow: visible; }
  .hum-ba { grid-template-columns: minmax(0, 1fr); }
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hum-hero { padding-block: 32px 48px; }
  .hum-tool { margin-top: 24px; }
  .hum-bar { justify-content: flex-start; }
  .hum-ctl { width: 100%; }
  .hum-ctl .seg { flex: 1 1 auto; }
  .hum-ctl .seg button { flex: 1; padding-inline: 8px; }
  .hum-select { flex: 1 1 150px; }
  .hum-empty { inset: 48px 0 24px; }
  .hum-flow .hf-wide { display: none; }
  .hum-flow .hf-tall { display: block; }
  .hum-how, .hum-proof, .hum-tones, .hum-feats { padding-block: 72px; }
  .hum-steps, .hf-grid { grid-template-columns: minmax(0, 1fr); }
  .hum-stats { gap: 14px; }
  .hum-tonetable { padding: 18px; }
  .tt-row { font-size: 14px; gap: 8px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr); }
  .tt-bar { display: none; }
  .tone-panel { padding: 18px 18px 6px; }
  .tone-panel p.tone-text { font-size: 16px; }
  .tone-orig { margin: 6px 18px 18px; }
  .hum-actions { width: 100%; }
  .hum-actions #h-check { flex: 1 1 100%; }
  .hum-cta .btn { flex: 1 1 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-l { stroke-dashoffset: 0; }
  .hf-n, .hf-v { opacity: 1; transform: none; }
  .hf-fill { transform: none; }
  .hf-tick { stroke-dashoffset: 0; }
  .hf-pulse { display: none; }
  .tt-bar i { transform: none; }
  .snt.rolling, .hum-spin { animation-duration: 2s; }
}

/* "Pro" labels (tone modes and file upload are Pro features on the pricing page; usable here) */
.pro-tag { display: inline-flex; align-items: center; font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #6d28d9; background: #f3e8ff; border-radius: 999px; padding: 3px 6px; margin-left: 2px; }
.hum-ctl > .pro-tag { margin-left: -4px; }
@media (max-width: 760px) { .hum-tabs { flex-wrap: wrap; overflow: visible; } .hum-tabs button { padding: 8px 11px; } }

/* Gauntlet round 1 fixes: actions never look washed out; shorter phone first screen; proof chip */
.hum-actions .btn:disabled { opacity: 1; background: #f4f5f7; border-color: var(--line); color: #a3aab3; box-shadow: none; transform: none; }
#h-go:disabled { opacity: .55; }
.hum-ticks li.proof { background: #f3edff; border-color: #ddd0fb; padding: 0; }
.hum-ticks li.proof::before { display: none; }
.hum-ticks li.proof a { color: #5b21b6; font-weight: 600; text-decoration: none; padding: 6px 12px; }
.hum-ticks li.proof a::after { content: " →"; }
.hum-proof .lede { font-size: 18.5px; }
.hum-note { font-size: 14px; }
.tt-row { font-size: 16px; }
.tt-head p { font-size: 15.5px; }
@media (max-width: 760px) {
  .hum-desk { display: none; }
  .hum-hero .sub { font-size: 17px; margin-top: 12px; }
  .hum-hero h1 { font-size: 36px; }
  .hum-hero .eyebrow { display: none; }
  .hum-hint { display: none; }
  .hum-field, .hum-field textarea { min-height: 170px; }
  .hum-empty { inset: 30px 0 10px; }
  .hum-out.empty .hum-output { min-height: 96px; }
  .hum-out.empty .hum-ph small { display: none; }
  .hum-out.empty .hum-ph svg { display: none; }
  .hum-out.empty .hum-foot { display: none; }
}
@media (max-width: 760px) { .hum-empty { inset: 60px 0 6px; } .hum-field, .hum-field textarea { min-height: 196px; } }
/* Gauntlet round 2 polish: tighter gap under the tool, one chip row on phones */
.hum-hero { padding-bottom: 36px; }
.hum-how { padding-top: 84px; }
@media (max-width: 760px) {
  .hum-ticks li:not(.proof) { display: none; }
  .hum-limit { font-size: 13.5px; }
}
.hf-dots { fill: #b9addb; font: 700 12px var(--font); text-anchor: middle; letter-spacing: 2px; }

/* Taller paste box (Oct 14) */
.hum-field, .hum-field textarea { min-height: 480px; }
@media (max-width: 900px) { .hum-field, .hum-field textarea { min-height: 320px; } }
@media (max-width: 760px) { .hum-field, .hum-field textarea { min-height: 280px; } }

/* Oct 14 fixes */
/* M6: the empty-state buttons sit just under the placeholder (desktop) or at the bottom of the box (phones),
   so a click in the middle of the box lands on the textarea */
.hum-empty, .hum-empty[class] { inset: 64px 0 auto; place-content: start center; }
@media (max-width: 760px) { .hum-empty, .hum-empty[class] { inset: auto 0 12px; } .hum-pills { padding-inline: 8px; } }
/* Next step when the score stays at 50% or more (modelled on Undetectable AI's "Humanize Again" beside the output) */
.hum-nudge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 12px 14px; border: 1px solid #f5d0a9; background: #fff8ef; border-radius: 12px; animation: ddin .18s ease-out; }
.hum-nudge-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fde4c4; color: #9a4a00; font: 700 13px var(--font); }
.hum-nudge-msg { flex: 1 1 260px; min-width: 0; font-size: 14px; line-height: 1.5; color: #4b3a26; }
.hum-nudge-msg b { color: #7a3a00; font-weight: 650; }
.hum-nudge-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hum-nudge-btns .btn { white-space: nowrap; }
.snt.hot { background: #ffe9d1; box-shadow: 0 0 0 2px #ffe9d1, inset 0 -2px 0 #f5a35c; }
.snt.hot:hover, .snt.hot:focus-visible { background: #ffdcb5; box-shadow: 0 0 0 2px #ffdcb5, inset 0 -2px 0 #f5a35c; }
@media (max-width: 760px) { .hum-nudge-btns { width: 100%; } .hum-nudge-btns .btn { flex: 1 1 auto; } }
