/* Forms & Standing | R19: scroll-with-hero + legible editorial type
   Scope: premium-r13.html only, applied after R18.
   Unpins the hero without replacing the existing morph controller:
   --fs11-hero-inset, --fs11-hero-drop and --fs11-hero-radius still
   update on scroll, while the document moves from the first pixel.
   Subsequent sections stay in ordinary flow and cannot cover the hero.
*/
:root {
  --fs11-ink:#1e2922;
  --fs11-muted:#39473e;
  --fs19-copy:#38463c;
  --fs19-subtle:#47564b;
  --fs19-hero-panel:linear-gradient(137deg,rgba(249,248,243,.75),rgba(247,247,241,.55) 61%,rgba(248,248,243,.68));
}
html[data-theme="dark"] {
  --fs11-ink:#f8f7f0;
  --fs11-muted:#d7dfd5;
  --fs19-copy:#e4e8df;
  --fs19-subtle:#d1d8cf;
  --fs19-hero-panel:linear-gradient(137deg,rgba(24,31,29,.74),rgba(22,29,26,.52) 61%,rgba(26,33,29,.65));
}
/* The previous stage was 175svh with a sticky hero, holding the viewport
   while the page consumed extra scroll distance. A one-viewport, normal-flow
   stage lets content move immediately, and gives the morph a stable boundary.
*/
.fs11-stage {
  position:relative!important;
  height:100svh!important;
  min-height:0!important;
  overflow:visible;
  isolation:isolate;
  z-index:0!important;
}
.fs11-hero {
  position:relative!important;
  top:auto!important;
  left:auto!important;
  display:block;
  width:calc(100% - var(--fs11-hero-inset))!important;
  height:calc(100svh - var(--fs11-hero-drop))!important;
  margin-inline:auto!important;
  transform:none!important;
  border-radius:var(--fs11-hero-radius)!important;
  will-change:width,height,border-radius;
}
.fs11-stage-spacer{display:none!important}
/* Main begins exactly after the viewport-height stage, not atop the hero.
   No sticky pin, negative margin or upward translation allowed here.
*/
.fs11-main {
  position:relative!important;
  z-index:1!important;
  margin-top:0!important;
  transform:none!important;
}
.fs11-main>.fs11-section:first-child{margin-top:0!important}
.fs11-hero-photo{filter:none!important;opacity:1!important;mix-blend-mode:normal!important}
.fs11-hero::before,.fs11-hero::after{content:none!important}
/* Keep glass visual language, but make small text and the hero readable. */
.fs11-hero-copy{
  background:var(--fs19-hero-panel)!important;
  -webkit-backdrop-filter:blur(13px) saturate(1.06)!important;
  backdrop-filter:blur(13px) saturate(1.06)!important;
}
.fs11-hero h1,
.fs11-section-head h2,
.fs11-intro h2,
.fs11-card h3,
.fs11-workspace-copy h2,
.fs11-workspace-content h3,
.fs11-faq summary {color:var(--fs11-ink)!important}
.fs11-hero-copy>p:not(.fs13-search-note),
.fs11-section-head p,
.fs11-intro p,
.fs11-card p,
.fs11-workspace-copy p,
.fs11-faq details p {
  color:var(--fs19-copy)!important;
  opacity:1!important;
}
.fs11-workspace-content .fs11-workspace-description,
.fs11-workspace-content .fs11-workspace-lead,
.fs11-workspace-sidebar button,
.fs11-workspace-sidebar p,
.fs11-footer p,
.fs11-footer-links a,
.fs13-search-note,
.fs13-field-label,
.fs13-name-lookup input::placeholder,
.fs14-select-trigger[data-placeholder="true"] {
  color:var(--fs19-subtle)!important;
  opacity:1!important;
}
.fs11-nav a,.fs11-workspace-brand,.fs11-workspace-content h3,
.fs11-card a,.fs11-hero-links a {
  color:var(--fs11-ink)!important;
  opacity:1!important;
}
.fs11-workspace-preview-label{color:var(--fs19-subtle)!important}
.fs11-workspace-sidebar button[aria-current="page"]{color:var(--fs11-ink)!important}
.fs11-hero-copy>.fs13-search-note{
  color:var(--fs19-subtle)!important;
  font-weight:600!important;
}
.fs13-name-lookup input,
.fs14-select-trigger,
.fs14-option {color:var(--fs11-ink)!important}
html[data-theme="dark"] .fs11-hero-copy{
  background:var(--fs19-hero-panel)!important;
}
@media(max-width:850px){
  .fs11-stage{height:100svh!important;min-height:0!important}
  .fs11-hero{height:calc(100svh - var(--fs11-hero-drop))!important}
}
@media(max-width:600px){
  .fs11-stage{height:100svh!important;min-height:0!important}
  .fs11-hero{height:calc(100svh - var(--fs11-hero-drop))!important}
  .fs11-hero-inner{min-height:0}
  .fs11-hero-copy>p:not(.fs13-search-note){line-height:1.6}
}
@media(prefers-reduced-motion:reduce){
 .fs11-hero{will-change:auto}
}

/* R19 screenshot refinement: legal-preview note must remain legible on moving glass. */
html:not([data-theme="dark"]) .fs11-hero-copy>.fs13-search-note{
  color:#24372c!important;
  font-size:12.5px!important;
  font-weight:650!important;
  line-height:1.55!important;
  text-shadow:0 1px 0 rgba(255,255,255,.14);
}
html[data-theme="dark"] .fs11-hero-copy>.fs13-search-note{
  color:#ecefe8!important;
  font-size:12.5px!important;
  font-weight:650!important;
  line-height:1.55!important;
  text-shadow:0 1px 0 rgba(0,0,0,.22);
}
@media(max-width:600px){
 .fs11-hero-copy>.fs13-search-note{font-size:11.5px!important;line-height:1.55!important}
}
