/* "Your survey page" on the damp home pages (the owner, 22 Nov 2026): what the
   customer's own page does, beside a phone cycling through its real screens
   (a demo customer, never a real one). Uses each page's own colours, so the
   shared file names neither brand. Images load only near the screen; with
   reduced motion the phone holds the first screen and nothing moves. */
.yp{background:var(--slate);border-top:1px solid var(--line)}
.yp-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,72px);align-items:center}
@media (max-width:900px){.yp-grid{grid-template-columns:1fr}}
/* A phone (the owner, 22 Nov 2026: the lit line was a screen away from the phone):
   heading, then the phone with its subtitles and four short steps beneath, all in
   one view; the subtitles say what the list did, so the list steps aside. */
.yp-steps{display:none}
@media (max-width:900px){
  .yp-grid{row-gap:14px}
  .yp-text{display:contents}
  .yp-list,.yp-text>.eyebrow,.yp-text>p{display:none}
  .yp-grid .yp-stage{order:3;width:min(220px,56vw);gap:14px}
  /* One line of six on a phone (the owner, 22 Nov 2026), sized to the screen's width. */
  .yp-steps{order:2;display:flex;justify-content:center;gap:3px;flex-wrap:nowrap}
  .yp-steps span{flex:none;white-space:nowrap;font-size:clamp(9.5px,2.6vw,12.5px);font-weight:600;color:var(--muted);padding:5px clamp(4px,1.4vw,10px);border-radius:999px;border:1px solid var(--line);
    animation:yp-step 24s infinite;animation-play-state:paused}
  .yp-steps span:nth-child(2){animation-delay:4s}.yp-steps span:nth-child(3){animation-delay:8s}.yp-steps span:nth-child(4){animation-delay:12s}.yp-steps span:nth-child(5){animation-delay:16s}.yp-steps span:nth-child(6){animation-delay:20s}
  .yp.is-live .yp-steps span{animation-play-state:running}
  .yp-subs{font-size:13.5px;padding:9px 12px}
}
@keyframes yp-step{0%{color:var(--muted);background:transparent}2%{color:var(--accent);background:var(--accent-soft)}16.7%{color:var(--accent);background:var(--accent-soft)}18.7%{color:var(--muted);background:transparent}100%{color:var(--muted);background:transparent}}
.yp-text{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.yp-text>p{color:var(--muted);font-size:16px;line-height:1.68;margin:0}
.yp-list{list-style:none;margin:0;padding:0;width:100%;border-top:1px solid var(--line)}
.yp-list li{display:flex;gap:14px;align-items:flex-start;padding:15px 12px;border-bottom:1px solid var(--line);border-radius:12px;
  animation:yp-on 24s infinite;animation-play-state:paused}
.yp-list li:nth-child(2){animation-delay:4s}.yp-list li:nth-child(3){animation-delay:8s}.yp-list li:nth-child(4){animation-delay:12s}.yp-list li:nth-child(5){animation-delay:16s}.yp-list li:nth-child(6){animation-delay:20s}
.yp-num{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--accent);background:var(--accent-soft)}
.yp-list strong{display:block;font-size:16px;font-weight:600}
.yp-list span{color:var(--muted);font-size:14.5px;line-height:1.5}
/* The phone (the owner, 22 Nov 2026: "make it the latest iPhone"): a titanium edge,
   side buttons, the status bar with the Dynamic Island, and each screen fitted
   whole at its own proportions, so nothing touches or crosses the edges. Only the
   screen changes; the frame, the bar and the subtitle box never move. */
.yp-stage{justify-self:center;display:flex;flex-direction:column;align-items:center;gap:18px;width:min(300px,78vw)}
.yp-phone{position:relative;width:100%;padding:3.4%;border-radius:15% / 7%;background:#1b1d21;
  box-shadow:inset 0 0 0 1.5px #6e7177,inset 0 0 0 4px #2a2c30,0 30px 60px -28px rgba(10,20,35,.55)}
.yp-phone::before,.yp-phone::after{content:"";position:absolute;width:3px;border-radius:2px;background:#4a4d52}
.yp-phone::before{right:-3px;top:27%;height:12%}
.yp-phone::after{left:-3px;top:22%;height:15%}
.yp-screen{position:relative;container-type:inline-size;border-radius:12.5% / 5.9%;overflow:hidden;background:var(--yp-bar);color:var(--yp-ink)}
.yp-status{position:relative;display:flex;align-items:center;justify-content:space-between;aspect-ratio:390/54;padding:0 9% 0 11%;font-size:4.2cqw}
.yp-status b{font-weight:600;letter-spacing:-.01em}
.yp-island{position:absolute;left:50%;top:22%;transform:translateX(-50%);width:31%;height:62%;border-radius:999px;background:#000}
.yp-icons{display:flex;gap:1.4cqw;align-items:center}
.yp-icons svg{height:2.9cqw;width:auto;fill:currentColor}
.yp-shots{position:relative;aspect-ratio:390/780}
.yp-shots img{position:absolute;inset:0;width:100%;height:100%;opacity:0;animation:yp-show 24s infinite;animation-play-state:paused}
.yp-shots img:first-child{opacity:1}
.yp-shots img:nth-child(2){animation-delay:4s}.yp-shots img:nth-child(3){animation-delay:8s}.yp-shots img:nth-child(4){animation-delay:12s}.yp-shots img:nth-child(5){animation-delay:16s}.yp-shots img:nth-child(6){animation-delay:20s}
.yp-home{position:absolute;left:50%;bottom:1.1%;transform:translateX(-50%);width:35%;height:1.3cqw;border-radius:9px;background:var(--yp-ink);opacity:.85}
/* One subtitle box that never changes size: two lines' room, only its words fade. */
.yp-subs{display:grid;align-items:center;width:min(360px,90vw);min-height:calc(2 * 1.4em + 22px);padding:11px 16px;border-radius:12px;
  background:var(--ink,#0b111a);box-shadow:0 0 0 1px var(--line-strong);font-size:14px;line-height:1.4;font-weight:600;color:#fff;text-align:center}
.yp-subs span{grid-area:1/1;opacity:0;animation:yp-show 24s infinite;animation-play-state:paused}
.yp-subs span:first-child{opacity:1}
.yp-subs span:nth-child(2){animation-delay:4s}.yp-subs span:nth-child(3){animation-delay:8s}.yp-subs span:nth-child(4){animation-delay:12s}.yp-subs span:nth-child(5){animation-delay:16s}.yp-subs span:nth-child(6){animation-delay:20s}
.yp.is-live .yp-subs span,.yp.is-live .yp-shots img{animation-play-state:running}
/* Only runs once it is on screen (tour.js), so it starts at the first screen as they arrive. */
.yp.is-live .yp-list li{animation-play-state:running}
@keyframes yp-show{0%{opacity:0}2%{opacity:1}16.7%{opacity:1}18.7%{opacity:0}100%{opacity:0}}
@keyframes yp-on{0%{background:transparent}2%{background:var(--accent-soft)}16.7%{background:var(--accent-soft)}18.7%{background:transparent}100%{background:transparent}}
@media (prefers-reduced-motion:reduce){.yp-shots img,.yp-list li,.yp-subs span,.yp-steps span{animation:none}.yp-shots img:first-child,.yp-subs span:first-child{opacity:1}}

/* A slim line for estate agents beneath the landlords section (ATi). */
.agentband{background:var(--navy);border-top:1px solid var(--line)}
.agentband .container{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;padding-top:26px;padding-bottom:26px}
.agentband p{margin:0;font-size:16px;color:var(--text)}
.agentband p span{color:var(--muted)}
