/* Observatory v11 — editorial restraint on the actual homepage.
   Mobile orbit and reading plane need separate vertical breathing room once the
   introduction fades. No extra panels, decorative arrows or continuous loops. */

/* A quieter chapter hierarchy: the feature remains the focus, never a bright
   metric in front of the official Respondo mark. */
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
.rs-spiral-card-kicker{
  color:#a9c2e6!important;
  letter-spacing:.19em!important;
}
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
.rs-spiral-card h2{
  text-shadow:0 2px 26px rgba(4,14,31,.48);
}
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
.rs-spiral-card p{
  text-shadow:0 2px 18px rgba(4,14,31,.50);
}
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
.rs-spiral-metric.rs-has-svg-metric{
  background:linear-gradient(145deg,rgba(120,165,231,.115),rgba(22,46,89,.10))!important;
  border-color:rgba(171,208,250,.39)!important;
  box-shadow:inset 0 1px 0 rgba(234,245,255,.12),0 10px 30px rgba(2,10,25,.16);
}

/* On narrow screens the story sits BELOW the sphere, not across the active
   orbit icon or the chapter art. The introduction keeps its original camera. */
@media(max-width:1099px){
  #app .apple-home-page .rs-spiral-section.rs-enhanced .rs-studio-orbit-art,
  #app .apple-home-page .rs-spiral-section.rs-enhanced .rs-axis,
  #app .apple-home-page .rs-spiral-section.rs-enhanced .rs-orbit-beacon{
    transition:top .36s cubic-bezier(.25,.68,.3,1);
  }
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-studio-orbit-art,
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-orbit-beacon{
    top:43%!important;
  }
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-axis{
    top:43%!important;
  }
}
@media(max-width:600px){
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-studio-orbit-art,
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-orbit-beacon{
    top:41%!important;width:min(57vw,230px)!important;
  }
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-axis{
    top:41%!important;width:clamp(114px,33vw,154px)!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"].rs-enhanced .rs-spiral-card,
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"].rs-enhanced .rs-spiral-card:first-child{
    padding-left:clamp(20px,6vw,28px)!important;
    padding-right:clamp(20px,6vw,28px)!important;
    padding-bottom:clamp(58px,8.4svh,78px)!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card h2{
    max-width:350px;font-size:clamp(23px,6.3vw,29px)!important;
    line-height:1.12!important;margin:0 0 8px!important;
    text-wrap:balance;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card p{
    max-width:340px;font-size:12px!important;line-height:1.52!important;
    text-wrap:pretty;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card-kicker{
    margin-bottom:10px!important;
  }
  /* Leave a clear bottom lane for the existing step counter and chat launcher. */
  #app .apple-home-page .rs-spiral-bottom{
    bottom:clamp(16px,3svh,28px)!important;
  }
  #app .apple-home-page .rs-scroll-invite{
    max-width:66%;white-space:normal;
  }
  #app .apple-home-page .rs-scroll-invite .rs-next-label{
    white-space:normal;overflow-wrap:break-word;
  }
}
@media(max-width:600px) and (max-height:710px){
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-studio-orbit-art,
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-orbit-beacon{
    top:38%!important;width:min(49vw,185px)!important;
  }
  #app .apple-home-page .rs-spiral-section.rs-enhanced.rs-intro-past .rs-axis{
    top:38%!important;width:min(31vw,132px)!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"].rs-enhanced .rs-spiral-card,
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"].rs-enhanced .rs-spiral-card:first-child{
    padding-bottom:54px!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card h2{
    font-size:clamp(21px,5.8vw,26px)!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card p{
    font-size:11px!important;line-height:1.43!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #app .apple-home-page .rs-spiral-section .rs-studio-orbit-art,
  #app .apple-home-page .rs-spiral-section .rs-axis,
  #app .apple-home-page .rs-spiral-section .rs-orbit-beacon{
    transition:none!important;
  }
}
/* Premium, functional end of the journey: a gentle continuity from the
   ten scenes into the existing three onboarding steps and plan cards. */
#app .apple-home-page .pricing-section .respondo-how-it-works{
  position:relative;
}
#app .apple-home-page .respondo-how-topline{
  color:#a6c5ec;letter-spacing:.20em;
}
#app .apple-home-page .respondo-how-steps li{
  border-top-color:rgba(191,220,255,.30);
}
#app .apple-home-page .respondo-how-step-index{
  color:#e0edff;
}
#app .apple-home-page .respondo-how-try{
  min-height:40px;
  transition:color .2s ease,border-color .2s ease;
}
@media(prefers-reduced-motion:reduce){
  #app .apple-home-page .respondo-how-try{transition:none!important}
}

/* Observatory v12 — tighter Respondo typography and a calmer iPhone
   first impression. No additional hero actions or decorative overlays. */

