/* Three stages of agency growth, illustrated with native interface elements. */
.feature-sections { display: flex; flex-direction: column; gap: 112px; padding-block: 110px; }
.features-heading { text-align: center; }
.feature-eyebrow { margin-bottom: 18px; color: #1f5cff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.features-heading h2 { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.features-heading p { margin: 20px 0 0; color: #4b5363; font-size: 18px; font-weight: 300; line-height: 1.6; }
.capability-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 72px; }
.feature-copy h3 { scroll-margin-top: calc(var(--nav-height) + 32px); margin: 0; font-size: 39px; font-weight: 600; line-height: 1.13; letter-spacing: -.045em; text-wrap: pretty; }
.feature-copy > p { margin: 22px 0 0; color: #4b5363; font-size: 17px; font-weight: 300; line-height: 1.65; text-wrap: pretty; }
.feature-list { display: grid; gap: 17px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.65; color: #4b5363; }
.feature-list li::before { content: '✓' / ''; flex: none; display: grid; place-items: center; width: 21px; height: 21px; margin-top: 1px; border-radius: 50%; background: #e8efff; color: #1f5cff; font-size: 12px; font-weight: 600; }
.feature-list strong { color: #0d1321; font-weight: 600; }
.capability-row-reverse .feature-copy { order: 2; }
.feature-demo { --demo-accent: #3867d6; --demo-soft: #edf2ff; --demo-border: #dce5f8; position: relative; display: grid; align-items: center; min-width: 0; width: 100%; min-height: 530px; padding: 50px 26px; border: 1px solid var(--demo-border); border-radius: 28px; background: #eef3fb; background-image: radial-gradient(circle at 50% 45%, #ffffffc9, transparent 65%), radial-gradient(var(--demo-border) .8px, transparent .8px); background-size: auto, 16px 16px; }
.sales-demo { --demo-accent: #218273; --demo-soft: #eaf6f1; --demo-border: #d7e8e1; background-color: #edf5f1; }
.delivery-demo { --demo-accent: #8060b2; --demo-soft: #f3eefb; --demo-border: #e5dff0; background-color: #f3f0f8; }
.demo-scene { width: 100%; min-width: 0; }
.demo-window { position: relative; overflow: hidden; border: 1px solid #e2e6ed; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px -12px #263b632b, 0 2px 5px #263b6305; }
.demo-window-bar { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 12px 18px; border-bottom: 1px solid #edf0f4; font-size: 12px; font-weight: 600; }
.demo-app-icon { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 8px; color: var(--demo-accent); background: var(--demo-soft); font-size: 23px; }
.demo-scene svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.demo-ellipsis { margin-left: auto; color: #939cad; font-size: 20px; letter-spacing: 2px; }
.demo-window-body { padding: 24px; }
.demo-kicker { color: #7c8495; font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.demo-title { margin-top: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.04em; line-height: 1.35; }
.roadmap-window { margin: 0; }
.roadmap-progress { height: 4px; margin: 23px 0 13px; overflow: hidden; border-radius: 5px; background: #edf0f6; }
.roadmap-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--demo-accent); transform-origin: left; animation: roadmap-fill 10s infinite; }
.roadmap-step { display: flex; align-items: center; gap: 12px; position: relative; min-height: 65px; }
.roadmap-step:not(:last-child)::after { content: ''; position: absolute; top: 45px; bottom: -20px; left: 13px; width: 1px; background: #e5eafa; }
.step-marker { z-index: 1; display: grid; place-items: center; flex: none; width: 27px; height: 27px; border: 1px solid #cfdbf8; border-radius: 50%; color: var(--demo-accent); background: var(--demo-soft); font-size: 12px; animation: step-highlight 10s infinite; }
.step-two .step-marker { animation-delay: 1.5s; }
.step-three .step-marker { animation-delay: 3s; }
.demo-scene b { display: block; font-size: 11px; font-weight: 600; line-height: 1.5; }
.demo-scene small { display: block; margin-top: 3px; color: #7b8292; font-size: 9px; line-height: 1.5; }
.step-detail { margin-left: auto; color: #9ba7be; font-size: 10px; }
.demo-coach-card { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 0; padding: 18px; border: 1px solid var(--demo-border); border-radius: 13px; background: #fff; box-shadow: 0 12px 30px -10px #263b6326; }
.demo-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; font-size: 13px; font-weight: 500; background: #edf3e8; color: #486345; }
.avatar-ryan { background: #e6f1e9; color: #315d4c; }
.avatar-mia { background: #fae9ee; color: #814b5f; }
.coach-name { font-size: 10px; font-weight: 600; line-height: 1.6; }
.coach-name span { padding-left: 4px; font-size: 8px; font-weight: 400; color: #7b8292; }
.coach-message { margin-top: 6px; color: #4c566c; font-size: 10px; line-height: 1.7; }
.coach-spark { flex: none; color: var(--demo-accent); font-size: 23px; }
.demo-motion-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--demo-border); border-radius: 50%; color: var(--demo-accent); background: #ffffffa6; }
.demo-motion-toggle span { width: 8px; height: 9px; border-inline: 2px solid currentColor; }
.demo-motion-toggle[aria-pressed="true"] span { width: 0; height: 0; margin-left: 2px; border: 5px solid transparent; border-right: 0; border-left: 7px solid currentColor; }
.leads-window { margin: 0; }
.lead-filters { display: flex; gap: 6px; padding: 14px 18px 7px; }
.lead-filters span { padding: 5px 9px; border: 1px solid #e6ece9; border-radius: 6px; color: #65746e; background: #f8fbf9; font-size: 9px; }
.lead-result { display: flex; align-items: center; gap: 10px; margin: 0 18px; padding: 10px 0; border-bottom: 1px solid #edf2ef; }
.lead-result:last-child { border-bottom: 0; padding-bottom: 17px; }
.lead-avatar { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border-radius: 8px; color: #78988c; background: #edf4f0; font-size: 11px; }
.lead-match { margin-left: auto; font-size: 8px; color: var(--demo-accent); opacity: 1; animation: lead-match 10s infinite; }
.lead-two .lead-match { animation-delay: .8s; }
.lead-three .lead-match { animation-delay: 1.6s; }
.outreach-connection { position: relative; display: grid; place-items: center; height: 28px; width: 1px; margin-inline: auto; background: #c2d9cf; }
.outreach-connection svg { z-index: 1; width: 15px; height: 15px; color: var(--demo-accent); background: #edf5f1; }
.outreach-connection span { position: absolute; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--demo-accent); animation: connection-flow 2s infinite; }
.outreach-window { margin: 0; }
.outreach-heading { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; }
.draft-tag { margin-left: auto; font-size: 7px; letter-spacing: .08em; color: #819189; }
.outreach-subject { margin: 0 18px; padding: 11px 0; border-block: 1px solid #edf2ef; font-size: 10px; font-weight: 500; }
.outreach-message { padding: 12px 18px 0; font-size: 10px; color: #647168; line-height: 1.7; }
.outreach-footer { display: flex; align-items: center; gap: 8px; height: 45px; margin: 0 18px; color: var(--demo-accent); }
.writing-dots { display: flex; gap: 3px; }
.writing-dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: writing-dot 1.5s infinite; }
.writing-dots i:nth-child(2) { animation-delay: .2s; }
.writing-dots i:nth-child(3) { animation-delay: .4s; }
.ready-label { font-size: 8px; }
.email-icon { margin-left: auto; }
.email-icon svg { width: 15px; }
.delivery-window { margin: 0; }
.project-tag { margin-left: auto; font-size: 6px; letter-spacing: .06em; color: #9490a1; }
.campaign-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-stack { display: flex; padding-left: 5px; }
.team-stack i { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; background: #e6def4; color: #8163af; font-size: 8px; font-style: normal; }
.team-stack i:nth-child(2) { background: #f8e4d8; color: #a77050; }
.team-stack i:nth-child(3) { background: #dfebdf; color: #769876; }
.campaign-assets { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: center; margin-top: 24px; }
.funnel-preview { overflow: hidden; border: 1px solid #e3e7e4; border-radius: 8px; }
.mini-browser { display: flex; gap: 3px; padding: 7px; border-bottom: 1px solid #e5e9e7; }
.mini-browser i { width: 3px; height: 3px; border-radius: 50%; background: #d5dcd8; }
.mini-page { display: flex; flex-direction: column; align-items: center; padding: 13px 5px; background: #eaf2ed; text-align: center; }
.mini-brand { font-size: 5px; letter-spacing: .16em; color: #5c8070; }
.mini-page b { margin-top: 13px; font-size: 10px; letter-spacing: -.02em; color: #365346; }
.mini-smile { display: grid; place-items: center; width: 60px; height: 43px; margin: 10px 0; border-radius: 30px 30px 10px 10px; background: #c8ddd0; color: #fff; }
.mini-smile svg { width: 45px; height: 26px; stroke-width: 6px; }
.mini-cta { padding: 5px 10px; border-radius: 3px; background: #486d5b; color: #fff; font-size: 5px; }
.asset-caption { display: flex; justify-content: space-between; padding: 8px; font-size: 7px; color: #727c77; }
.asset-caption span { color: #278474; }
.delivery-tasks { display: grid; gap: 20px; }
.delivery-task { display: flex; gap: 8px; align-items: center; }
.delivery-task > span { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--demo-soft); color: var(--demo-accent); font-size: 9px; animation: step-highlight 10s infinite; }
.delivery-task b { font-size: 9px; }
.delivery-task small { font-size: 8px; }
.task-two > span { animation-delay: 1.5s; }
.task-three > span { animation-delay: 3s; }
.delivery-workflow { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.delivery-workflow span { padding: 6px 9px; border: 1px solid var(--demo-border); border-radius: 20px; background: var(--demo-soft); color: var(--demo-accent); font-size: 8px; }
.delivery-workflow i { flex: 1; height: 1px; background: var(--demo-border); }
.delivery-coach { align-items: flex-start; }
.demo-scene .performance-line { flex: none; width: 52px; height: 36px; color: #9280b5; stroke-width: 2px; }
.chart-track { opacity: .18; }
.chart-line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: chart-draw 10s infinite; }
.feature-demo:not(.is-playing) *, .feature-demo:not(.is-playing) *::before, .feature-demo:not(.is-playing) *::after { animation-play-state: paused !important; }
@keyframes roadmap-fill { 0%, 8% { transform: scaleX(.12); } 25%, 30% { transform: scaleX(.35); } 48%, 53% { transform: scaleX(.67); } 72%, 92% { transform: scaleX(1); } 100% { transform: scaleX(.12); } }
@keyframes step-highlight { 0%, 12%, 80%, 100% { box-shadow: 0 0 0 0 transparent; } 25%, 55% { background: var(--demo-accent); color: #fff; border-color: var(--demo-accent); box-shadow: 0 0 0 4px var(--demo-soft); } }
@keyframes lead-match { 0%, 8%, 100% { opacity: .28; transform: translateX(3px); } 24%, 85% { opacity: 1; transform: translateX(0); } }
@keyframes connection-flow { from { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(27px); opacity: 0; } }
@keyframes writing-dot { 0%, 70%, 100% { opacity: .3; } 35% { opacity: 1; } }
@keyframes chart-draw { 0%, 15% { stroke-dashoffset: 1; } 65%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@media (max-width: 1150px) and (min-width: 851px) {
  .feature-demo { padding-inline: 16px; }
  .demo-window-body { padding: 18px; }
  .demo-coach-card { padding: 13px; }
  .feature-copy h3 { font-size: 34px; }
  .project-tag { display: none; }
}
@media (max-width: 850px) {
  .feature-copy { max-width: 600px; width: 100%; justify-self: center; }
  .capability-row-reverse .feature-copy { order: 0; }
  .feature-demo { max-width: 560px; justify-self: center; padding-inline: 32px; }
  .feature-copy h3 { max-width: 550px; }
}
@media (max-width: 600px) {
  .features-heading p { font-size: 15px; }
  .feature-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .feature-copy > p { font-size: 16px; margin-top: 18px; }
  .feature-list { gap: 15px; margin-top: 23px; }
  .feature-list li { font-size: 13px; }
  .feature-demo { min-height: 460px; padding: 42px 16px 28px; border-radius: 21px; }
  .demo-window-body { padding: 18px; }
  .demo-window-bar { padding: 11px 13px; font-size: 10px; }
  .demo-title { font-size: 16px; }
  .demo-coach-card { gap: 8px; padding: 13px; }
  .coach-name span { display: block; padding-left: 0; font-size: 8px; }
  .coach-message { font-size: 9px; }
  .lead-filters, .outreach-heading { padding-inline: 13px; }
  .lead-result { margin-inline: 13px; }
  .lead-filters span { font-size: 8px; padding: 5px 7px; }
  .lead-match { font-size: 7px; }
  .demo-scene b { font-size: 10px; }
  .demo-scene small { font-size: 8px; }
  .draft-tag, .project-tag { display: none; }
  .campaign-assets { gap: 12px; }
  .delivery-task { gap: 6px; }
  .delivery-task b { font-size: 8px; }
  .delivery-task small { font-size: 7px; }
  .mini-page b { font-size: 9px; }
  .demo-scene .performance-line { width: 35px; }
}
@media (max-width: 360px) {
  .feature-demo { padding-inline: 10px; }
  .demo-window-body { padding: 14px; }
  .demo-coach-card { padding: 10px; }
  .coach-spark { display: none; }
  .demo-scene b { font-size: 9px; }
  .lead-result { gap: 6px; }
  .demo-avatar { width: 34px; height: 34px; }
  .campaign-assets { gap: 8px; }
  .delivery-task b { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-demo *, .feature-demo *::before, .feature-demo *::after { animation: none !important; }
  .demo-motion-toggle { display: none; }
}
/* Keep lead names flexible at the narrowest phone width. */
.lead-result > div { min-width: 0; }
.lead-match { flex: none; }

/* Portraits retain their own fills and strokes rather than inheriting icon styles. */
.demo-scene .demo-avatar > svg { width: 100%; height: 100%; stroke: none; }
.demo-coach-card > div { flex: 1; min-width: 0; }
.stream-message { display: grid; }
.stream-reserve, .stream-content { grid-area: 1 / 1; }
.stream-reserve { visibility: hidden; }
.stream-message[data-streaming="true"] .stream-content::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-right: -1px; margin-left: 1px; vertical-align: -.12em; background: var(--demo-accent); animation: writing-dot 1s infinite; }
.sales-demo:has(.stream-message) .ready-label { opacity: 0; }
.sales-demo:has([data-stream-complete="true"]) .ready-label { opacity: 1; }
.writing-dots { visibility: hidden; }
.sales-demo:has([data-streaming="true"]) .writing-dots { visibility: visible; }
