/* A quieter reading rhythm, a full-height handset and a browsable profile gallery. */
:root{--calm:color-mix(in srgb,var(--panel) 85%,var(--bg));--calm-shadow:0 18px 45px #02081530}
[data-theme=light]{--calm-shadow:0 18px 45px #25477817}
.section{padding-block:clamp(57px,7vw,103px)}
.section-intro{margin-bottom:clamp(22px,3.2vw,38px)}
.section-intro h2{max-width:21ch}
.section-intro>p:last-child{max-width:61ch}
.hero{padding-block:clamp(57px,8vw,114px);min-height:570px}
.hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.86fr);gap:clamp(20px,5vw,95px)}
.hero h1{max-width:660px}
.hero h1 em{width:fit-content}
.hero p:not(.label){max-width:53ch}
.proof{background:var(--stage);padding-block:26px}
.proof-grid h2{font-size:clamp(1.5rem,2.75vw,2.4rem)}
.proof-number strong{font-size:clamp(1.7rem,3.55vw,3.4rem)}
.maya-section{
  background:radial-gradient(ellipse at 18% 54%,var(--halo),transparent 48%),var(--bg);
  border-block:0
}
.demo{background:var(--calm);border-radius:21px;box-shadow:var(--calm-shadow)}
.demo>.demo-tabs{background:var(--panel);padding:12px 20px;gap:6px}
.demo>.demo-tabs button{padding-inline:12px}
.demo-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:clamp(21px,4.7vw,63px);gap:clamp(25px,7vw,112px)}
.device-wrap{position:relative;display:grid;place-items:center;min-width:0;isolation:isolate}
.device-wrap::before{
  content:"";position:absolute;inset:6% -4%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse,var(--halo),transparent 68%),
             repeating-linear-gradient(146deg,transparent 0 32px,color-mix(in srgb,var(--bolt) 12%,transparent) 33px,transparent 34px 48px);
  mask-image:radial-gradient(ellipse,#000 39%,transparent 71%)
}
.device{
  position:relative;width:min(100%,320px);aspect-ratio:16/33;
  padding:0;border:1px solid #8395a3;border-radius:47px;
  background:linear-gradient(139deg,#8799a7,#203040 12%,#101d2a 54%,#34536c 92%,#8498a8);
  box-shadow:0 26px 61px #06172666,inset 0 0 0 2px #17242f,inset 0 0 0 4px #344557;
}
.device::before,.device::after{content:"";position:absolute;width:3px;background:#435667;top:21%;height:10%;border-radius:2px 0 0 2px;left:-3px}
.device::after{height:12%;top:24%;right:-3px;left:auto;border-radius:0 2px 2px 0}
.device-screen{
  position:absolute;inset:8px;display:flex;flex-direction:column;
  border-radius:39px;border:1px solid #111e28;
}
.device-status{padding-inline:16px;min-height:43px;font-size:.7rem;flex:none}
.device-status .device-pill{
  left:50%;top:8px;width:79px;height:20px;border-radius:13px;
  background:radial-gradient(circle at 84% 50%,#14283e 0 4px,#080e14 5px)
}
.device-indicators{display:inline-flex;align-items:end;gap:2px;color:#183044;font-size:.6rem}
.device-indicators b{width:2px;height:4px;background:currentColor;border-radius:1px}
.device-indicators b:nth-child(2){height:6px}.device-indicators b:nth-child(3){height:8px}.device-indicators b:nth-child(4){height:10px}
.device-status .device-indicators i{position:static;transform:none;background:linear-gradient(90deg,#183044 74%,transparent 74%);height:8px;width:14px;border:1px solid #183044;border-radius:2px;margin-left:4px}
.device-header{min-height:64px;padding:8px 12px 10px;gap:8px;flex:none}
.device-header .avatar{width:35px;height:35px}
.device-header small{font-size:.68rem}
.device-header strong{font-size:.88rem}
.channel-mark{font-size:.63rem;gap:4px}
.channel-mark img{width:22px;height:22px}
.device-wall{flex:1;min-height:0;overflow:hidden}
.messages{height:100%;padding:12px 11px;gap:9px}
.messages:focus-visible{outline-offset:-4px}
.bubble{padding:7px 9px;max-width:91%;font-size:.82rem;line-height:1.38}
.bubble.context{font-size:.7rem;box-shadow:none;border-radius:7px}
.bubble strong{font-size:.67rem}
.bubble time{font-size:.62rem;margin-top:2px}
.device-compose{padding:8px 12px 3px;gap:8px;flex:none}
.device-compose i{padding:7px 9px;font-size:.74rem}
.device-compose span:first-child{font-size:1.24rem}
.device-compose .device-mic{position:relative;width:8px;height:13px;border:1.5px solid currentColor;border-radius:6px;margin-inline:3px}
.device-mic::before{content:"";position:absolute;inset:4px -4px -4px;border:1.5px solid currentColor;border-top:0;border-radius:0 0 7px 7px}
.device-mic::after{content:"";position:absolute;width:9px;height:1px;background:currentColor;left:50%;bottom:-7px;translate:-50%}
.device-home{display:grid;place-items:center;flex:none;height:17px}
.device-home i{width:85px;height:4px;border-radius:8px;background:#18313c9c}
.scene-report{max-width:460px}
.scene-report h3{font-size:clamp(2.1rem,4.4vw,3.9rem);max-width:13ch}
.scene-report>p:not(.card-label){max-width:45ch}
.scene-result{background:var(--panel);margin-top:21px;min-height:0}
.scene-progress{margin-top:13px}
.scene-progress i{background:var(--line);height:3px}
.scene-report .demo-footnote{font-size:.77rem;color:var(--muted);margin-top:9px}
.rules{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);
  align-items:start;gap:clamp(17px,4vw,55px);margin-top:30px;padding-top:23px;border-top:1px solid var(--line)
}
.rules h3{font-size:1.8rem}
.rules p,.rules li span{font-size:.88rem;color:var(--muted);margin-top:5px;display:block}
.rules ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin:0}
.rules ul li{padding-left:11px;border-left:1px solid var(--line)}
.audience{background:var(--stage);border-block:1px solid var(--line)}
.profile-window{min-width:0}
.profile-strip{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
  align-items:stretch;
}
.profile-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;background:var(--panel);overflow:hidden;min-width:0;transition:border-color .25s}
.profile-card.selected{border-color:var(--accent)}
.profile-card>img{display:block;width:100%;aspect-ratio:1.09;object-fit:cover;height:auto;object-position:50% 53%}
.profile-card>div{padding:12px 12px 9px;display:flex;flex:1;flex-direction:column}
.profile-card h3{font-size:clamp(1.2rem,2vw,1.73rem);line-height:1.1}
.profile-card p{font-size:.84rem;color:var(--muted);line-height:1.55;margin:6px 0}
.profile-card button{
  align-self:start;min-height:44px;padding:7px 0;border:0;margin-top:auto;
  background:none;color:var(--accent);font-size:.81rem;font-weight:750;text-align:left
}
.profile-card button:hover{text-decoration:underline}
.profile-card button[aria-pressed=true]{text-decoration:underline;text-underline-offset:.24em}
.profile-nav{display:none}
.profile-detail{
  margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:17px 19px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--calm)
}
.profile-detail h3{margin-top:4px;font-size:1.85rem}
.profile-detail p:not(.label){font-size:.9rem;color:var(--muted);margin-top:6px;max-width:63ch}
.profile-detail .button{flex:none}
.paid{background:var(--bg)}
.paid-lab,.board,.toolbox{background:var(--calm);box-shadow:var(--calm-shadow)}
.paid-notes{gap:22px}
.operation{background:var(--stage);border-block:1px solid var(--line)}
.aftercare{background:var(--bg)}
.after-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:clamp(23px,7vw,100px)}
.after-grid .section-intro{margin-bottom:0}
.after-grid .section-intro>p:not(.label){color:var(--muted);margin-top:10px;max-width:53ch}
.after-link{margin-top:17px}
.after-timeline{padding:0;list-style:none;margin:0;counter-reset:care}
.after-timeline li{position:relative;counter-increment:care;padding:0 0 14px 48px;border-bottom:1px solid var(--line);margin-bottom:13px}
.after-timeline li::before{content:counter(care);position:absolute;left:0;top:1px;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--plate);display:grid;place-items:center;font-weight:750;color:var(--accent)}
.after-timeline p{color:var(--muted);font-size:.9rem;margin-top:3px}
.aftercare.lit li::before{animation:profile-signal .6s ease both}
.aftercare.lit li:nth-child(2)::before{animation-delay:.11s}
.aftercare.lit li:nth-child(3)::before{animation-delay:.23s}
@keyframes profile-signal{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 34%,transparent)}100%{box-shadow:0 0 0 12px transparent}}
@media(max-width:1090px){
  .profile-strip{
    grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(36%,260px);overflow-x:auto;scroll-snap-type:x mandatory;
    padding:3px 3px 11px;scroll-padding-inline:3px;overscroll-behavior-inline:contain;
  }
  .profile-card{scroll-snap-align:start}
  .profile-nav{display:flex;justify-content:flex-end;gap:8px;margin-top:3px}
  .profile-nav button{font-size:1.5rem;line-height:1}
}
@media(max-width:760px){
  .hero{min-height:0;padding-block:42px 34px}
  .hero-grid,.demo-body,.after-grid,.rules{grid-template-columns:1fr}
  .hero .hero-actions{margin-top:18px}
  .proof-number strong{font-size:clamp(1.4rem,5.5vw,2.55rem)}
  .demo>.demo-tabs{padding:7px 8px}
  .demo>.demo-tabs button{padding-inline:8px}
  .demo-body{padding:18px 10px 20px;gap:19px}
  .device-wrap{padding-inline:3px}
  .scene-report{padding-inline:8px}
  .scene-report h3{font-size:2.33rem;max-width:19ch}
  .scene-result{margin-top:13px}
  .rules{gap:12px;margin-top:20px;padding-top:16px}
  .rules ul{grid-template-columns:1fr;gap:8px}
  .rules ul li{padding-block:3px}
  .profile-strip{grid-auto-columns:min(81%,300px);gap:10px}
  .profile-card h3{font-size:1.65rem}
  .profile-card p{font-size:.9rem}
  .profile-detail{align-items:flex-start;flex-direction:column;margin-top:10px}
}
@media(max-width:375px){
  .device-header{padding-inline:9px;gap:6px}
  .device-header .avatar{width:30px;height:30px}
  .channel-mark{font-size:.6rem}
  .channel-mark img{width:18px;height:18px}
  .device-screen{border-radius:34px}
  .device{border-radius:42px}
}
.brand img.logo-light{display:none}
[data-theme=light] .brand img.logo-dark{display:none}
[data-theme=light] .brand img.logo-light{display:block;background:transparent;border-radius:0}
.profile-strip{position:relative}