/* Increase small-screen legibility without crowding the 3D brand symbol. */
@media(max-width:600px){
  #app .apple-home-page .rs-hero-eyebrow{
    font-size:9px!important;line-height:1.5!important;
    letter-spacing:.15em!important;
  }
  #app .apple-home-page .rs-spiral-section .rs-spiral-heading h1{
    line-height:1.08!important;letter-spacing:-.052em!important;
  }
  #app .apple-home-page .rs-hero-description{
    max-width:min(340px,calc(100vw - 44px))!important;
    font-size:13px!important;line-height:1.54!important;
    color:#b9cae2!important;
  }
  /* A single restrained link, but with an actual finger-size hit target. */
  #app .apple-home-page .rs-spiral-heading .rs-first-order-link{
    min-height:44px;box-sizing:border-box;
    padding:10px 3px 9px;margin-top:12px;
    font-size:12px!important;font-weight:690!important;
    border-bottom-color:rgba(189,219,255,.74)!important;
  }
  /* Chapter symbols are the actual orbit SVGs, so use the matching round
     ring treatment rather than a disconnected, rounded-square badge. */
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
  .rs-spiral-card .rs-spiral-metric.rs-has-svg-metric{
    width:54px!important;height:54px!important;
    border-radius:50%!important;
    background:radial-gradient(circle,rgba(137,183,249,.17),rgba(55,103,180,.055) 75%)!important;
    border-color:rgba(181,217,255,.42)!important;
    box-shadow:inset 0 0 15px rgba(124,178,244,.06),0 0 24px rgba(79,139,215,.10)!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
  .rs-spiral-card p{
    font-size:13px!important;line-height:1.53!important;
    max-width:340px!important;color:#b6c7df!important;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
  .rs-spiral-card h2{
    line-height:1.13!important;letter-spacing:-.045em!important;
  }
  /* Give the next-feature cue enough contrast to make scrolling evident. */
  #app .apple-home-page .rs-scroll-invite{
    font-size:9px!important;line-height:1.5!important;color:#b5c8e4!important;
  }
  #app .apple-home-page .rs-step-count{
    color:#bfcee4!important;font-variant-numeric:tabular-nums;
  }
}
@media(max-width:600px) and (max-height:710px){
  #app .apple-home-page .rs-hero-description{
    font-size:12px!important;line-height:1.44!important;
  }
  #app .apple-home-page .rs-spiral-heading .rs-first-order-link{
    min-height:40px;margin-top:7px;padding:8px 3px;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"]
  .rs-spiral-card p{
    font-size:12px!important;line-height:1.44!important;
  }
}
/* The pricing cards should read as one deliberate collection, not three
   unrelated surfaces. Keep Advanced/Premium/Enterprise and billing intact. */
@media(min-width:901px){
  #app .apple-home-page .pricing-section .pricing-wrap{
    align-items:stretch;
  }
  #app .apple-home-page .pricing-section .price-card{
    display:flex;flex-direction:column;
  }
  #app .apple-home-page .pricing-section .price-card .price-actions{
    margin-top:auto;
  }
}
#app .apple-home-page .pricing-section .split-head p,
#app .apple-home-page .pricing-section .plan-yearly-price{
  line-height:1.56!important;color:#bdcce0!important;
}
#app .apple-home-page .pricing-section .price-card:focus-within{
  border-color:rgba(190,220,255,.70)!important;
}
@media(prefers-reduced-motion:reduce){
  #app .apple-home-page .rs-spiral-heading .rs-first-order-link{
    transition:none!important;
  }
}


/* Observatory v14 — final typographic precision and CTA text correctness.
   Keep one existing purchase path, native scrolling and the original blue orbit.
   In particular, the legacy "span:last-child" arrow rule must not enlarge
   the actual price-link text when the link contains only one span. */
#app .apple-home-page .rs-spiral-heading .rs-first-order-link > span:only-child{
  color:inherit!important;font-size:inherit!important;line-height:inherit!important;
  font-weight:inherit!important;letter-spacing:inherit;
}
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card-kicker{
  font-size:11px!important;letter-spacing:.13em!important;
  color:#c0d7f4!important;
}
#app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-scroll-invite{
  color:#b8cce6;line-height:1.55;
}
#app .apple-home-page .pricing-section .respondo-how-topline{
  color:#b5d2f7;font-size:11px;letter-spacing:.17em;
}
#app .apple-home-page .pricing-section .respondo-how-steps p{
  color:#bacbe2;line-height:1.62;
}
#app .apple-home-page .pricing-section .pricing-select-btn{
  min-height:48px!important;
  transition:background-color .18s ease,box-shadow .18s ease;
}
#app .apple-home-page .pricing-section .pricing-select-btn:hover{
  background:#e1efff!important;
  box-shadow:0 5px 24px rgba(118,173,243,.15)!important;
}
@media(max-width:600px){
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-spiral-card-kicker{
    font-size:10px!important;letter-spacing:.12em!important;
  }
  #app .apple-home-page .rs-spiral-heading .rs-first-order-link{
    gap:10px;justify-content:center;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-next-caption{
    font-size:9px;letter-spacing:.055em;
  }
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-next-label{
    max-width:min(128px,33vw);
  }
}
@media(max-width:360px){
  #app .apple-home-page .rs-spiral-section[data-rs-mode="fullscreen"] .rs-next-label{
    max-width:90px;
  }
}
@media(prefers-reduced-motion:reduce){
  #app .apple-home-page .pricing-section .pricing-select-btn{
    transition:none!important;
  }
}
