/* www.counselwise.ai home page (#1674 redesign). Loaded after site.css by the home page only:
   hero window, Draft, Agents, features, security, pricing, and their motion. */
.eyebrow-u { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.sub { margin-top: 14px; font-size: var(--step-lede); color: var(--ink-soft); text-wrap: balance; }
/* Sections already carry their own air; trim where two bands meet. */
.hp-how { padding-top: 0; }
.hp-ag, .hp-all { padding-bottom: calc(var(--section) * .4); }
.hp-all, .hp-sec { padding-top: calc(var(--section) * .4); }
.hp-sec { padding-bottom: calc(var(--section) * .4); }
.hp-price { padding-top: calc(var(--section) * .4); }
.section-head.center { margin-left: auto; margin-right: auto; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-soft); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--teal-deep); }
.ticks svg, .done svg, .pr-inc svg, .chk svg, .file svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.more .arrow, .fl-i .arrow, .send .arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wd { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.wd-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f2f6f6; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }
.wd-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c3d2d3; }
.wd-bar b { margin-left: 8px; font-weight: 500; }
.wd-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.wd-doc { padding: 26px 26px 28px; font: 400 17px/1.7 var(--display); color: #1b2f33; }
.wd-doc p + p { margin-top: 12px; }
.wd-doc del, .ed del { color: var(--del); text-decoration-thickness: 1.5px; }
.wd-doc ins, .ed ins { color: var(--ins); text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: var(--teal); }
.wd-pane { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #f7faf9; border-left: 1px solid var(--line); }
.wd-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.card { padding: 14px; background: var(--paper); border: 1px solid #e0e8e8; border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.tag { margin-bottom: 6px; font: 600 11px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.acts { display: flex; gap: 6px; margin-top: 10px; }
.acts span { display: inline-block; padding: 7px 11px; border: 1px solid #c3d2d3; border-radius: 7px; font: 600 12px/1 var(--text); color: var(--ink); }
.acts .b-yes { background: var(--ink); border-color: var(--ink); color: #fff; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; }
.done { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; opacity: 0; font-size: 12.5px; font-weight: 600; color: var(--teal-deep); }
.done svg { flex: none; margin-top: 1px; width: 14px; height: 14px; }
.dr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lift); }
.win { background: #0a161b; border: 1px solid #21414a; border-radius: var(--radius-lg); overflow: hidden; color: #c3d2d3; }
.dr .win { display: flex; flex-direction: column; border: 0; border-radius: 0; }
.win-bar { display: flex; justify-content: space-between; gap: 8px; padding: 13px 18px; border-bottom: 1px solid #1b3640; font-size: 12px; color: #8ba0a3; }
.dr-body { position: relative; flex: 1; min-height: 360px; padding: 16px 20px 6px; }
.think { position: absolute; top: 22px; left: 20px; display: flex; align-items: center; gap: 8px; margin: 0; opacity: 0; font-size: 13px; color: #a9bcbd; }
.spin { display: block; width: 14px; height: 14px; border: 2px solid #21414a; border-top-color: #3fb8b2; border-radius: 50%; }
.d-sum { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: #c3d2d3; }
.d-sum b { color: #f2f6f6; }
.iss-list { list-style: none; margin: 0; padding: 0; }
.iss { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid #1b3640; }
.iss b { display: block; font-size: 14px; color: #f2f6f6; }
.iss small { display: block; margin-top: 2px; font-size: 12.5px; color: #a9bcbd; }
.sev { flex: none; margin-top: 2px; padding: 4px 9px; border-radius: 20px; font: 600 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.sev-high { background: #e8a0a0; color: #3b0d0a; }
.sev-medium { background: #e8c38a; color: #3a2a06; }
.dr-input { display: flex; align-items: center; gap: 10px; margin: 14px 18px; padding: 10px 12px; border: 1px solid #2a4c55; border-radius: 12px; background: #0d1c22; }
.dr-type { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 13.5px; color: #e6f0f0; }
.d-prompt { display: inline-block; }
.send { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #3fb8b2; color: #06231f; }
.dr-edits { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #f7faf9; }
.dr-head { display: flex; justify-content: space-between; padding: 2px; font-size: 13px; font-weight: 600; }
.dr-head span { font-weight: 500; font-size: 12px; color: var(--ink-faint); }
.ed { padding: 16px; }
.ed-text { font: 400 17px/1.5 var(--display); color: #1b2f33; }
.note { margin-top: 8px; font-size: 12.5px; color: var(--ink-faint); }
.dk { background: #0a161b; border: 1px solid #21414a; color: #c3d2d3; }
.dk thead th { background: #12333a; color: #e6f0f0; }
.dk th, .dk td { border-bottom-color: #1b3640; }
.dk tbody th { color: #f2f6f6; }
.dk .cell-warn { background: none; color: #e8c38a; }
.dk .cell-src { color: #3fb8b2; }
.dk .sheet-quote { background: none; border-top: 1px solid #21414a; }
.dk .sheet-quote p { color: #e6f0f0; }
.dk .sheet-quote cite { color: #3fb8b2; }
.split-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-rev .win { order: -1; }
.hp-ag .split-copy p:not(.eyebrow), .hp-all .split-copy p:not(.eyebrow) { color: var(--ink-soft); }
.ag { margin: 0; box-shadow: 0 30px 60px -24px rgba(14, 42, 48, .45); }
.bar { height: 3px; background: #12333a; }
.g-bar { display: block; height: 3px; background: #3fb8b2; transform-origin: 0 50%; }
.stps { list-style: none; margin: 0; padding: 4px 22px 8px; }
.stp { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid #1b3640; }
.ind { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; }
.ind i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; }
.ring { border: 2px solid #21414a; }
.ind .spin { width: auto; height: auto; border-color: transparent; border-top-color: #3fb8b2; opacity: 0; }
.chk { background: #3fb8b2; color: #06231f; }
.chk svg { width: 12px; height: 12px; stroke-width: 3; }
.st { font-size: 13.5px; color: #a9bcbd; }
.st b { display: block; margin-bottom: 3px; font-size: 15px; color: #f2f6f6; }
.result { display: flex; align-items: center; gap: 14px; margin: 4px 22px 22px; padding: 14px 16px; background: #12333a; border: 1px solid #21414a; border-radius: 12px; }
.file { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #e6f0f0; color: var(--ink); }
.rname { flex: 1; min-width: 0; font-size: 13px; color: #a9bcbd; }
.rname b { display: block; font-size: 14.5px; color: #f2f6f6; }
.open { padding: 9px 12px; border-radius: 8px; background: #3fb8b2; font: 600 13px/1 var(--text); color: #06231f; }
.fl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 40px; }
.fl-i { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.fl-i b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.fl-i:hover, .fl-i:hover b { color: var(--teal-deep); }
.sec-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding: clamp(28px, 5vw, 56px); background: var(--paper); border: 1px solid #e0e8e8; border-radius: 20px; }
.sec-intro h2 { margin-bottom: 16px; font-size: var(--step-h2); line-height: 1.08; }
.sec-intro p:not(.eyebrow) { margin-bottom: 18px; color: var(--ink-soft); }
.sec-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 36px; }
.sec-grid dt { margin-bottom: 6px; font: 600 20px/1.3 var(--display); }
.sec-grid dd { margin: 0; font-size: 15px; color: var(--ink-soft); }
.pr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
.pr-table { overflow-x: auto; background: var(--paper); border: 1px solid #e0e8e8; border-radius: var(--radius-lg); }
.pr table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; color: var(--ink-soft); }
.pr caption { padding: 22px 24px 10px; text-align: left; font: 600 12px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.pr th, .pr td { padding: 16px 24px; text-align: left; }
.pr td { white-space: nowrap; }
.pr thead th { font-size: 14px; font-weight: 600; color: var(--ink); }
.pr tbody tr { border-top: 1px solid #e0e8e8; }
.pr tbody th { font-weight: 600; color: var(--ink); }
.amt { font: 600 26px/1 var(--display); color: var(--ink); }
.pr-inc { padding: 30px; background: var(--ink); border-radius: var(--radius-lg); color: #c3d2d3; }
.pr-inc h3 { margin-bottom: 16px; font: 600 12px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: #3fb8b2; }
.pr-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.pr-inc li { display: flex; gap: 10px; }
.pr-inc svg { flex: none; margin-top: 3px; color: #3fb8b2; }
.pr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.pr-foot p { max-width: 40rem; font-size: 14px; color: var(--ink-soft); }
.pr-foot .actions { margin-top: 0; }

/* Tablet */
@media (max-width: 1024px) {
  .wd { max-width: 620px; }
  .dr, .sec-card, .pr, .fl, .split-rev { grid-template-columns: minmax(0, 1fr); }
  .split-rev .win { order: 0; }
}

/* Phone */
@media (max-width: 720px) {
  .wd-grid { grid-template-columns: minmax(0, 1fr); }
  .wd-pane { border-left: 0; border-top: 1px solid var(--line); }
  .wd-doc { padding: 20px 18px 24px; font-size: 16px; }
  .pr th, .pr td { padding: 14px 16px; }
}

/* Motion: loops that stop under prefers-reduced-motion, leaving the finished state */
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes h-del { 0%, 12% { color: #1b2f33; text-decoration-color: transparent; } 18%, 62% { color: var(--del); text-decoration-color: var(--del); } 68%, 96% { color: var(--del); text-decoration-color: var(--del); opacity: .35; } 100% { color: #1b2f33; text-decoration-color: transparent; opacity: 1; } }
@keyframes h-i1 { 0%, 20% { opacity: 0; } 26%, 64% { opacity: 1; color: var(--ins); } 70%, 96% { opacity: 1; color: #1b2f33; text-decoration-color: transparent; } 100% { opacity: 0; } }
@keyframes h-i2 { 0%, 34% { opacity: 0; } 40%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes h-i3 { 0%, 44% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes h-c1 { 0%, 22% { opacity: 0; transform: translateY(8px); } 28%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes h-c2 { 0%, 42% { opacity: 0; transform: translateY(8px); } 48%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes h-press { 0%, 58% { transform: none; box-shadow: none; } 61% { transform: scale(.94); box-shadow: 0 0 0 4px rgba(14, 138, 134, .25); } 64%, 100% { transform: none; box-shadow: none; } }
@keyframes h-btns { 0%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes h-ok { 0%, 64% { opacity: 0; } 68%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes d-p { 0%, 2% { clip-path: inset(0 100% 0 0); } 13%, 96% { clip-path: inset(0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes d-s { 0%, 14% { opacity: 0; transform: translateY(8px); } 16%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-t { 0%, 16% { opacity: 0; } 17%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes d-sum { 0%, 25% { opacity: 0; transform: translateY(8px); } 28%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-i1 { 0%, 28% { opacity: 0; transform: translateY(8px); } 31%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-i2 { 0%, 32% { opacity: 0; transform: translateY(8px); } 35%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-i3 { 0%, 36% { opacity: 0; transform: translateY(8px); } 39%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-e1 { 0%, 42% { opacity: 0; transform: translateY(8px); } 46%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-e2 { 0%, 48% { opacity: 0; transform: translateY(8px); } 52%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-e3 { 0%, 54% { opacity: 0; transform: translateY(8px); } 58%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes d-press { 0%, 66% { transform: none; box-shadow: none; } 69% { transform: scale(.94); box-shadow: 0 0 0 4px rgba(14, 138, 134, .25); } 72%, 100% { transform: none; box-shadow: none; } }
@keyframes d-btns { 0%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes d-ok { 0%, 72% { opacity: 0; } 76%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes g-bar { 0% { transform: scaleX(0); } 78%, 97% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes g-res { 0%, 80% { opacity: 0; transform: translateY(10px); } 86%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g1t { 0%, 97% { opacity: 1; } 100% { opacity: .45; } }
@keyframes g2t { 0%, 19% { opacity: .45; } 20%, 97% { opacity: 1; } 100% { opacity: .45; } }
@keyframes g3t { 0%, 39% { opacity: .45; } 40%, 97% { opacity: 1; } 100% { opacity: .45; } }
@keyframes g4t { 0%, 59% { opacity: .45; } 60%, 97% { opacity: 1; } 100% { opacity: .45; } }
@keyframes g1s { 0%, 19% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes g2s { 0%, 19% { opacity: 0; } 20%, 39% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes g3s { 0%, 39% { opacity: 0; } 40%, 59% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes g4s { 0%, 59% { opacity: 0; } 60%, 77% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes g1c { 0%, 19% { opacity: 0; transform: scale(.6); } 20%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g2c { 0%, 39% { opacity: 0; transform: scale(.6); } 40%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g3c { 0%, 59% { opacity: 0; transform: scale(.6); } 60%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g4c { 0%, 77% { opacity: 0; transform: scale(.6); } 78%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .h-del { animation: h-del 12s infinite; }
  .h-i1 { animation: h-i1 12s infinite; }
  .h-i2 { animation: h-i2 12s infinite; }
  .h-i3 { animation: h-i3 12s infinite; }
  .h-c1 { animation: h-c1 12s infinite; }
  .h-c2 { animation: h-c2 12s infinite; }
  .h-press { animation: h-press 12s infinite; }
  .h-btns { animation: h-btns 12s infinite; }
  .h-ok { animation: h-ok 12s infinite; }
  .d-prompt { animation: d-p 14s infinite; }
  .d-sent { animation: d-s 14s infinite; }
  .d-think { animation: d-t 14s infinite; }
  .d-think .spin { animation: rot .9s linear infinite; }
  .d-sum { animation: d-sum 14s infinite; }
  .d-i1 { animation: d-i1 14s infinite; }
  .d-i2 { animation: d-i2 14s infinite; }
  .d-i3 { animation: d-i3 14s infinite; }
  .d-e1 { animation: d-e1 14s infinite; }
  .d-e2 { animation: d-e2 14s infinite; }
  .d-e3 { animation: d-e3 14s infinite; }
  .d-press { animation: d-press 14s infinite; }
  .d-btns { animation: d-btns 14s infinite; }
  .d-ok { animation: d-ok 14s infinite; }
  .g-bar { animation: g-bar 10s linear infinite; }
  .g-res { animation: g-res 10s infinite; }
  .g1 .st { animation: g1t 10s infinite; }
  .g2 .st { animation: g2t 10s infinite; }
  .g3 .st { animation: g3t 10s infinite; }
  .g4 .st { animation: g4t 10s infinite; }
  .g1 .spin { animation: g1s 10s infinite, rot .9s linear infinite; }
  .g2 .spin { animation: g2s 10s infinite, rot .9s linear infinite; }
  .g3 .spin { animation: g3s 10s infinite, rot .9s linear infinite; }
  .g4 .spin { animation: g4s 10s infinite, rot .9s linear infinite; }
  .g1 .chk { animation: g1c 10s infinite; }
  .g2 .chk { animation: g2c 10s infinite; }
  .g3 .chk { animation: g3c 10s infinite; }
  .g4 .chk { animation: g4c 10s infinite; }
}

