/* Features uses one section map across desktop and phone. */
.features-page .detail-hero{padding-bottom:48px}
.features-page .detail-hero h1{max-width:1100px}
.features-lead{max-width:660px;margin-top:24px;font-size:1.3125rem;color:var(--secondary)}
.features-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:clamp(40px,5vw,80px);max-width:1320px;margin-inline:auto;padding:54px var(--gutter) 24px;align-items:start}
.feature-index{position:sticky;top:28px;align-self:start}
.feature-index-disclosure{border:0}
.feature-index-disclosure>summary{display:none}
.feature-index-links{display:grid;gap:4px}
.feature-index-links a{display:flex;align-items:center;min-height:48px;padding:10px 14px;font-size:1rem;line-height:1.4;text-decoration:none;border-radius:9px;color:var(--secondary)}
.feature-index-links a:hover{background:var(--mint);color:var(--ink)}
.feature-index-links a[aria-current="location"]{background:var(--green);color:white;font-weight:700}
.feature-sections{min-width:0}
.features-page section.feature-section[id]{padding-block:52px;border-bottom:1px solid var(--line);scroll-margin-top:32px}
.features-page section.feature-section[id]:first-child{padding-top:0}
.features-page section.feature-section[id]:last-child{border-bottom:0}
.feature-heading{margin-bottom:28px}
.feature-heading h2{font-size:clamp(2rem,3vw,2.75rem);line-height:1.2;letter-spacing:-.03em;word-spacing:normal;text-wrap:balance}
.feature-heading h2:focus{outline-offset:8px}
.feature-heading>p{font-size:1.25rem;color:var(--secondary);margin-top:16px;max-width:58ch;text-wrap:pretty}
.feature-ai .task-chat{height:560px;width:100%;max-width:900px}
.feature-ai .task-picker h3{font-size:1.4375rem}
.feature-ai .task-options{grid-template-columns:1fr 1fr;gap:10px}
.feature-ai .task-choice{font-size:1rem;min-height:74px;padding:13px 12px;gap:7px}
.feature-ai .task-label{gap:9px}
.feature-ai .task-icon{width:30px;height:35px}
.feature-ai .task-icon img{width:21px;height:21px}
.feature-ai .task-choice>.arrow{width:14px;transform:scale(.7)}
.feature-capture{margin-top:24px}
.feature-capture img{position:static;display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.feature-invoice{max-width:100%}
.feature-capture figcaption{margin-top:10px;font-size:1rem}
.feature-details{margin-top:22px}
.feature-details summary{font-size:1.3125rem;line-height:1.4}
.feature-details details>p,.bank-steps p{font-size:1.125rem;color:var(--secondary);line-height:1.6}
.features-page .feature-details .capability-list{font-size:1.125rem}
.feature-section>.text-link{margin-top:12px;font-size:1.0625rem}
.bank-steps{margin:26px 0 0;padding-left:25px;display:grid;gap:24px}
.bank-steps li{padding-left:10px}
.bank-steps li::marker{font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}
.bank-steps h3{font-size:1.3125rem;margin-bottom:7px}
.features-page .questions{padding-top:54px}
@media(max-width:1100px) and (min-width:1001px){.features-layout{grid-template-columns:180px minmax(0,1fr);gap:35px}.feature-ai .task-options{grid-template-columns:1fr}.feature-ai .task-chat{height:640px}}
@media(max-width:1000px){
  .features-layout{display:block;padding:0 var(--gutter) 24px}
  .feature-index{position:sticky;top:0;z-index:6;margin-inline:calc(-1 * var(--gutter));margin-bottom:32px;padding:0 var(--gutter);background:var(--paper);border-bottom:1px solid var(--line)}
  .feature-index-disclosure>summary{display:flex;align-items:center;gap:6px;min-height:62px;padding:14px 32px 14px 0;font-size:1rem;font-weight:600;line-height:1.4;cursor:pointer;position:relative;list-style:none}
  .feature-index-disclosure>summary::-webkit-details-marker{display:none}
  .feature-index-disclosure>summary::after{content:"";position:absolute;right:5px;top:24px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
  .feature-index-disclosure[open]>summary::after{transform:rotate(225deg);top:28px}
  .feature-current-label{font-weight:700}
  .feature-index-links{padding:0 0 14px;max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain}
  .feature-index-links a{min-height:46px}
  .features-page section.feature-section[id]{scroll-margin-top:86px}
  .feature-ai .task-chat{max-width:none;height:540px}
}
@media(max-width:700px){
  .features-page .detail-hero{padding-bottom:30px}
  .features-page .detail-hero h1{font-size:2.375rem;line-height:1.14}
  .features-lead{font-size:1.1875rem;margin-top:20px}
  .features-page section.feature-section[id]{padding-block:38px}
  .feature-heading{margin-bottom:24px}
  .feature-heading h2{font-size:2rem}
  .feature-heading>p{font-size:1.125rem;margin-top:14px}
  .feature-ai .task-chat{height:630px}
  .feature-ai .task-options{grid-template-columns:1fr;gap:9px}
  .feature-ai .task-choice{min-height:58px;font-size:1rem}
  .feature-ai .task-picker h3{font-size:1.3125rem}
  .feature-index-disclosure>summary{font-size:0.9375rem;gap:5px}
  .feature-details summary{font-size:1.25rem}
  .feature-capture{margin-top:18px}
  .feature-section>.text-link{font-size:1rem}
  .features-page .questions{padding-top:38px}
}
@media(max-width:360px){.features-page .detail-hero h1{font-size:2.0625rem}.feature-heading h2{font-size:1.8125rem}.feature-index-disclosure>summary{font-size:0.875rem}.feature-ai .task-choice{font-size:0.9375rem}.feature-ai .chat-context{max-width:none}}
@media(prefers-reduced-motion:reduce){.feature-index-links a{transition:none}}
@media(max-width:1000px) and (max-height:500px){
  .feature-index{position:static}
}
